From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8310825ecaa45519 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-02-07 16:11:28 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: sword7@speakeasy.org Newsgroups: comp.sys.dec Subject: Re: TS10 Emulator - a bug had been found! Date: Fri, 08 Feb 2002 00:11:27 -0000 Message-ID: Sender: Timothy Stark References: User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.20 (i686)) X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.sys.dec:11870 Good News!! Well, I found a serious bug in TS10 emulator that cause the OpenVMS stalled after RQDX3 initialization. I found that by using two log files from Simh and TS10 emulators and comparing difference between them. I fixed it in my RQDX3 emulation (rq_PutDesc) to not put 1 on command interrupt unless commands slot is only one or previous command descriptor belongs to RQDX3 controller. After it was fixed, OpenVMS now is trying read blocks from the Installation CD but stalled - another bug showed up! :-( I quickly found another bug when I debugged disassembled traces from my debug.log. REMQUE tried to dequeue entry but queue already is empty during MSCP read routine. I searched for cause by using two logs from Simh and TS10 emulators and found a cause between sequence initialization step 1 and step 2. On Simh, OpenVMS enqueued read access requests by using INSQUE instruction during MSCP initialization step #1 but it never happened in my debug.log from TS10 emulator. There was long execution between step #1 and step #2 - estimated 300,000 lines! I am narrowing down between step #1 and step #2 to find specific area that has a bug. Yes, after a bug was fixed, OpenVMS got slightly further due to another bug. Whew. That's why debuggers and programmers are blind without their source codes. With source codes, bugs can be find much easilier. :-( -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible)