Subject: biosboot broken?
To: None <>
From: maximum entropy <>
List: current-users
Date: 10/27/1998 04:27:48

Sorry if this is a known problem...I searched the PR database and
didn't find anything.  I've been off the lists recently, so I may have
missed it if this problem has already been discussed.

I just upgraded to -current of 19981026 on an i386 system.  Everything
went reasonably well, so when "make build" completed and I had
rebooted, I decided to try out some new boot blocks (2.3).  Being the
paranoid type, I decided to install them on a floppy in case there was

# newfs -T floppy /dev/rfd0a
# cd /usr/mdec
# ./installboot -f biosboot.sym /dev/rfd0a

I then rebooted from the floppy, interrupted the boot countdown, and

boot sd0a:netbsd

The response was (this is from memory, may be only approximately correct):
boot: sd0a:netbsd: Input/output error

Rebooting with the boot blocks on the hard disk (biosboot 2.2) worked fine.

Have I done something stupid, or is biosboot broken?


NetBSD 1.3H (TARDIS) #0: Mon Oct 26 18:28:06 EST 1998
cpu0: family 5 model 2 step 4
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 49934336
avail mem = 44376064
using 635 buffers containing 2600960 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 2
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82434LX/NX PCI, Cache and Memory Controller (PCMC) (rev. 0x11)
ncr0 at pci0 dev 1 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at irq 11
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, LPS525S, 3110> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 501MB, 2448 cyl, 6 head, 69 sec, 512 bytes/sect x 1027548 sectors
sd1 at scsibus0 targ 1 lun 0: <DEC, RZ28     (C) DEC, D41C> SCSI2 0/direct fixed
sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8)
sd1: 2007MB, 3045 cyl, 16 head, 84 sec, 512 bytes/sect x 4110480 sectors
sd2 at scsibus0 targ 2 lun 0: <DEC, RZ26L    (C) DEC, 440C> SCSI2 0/direct fixed
sd2(ncr0:2:0): 10.0 MB/s (100 ns, offset 8)
sd2: 1001MB, 3117 cyl, 8 head, 82 sec, 512 bytes/sect x 2050860 sectors
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, CD-ROM XM-4101TA, 0064> SCSI2 5/cdrom re
probe(ncr0:6:1): 4.0 MB/s (250 ns, offset 8)
pcib0 at pci0 dev 2 function 0
pcib0: Intel 82378ZB System I/O (SIO) (rev. 0x03)
S3 86C968-0 ("Vision968") (VGA display) at pci0 dev 6 function 0 not configured
de0 at pci0 dev 7 function 0
de0: interrupting at irq 15
de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1
de0: address 00:00:f8:1e:7a:f0
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
com3 at isa0 port 0x2e8-0x2ef irq 9: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: unknown s3, 80 col, color, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
biomask 840 netmask 8840 ttymask 98c2
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

entropy -- it's not just a good idea, it's the second law.