โปรแกรมตรวจสอบปัญหาปี 2000

"IT industry would face the biggest software crisis ever and handle the most expensive repair job in human history. The countdown to the Year 2000 has begun. The clock is ticking." - Source

"The Year 2000 ("y2k") software problem or "Millennium Bug" arises from the use of a two-digit field to identify years in computer programs (for example 85 = 1985), and the assumption of a single century -- the 1900s. Any software so created will read (or attempt to read)"00" as the year 1900. Programs that use dates (including programs within machinery such as building security systems or HVAC systems) will fail or malfunction if these errors are not corrected." - Source



The problem isn't in the complexity, but the scale. The problem is spread out at in almost all industry across the world.



The source of the problem can come from several different levels, including:

Hardware: a clock circuit that may be incapable of holding a date beyond 1999

Operating System: may not correctly recognize and process dates beyond 1999 Applications and utilities: may have limited date-processing capabilities
-Source
"Mac users contemplating the computer industry's 'Year 2000' problem can relax: Experts testing desktop systems say Mac hardware and the Mac OS won't have any problem coping with next-century dates." -Henry Norr, MacWEEK

You can use this Icon for your homepage to link to the forum here. Or you can use the following source code.
<a href="http://www.siamweb.org/technical/y2k/"><img src="http://www.siamweb.org/technical/y2k/image/y2k-link.gif"></a>

INFO LINKS


Yr2000 resource

Y2K
Audio Update Report

Nightmare explained in simple english

Y2K Resources

IT2000 Bulletin
Problems
Solutions

Apple and Yr2000

Yahoo's Yr2000

.

ในชีวิตประจำวันของเราเวลาเป็นสิ่งที่มีค่า และสำคัญ แต่สิ่งที่จะคอยบอกเราถึงการใช้เวลา การบริหารเวลาของเรา ก็คือนาฬิกานั่นเองสำหรับเครื่องคอมพิวเตอร์ก็เช่นกัน เพื่อให้ระบบสามารถทำงานได้ถูกต้อง คำนวณการเปลี่ยนแปลงทางด้านการเงิน หรืองานด้านอื่นๆที่ใช้วันที่ และเวลามาเกี่ยวข้องได้ถูกต้องนั้นจำเป็นต้องใช้นาฬิกาเช่นกัน ซึ่งนาฬิกาในเครื่องคอมพิวเตอร์ก็คือ RTC (Real Time Clock) นั่นเอง

.

ปัญหาปี 2000 เป็นที่ทราบกันโดยทั่วไปว่าเป็นปัญหาที่เครื่องคอมพิวเตอร์มีการเก็บข้อมูลของปีเป็นแบบ 2 หลัก แทนที่จะเก็บแบบเต็ม 4 หลักซึ่งการเก็บแบบ 2 หลักตามที่เข้าใจกันนั้นเมื่อถึงปี 2000 จริงๆข้อมูลในสองหลักสุดท้ายที่เคยเก็บ 98, 99, ก็จะกลายเป็น 00 ทำให้เครื่องเข้าใจผิดคิดว่าเป็นปี 1900 ไป ความผิดพลาดจึงเกิดขึ้น แต่ในความเป็นจริงนั้นปัญหาปี 2000 ถูกแยกย่อยออกเป็นหลายกรณี ทั้งทางด้านฮาร์ดแวร์ และซอฟต์แวร์เอง สำหรับทางด้านฮาร์ดแวร์ปัญหาจะขึ้นอยู่กับการทำงานของชิป RTC และ BIOS ของระบบเป็นหลัก

.

RTC หรือ Real Time Clock หรือนาฬิกาของระบบ เป็นชิปที่ทำหน้าที่คำนวณฐานเวลา คำนวณวันเดือน ปี ปฏิทินที่ถูกต้อง ให้กับระบบคอมพิวเตอร์ของเรา และค่าวันเวลาที่เก็บเอาไว้จะถูกเรียกใช้งานโดยระบบปฏิบัติการอีกต่อหนึ่ง RTC จะประกอบด้วย 2 ส่วนสำคัญ คือ ส่วนของตัวคำนวณเวลา และพื้นที่หน่วยความจำแรมพิเศษสำหรับเก็บข้อมูลที่สำคัญของระบบจำนวน 50 ไบต์ หรือมากกว่า และ 14 ไบต์สำหรับข้อมูลของเวลาที่มีการเปลี่ยนแปลงตลอดเวลาซึ่งหน่วยความจำแรมพิเศษนี้จะถูกเรียกว่า NVRAM

