Re: Device xx:xx not found by BIOS

David Bryant (d_bryant@lincoln.college.adelaide.edu.au)
Fri, 14 Aug 1998 19:06:26 +0930


This is a multi-part message in MIME format.
--------------73A3AE6C7FD03480D46D4688
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Your patch stoped the messages at startup. New output of lspci -vvx attached,
it's much shorter now... :^)

Thanks
David Bryant

Martin Mares wrote:

> Hello,
>
> > Attached is the output of lspci -vvx.
> > Incidentally I think there is something funny about my motherboard supporting
> > PCI 2.0
> > and the permedia card stating it requires 2.01... BIOS is PHOENX.
> > Hope this is of some use.
>
> Argh. Nasty bug... Please try this patch.
>
> 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
> "Never make any mistaeks."
>
> --- drivers/pci/pci.c.mj Wed Aug 12 22:08:51 1998
> +++ drivers/pci/pci.c Wed Aug 12 22:09:51 1998
> @@ -170,13 +170,14 @@
> /* not a multi-function device */
> continue;
> }
> - pcibios_read_config_byte(bus->number, devfn, PCI_HEADER_TYPE, &hdr_type);
> + if (pcibios_read_config_byte(bus->number, devfn, PCI_HEADER_TYPE, &hdr_type))
> + continue;
> if (!PCI_FUNC(devfn))
> is_multi = hdr_type & 0x80;
>
> - pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, &l);
> - /* some broken boards return 0 if a slot is empty: */
> - if (l == 0xffffffff || l == 0x00000000 || l == 0x0000ffff || l == 0xffff0000) {
> + if (pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, &l) ||
> + /* some broken boards return 0 if a slot is empty: */
> + l == 0xffffffff || l == 0x00000000 || l == 0x0000ffff || l == 0xffff0000) {
> is_multi = 0;
> continue;
> }
>

--------------73A3AE6C7FD03480D46D4688
Content-Type: text/plain; charset=us-ascii;
name="p"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="p"

00:00.0 Class 0600: 8086:04a3 (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 96 set
00: 86 80 a3 04 06 01 00 24 11 00 00 06 00 60 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:02.0 Class 0000: 8086:0484 (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 set
00: 86 80 84 04 0f 00 00 02 03 00 00 00 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:03.0 Class 0101: 1095:0640 (rev 01)
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 14
Region 0: I/O ports at 01f0
Region 1: I/O ports at 03f4
Region 2: I/O ports at ff00
Region 3: I/O ports at ff08
00: 95 10 40 06 01 00 00 02 01 00 01 01 00 00 00 00
10: f1 01 00 00 f5 03 00 00 01 ff 00 00 09 ff 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0e 01 00 00

00:0e.0 Class 0200: 10ec:8029
Subsystem: 10ec:8029
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at fce0
00: ec 10 29 80 03 00 00 02 00 00 00 02 00 00 00 00
10: e1 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 29 80
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 00 00

00:0f.0 Class 0380: 104c:3d07 (rev 01)
Subsystem: 1092:0148
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 192 min, 192 max, 96 set
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 40000000 (32-bit, non-prefetchable)
Region 1: Memory at 40800000 (32-bit, non-prefetchable)
Region 2: Memory at 41000000 (32-bit, non-prefetchable)
00: 4c 10 07 3d 07 00 80 02 01 00 80 03 00 60 00 00
10: 00 00 00 40 00 00 80 40 00 00 00 41 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 92 10 48 01
30: 00 00 00 20 00 00 00 00 00 00 00 00 09 01 c0 c0

--------------73A3AE6C7FD03480D46D4688--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html