Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 09:33:09 +0400
From:      "Alexey V. Panfilov" <lehis2000@mail.ru>
To:        freebsd-arm@freebsd.org
Subject:   Re: RPI-B as router
Message-ID:  <51528495.5070101@mail.ru>
In-Reply-To: <51518B76.4000500@mail.ru>
References:  <514B2188.8030905@mail.ru> <6F05C3AD-D6F0-46B2-95D3-329898DE69B6@bluezbox.com> <514C902D.3030207@mail.ru> <51518B76.4000500@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
26.03.2013 15:50, Alexey V. Panfilov wrote:
> 22.03.2013 21:09, Alexey V. Panfilov wrote:
>> 22.03.2013 09:53, Oleksandr Tymoshenko wrote:
>>
>>>> So RPI-B network's throughput was around 20Mbit/sec of full-duplex traffic:
>>>
>>> The problem is that USB works in PIO mode. With DMA mode enabled 
>>> it's somewhat faster. Here is my half-baked patch:
>>>
>>> http://people.freebsd.org/~gonzo/patches/dwc_otg-dma-nosplit.diff
>>
>> Oleksandr, thank you for explaine  patch!
>>
>> Recompiling kernel with your patch in progress :)
>>
>> I'll report about result.
> 
> I've got match better results with your patch:
> 
> [Host A~]# iperf -c 192.168.0.249 -P 5 -i 5 -t 300 | grep SUM
> [SUM]  0.0- 5.0 sec  14.2 MBytes  23.9 Mbits/sec
> [SUM]  5.0-10.0 sec  14.2 MBytes  23.9 Mbits/sec
> [SUM]  0.0-10.2 sec  29.2 MBytes  24.0 Mbits/sec
> 
> But RPI stop responds via network (till 2-10 mins) and it's MAC address
> is absent in this time. It didn't create neither dump (I've add swap
> partition) neither logging something to /var/log/all.log.
> 
> I'll try to connect RPI to monitor, get info and post it here later.

I did it, but I can't post new info - no panics, no errors, no warnings.
Monitor shows just 'login:' prompt.

Is it possible to get info about reason of stop responding?
What I should setup for it?

> P.S. during running iperf I've got at /var/log/all.log:
> Mar 26 08:52:01 raspberry-pi kernel: smsc0: warning: Failed to read
> register 0x114
> Mar 26 08:52:01 raspberry-pi kernel: smsc0: warning: MII is busy
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: Failed to write
> register 0x114
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: Failed to read
> register 0x114
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: MII read timeout
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: Failed to read
> register 0x118
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: Failed to write
> register 0x114
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: Failed to read
> register 0x114
> Mar 26 08:55:29 raspberry-pi kernel: smsc0: warning: MII is busy
> 
> Am I right, that it is expected warnings?
> 
>>>
>>> Network interface should work, although USB keyboards will not work 
>>> with this patch. 
>>>
>>
>> I prefer to logon on RPI via ssh, so breaking USB keyboard is not big
>> damage for me :)
> 


-- 
Best regards,
Alexey V. Panfilov




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