Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#7759 closed defect (wontfix)

ome pci device can't allocate I/O resource on ar71xx

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I add a adaptec aic-7901x scsi minipci card on atheros PB44(with atheros AR7161), under newest thunk version r22614, the aic-7901x can't allocate I/O resource.
some more reports:
https://forum.openwrt.org/viewtopic.php?pid=115146
http://www.ubnt.com/forum/showthread.php?t=21118

Attachments (1)

PB44_aic7901x_boot_log.txt (11.9 KB) - added by anonymous 7 years ago.
bootlog of PB44 with ari-7901x

Download all attachments as: .zip

Change History (13)

Changed 7 years ago by anonymous

bootlog of PB44 with ari-7901x

comment:1 Changed 7 years ago by anonymous

the pci info of Adaptec aic-7901x


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-

comment:2 Changed 7 years ago by anonymous

more pci informations:

root@OpenWrt:/# lspci
00:00.0 Non-VGA unclassified device: Device 0700:1107 (rev 01)
00:11.0 SCSI storage controller: Adaptec AIC-7901 U320 (rev 10)
00:12.0 Network controller: Atheros Communications Inc. AR9160 802.11abgn Wireless PCI Adapter (rev 01)
root@OpenWrt:/# 
root@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]
root@OpenWrt:/# 
root@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@OpenWrt:/# 
root@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

comment:3 follow-up: Changed 7 years ago by KanjiMonster

The PCI driver for ar71xx currently doesn't support I/O allocations, only memory allocations. Therefore any card requiring I/O won't work for now on ar71xx.

I/O can only be accessed indirectly on ar71xx, so the driver needs special handling for I/O accesses.

comment:4 Changed 7 years ago by sniperpr@…

please check last reply.

comment:5 Changed 7 years ago by cantona

Hi, is there any update regarding this issue?

comment:6 Changed 7 years ago by anonymous

Hi,
I am also willing to connect SATA MiniPCI controller to my Ubiquity Router Station PRO.
Are there any news here?
Thank You.

comment:7 Changed 7 years ago by nbd

  • Resolution set to wontfix
  • Status changed from new to closed

As far as I know, this controller cannot handle I/O resources at all. Marking this as wontfix.

comment:8 Changed 7 years ago by wp

For what its worth, I'm trying to use a MP-954 multiport serial card and am experiencing the same problems.

comment:9 in reply to: ↑ 3 Changed 7 years ago by Giuse <dk_giuse89@…>

Replying to KanjiMonster:

The PCI driver for ar71xx currently doesn't support I/O allocations, only memory allocations. Therefore any card requiring I/O won't work for now on ar71xx.

I/O can only be accessed indirectly on ar71xx, so the driver needs special handling for I/O accesses.

"I/O can only access indirectly"
Its true?
if anyone update handling I/0 problem will maybe be resolved ??

comment:10 Changed 6 years ago by flamemaniii@…

  • Resolution wontfix deleted
  • Status changed from closed to reopened

hi folks
i have the same problem with ipw2200 (wifi card), and with 16c650 multi uart card
both of them are PCI_IO, so they do not work

The PCI driver for ar71xx currently doesn't support I/O allocations, only memory >allocations. Therefore any card requiring I/O won't work for now on ar71xx.
I/O can only be accessed indirectly on ar71xx, so the driver needs special handling >for I/O accesses.

could you explain me, if there is a possible workaround ? i mean, it is an hardware limitation of ar71 or it is just a piece of c code that is just missing ?

comment:11 Changed 6 years ago by florian

  • Resolution set to wontfix
  • Status changed from reopened to closed

It has been explained several times, including the comment just above yours, that this is a hardware limitation of the PCI controller. There is no workaround possible, this is why the ticket is being closed with 'wontfix'.

comment:12 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.