Re: routerstation pro + minipci IDE/SATA

here: http://www.nextwarehouse.com/item/?374891

Best regards
http://openwrt.pl - Polish OpenWrt Wiki
http://digi-led.pl - Electronic Parts

27 (edited by kabal 2010-11-17 16:07:05)

Re: routerstation pro + minipci IDE/SATA

dk_giuse89 wrote:
kabal wrote:

Hi Guys.

I was planned to purchase minipci-sata controller on Silicon (AEON PER-C20S) ...

Hi Kabal, i have purchased a rs pro, and i wanna add storage mini-pci sata, how much payed it, and where you have acquired Aeon ?

Is possible the problem will be fixed??

Hi.
However tempted to buy this controller.. unfortunately does not work on RS Pro with OpenWrt - same problem as above. Now we must wait.
I purchased it here: http://www.nextwarehouse.com/item/?374891


P.S. For some time I try to install Debian on RS Pro... I will let you know.

Asus wl-500gP v1    ||    TP-Link WR1043ND ver 1.4 (PCB Rev:1.1)    ||    RouterStation Pro
-------------------------------------------------------
http://kabal.one.pl    ||    ftp://jambi.mine.nu

Re: routerstation pro + minipci IDE/SATA

kabal wrote:
dk_giuse89 wrote:
kabal wrote:

Hi Guys.

I was planned to purchase minipci-sata controller on Silicon (AEON PER-C20S) ...

Hi Kabal, i have purchased a rs pro, and i wanna add storage mini-pci sata, how much payed it, and where you have acquired Aeon ?

Is possible the problem will be fixed??

Hi.
However tempted to buy this controller.. unfortunately does not work on RS Pro with OpenWrt - same problem as above. Now we must wait.
I purchased it here: http://www.nextwarehouse.com/item/?374891


P.S. For some time I try to install Debian on RS Pro... I will let you know.

Hi
thanks for replay.

My friend ( SystemR89 ) has installed debWRT on rs pro using a 8gb sd card.

When i'll received a sd, i'll put debWrt.

This topic is opened more 8 mounths ago, Is is it really possible that problem will be  fixed?

The problem is how kernel manages  pci bus ??

Re: routerstation pro + minipci IDE/SATA

Hi, in last trunk, has new upgrade for pci of ar71xx -> Link

30 (edited by kabal 2011-01-02 23:08:16)

Re: routerstation pro + minipci IDE/SATA

dk_giuse89 wrote:

Hi, in last trunk, has new upgrade for pci of ar71xx -> Link

Hi,

I checked today snapshoot r24865 - unfortunately still nothing sad
So upgrade for pci of ar71xx since 24236 is still broken.

BTW -  I use kmod-ata-sil - which package You use Guys ?

Asus wl-500gP v1    ||    TP-Link WR1043ND ver 1.4 (PCB Rev:1.1)    ||    RouterStation Pro
-------------------------------------------------------
http://kabal.one.pl    ||    ftp://jambi.mine.nu

Re: routerstation pro + minipci IDE/SATA

kabal wrote:
dk_giuse89 wrote:

Hi, in last trunk, has new upgrade for pci of ar71xx -> Link

Hi,

I checked today snapshoot r24865 - unfortunately still nothing sad
So upgrade for pci of ar71xx since 24236 is still broken.

BTW -  I use kmod-ata-sil - which package You use Guys ?

...you can try to install DebWRt???

32 (edited by kabal 2011-01-04 01:41:38)

Re: routerstation pro + minipci IDE/SATA

dk_giuse89 wrote:
kabal wrote:
dk_giuse89 wrote:

Hi, in last trunk, has new upgrade for pci of ar71xx -> Link

Hi,

I checked today snapshoot r24865 - unfortunately still nothing sad
So upgrade for pci of ar71xx since 24236 is still broken.

BTW -  I use kmod-ata-sil - which package You use Guys ?

...you can try to install DebWRt???

