Hi, On Thu, Feb 05, 2015 at 12:19:23PM +0100, Yegor Yefremov wrote: > I have a problem with my am335x based board and USB. > > Kernel: Linux version 3.18.1 (YegorYefremov@development1) (gcc version > 4.9.2 (Buildroot 2015.02-git-00797-gf1b07c0) ) #1 SMP Thu Jan 15 > 15:31:27 CET 2015 > > I took two devices and equipped them with USB WLAN cards: Bus 001 > Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless > Adapter. One device as AP and another as client. Client makes > permanent ping to AP. And from time to time I start nuttcp session. > After 2-3 days I get following errors:
2-3 days ? oh man... :-)
Here's one thing to try. Can you do some variable size pingtest ?
Something like below should do ?
random()
{
size=$(dd if=/dev/urandom count=1 2>/dev/null|cksum|
cut -f1 -d" "|tr '-' '\0')
size=$(expr $size % 60000)
}
num=$1
if [ -z $num ]
then
num=10000
fi
while ! ifconfig usb0 >/dev/null 2>&1; do
printf "waiting for usb0\n"
sleep 1;
done
ifconfig usb0 192.168.2.14
for i in $(seq 1 $num); do
random
printf "%d: \t pinging with size %-27d" $i $size
if ! ping -c 6 192.168.2.15 -s $size -q -i 0 >/dev/null 2>&1; then
printf "FAILED\n"
break
fi
printf "PASSED\n"
done
cheers
--
balbi
signature.asc
Description: Digital signature
