PANIC: PCI::AddVirtBus bus 128 too large on ASRock 4CoreDual-Sata2
|Reported by:||biffuz||Owned by:||marcusoverhagen|
|Has a Patch:||no||Platform:||All|
Just got this new motherboard, and tried it with Haiku rev. 23900.
I got this error on boot screen:
PANIC: PCI::AddVirtBus bus 128 too large
Disabling BIOS calls didn't help, so I checked pci.cpp, and it is right... bus 128 _is_ too large (I think it calls "bus" the "device number on the bus", isn't it?), which should be 0-31. I modified the method to print the vendor and device IDs, and it said 1106 and 3288: that's the on-board HDA controller. I disabled it from the BIOS setup and Haiku boot correclty.
I looked for a solution, and thought that maybe the device uses an int8 instead of an uint8. So I just modified line 371 to
if ((bus & 0x7f) > 31)
and it worked! The HDA controller is also correctly listed in listdev.
I'm not sure this is a proper solution or just an hack. Tried this on two more computers and looks fine.
BIOS version is 1.80, if this can help.
Change History (12)
comment:2 by , 12 years ago
|Status:||new → assigned|
|Summary:||VIA HDA causes PANIC at boot on ASRock 4CoreDual-Sata2 → PANIC: PCI::AddVirtBus bus 128 too large on ASRock 4CoreDual-Sata2|