(Nonvolatile RAM ทำงานตลอดเวลาเพราะในเครื่องคอมพิวเตอร์มีแบตเตอรี่) และข้อมูลในหน่วยความจำนี้จะถูกแก้ไขหรือตั้งค่าใหม่ที่สำคัญโดยทำผ่านทางการ SET UP CMOS ของระบบนั่นเองจำนวนหน่วยความจำที่อยู่ภายใน RTC นั้นมีตั้งแต่ขนาด 64,128,256 ไบต์จนถึง 8 กิโลไบต์ในปัจจุบัน

.

ปัญหาเกิดขึ้นที่นี่ จากโครงสร้างเราจะเห็นว่าที่ตำแหน่งที่ 09 H ของ RTC จะเก็บค่าของปีในสองหลักสุดท้ายเอาไว้ แต่ 2 หลักแรกจะถูกเก็บเอาไว้ที่ตำแหน่ง 32 H ภายใน RTC จะมีข้อมูลของปี ทั้ง 4 หลักเก็บเอาไว้ แต่ปัญหาก็เกิดขึ้นเนื่องจากข้อมูลในตำแหน่งที่ 32 H ไม่ได้รับการปรับค่า เมื่อเวลาถึงปี 2000 จริงๆคงมีเพียง 2 หลักแรกเท่านั้นที่ได้รับการปรับค่าจาก 99 ไปเป็น 00 ซึ่งก็น่าจะถูกต้อง แต่วันเวลากลับกลายเป็น 1 มกราคม 1900 ไปทำให้การคำนวณต่างๆผิดพลาด ซึ่งอาการนี้จะเกิดกับชิป RTC ในยุคแรกๆ เนื่องจากไม่มีตัวคอยช่วยแก้ไขค่าของปีใน 2 หลักแรกให้ ทำให้ผู้ใช้ต้องแก้ไขเอง แต่ RTC ในยุคถัดมาได้รับการแก้ไขโดยจัดให้ตำแหน่ง 48 H ใน NVRAM ทำหน้าที่เป็น Century Counter คอยตรวจสอบเมื่อ 2 หลักสุดท้ายเปลี่ยนจาก 99 ไปเป็น 00 ก็จะไปทำการเพิ่มค่าในไบต์ที่ 32 H จาก 19 ไปเป็น 20 ให้ซึ่งทำให้การคำนวณเวลาของระบบถูกต้อง

.

ในที่นี้เราจะกล่าวถึงปัญหาที่เกิดขึ้นกับเครื่องคอมพิวเตอร์เฉพาะทางด้านฮาร์ดแวร์เท่านั้น และเพื่อให้ง่ายต่อการตรวจสอบปัญหาปี 2000 ที่เกิดกับเครื่องคอมพิวเตอร์ส่วนบุคคล เราได้แบ่งขอบเขตของปัญหาปี 2000 ออกเป็น 3 ระดับ

ระดับที่ 1 คือเครื่องที่ไม่รองรับการทำงานกับปี 2000 (ไม่สนับสนุนการเก็บข้อมูลของปีแบบ 4 หลัก ซึ่งเป็นเครื่องรุ่นเก่ามากๆ ซึ่งมักจะผลิตก่อนปี 1993)

ระดับที่ 2 คือเครื่องที่รองรับการเก็บข้อมูลของปีแบบ 4 หลัก แต่นาฬิกาของระบบไม่สามารถ Up Date ตัวเองให้ถูกต้องได้เมื่อทำงานข้ามปี 2000

ระดับที่ 3 เครื่องที่พร้อมสำหรับการทำงานในปี 2000 มักเป็นเครื่องรุ่นใหม่ๆ ที่ผลิตหลังปี 1996 สำหรับในระดับนี้ต้องมีการวิเคราะห์ลงไปให้ละเอียดอีกขั้นคือ นาฬิกาบางเครื่องสามารถทำงานกับปี 2000 ได้ก็จริงแต่คำนวณปฏิทินในปีที่เป็น Leap Year ผิดพลาด



