Re: 2.1.105 won't boot: PCI: BIOS reporting unknown device 01.20

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Mon, 8 Jun 1998 11:52:24 +0200


Hi,

> I just tried installing 2.1.105 on an ASUS P65UP8 + C-P6ND, and it
> doesn't boot. After displaying about a half-screen of information,
> the kernel spews:
>
> PCI: BIOS reporting unknown device 01:20
>
> and continues filling the screen with that indefinitely. Any ideas?

YABB (Yet Another Bios Bug)... Just try the following patch and tell me
whether it helps or not.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"System going down at 1:45 for disk crashing."

--- arch/i386/kernel/bios32.c.mj Mon Jun 8 11:48:55 1998 +++ arch/i386/kernel/bios32.c Mon Jun 8 11:51:13 1998 @@ -859,8 +859,14 @@ break; } } - if (!d) + if (!d) { printk("PCI: BIOS reporting unknown device %02x:%02x\n", bus, devfn); + /* + * We must not continue scanning as several buggy BIOSes + * return garbage after the last device. Grr. + */ + break; + } } if (!idx) { printk("PCI: Device %02x:%02x not found by BIOS\n",

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu