From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,80bd6dcec1976973 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-12-05 13:35:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!sjcppf01!e420r-sjo4.usenetserver.com!usenetserver.com!sjcpnn01.usenetserver.com.POSTED!not-for-mail Message-ID: <3C0E941E.D22DE6B9@srv.net> From: Kevin Handy X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.dec Subject: Re: Some new problems with RQDX3 emulator. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Wed, 05 Dec 2001 16:38:11 EST Organization: WebUseNet Corp. http://corp.webusenet.com - ReInventing the UseNet Date: Wed, 05 Dec 2001 14:39:42 -0700 Xref: archiver1.google.com comp.sys.dec:9343 sword7@speakeasy.org wrote: > > Hello folks: > > Well, I rewrote my RQDX3 emulator with internal packet queue management on > my VAX emulator. I set up two disk units - RD54 on DUA0: and RRD40 on > DUA1:. That is software-based emulation, not hardware. I tested > two operating systems - OpenVMS 7.2 and NetBSD/vax 1.5.2. > > On OpenVMS 7.2, I sucessfully booted OpenVMS into my VAX emulator from > RRD40 disk drive (CD-ROM drive) directly. I successfully booted it > through SYSBOOT to the banner of stand-alone backup (welcome OpenVMS > message). OpenVMS sucessfully completed RQDX3 initialization and > scanned all units. Whoa. Before I recently implemented GUS with MD_NXU > support on RQDX, I tested it but OpenVMS thought that RQDX3 has > zillions units! Then, I implemented it. OpenVMS succesfully scanned > all 4 units and found two units available/online. > > However, after initialization and unit scanning were completed, OpenVMS > sent a GUS packet to Unit #0 again and again forever. It looks like > that it caught endless loop. It happened each several seconds. Also, > it sent the DAP packet to Unit #1 because it want DAP (Determine Access > Paths) information from RQDX3 emulator about the boot disk (DUA1:). > But, RQDX3 replied the NOP (No Operation) packet back to it. When it > completed RQDX3 initialization, it should print "PLEASE ENTER DATE > AND TIME..." on the screen. It acutally did not print that. :-( > Does anyone have solution with that problems? > > On NetBSD 1.5.2, I successfully booted NetBSD/vax into the VAX emulator. > It prints some information about initialization processing. It > mentions that it sucessfully completed RQDX3 initialization and > scanned all units that are online or available. No problems... > However, it caught the machine check trap after printed "root > file system type: ffs". It reboots again and again with the > same results. I am figuring that out now. > > Thank you! > > -- Tim Stark > > NetBSD console log: > > >>> b > > 2..1..0.. > > >> NetBSD/vax boot [Aug 19 2001 05:57:49] << > >> Press any key to abort autoboot 0 > getdisklabel: no disk label > nfs_open: must mount first. > 706204+1205216+145628=0x1f635c > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001 > The NetBSD Foundation, Inc. All rights reserved. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > > NetBSD 1.5.2 (INSTALL) #8: Sun Aug 19 13:32:44 PDT 2001 > matt@cougar.local:/u1/kobj/INSTALL > > MicroVAX II > total memory = 16372 KB > avail memory = 12044 KB > using 230 buffers containing 920 KB of memory > mainbus0 (root) > ibus0 at mainbus0 > uba0 at ibus0: Q22 > uda0 at uba0 csr 172150 vec 774 ipl 15 > mscpbus0 at uda0: version 3 model 3 > mscpbus0: DMA burst size set to 4 > ra0 at mscpbus0 drive 0: RD54 > ra1 at mscpbus0 drive 1: RRD40 > md0: internal 1138K image area > boot device: ra1 > root on md0a dumps on md0b > WARNING: TOY clock not marked valid - CHECK AND RESET THE DATE. > root file system type: ffs > machine check c > vap 81 istate ffffffff pc 0 psl 1022 > mser=0x3c1 page=65535 > memory err! Here's the NetBSD code that prints out this message. Looks like it it trying to execute location 0 somewhere, causing the interrupt. int ka630_mchk(cmcf) caddr_t cmcf; { register struct mc78032frame *mcf = (struct mc78032frame *)cmcf; register u_int type = mcf->mc63_summary; printf("machine check %x", type); if (type < NMC78032 && mc78032[type]) printf(": %s", mc78032[type]); printf("\n\tvap %x istate %x pc %x psl %x\n", mcf->mc63_mrvaddr, mcf->mc63_istate, mcf->mc63_pc, mcf->mc63_psl); if (uvaxIIcpu_ptr && uvaxIIcpu_ptr->uvaxII_mser & UVAXIIMSER_MERR) { printf("\tmser=0x%lx ", uvaxIIcpu_ptr->uvaxII_mser); if (uvaxIIcpu_ptr->uvaxII_mser & UVAXIIMSER_CPUE) printf("page=%ld", uvaxIIcpu_ptr->uvaxII_cear); if (uvaxIIcpu_ptr->uvaxII_mser & UVAXIIMSER_DQPE) printf("page=%ld", uvaxIIcpu_ptr->uvaxII_dear); printf("\n"); } return (-1); } > panic: mchk > syncing disks... Trap: type 2, code 0, pc 8000042b, psl 4080000 > panic: trap > > dumping to dev 23,1 offset 8 > dump succeeded > > Loading system software. > > 2..1..0.. > > (it reboots again and again...) > > [End of File]