.

ผู้ใช้คอมพิวเตอร์ทุกคนควรจะมีส่วนร่วมในการให้ข้อมูล ร่วมกันช่วยแก้ปัญหาที่มองดูว่าเป็นปัญหาที่หนักหนา และถ้ามองถึงการประมาณการทางด้านงบประมาณแล้ว ก็จะรู้ว่ามันไม่เหมาะสมกับประเทศไทยในยุคนี้เอาเสียเลย แต่ถ้าลงไปศึกษากันจริงๆ และร่วมมือกันทำการตรวจสอบและเสนอแนวทางการแก้ไขไปในทิศทางเดียวกันแล้ว ก็น่าจะบรรเทาปัญหาและลดค่าใช้จ่ายได้มากพอสมควร แนวทางนึงที่ควรยึดถือคือต้องทำการตรวจสอบอย่างจริงๆจัง กับเครื่องคอมพิวเตอร์ทุกๆเครื่องในความดูแลอย่างละเอียด มีการเก็บข้อมูลรายละเอียดของฮาร์ดแวร์ที่ใช้ และระบบปฏิบัติการอย่างละเอียด โดยใช้เครื่องมือ หรือโปรแกรมทดสอบที่มีอยู่ (มากมายในดาวน์โหลดในอินเตอร์เน็ต หรือที่นี่) และเก็บรายงานการทดสอบส่งแก่ผู้ดูแลระบบ การแก้ปัญหาที่เกิดกับระดับต่างๆ

ระดับที่ 1 มักจะเป็นเครื่องที่เก่ามากๆ และอาจหมดอายุการใช้งานแล้วในปัจจุบัน และมักจะเป็นเครื่องที่ผลิตก่อนปี 1993 และถ้าจะใช้งานต่อไปก็คงใช้กับงานที่ไม่เกี่ยวข้องกับการคำนวณวันเวลา ก็สามารถใช้ได้

ระดับที่ 2 จะเป็นเครื่องรุ่นใหม่ขึ้นมาหน่อยครับ ซึ่งมักจะผลิตในช่วงปี 1993 เป็นต้นมา ซึ่งบางยี่ห้อสามารถที่จะ Up Grade BIOS ของระบบได้ แต่ถ้าไม่ได้จริงๆก้อาจเลี่ยงไปใช้โปรแกรมช่วยแก้ปัญหาหรือใช้การ์ดช่วยเหลือ ก็จะสามารถใช้งานแต่ก็คงทำงานได้ระยะเวลาหนึ่งเท่านั้นเพราะอายุการใช้งาน การซ่อมบำรุงต่างๆอาจไม่คุ้มค่า (สำหรับพวกระดับ 486 ที่มีหน่วยความจำประมาณ 8 เมกกะไบต์)

ระดับที่ 3 หากเครื่องท่านผ่านการทดสอบในระดับนี้ และการทดสอบ Leap Year สามารถทำงานได้ถูกต้องละก็สบายใจได้เลยเพราะยังใช้ได้อีกหลายปีทีเดียวครับ แต่ถ้าไม่สามารถทดสอบ Leap Year ผ่านก็จัดการโหลดโปรแกรมสำหรับ Up Grade BIOS มาติดตั้งซะ โดยโปรแกรม Up Grade จะต้องโหลดจากไซต์ของผู้ผลิตเมนบอร์ดที่เราใช้งานนะครับ ก่อนติดตั้งก็อ่านรายละเอียดและตรวจสอบรุ่นต่างๆ ก่อนแล้วกัน หลังจากนั้นเครื่องคอมพิวเตอร์ของคุณก็พร้อมจะก้าวเดินสำหรับปี 2000 แล้วล่ะ

.

ไซต์ของผู้ผลิต BIOS จะมีทูลตรวจสอบให้ด้วยหากเราทราบว่าเครื่องเราใช้ BIOS ของบริษัทไหน

บริษัทฟีนิกซ์ http://www.phoenix.com
บริษัทเอเอ็มไอ http://www.ami.com
บริษัทอวอด http://www.award.com

ที่นี่ให้ความรู้เกี่ยวกับปัญหานาฬิกาของระบบได้ http://www.dalsemi.com
http://www.via.com.tw

