Date: Mon, 19 Oct 1998 12:54:49 -0700 (PDT) From: Jin Guojun (FTG staff) <jin@george.lbl.gov> To: se@mi.uni-koeln.de Cc: bugs@FreeBSD.ORG Subject: pciconf does not report unloaded devices under 3.x-RELEASE, as well as the kernel, which causes modload failure Message-ID: <199810191954.MAA07044@george.lbl.gov>
next in thread | raw e-mail | index | archive | help
STefan, Under 3.0 RELEASE, the pciconf does not report these devices if there is no driver is loaded into the kernel for them. This causes the modload fails: # modload -v -ezatm_mod /lkm/znatmdrv.o modload: error initializing module: Device not configured The 2.2.7 and 3.0 dmesg and pciconf output are appened at the end of this mail. The unused ISA devices are reported by dmesg on both systems, but not unused PCI devices are not reported under 3.0. I do not know if this is kernel issue or PCI probe issue. -Jin Appendix: dmesg and pciconf output FBSD2.2.7 # dmesg ... Probing for devices on PCI bus 0: chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0:0 chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:1:0 chip2 <Intel 82371SB IDE interface> rev 0 on pci0:1:1 ncr0 <ncr 53c825a fast10 wide scsi> rev 19 int a irq 12 on pci0:10:0 ncr0 waiting for scsi devices to settle (ncr0:1:0): "CDC 94181-15 5466" type 0 fixed SCSI 1 sd0(ncr0:1:0): Direct-Access 573MB (1173930 512 byte sectors) fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 2 int a irq 10 on pci0:11:0 fxp0: Ethernet address 00:a0:c9:9b:88:18 vga0 <VGA-compatible display device> rev 1 int a irq 11 on pci0:12:0 pci0:13: vendor=0x1193, device=0x0001, class=network (unknown subclass 0x30) int a irq 9 [no driver assigned] Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> fe0 not found at 0x300 ... wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): <FX120T/b03>, removable, intr, dma, iordis 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 15 on isa ep0: aui/utp[*UTP*] address 00:20:af:ec:32:3c ex0 not found at 0xffffffff ... FBSD2.2.7 # pciconf -l pci0:0:0: class=0x060000 card=0x00000000 chip=0x12378086 rev=0x02 hdr=0x00 pci0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x80 pci0:1:1: class=0x010180 card=0x00000000 chip=0x70108086 rev=0x00 hdr=0x00 pci0:10:0: class=0x010000 card=0x00000000 chip=0x00031000 rev=0x13 hdr=0x00 pci0:11:0: class=0x020000 card=0x00018086 chip=0x12298086 rev=0x02 hdr=0x00 pci0:12:0: class=0x030000 card=0x8a015333 chip=0x8a015333 rev=0x01 hdr=0x00 pci0:13:0: class=0x023000 card=0x00000000 chip=0x00011193 rev=0x0a hdr=0x00 ------------ FBSD3.x # dmesg ... Probing for devices on PCI bus 0: chip0: <Intel 82440FX System Controller (Natoma)> rev 0x02 on pci0.0.0 chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.1.0 ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1 fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 10 on pci0.11.0 fxp0: Ethernet address 00:a0:c9:9b:88:18 ncr0: <ncr 53c825a fast10 wide scsi> rev 0x13 int a irq 12 on pci0.10.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> fe0 not found at 0x300 ... wdc0 not found at 0x1f0 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 15 on isa ep0: aui/utp[*UTP*] address 00:20:af:ec:32:3c ex0 not found at 0xffffffff ... FBSD3.x # pciconf -l chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x12378086 rev=0x02 hdr=0x00 chip1@pci0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00 ide_pci0@pci0:1:1: class=0x010180 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00 chip2@pci0:1:2: class=0x0c0300 card=0x00000000 chip=0x70108086 rev=0x00 hdr=0x00 ncr0@pci0:10:0: class=0x010000 card=0x00000000 chip=0x00031000 rev=0x03 hdr=0x00 fxp0@pci0:11:0: class=0x020000 card=0x00018086 chip=0x12298086 rev=0x02 hdr=0x00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810191954.MAA07044>