I think that DebWrt will not help here... DebWrt use kernel from OpenWrt..
Remains nothing but to wait... or buy Mikrotik or Alix..

Asus wl-500gP v1    ||    TP-Link WR1043ND ver 1.4 (PCB Rev:1.1)    ||    RouterStation Pro
-------------------------------------------------------
http://kabal.one.pl    ||    ftp://jambi.mine.nu

Re: routerstation pro + minipci IDE/SATA

Hi,
I guess there is no change on topic right? I was wondering to buy a minipci SATA controller too. I guess I will wait a bit until something get clear.

--
Best regards
Levon.

Re: routerstation pro + minipci IDE/SATA

levi wrote:

Hi,
I guess there is no change on topic right? I was wondering to buy a minipci SATA controller too. I guess I will wait a bit until something get clear.

--
Best regards
Levon.

Nope, still nothing in this topic..

Asus wl-500gP v1    ||    TP-Link WR1043ND ver 1.4 (PCB Rev:1.1)    ||    RouterStation Pro
-------------------------------------------------------
http://kabal.one.pl    ||    ftp://jambi.mine.nu

Re: routerstation pro + minipci IDE/SATA

News????? hmm

Re: routerstation pro + minipci IDE/SATA

I'm also trying to use a MP-954 multiport serial card with the same results. It uses this chip: http://www.softio.com/oxmpci954ds.pdf.

