From owner-freebsd-bugs Tue Jul 23 14:51:24 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D67B37B401 for ; Tue, 23 Jul 2002 14:50:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7338443E65 for ; Tue, 23 Jul 2002 14:50:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6NLo6JU059263 for ; Tue, 23 Jul 2002 14:50:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6NLo5ar059262; Tue, 23 Jul 2002 14:50:05 -0700 (PDT) Date: Tue, 23 Jul 2002 14:50:05 -0700 (PDT) Message-Id: <200207232150.g6NLo5ar059262@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Damon Anton Permezel Subject: Re: kern/38894: Dell PowerEdge 4600 PCI Bus scan problems Reply-To: Damon Anton Permezel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/38894; it has been noted by GNATS. From: Damon Anton Permezel To: Andrew Gallatin Cc: Jung-uk Kim , freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/38894: Dell PowerEdge 4600 PCI Bus scan problems Date: Tue, 23 Jul 2002 16:47:21 -0500 On Tue, Jul 23, 2002 at 05:15:52PM -0400, Andrew Gallatin wrote: > > Damon Anton Permezel writes: > > On Tue, Jul 23, 2002 at 03:15:29PM -0400, Andrew Gallatin wrote: > > > > > > Jung-uk Kim writes: > > > > Following patch says 0x02011166 is host to PCI bridge but it is not. It > > > > is a southbridge. > > > > > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/pci/pci_bus.c.diff?r1=1.81&r2=1.82 > > > > > > > > My SuperMicro P4DSE motherboard says: > > > > > > > > isab0@pci0:15:0: class=0x060100 card=0x405515d9 chip=0x02011166 > > > > rev=0x93 hdr=0x00 > > > > > > > > > > I was afraid of that.. > > > > > > Damon, > > Well, class=0x060100 is definately an ISA bridge. So I think we're > going to have to start looking at the class codes. > > Perhaps the host bridge is at another function on the same device? > Can you both me the output of 'pciconf -lv' on your systems, please? > > Are you both willing to test patches? At least one of us is. chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x00111166 rev=0x22 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CMIC-HE' class = bridge subclass = HOST-PCI chip1@pci0:0:1: class=0x060000 card=0x00000000 chip=0x00111166 rev=0x00 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CMIC-HE' class = bridge subclass = HOST-PCI chip2@pci0:0:2: class=0x060000 card=0x00000000 chip=0x00111166 rev=0x00 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CMIC-HE' class = bridge subclass = HOST-PCI chip3@pci0:0:3: class=0x060000 card=0x00000000 chip=0x00111166 rev=0x00 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CMIC-HE' class = bridge subclass = HOST-PCI fxp0@pci0:4:0: class=0x020000 card=0x01061028 chip=0x12298086 rev=0x08 hdr=0x00 vendor = 'Intel Corporation' device = '82557/8/9 EtherExpress PRO/100(B) Ethernet Adapter' class = network subclass = ethernet ahc0@pci0:6:0: class=0x010000 card=0x01061028 chip=0x001f9005 rev=0x01 hdr=0x00 vendor = 'Adaptec' device = 'AHA-2940U2/AHA-2940U2W AIC-7890/1 Ultra2 SCSI Controller' class = mass storage subclass = SCSI ahc1@pci0:8:0: class=0x010000 card=0x00000000 chip=0x81789004 rev=0x00 hdr=0x00 vendor = 'Adaptec Inc' device = 'AHA-2940U/UW/2940D Ultra/Ultra Wide/Dual SCSI Host Adapter' class = mass storage subclass = SCSI none0@pci0:14:0: class=0x030000 card=0x01061028 chip=0x47521002 rev=0x27 hdr=0x00 vendor = 'ATI Technologies' device = 'Rage XL PCI' class = display subclass = VGA chip4@pci0:15:0: class=0x060000 card=0x02011166 chip=0x02011166 rev=0x93 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CSB5 PCI to ISA Bridge' class = bridge subclass = HOST-PCI atapci0@pci0:15:1: class=0x010182 card=0x02121166 chip=0x02121166 rev=0x93 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CSB5 PCI EIDE Controller' class = mass storage subclass = ATA ohci0@pci0:15:2: class=0x0c0310 card=0x02201166 chip=0x02201166 rev=0x05 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'OSB4 OpenHCI Compliant USB Controller' class = serial bus subclass = USB isab0@pci0:15:3: class=0x060100 card=0x02301166 chip=0x02251166 rev=0x00 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' class = bridge subclass = PCI-ISA chip5@pci0:16:0: class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CIOB30' class = bridge subclass = HOST-PCI chip6@pci0:16:2: class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CIOB30' class = bridge subclass = HOST-PCI chip7@pci0:17:0: class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CIOB30' class = bridge subclass = HOST-PCI chip8@pci0:17:2: class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'CIOB30' class = bridge subclass = HOST-PCI bge0@pci1:6:0: class=0x020000 card=0x01061028 chip=0x164414e4 rev=0x14 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5700/1 Gigabit Ethernet Controller' class = network subclass = ethernet pcib5@pci1:8:0: class=0x060400 card=0x00000068 chip=0x03098086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '80303 I/O Processor PCI-to-PCI Bridge Unit' class = bridge subclass = PCI-PCI aac0@pci1:8:1: class=0x010400 card=0x01061028 chip=0x000a1028 rev=0x01 hdr=0x00 vendor = 'Dell Computer Corporation' device = 'PowerEdge 3/Di Expandable RAID Controller' class = mass storage subclass = RAID none1@pci2:6:0: class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01 hdr=0x00 vendor = 'Adaptec' device = 'RAID Subsystem HBA' class = mass storage subclass = SCSI none2@pci2:6:1: class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01 hdr=0x00 vendor = 'Adaptec' device = 'RAID Subsystem HBA' class = mass storage subclass = SCSI none3@pci9:6:0: class=0x020000 card=0x11078086 chip=0x10088086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82544 PRO/1000 Gigabit Ethernet Controller' class = network subclass = ethernet pcib6@pci3:6:0: class=0x060400 card=0x00000068 chip=0xa5001044 rev=0x02 hdr=0x01 vendor = 'Adaptec (Formerly: Distributed Processing Technology (DPT))' device = 'PCI Bridge' class = bridge subclass = PCI-PCI asr0@pci3:6:1: class=0x0e0001 card=0xc03c1044 chip=0xa5011044 rev=0x02 hdr=0x00 vendor = 'Adaptec (Formerly: Distributed Processing Technology (DPT))' device = 'I2O SmartRAID V Controller' isp0@pci3:8:0: class=0x010000 card=0x00021077 chip=0x22001077 rev=0x05 hdr=0x00 vendor = 'Q Logic' device = 'ISP2200' class = mass storage subclass = SCSI bge1@pci14:6:0: class=0x020000 card=0x000814e4 chip=0x164514e4 rev=0x15 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5701 NetXtreme Gigabit Ethernet' class = network subclass = ethernet Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-STABLE #16: Sun Jul 21 16:47:14 CDT 2002 dap@damon.com:/usr/obj/usr/src/sys/FUBAR Calibrating clock(s) ... TSC clock: 1984675976 Hz, i8254 clock: 1193326 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 1984489484 Hz CPU: Pentium 4 (1984.49-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff,ACC> real memory = 536805376 (524224K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x00410000 - 0x1ffe7fff, 532512768 bytes (130008 pages) avail memory = 518557696 (506404K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xc67e pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 Other BIOS signatures found: ACPI: 000fdc60 Preloaded elf kernel "kernel" at 0xc03e9000. md0: Malloc disk Creating DISK md0 pci_open(1): mode 1 addr port (0x0cf8) is 0x800078ac pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=00111166) Using $PIR table, 13 entries at 0xc00fc140 pcib-: pcib1 exists, using next available unit number pcib-: pcib1 exists, using next available unit number pcib-: pcib3 exists, using next available unit number pcib-: pcib9 exists, using next available unit number npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x1166, dev=0x0011, revid=0x22 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0011, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0011, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0011, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x1229, revid=0x08 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base fe204000, size 12 map[14]: type 1, range 32, base 0000ecc0, size 6 map[18]: type 1, range 32, base fe000000, size 20 found-> vendor=0x9005, dev=0x001f, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000e800, size 8 map[14]: type 1, range 64, base fe203000, size 12 found-> vendor=0x9004, dev=0x8178, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000e400, size 8 map[14]: type 1, range 32, base fe202000, size 12 found-> vendor=0x1002, dev=0x4752, revid=0x27 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base 0000e000, size 8 map[18]: type 1, range 32, base fe201000, size 12 found-> vendor=0x1166, dev=0x0201, revid=0x93 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0212, revid=0x93 class=01-01-82, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 000008c0, size 3 map[14]: type 3, range 32, base 000008c8, size 2 map[18]: type 1, range 32, base 000008d0, size 3 map[1c]: type 3, range 32, base 000008d8, size 2 map[20]: type 1, range 32, base 000008b0, size 4 found-> vendor=0x1166, dev=0x0220, revid=0x05 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base fe200000, size 12 found-> vendor=0x1166, dev=0x0225, revid=0x00 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0010, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0010, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0010, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0010, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 pci0: on pcib0 fxp0: port 0xecc0-0xecff mem 0xfe000000-0xfe0fffff,0xfe204000-0xfe204fff irq 11 at device 4.0 on pci0 fxp0: using memory space register mapping fxp0: Ethernet address 00:06:5b:88:18:bc fxp0: PCI IDs: 8086 1229 1028 0106 0008 fxp0: Dynamic Standby mode is disabled inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: fxp0 attached ahc0: port 0xe800-0xe8ff mem 0xfe203000-0xfe203fff irq 10 at device 6.0 on pci0 ahc0: Reading SEEPROM...done. ahc0: Manual LVD Termination ahc0: BIOS eeprom is present ahc0: Secondary High byte termination Enabled ahc0: Secondary Low byte termination Enabled ahc0: Primary Low Byte termination Enabled ahc0: Primary High Byte termination Enabled ahc0: Downloading Sequencer Program... 416 instructions downloaded aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe400-0xe4ff mem 0xfe202000-0xfe202fff irq 11 at device 8.0 on pci0 ahc1: Reading SEEPROM...done. ahc1: internal 50 cable not present, internal 68 cable not present ahc1: external cable not present ahc1: BIOS eeprom is present ahc1: High byte termination Enabled ahc1: Low byte termination Enabled ahc1: Downloading Sequencer Program... 439 instructions downloaded using shared irq11. aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs pci0: (vendor=0x1002, dev=0x4752) at 14.0 atapci0: port 0x8b0-0x8bf,0x8d8-0x8db,0x8d0-0x8d7,0x8c8-0x8cb,0x8c0-0x8c7 at device 15.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x08b0 ata0: mask=03 ostat0=50 ostat2=01 ata0-master: ATAPI 14 eb ata0-slave: ATAPI 14 eb ata0: mask=03 stat0=00 stat1=01 ata0: devices=0c ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x08b8 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0xfe200000-0xfe200fff irq 5 at device 15.2 on pci0 ohci0: (New OHCI DeviceId=0x02201166) ohci_init: start usb0: OHCI version 1.0, legacy support ohci_init: SMM active, request owner change usb0: SMM does not respond, resetting usb0: resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on motherboard found-> vendor=0x14e4, dev=0x1644, revid=0x14 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 64, base fcf00000, size 16 found-> vendor=0x8086, dev=0x0309, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=2 secondarybus=2 found-> vendor=0x1028, dev=0x000a, revid=0x01 class=01-04-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f0000000, size 27 pci1: on pcib1 bge0: mem 0xfcf00000-0xfcf0ffff irq 10 at device 6.0 on pci1 using shared irq10. bge0: Ethernet address: 00:06:5b:88:18:bd miibus1: on bge0 brgphy0: on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bpf: bge0 attached pcib5: at device 8.0 on pci1 found-> vendor=0x9005, dev=0x00c5, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000dc00, size 8 map[14]: type 1, range 64, base fcdff000, size 12 found-> vendor=0x9005, dev=0x00c5, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=10 map[10]: type 1, range 32, base 0000d800, size 8 map[14]: type 1, range 64, base fcdfe000, size 12 pci2: on pcib5 pci2: (vendor=0x9005, dev=0x00c5) at 6.0 irq 11 pci2: (vendor=0x9005, dev=0x00c5) at 6.1 irq 10 aac0: mem 0xf0000000-0xf7ffffff irq 11 at device 8.1 on pci1 aac0: i960RX 100MHz, 118MB cache memory, optional battery present aac0: Kernel 2.7-0, Build 3153, S/N b821d3 pcib9: on motherboard found-> vendor=0x8086, dev=0x1008, revid=0x02 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 64, base ebf20000, size 17 map[18]: type 1, range 64, base ebf00000, size 17 map[20]: type 1, range 32, base 00008ce0, size 5 pci9: on pcib9 pci9: (vendor=0x8086, dev=0x1008) at 6.0 irq 11 pcib255: on motherboard pci255: on pcib255 pci-: pci2 exists, using next available unit number pcib2: on motherboard found-> vendor=0x1044, dev=0xa500, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=4 secondarybus=4 found-> vendor=0x1044, dev=0xa501, revid=0x02 class=0e-00-01, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base ec000000, size 25 found-> vendor=0x1077, dev=0x2200, revid=0x05 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000bc00, size 8 map[14]: type 1, range 32, base eff00000, size 12 pci3: on pcib2 pcib6: at device 6.0 on pci3 pci4: on pcib6 asr0: mem 0xec000000-0xedffffff irq 11 at device 6.1 on pci3 asr0: major=154 asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O Qlogic ISP Driver, FreeBSD Version 4.16, Core Version 2.6 isp0: port 0xbc00-0xbcff mem 0xeff00000-0xeff00fff irq 10 at device 8.0 on pci3 isp0: using I/O space register mapping isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.1.36 isp0: Installed in 64-Bit PCI slot isp0: Last F/W revision was 2.0.27 isp0: 985 max I/O commands supported isp0: NVRAM Port WWN 0x210000e08b01138a pci-: pci3 exists, using next available unit number pcib3: on motherboard pci5: on pcib3 pci-: pci4 exists, using next available unit number pcib4: on motherboard pci6: on pcib4 pcib10: on motherboard pci10: on pcib10 pcib14: on motherboard found-> vendor=0x14e4, dev=0x1645, revid=0x15 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 64, base ead00000, size 16 pci14: on pcib14 bge1: mem 0xead00000-0xead0ffff irq 10 at device 6.0 on pci14 bge1: Ethernet address: 00:10:18:02:2c:d8 miibus2: on bge1 brgphy1: on miibus2 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bpf: bge1 attached ata-: ata0 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: