[Bugme-new] [Bug 17191] New: Some pci device can't allocate I/O resource on ar71xx (mips big endian)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Fri Aug 27 07:27:12 PDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=17191

           Summary: Some pci device can't allocate  I/O resource on ar71xx
                    (mips big endian)
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.32
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PCI
        AssignedTo: drivers_pci at kernel-bugs.osdl.org
        ReportedBy: yjdofc at gmail.com
        Regression: No


Created an attachment (id=28141)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=28141)
PB44(mips_bigedian)_aic7901x_boot_log, and lspci information under
kernel2.6.32.20/2.6.35.4, and ioport_information

I add a Adaptec aic-7901x scsi minipci card on atheros PB44(with atheros
AR7161), under newest openwrt thunk version r22614, the aic-7901x can't
allocate I/O resource. some informations bellow:

root at OpenWrt:/# dmesg|grep pci
pci 0000:00:00.0: reg 10 32bit mmio pref: [0x000000-0xfffffff]
pci 0000:00:00.0: reg 14 io port: [0x00-0xff]
pci 0000:00:00.0: supports D1 D2
pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:00.0: PME# disabled
pci 0000:00:11.0: reg 10 io port: [0x00-0xff]
pci 0000:00:11.0: reg 14 64bit mmio: [0x000000-0x001fff]
pci 0000:00:11.0: reg 1c io port: [0x00-0xff]
pci 0000:00:11.0: reg 30 32bit mmio pref: [0x000000-0x07ffff]
pci 0000:00:12.0: reg 10 32bit mmio: [0x000000-0x00ffff]
pci 0000:00:12.0: PME# supported from D0 D3hot
pci 0000:00:12.0: PME# disabled
pci 0000:00:11.0: BAR 0: can't allocate I/O resource [0x00-0x00]
pci 0000:00:11.0: BAR 3: can't allocate I/O resource [0x00-0x00]

/* pci 0000:00:11.0 is a Adaptec AIC7901 scsi minipci card */
/* pci 0000:00:12.0 is a Atheros abgn wireless minipci card */


root at OpenWrt:~# cat /proc/ioports 
0000-0000 : PCI IO space


root at OpenWrt:/# cat /sys/bus/pci/devices/0000\:00\:11.0/resource
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000010090000 0x0000000010091fff 0x0000000000120204
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000010000000 0x000000001007ffff 0x0000000000027200
root at OpenWrt:/# 
root at OpenWrt:/# cat /sys/bus/pci/devices/0000\:00\:12.0/resource
0x0000000010080000 0x000000001008ffff 0x0000000000020200
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000



root at OpenWrt:~# lspci -vvxxx
00:00.0 Non-VGA unclassified device: Device 0700:1107 (rev 01)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+
Stepping- SERR+ FastB2B+ DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at <unassigned> (32-bit, prefetchable)
        Region 1: I/O ports at <unassigned> [disabled]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
                Bridge: PM- B3+
00: 00 07 07 11 56 03 b0 22 01 00 00 00 00 00 00 00
10: 08 00 00 00 01 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 dc 00 00 00 00 00 00 00 00 00 00 00
40: 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 7e
e0: 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:11.0 SCSI storage controller: Adaptec AIC-7901 U320 (rev 10)
        Subsystem: Micro-Star International Co., Ltd. Device 1560
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 48
        Region 0: I/O ports at <unassigned> [disabled]
        Region 1: Memory at 10090000 (64-bit, non-prefetchable) [disabled]
[size=8K]
        Region 3: I/O ports at <unassigned> [disabled]
        [virtual] Expansion ROM at 10000000 [disabled] [size=512K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [94] PCI-X non-bridge device
                Command: DPERE- ERO+ RBC=512 OST=8
                Status: Dev=00:00.0 64bit+ 133MHz+ SCD- USC- DC=simple
DMMRBC=512 DMOST=8 DMCRS=16 RSCEM- 266MHz- 533MHz-
00: 05 90 0f 80 00 00 30 04 10 00 00 01 00 00 00 00
10: 01 00 00 00 04 00 09 10 00 00 00 00 01 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 60 15
30: 00 00 00 00 dc 00 00 00 00 00 00 00 30 01 28 19
40: 44 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 07 00 42 00 00 00 03 06 00 00 00 00
a0: 05 94 82 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 a0 02 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00

00:12.0 Network controller: Atheros Communications Inc. AR9160 802.11abgn
Wireless PCI Adapter (rev 01)
        Subsystem: Atheros Communications Inc. Device 2082
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 168, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 49
        Region 0: Memory at 10080000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA
PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: ath9k
00: 8c 16 27 00 06 00 b0 02 01 00 80 02 08 a8 00 00
10: 00 00 08 10 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 8c 16 82 20
30: 00 00 00 00 44 00 00 00 00 00 00 00 31 01 00 00
40: 80 00 00 00 01 00 82 48 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00





some more same problem reports and usefull links: 
https://dev.openwrt.org/ticket/7759
https://forum.openwrt.org/viewtopic.php?pid=115146
http://www.ubnt.com/forum/showthread.php?t=21118

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list