Subject: Re: booting 1.2 from sd0
To: None <david@mono.org>
From: David Rosenthal <dshr@vitria.COM>
List: netbsd-bugs
Date: 11/02/1996 15:31:40
> Are you sure you blew away everything in
> /sys/arch/i386/compile/.../ before config'ing the new kernel &
> building - also how does a straight 1.2 GENERIC kernel do?

Yes - I removed the compile/FOO directory before building the FOO kernel.

I tried to boot the GENERICADP kernel ftp-ed from NetBSD.org on one of
the machines.  It has exactly the same problem - it tries to change the
root to the non-existent wd0 and panics.  Here is the boot output from
a NetBSD1.2beta kernel booting on exactly the same hardware (modulo a
change of sd0 from a 2GB Quantum to a 730MB IBM drive):

NetBSD 1.2_BETA (VIFFS) #40: Thu Oct 24 04:04:02 PDT 1996
    root@fumble.vitria.com:/export/fumble/NetBSD-current/usr/src/sys/arch/i386/compile/VIFFS
CPU: Pentium (GenuineIntel 586-class CPU)
real mem  = 16384000
avail mem = 13897728
using 225 buffers containing 921600 bytes of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37f irq 7
ed0 at isa0 port 0x300-0x31f irq 3
ed0: address 00:c0:d1:08:0d:b6, type NE2000 (16-bit)
ed1 at isa0 port 0x280-0x29f irq 9
ed1: address 00:c0:d1:08:09:51, type NE2000 (16-bit)
ed2 at isa0 port 0x240-0x25f irq 5
ed2: address 00:c0:d1:08:10:71, type NE2000 (16-bit)
ed3 at isa0 port 0x2c0-0x2df irq 15
ed3: address 00:c0:d1:57:00:52, type NE2000 (16-bit)
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
pci0 at mainbus0 bus 0: configuration mode 1
vendor 0x8086 product 0x1250 (class bridge, subclass host, revision 0x01) at pci0 dev 0 function 0 not configured
vendor 0x8086 product 0x7000 (class bridge, subclass ISA, revision 0x01) at pci0 dev 7 function 0 not configured
ahc0 at pci0 dev 9 function 0
ahc0: interrupting at irq 11
ahc0: Reading SEEPROM...done.
ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
ahc0: Reseting Channel A
ahc0: Downloading Sequencer Program...Done
scsibus0 at ahc0
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, VP32210, 81H8> SCSI2 0/direct fixed
sd0: 2103MB, 4243 cyl, 8 head, 126 sec, 512 bytes/sec
ahc0: target 1 synchronous at 5.0MHz, offset = 0xf
cd0 at scsibus0 targ 1 lun 0: <SONY, CD-ROM CDU-76S, 1.1c> SCSI2 5/cdrom removable
vendor 0x5333 product 0x8811 (class display, subclass VGA, revision 0x43) at pci0 dev 10 function 0 not configured
biomask 840 netmask 8a68 ttymask 8afa
changing root device to sd0a

The generic kernel doesn't recognize the various ed? interfaces properly,
and it thinks the Adaptec host adaptor is ahc1,  but everything else looked
OK until it tried to change root to wd0.

	David.