โปรแกรมช่วยตรวจสอบปัญหาแบบไทยๆ ทำงานบนวินโดว์ 95 เต็มรูปแบบ ที่นี่ http://snoopy.ctl.nectec.or.th/home3/y2k/

.
Sanya's Homepage
E-mail Sanya

โปรแกรมตรวจสอบปัญหาปี 2000
โดย: สัญยา คลองในวัย


เป็นเครื่องมือเพื่อช่วยในการตรวจสอบ และวิเคราะห์ปัญหาที่เกิดขึ้น ในส่วนของระบบการทำงาน ที่เป็นฮาร์ดแวร์ของเครื่องคอมพิวเตอร์ส่วนบุคคล ซึ่งอาศัยการวิเคราะห์และตรวจสอบปัญหาปี 2000 ในข้อมูลที่ติดตั้งอยู่ภายในหน่วยความจำ ที่เรียกว่า CMOS ของระบบ (Complementary Metal Oxide Semiconductor) มาทำการวิเคราะห์ในส่วนของโปรแกรม เพื่อสรุปหาขอบเขตของปัญหาปี 2000
New feature in version 1.01 คุณสมบัติใหม่ๆในเวอร์ชั่นนี้
Leap year test ทดสอบปีอธิกสุรทิน
Full report พิมพ์รายงานการทดสอบแบสมบูรณ์
fixed bug แก้บักบางจุดในเวอร์ชั่นก่อน
Download version 1.01 (262k)


(262k)

huhuh

อยากทราบปัญหาy2kที่ส่งผลกระทบต่อเศรษฐกิจไทยค่ะ

dew <dewdeer137@yahoo.com> from proxy.pn.psu.ac.th on Saturday, January 15, 2000 at 20:24:02


สวัสดีค่ะ
ต้องการทราบปัญหาy2kที่ส่งผลกระทบต่อเศรษฐกิจไทยค่ะ

from proxy.pn.psu.ac.th on Saturday, January 15, 2000 at 20:08:19


ถ้าหากมีโปรแกรมทดสอบปัญหาปี 2000 บนวินโดว์3.11 หรือเป็นดอส รบกวนช่วยบอกด้วยค่ะ

Shirry <Shirry@postmark.net> from isag16.ce.kmitl.ac.th on Saturday, November 13, 1999 at 21:25:32


สวัดดีครับพ่อแม่พี่น้อง

Veerapong passione <kong_71@hotmail.com> from ccc-proxy.ccc.ac.th on Thursday, June 03, 1999 at 08:03:00


To Elvin : Y2K Tester Program are represent in thai language. Last update for there tool at
http://y2k-pc.nectec.or.th
This site contain 2 different versions
y2k2w.exe is window support and y2k2d.exe dos support tool
have nice

sanya from imf.nectec.or.th on Tuesday, January 12, 1999 at 11:00:08


I wants to have a Y2K program. Where can i have it?

Elvin Tian <bluelight65@pacific.net.sg> from palo7.pacific.net.sg on Saturday, January 09, 1999 at 14:35:05


Dear Khun ภิรมย์ ร่วมรักษ์:

Bussiness Week/December 14,1998 issue publish the following
info about Y2K bills are growing.



The Federal reserve bank estimates GDP shrink 0.3% in the year
2000 on Y2K related problems.
































































Company


Previously


Estimate


New


Estimate


AETNA 139 195
AT&T 300 900
BANKERS TRUST 180-230 200-260
CENDANT 25 53
CHASE MANHATTAN 300 363
GENERAL MOTORS 400-500 890*
McDONALD'S 8 30
MERRILL LYNCH 375 560
SEARS 63 143
XEROX 116 135
* include $300M payment to EDS    

B Gates <bgates@pugetsound.com> from 85pm1.ifu.net on Tuesday, December 08, 1998 at 09:56:23


Dear Khun ภิรมย์ ร่วมรักษ์:

I agree with the author of this article about the magnitude of the project. It covers all of the resources being used to support the company Information Services: from client, server, mainframes and network hardware, firmware and software. Recently I watch a show on TV about how unprepared the businesses in Asia are, and how this companies can have an effect on the companies in the US which investing hundred of million dollars to prevent the disaster to happen. I have seen big banks in the US are spending anywhere from $250M to $550M on the project. My company budgeted over $750 Millions to ensure that the company is ready for the new millenium.

