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-06 16:06:36 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: JArmistead@mail.com (Jason Armistead) Newsgroups: comp.sys.dec Subject: Re: Some new problems with RQDX3 emulator. Date: 6 Dec 2001 16:06:36 -0800 Organization: http://groups.google.com/ Message-ID: References: <3C0E941E.D22DE6B9@srv.net> NNTP-Posting-Host: 192.249.47.9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1007683596 22242 127.0.0.1 (7 Dec 2001 00:06:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 7 Dec 2001 00:06:36 GMT Xref: archiver1.google.com comp.sys.dec:9368 Tim Can I be so bold as to ask why you're emulating the VAX 11/780 in particular ? Why not go for the busless MicroVAX 2000 / VAXstation 2000 ? It just uses an industry standard ST506 disk controller, for which the specs would surely be available (via an IC manufacturer's web site or in an open source OS) That would get around the need for all the complexity of Q-Bus and RQDX3 emulation, wouldn't it ? PS: Why is it that you and Bob Supnik are apparently going hammer and tongs at two different VAX emulators ? Surely there's good reasons for combining your projects, since there must be a heck of a lot of legacy device driver code that's going to be 99.9% identical across the board (as, presumably is the emulation of the VAX CPU itself). Just curious Jason Armistead Who once re-loaded MicroVMS 4.5B *twice* from 80+ floppies ! Kevin Handy wrote in message news:<3C0E941E.D22DE6B9@srv.net>... > 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]