This ticket (https://dev.openwrt.org/ticket/7759) was recently closed, so that doesn't bode well for this.


I do have a routerboard with an ar71xx that I'll try, just to see if its a routerstation implementation issue. If I get any positive results, I'll post back here.


If anyone know of a possible workaround through indirect I/O access, I'd be very interested.....

Re: routerstation pro + minipci IDE/SATA

Well, I have some new developments that aren't as conclusive as I'd like, but suggest there's a glimmer of hope.


I have a spare Routerboard 411UAHR with RouterOS 4 (http://routerboard.com/pricelist/downlo … ile_id=162). The routerboard has an AR7161, the same as the routerstation pro (RSPRO + backfire doesn't work at all with the multiport serial card)


First observation: In the ports window of the routerboard utility, I see all the ports enumerated. (I can enumerate the ports in OpenWRT by compiling the kernel with PCI serial support, so this isn't particularly conclusive)


Second observation: I can send characters from my PC's serial port to the serial port on the MP-954 and see something happen in the routerboard console that I've attached to "serial1" (i.e. the first serial port on the MP-954, "serial0" is the built-in routerboard port)

Unfortunately its behaving like a cabling or port setting issue because the correct characters aren't being received, and I cant send from the console back to the PC. Still, the fact that something is happening suggests that the AR7161 is capable of IO on the PCI bus.



I'm not familiar with the routerboard, so I had to do a bit of reading to figure out how to access the port:
http://wiki.mikrotik.com/wiki/Serial_Port_Usage
http://www.mikrotik.com/testdocs/ros/2. … serial.php

Re: routerstation pro + minipci IDE/SATA

After playing with the serial port parameters, I was able to get normal characters to send from the PC to the terminal attached to the PIC serial port.

The PC needs to be set to 38400 baud (8bit, none, one stop bit, with no flow control). I can get the routerboard to switch to 9600, but that's a bit tough to explain. The point it, it seems to work and that is contrary to what i've read in these forums about the AR7161 PCI I/O.

Again, its only one way communication (PC sends characters, routerboard/pci receives them). I'll try to get it to work in the other direction. If it does, then this would appear to be a concrete example proving its possible to get the I/O working on the PCI card on an AR7161. I'm assuming it should also work for the IDE card that started this thread.

What do you guys think?

Re: routerstation pro + minipci IDE/SATA

Hi,

router station pro + mini pci ide = can't locate I/O my ticket.

Problem is hardware or driver bug???? The users with same problem are tens...

Re: routerstation pro + minipci IDE/SATA

Hi all.

In last revision, are updated pci i/o handle for ar71xx. Problem persist, but now there are new error message  "can't assign io (size 0x10)" while old error message was "can't allocate I/O resource".

My old ticket here

Today from dmseg:

pci 0000:00:13.0: BAR 1: assigned [mem 0x10000000-0x1001ffff]
pci 0000:00:13.0: BAR 1: set to [mem 0x10000000-0x1001ffff] (PCI address [0x10000000-0x1001ffff])
pci 0000:00:11.0: BAR 5: assigned [mem 0x10020000-0x10023fff]
pci 0000:00:11.0: BAR 5: set to [mem 0x10020000-0x10023fff] (PCI address [0x10020000-0x10023fff])
pci 0000:00:11.0: BAR 6: assigned [mem 0x10024000-0x10027fff pref]
pci 0000:00:13.0: BAR 0: assigned [mem 0x10028000-0x10029fff]
pci 0000:00:13.0: BAR 0: set to [mem 0x10028000-0x10029fff] (PCI address [0x10028000-0x10029fff])
pci 0000:00:11.0: BAR 4: can't assign io (size 0x10)
pci 0000:00:11.0: BAR 0: can't assign io (size 0x8)
pci 0000:00:11.0: BAR 2: can't assign io (size 0x8)
pci 0000:00:11.0: BAR 1: can't assign io (size 0x4)
pci 0000:00:11.0: BAR 3: can't assign io (size 0x4)
PCI: mapping irq 72 to pin1@0000:00:11.0
PCI: mapping irq 74 to pin1@0000:00:13.0

41 (edited by dk_giuse89 2011-05-22 10:31:58)

Re: routerstation pro + minipci IDE/SATA

New 2.6.38....LINK

SOME HOPE?

42 (edited by kabal 2011-05-30 07:25:01)

Re: routerstation pro + minipci IDE/SATA

arteqw - can You look at link from "dk_giuse89" ?

Is there any chance for working this controller now ?

Asus wl-500gP v1    ||    TP-Link WR1043ND ver 1.4 (PCB Rev:1.1)    ||    RouterStation Pro
-------------------------------------------------------
http://kabal.one.pl    ||    ftp://jambi.mine.nu

43 (edited by kabal 2011-05-30 07:24:51)

Re: routerstation pro + minipci IDE/SATA

dk_giuse89 wrote:

New 2.6.38....LINK

SOME HOPE?

I talked with arteqw. He told me that this patch was already implemented in 2.6.37 kernel (https://dev.openwrt.org/browser/trunk/t … ?rev=27004)

So... still nothing.. sad

Asus wl-500gP v1    ||    TP-Link WR1043ND ver 1.4 (PCB Rev:1.1)    ||    RouterStation Pro
-------------------------------------------------------
http://kabal.one.pl    ||    ftp://jambi.mine.nu

Re: routerstation pro + minipci IDE/SATA

sad

...is possible make a petition for to request at ubiquiti to make anything????

I have opened  thiket here,  http://www.ubnt.com/support/rma but UBIQUITI ignore me.

I asked  help at my universary teacher, anyone can contact atheros developers for to have datasheet og ar7161 cpu???

45 (edited by arteqw 2011-05-31 07:47:00)

Re: routerstation pro + minipci IDE/SATA

@dk_qiuse89 this is a software issue not hardware. Ubiquiti get you proper working hardware and opensource AS IS. Writing petition or asking for datasheets do nothing smile Get latest code of trunk, and write proper I/O handling in kernel for ar71xx smile

Best regards
http://openwrt.pl - Polish OpenWrt Wiki
http://digi-led.pl - Electronic Parts

46 (edited by dk_giuse89 2011-06-05 20:59:15)

Re: routerstation pro + minipci IDE/SATA

Linux iomem

00000000-03ffffff : System RAM
00060000-002060d7 : Kernel code
002060d8-0025e0bf : Kernel data
10000000-17ffffff : PCI memory space
18020000-18020fff : serial8250.0
1b000000-1bffffff : ar7100-ehci.0
1c000000-1cffffff : ar7100-ohci.0
b9000000-b9002000 : eth0_membase
ba000000-ba002000 : eth1_membase

Whit 2 mini-pci card installed:

10000000-17ffffff : PCI memory space
  10000000-1001ffff : 0000:00:11.0
  10020000-10023fff : 0000:00:13.0
  10024000-10027fff : 0000:00:13.0
  10028000-10029fff : 0000:00:11.0
root@debwrt:~# lspci 
00:00.0 Non-VGA unclassified device: Device 0700:1107 (rev 01)
00:11.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
00:13.0 Mass storage controller: Promise Technology, Inc. 20269 (rev 02)

In dmesg log,

pci 0000:00:00.0: [0700:1107] type 0 class 0x000000
pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0fffffff pref]
pci 0000:00:00.0: reg 14: [io  0x0000-0x00ff]
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: [104c:9066] type 0 class 0x000280
pci 0000:00:11.0: reg 10: [mem 0x00000000-0x00001fff]
pci 0000:00:11.0: reg 14: [mem 0x00000000-0x0001ffff]
pci 0000:00:11.0: supports D1 D2
pci 0000:00:11.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:11.0: PME# disabled
pci 0000:00:13.0: [105a:4d69] type 0 class 0x000180
pci 0000:00:13.0: reg 10: [io  0x01f0-0x01f7]
pci 0000:00:13.0: reg 14: [io  0x03f4-0x03f7]
pci 0000:00:13.0: reg 18: [io  0x0170-0x0177]
pci 0000:00:13.0: reg 1c: [io  0x0374-0x0377]
pci 0000:00:13.0: reg 20: [io  0x6800-0x680f]
pci 0000:00:13.0: reg 24: [mem 0x00000000-0x00003fff]
pci 0000:00:13.0: reg 30: [mem 0x000dc000-0x000dffff pref]
pci 0000:00:13.0: supports D1
pci 0000:00:11.0: BAR 1: assigned [mem 0x10000000-0x1001ffff]
pci 0000:00:11.0: BAR 1: set to [mem 0x10000000-0x1001ffff] (PCI address [0x10000000-0x1001ffff])
pci 0000:00:13.0: BAR 5: assigned [mem 0x10020000-0x10023fff]
pci 0000:00:13.0: BAR 5: set to [mem 0x10020000-0x10023fff] (PCI address [0x10020000-0x10023fff])
pci 0000:00:13.0: BAR 6: assigned [mem 0x10024000-0x10027fff pref]
pci 0000:00:11.0: BAR 0: assigned [mem 0x10028000-0x10029fff]
pci 0000:00:11.0: BAR 0: set to [mem 0x10028000-0x10029fff] (PCI address [0x10028000-0x10029fff])
pci 0000:00:13.0: BAR 4: can't assign io (size 0x10)
pci 0000:00:13.0: BAR 0: can't assign io (size 0x8)
pci 0000:00:13.0: BAR 2: can't assign io (size 0x8)
pci 0000:00:13.0: BAR 1: can't assign io (size 0x4)
pci 0000:00:13.0: BAR 3: can't assign io (size 0x4)
PCI: mapping irq 72 to pin1@0000:00:11.0
PCI: mapping irq 74 to pin1@0000:00:13.0

..... hmm

Re: routerstation pro + minipci IDE/SATA

arteqw wrote:

@dk_qiuse89 this is a software issue not hardware. Ubiquiti get you proper working hardware and opensource AS IS. Writing petition or asking for datasheets do nothing smile Get latest code of trunk, and write proper I/O handling in kernel for ar71xx smile

Hi,
I can't make anything...it's too hard for me...

But for develope/fixing pci handling you don't need of ar7161 datasheet....

See this (interesting line is ioports cat)..i tryed to make new ticket, but it's was closed....This problem never will fixed..