When I boot one of my boxen up, it fails to boot. As soon as it hits
hd0, I see this:
Using drive 0, partition 3.
Loading...
ERR M
A recent (2005) thread on marc suggested just doing another install
from CD to fix this (as well as installing on a new disk on a
different computer, and then swapping to see if it works, which I
haven't done yet).
Booting to a CD of the 9/1/2006 snapshot:
probing: pc0 com0 com1 apm mem[640K 766M a20=on]
disk: fd0 hd0+
Bad unit number
>> OpenBSD/i386 BOOT 2.10
Bad unit number
open (hd0a:/etc/boot.conf): bad drive number
boot>
Trying to manually boot to hd0a:/bsd causes the message to repeat.
Does "Bad unit number" mean anything specific, or is it a bail-out
message?
boot> machine diskinfo
Disk BIOS# Type Cyls Heads Secs Flags Checksum
fd0 0x0 *none* 80 2 18 0x4 0x0
hd0 0x80 label 1024 255 63 0x2 0xd7789676
Since I didn't really know of a good way to debug this, I thought
booting to other OS install CDs might be informative. FreeBSD 5.1
says this:
acpi0: <AMD2P AWRDACPI> on motherboard
panic: AcpiOsDerivePciId unable to initialize pci bus
Linux:
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
SiI3112 Serial ATA: IDE controller at PCI slot 0000:02:06.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: 100% native mode on irq 18
ide2: MMIO-DMA , BIOS settings: hde:pio, hdb:DMA
ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
hde: WDC WD1200JD-00HBB0, ATA DISK drive
ide2 at 0xf287a080-0xf287a087,0xf287a08a on irq 18
hdg: no response (status = 0xfe), resetting drive
hdg: no response (status = 0xfe)
hdg: no response (status = 0xfe), resetting drive
hdg: no response (status = 0xfe)
hde: max request size: 64KiB
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
/dev/ide/host2/bus0/target0/lun0: p4
hdb: ATAPI 32X CD-ROM drive ...
...
...
and it goes on to boot to a gentoo livecd just fine (ok, it didn't
like my radeon card, but I don't care.). After getting a shell
prompt, I looked at the dmesg (in Linux, remember), and in there it
had a couple lines about ACPI:
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even
'acpi=off'
Still later,
...
BIOS failed to enable PCI standards compliance, fixing this error
...
<the stuff from above>
...
Between Linux and FreeBSD, it seems to be ACPI/PCI related, but I'm
not sure how. The fact that the disk is found at hde in Linux above
seems odd to me, because it's the only disk other than the CD-ROM (not
to mention that it seems to really want to find an 'hdg').
Anyway, I hope the above information will help someone help me :-).
My hardware configuration hasn't changed in ages, and I've been
running -current on this box since MP rolled out. My apologies for
not providing a dmesg. I don't have one lying around and can't get a
fresh one.
--
Benjamin Collins
[demime 1.01d removed an attachment of type application/pgp-signature]