Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 00:41:23 -0700 (PDT)
From:      Paul Herman <pherman@frenchfries.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: bus_alloc_resrouce() fails in if_wi.c
Message-ID:  <20020710002950.R227-100000@mammoth.eat.frenchfries.net>
In-Reply-To: <20020709.231349.62865534.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Jul 2002, M. Warner Losh wrote:

> More of a dmesg would help debug this.

Sure, full "boot -v" and "pciconf -lv" follows.  -CURRENT is from
right before KSE-III went in.

To my untrained eye, the pcib1:
   device wi0 requested unsupported memory range 0x0-0xf41fffff
looks suspect.  How would that happen?

-Paul.

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 5.0-CURRENT #0: Sat Jun 29 23:52:40 PDT 2002
    pherman@mammoth.eat.frenchfries.net:/u02/obj/u02/current-src/sys/mammoth
Preloaded elf kernel "/boot/kernel/kernel" at 0xc05d2000.
Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc05d20b4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05d2160.
Calibrating clock(s) ... TSC clock: 1295988656 Hz, i8254 clock: 1193117 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 1296065907 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1296.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 132644864 (129536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x005f9000 - 0x07ceffff, 124743680 bytes (30455 pages)
0x07d00000 - 0x07e77fff, 1540096 bytes (376 pages)
avail memory = 122417152 (119548K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f6640
bios32: Entry = 0xfd7b0 (c00fd7b0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd7b0+0x1f8
pnpbios: Found PnP BIOS data at 0xc00f66a0
pnpbios: Entry = f0000:915d  Rev = 1.0
Other BIOS signatures found:
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
null: <null device, zero device>
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000f904
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71248086)
Using $PIR table, 8 entries at 0xc00fdf40
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD    RSDT  > on motherboard
acpi0: power button is handled as a fixed feature programming model.
ACPI timer looks GOOD min = 3, max = 3, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 2
ACPI timer looks GOOD min = 3, max = 3, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 2
ACPI timer looks GOOD min = 3, max = 4, width = 2
ACPI timer looks GOOD min = 3, max = 3, width = 1
ACPI timer looks GOOD min = 3, max = 3, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 2
ACPI timer looks GOOD min = 3, max = 4, width = 2
ACPI timer looks GOOD min = 3, max = 4, width = 2
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: physical bus=0
found->	vendor=0x8086, dev=0x7124, revid=0x03
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	map[10]: type 3, range 32, base f8000000, size 26, enabled
	map[14]: type 1, range 32, base f4000000, size 19, enabled
found->	vendor=0x8086, dev=0x7125, revid=0x03
	bus=0, slot=1, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=10
	powerspec 1  supports D0 D3  current D0
found->	vendor=0x8086, dev=0x2418, revid=0x02
	bus=0, slot=30, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x8086, dev=0x2410, revid=0x02
	bus=0, slot=31, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	map[20]: type 4, range 32, base 000010a0, size  4, enabled
found->	vendor=0x8086, dev=0x2411, revid=0x02
	bus=0, slot=31, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	map[20]: type 4, range 32, base 00001080, size  5, enabled
found->	vendor=0x8086, dev=0x2412, revid=0x02
	bus=0, slot=31, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	intpin=d, irq=11
	map[20]: type 4, range 32, base 00001100, size  4, enabled
found->	vendor=0x8086, dev=0x2413, revid=0x02
	bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	intpin=b, irq=9
	map[10]: type 4, range 32, base 00001200, size  8, enabled
	map[14]: type 4, range 32, base 00001300, size  6, enabled
found->	vendor=0x8086, dev=0x2415, revid=0x02
	bus=0, slot=31, func=5
	class=04-01-00, hdrtype=0x00, mfdev=0
	intpin=b, irq=9
pci0: <PCI bus> on acpi_pcib0
pci0: <display, VGA> at device 1.0 (no driver attached)
pcib1: <PCI-PCI bridge> at device 30.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0x2000-0x2fff
pcib1:   memory decode     0xf4100000-0xf41fffff
pcib1:   prefetched decode 0xf4200000-0xf42fffff
pci1: physical bus=1
	map[10]: type 3, range 32, base f4200000, size 12, enabled
found->	vendor=0x1260, dev=0x3873, revid=0x01
	bus=1, slot=11, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=3
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 00002000, size  8, enabled
	map[14]: type 1, range 32, base f4100000, size  8, enabled
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	bus=1, slot=13, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=9
	powerspec 1  supports D0 D1 D2 D3  current D0
pci1: <PCI bus> on pcib1
wi0: <Intersil Prism2.5> mem 0xf4200000-0xf4200fff irq 3 at device 11.0 on pci1
pcib1: device wi0 requested unsupported memory range 0x0-0xf41fffff (decoding 0xf4100000-0xf41fffff, 0xf4200000-0xf42fffff)
wi0: No Mem space on prism2.5?
device_probe_and_attach: wi0 attach returned 6
rl0: <RealTek 8139 10/100BaseTX> port 0x2000-0x20ff mem 0xf4100000-0xf41000ff irq 9 at device 13.0 on pci1
pcib1: device rl0 requested decoded I/O range 0x2000-0x20ff
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
/u02/current-src/sys/vm/uma_core.c:1333: could sleep with "rl0" locked from /u02/current-src/sys/pci/if_rl.c:855
rl0: Ethernet address: 00:00:e8:5d:d1:b3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
/u02/current-src/sys/vm/uma_core.c:1333: could sleep with "rl0" locked from /u02/current-src/sys/pci/if_rl.c:587
bpf: rl0 attached
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH ATA66 controller> port 0x10a0-0x10af at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x10a0
ata0: mask=03 ostat0=50 ostat2=50
ata0-slave: ATAPI 00 00
ata0-master: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=50
ata0-master: ATA 01 a5
ata0-slave: ATA 01 a5
ata0: devices=03
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x10a8
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 7f 7f
ata1: mask=03 stat0=10 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801AA (ICH) USB controller> port 0x1080-0x109f irq 11 at device 31.2 on pci0
usb0: <Intel 82801AA (ICH) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: vendor 0x109f product 0x7148, class 9/0, rev 1.10/0.00, addr 2
device_probe_and_attach: uhub1 attach returned 6
uhub1: vendor 0x109f product 0x7148, class 9/0, rev 1.10/0.00, addr 2
device_probe_and_attach: uhub1 attach returned 6
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: unable to allocate IRQ
psmcpnp0 irq 12 on acpi0
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
fdc: fdc0 already exists; skipping it
sio: sio0 already exists; skipping it
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
ex_isa_identify()
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
adv0 failed to probe on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
fe0 failed to probe at port 0x300-0x31f on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
pmtimer0 on isa0
ppc0: parallel port not found.
ppc0: <Parallel port> failed to probe at irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: irq maps: 0x1 0x1 0x1 0x1
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
vt0 failed to probe on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03c87f3f 0..968=969 cylinders, 0..127=128 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
bpf: lo0 attached
bpf: ppp0 attached
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <ST340810A/3.39> ATA-6 disk at ata0-master
ad0: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
ad1: success setting WDMA2 on Intel chip
Creating DISK ad1
ar: FreeBSD check1 failed
ad1: <Maxtor 84000A6/ZA8X0526> ATA-3 disk at ata0-slave
ad1: 3820MB (7825104 sectors), 7763 C, 16 H, 63 S, 512 B
ad1: 16 secs/int, 1 depth queue, WDMA2
ad1: piomode=4 dmamode=2 udmamode=-1 cblid=0
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <SAMSUNG CD-R/RW DRIVE SW-224B/VE002R10> CD-RW drive at ata1 as master
acd0: read 6876KB/s (32526KB/s) write 689KB/s (4126KB/s), 2048KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes: CD-R, CD-RW, test write
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad1s2a

----------------
hostb0@pci0:0:0:	class=0x060000 card=0x7148109f chip=0x71248086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82810e 810e Chipset Host Bridge and Memory Controller Hub'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:1:0:	class=0x030000 card=0x7148109f chip=0x71258086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82810e 810e Chipset Graphics Controller'
    class    = display
    subclass = VGA
pcib1@pci0:30:0:	class=0x060400 card=0x00000000 chip=0x24188086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801AA 8xx Chipset Hub to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:	class=0x060100 card=0x00000000 chip=0x24108086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801AA 8xx Chipset LPC Interface Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:	class=0x010180 card=0x24118086 chip=0x24118086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801AA 8xx Chipset IDE Controller'
    class    = mass storage
    subclass = ATA
uhci0@pci0:31:2:	class=0x0c0300 card=0x24128086 chip=0x24128086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801AA 8xx Chipset USB Controllers'
    class    = serial bus
    subclass = USB
none1@pci0:31:3:	class=0x0c0500 card=0x24138086 chip=0x24138086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801AA 8xx Chipset SMBus Controller'
    class    = serial bus
    subclass = SMBus
none2@pci0:31:5:	class=0x040100 card=0x7148109f chip=0x24158086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801AA 8xx Chipset AC'97 Audio Controller'
    class    = multimedia
    subclass = audio
none3@pci1:11:0:	class=0x028000 card=0x38741737 chip=0x38731260 rev=0x01 hdr=0x00
    vendor   = 'Was Harris Semiconductor'
    device   = 'ISL3874A PRISMII.5 IEE802.11B Wireless LAN'
    class    = network
rl0@pci1:13:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020710002950.R227-100000>