The show I was watching also suggested that the US companies might require the Asian companies to take some action to ensure that their systems are secured.

Most companies should have a system to back up the primary system. The back up system may only be manual system. For example on fund transfer system-using SWIFT may use ACH, Telex or even phone calls to move money when the deserter strike. The companies may want to rehearse the back up system a few times before the time comes.

JP Morgan has a good articles about the Y2K economic effect. You may be able to find a lot more articles on the web.

Good Luck!

B. Gates <bgates@pugetsound.com> from 69pm1.ifu.net on Monday, December 07, 1998 at 08:28:31


ขณะนี้ทางผมกำลังจะทำการสัมมนาเรื่อง y2k นะครับ ไม่ทราบว่าพอจะมีข้อมูลด้านไหนที่จะสามารถนำไปใช้ในการ เชิญชวนนักศึกษาให้มีความสนใจในเรื่องนี้ได้บ้างครับ ช่วยแนะนำให้ด้วยนะครับจะเป็นพระคุณมากครับ จากวิศวะอุตสาหการมอขอ ครับ

ภิรมย์ ร่วมรักษ์ <entaneer-cmu@thaimail.com> from 203.146.58.229 on Saturday, December 05, 1998 at 05:31:42


Good

Jitender Chugh <jitender_chugh@hotmail.com> from d446.pppdel.vsnl.net.in on Friday, November 27, 1998 at 11:00:41







k


Dear K. Sunya,

I have d/l your program to try it out. I have found that much of it
is only checking and verify of which I do really like it and it is a neat
tool, However the program can't help us if we find a computer which is
not Y2K compate. I have got this patch from my friend at Comp Sci. Burapa
University and we have tested it along with you program and it worked well.
Year2000 patch.
Hope will find it useful, please do comment me if the program doesn't work
well.

 


Kitipan <kkitipan@chula.ac.th> from 203.147.1.210 on Monday, October 26, 1998 at 22:59:17


ต้องการทราบรายละเอียดคะ

Kanokporn <hi001@thaimail.com/> from pluto.mut.ac.th on Monday, September 28, 1998 at 13:27:12


I forgot to mention that the Y2K project management system (NT + SQL Server) which monitors total project effort and costs, receives feeds from a bigger system (Oracle Web base front end) which manages the hardware, operating system, data center softwa re. Data centers, network and client PCs must be Y2K certified before home grown software products can be certified. The vendors certify most of the off-the-shelf software products.

At the end of project (2000 AD), the project management system NT + SQL server will be removed and the Oracle web base system will be turned into and inventory system which can be used to feed an asset sub-ledger system.

developer <developer@developer.com> from 110pm2.ifu.net on Sunday, August 30, 1998 at 22:04:05


test y2k

savapat chujam <savapat@petch.rikp.ac.th> from 203.154.7.4 on Wednesday, August 26, 1998 at 14:00:22


ขอบคุณมากครับ ยังทดสอบไม่หมดเหมือนกัน จะลองดู

ขอบคุณมากๆอีกครั้งหนึ่ง

กนกศักดิ์ ปรักกโมดม <kanoksak@iname.com> from npt1-13.dial.cscoms.com on Wednesday, August 26, 1998 at 08:10:51


We started over a year ago, designing a system to manage the whole cooperates’ ITS assets, both hardware and software. Using web base system (IIS Server Visual Interdev), which import from and export to MS-Projects. The users from across the continent can enter their status to a centralized database (SQL Server) which reports the total Y2K project status to CIO project office. I’m proud to say that the system came up in three months. If you haven’t started yet may the Buddha or God be with you. :-)

developer <developer@developer.com> from 107pm2.ifu.net on Tuesday, August 25, 1998 at 07:20:34


Test post board.

tester <test@test.com> from truppp548.inet.co.th on Monday, August 17, 1998 at 20:44:00


Please enter your comments / Suggestions. Thanks!
Please post your comments on this page. Enter your message in the form on your right. Name:
E-mail:


Your Message:

*
Web design stuff : PuTT

| Back to SiamWEB Technical Corner | SiamWEB Homepage |

SiamWEB Cyber Culture http://www.siamweb.org/

Bandwidth sponsored by Internet Thailand