From owner-freebsd-hackers Mon May 20 8:32:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from damon.com (damon.com [199.98.84.130]) by hub.freebsd.org (Postfix) with ESMTP id A611437B406 for ; Mon, 20 May 2002 08:32:32 -0700 (PDT) Received: from damon.com (localhost [127.0.0.1]) by damon.com (8.12.3/8.12.3) with ESMTP id g4KFWYH4002271 for ; Mon, 20 May 2002 10:32:34 -0500 (CDT) (envelope-from dap@damon.com) Received: (from dap@localhost) by damon.com (8.12.3/8.12.3/Submit) id g4KFWXYE002270 for freebsd-hackers@freebsd.org; Mon, 20 May 2002 10:32:33 -0500 (CDT) (envelope-from dap) Date: Mon, 20 May 2002 10:32:33 -0500 From: Damon Anton Permezel To: freebsd-hackers@freebsd.org Subject: 4.6-RC, Dell PowerEdge 4600, PCI boot-time bus walk Message-ID: <20020520103233.C962@damon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 4.6-RC (which I am assuming is "release candidate") still doesn't walk the entire PCI bus and find all devices for a Dell Poweredge 4600. Below, interested parties will be able to peruse the `boot -v' results, followed by `scanpci -v1'. I have a single Qlogic F/C card plugged into one of the PCI/X slots. Boot-time bus walking doesn't find it. Scanpci does. The bus in question is pci14. The device in question appears to be in slot 6. `pciconf -r pci14:6:0 0' produces 0x22001077, as one might expect. My kernel includes the qlogic ISP driver. =-= boot -v =-= 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-RC #5: Sun May 19 21:28:22 CDT 2002 dap@damon.com:/usr/obj/usr/src/sys/FUBAR Calibrating clock(s) ... TSC clock: 1986161216 Hz, i8254 clock: 1193328 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 1985911536 Hz CPU: Pentium 4 (1985.91-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) 0x003d3000 - 0x1ffe7fff, 532762624 bytes (130069 pages) avail memory = 518811648 (506652K 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 0xc03ac000. md0: Malloc disk Creating DISK md0 Math emulator present 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-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 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 fe202000, 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 fe201000, size 12 found-> vendor=0x1044, dev=0xa500, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 found-> vendor=0x1044, dev=0xa501, revid=0x02 class=0e-00-01, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base fa000000, size 25 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 0000e400, size 8 map[18]: type 1, range 32, base fe200000, 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=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,0xfe202000-0xfe202fff 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 0xfe201000-0xfe201fff 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 pcib9: at device 8.0 on pci0 pci1: on pcib9 asr0: mem 0xfa000000-0xfbffffff irq 5 at device 8.1 on pci0 asr0: major=154 asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O 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 isab0: at device 15.3 on pci0 isa0: on isab0 pci-: pci1 exists, using next available unit number 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=11 map[10]: type 1, range 64, base f9f00000, size 16 found-> vendor=0x8086, dev=0x0309, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=3 secondarybus=3 found-> vendor=0x1028, dev=0x000a, revid=0x01 class=01-04-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base f0000000, size 27 pci2: on pcib1 bge0: mem 0xf9f00000-0xf9f0ffff irq 11 at device 6.0 on pci2 using shared irq11. 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 pcib10: at device 8.0 on pci2 found-> vendor=0x9005, dev=0x00c5, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000dc00, size 8 map[14]: type 1, range 64, base f9dff000, size 12 found-> vendor=0x9005, dev=0x00c5, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=5 map[10]: type 1, range 32, base 0000d800, size 8 map[14]: type 1, range 64, base f9dfe000, size 12 pci3: on pcib10 pci3: (vendor=0x9005, dev=0x00c5) at 6.0 irq 10 pci3: (vendor=0x9005, dev=0x00c5) at 6.1 irq 5 aac0: mem 0xf0000000-0xf7ffffff irq 10 at device 8.1 on pci2 using shared irq10. aac0: i960RX 100MHz, 118MB cache memory, optional battery present aac0: Kernel 2.7-0, Build 3153, S/N b821d3 pci-: pci2 exists, using next available unit number pcib2: on motherboard pci4: on pcib2 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 pci-: pci5 exists, using next available unit number pcib5: on motherboard pci7: on pcib5 pci-: pci6 exists, using next available unit number pcib6: on motherboard pci8: on pcib6 pci-: pci7 exists, using next available unit number pcib7: on motherboard pci9: on pcib7 pci-: pci8 exists, using next available unit number pcib8: on motherboard pci10: on pcib8 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: