Random interface dropouts using bridge on a pogopig

Ask questions about Arch Linux ARM. Please search before making a new topic.

Random interface dropouts using bridge on a pogopig

Postby g8jvm » Mon Jun 16, 2014 1:38 pm

I'm seeing random interface disconnetion on the bridge I'm using on the pogo pig.

The through traffic is not very high, a few KBs/min, apart from running motion with a webcam
the pogopig does little else.
The period between disconnection is varied, more random, I just get the message at the other end that the cable is disconnected.

Any ideas where I can look for the cause, or possible fix to see if one of the two interfaces is up or down, and if down, bring it back up.??
I suspect the interface on the pogopig is being taken down, as there are no leds lite on the NICs at either end, even after unplugging and plugging back in the cables.
Most of the time the network interface to the router remains up, so I* can gain access to the pogopig

TIA
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom

Re: Random interface dropouts using bridge on a pogopig

Postby WarheadsSE » Mon Jun 16, 2014 3:04 pm

Which "pig" ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Random interface dropouts using bridge on a pogopig

Postby g8jvm » Mon Jun 16, 2014 3:08 pm

Hiya
its a V2 pig, E02
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom

Re: Random interface dropouts using bridge on a pogopig

Postby WarheadsSE » Mon Jun 16, 2014 3:27 pm

What is your complete hardware and software configuration?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Random interface dropouts using bridge on a pogopig

Postby g8jvm » Mon Jun 16, 2014 4:54 pm

ifconfig
$this->bbcode_second_pass_code('', '
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
link/ether 00:25:31:04:97:78 brd ff:ff:ff:ff:ff:ff
inet6 fe80::225:31ff:fe04:9778/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN group default qlen 1000
link/ether 8c:ae:4c:ff:6b:42 brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 00:25:31:04:97:78 brd ff:ff:ff:ff:ff:ff
inet 192.168.51.7/24 brd 192.168.51.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::225:31ff:fe04:9778/64 scope link
valid_lft forever preferred_lft forever
')

kernel
$this->bbcode_second_pass_code('', 'Linux version 3.14.4-1-ARCH (nobody@root-armv5-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 PREEMPT Thu May 15 19:38:21 MDT 2014
')
/etc/netctl/bridge
$this->bbcode_second_pass_code('', '
[root@pogopig proc]# cd /etc/netctl/
[root@pogopig netctl]# cat bridge
Description="Example Bridge connection"
Interface=br0
Connection=bridge
BindsToInterfaces=(eth0 eth1 )
IP=dhcp
## Ignore (R)STP and immediately activate the bridge
#SkipForwardingDelay=yes
')

lsmod shows $this->bbcode_second_pass_code('', '
Module Size Used by
bridge 92478 0
stp 1363 1 bridge
llc 3232 2 stp,bridge
snd_usb_audio 100109 0
snd_usbmidi_lib 17534 1 snd_usb_audio
snd_hwdep 4942 1 snd_usb_audio
snd_rawmidi 16868 1 snd_usbmidi_lib
uvcvideo 67101 1
videobuf2_vmalloc 2649 1 uvcvideo
videobuf2_memops 1360 1 videobuf2_vmalloc
videobuf2_core 26426 1 uvcvideo
snd_seq_device 4958 1 snd_rawmidi
snd_pcm 69866 1 snd_usb_audio
asix 18171 0
videodev 110376 3 uvcvideo,videobuf2_core
snd_timer 17727 1 snd_pcm
snd 42695 7 snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_seq_device
soundcore 728 1 snd
media 10515 2 uvcvideo,videodev
usbnet 18905 1 asix
mv_cesa 11034 0
ipv6 300997 23 bridge
autofs4 23037 2
')
The USBNIC is a Plugable USB2-E1000
motion is using about 24% CPU
How muh more do you need ???
As you can see one of the interfaces is down at the moment :(
HTH
thanks
Last edited by WarheadsSE on Mon Jun 16, 2014 5:43 pm, edited 1 time in total.
Reason: fixing code tabs
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom

Re: Random interface dropouts using bridge on a pogopig

Postby WarheadsSE » Mon Jun 16, 2014 5:46 pm

Anything in dmesg in reference to the USB system?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Random interface dropouts using bridge on a pogopig

Postby g8jvm » Mon Jun 16, 2014 6:33 pm

Hi , nothing showing on dmesg on USB, I rebooted the machine at the other end, and the interface down came up.
So its in promiscuous state.
dmesg shows
$this->bbcode_second_pass_code('', '
[ 20.573252] usbcore: registered new interface driver snd-usb-audio
[ 21.563564] Adding 989248k swap on /media/usb/swapfile.img. Priority:-1 extents:260 across:1021712k
[ 23.101671] Bridge firewalling registered
[ 26.183834] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[ 26.189835] device eth0 entered promiscuous mode
[ 26.223553] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.069145] device eth1 entered promiscuous mode
[ 27.078324] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 27.138034] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready
[ 28.034275] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[ 28.045116] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 28.073884] br0: port 1(eth0) entered forwarding state
[ 28.079084] br0: port 1(eth0) entered forwarding state
[ 28.103630] IPv6: ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
[ 43.123118] br0: port 1(eth0) entered forwarding state
[102592.162762] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[102592.171821] asix 1-1.2:1.0 eth1: link up, 100Mbps, full-duplex, lpa 0xC1E1
[102592.182191] br0: port 2(eth1) entered forwarding state
[102592.187523] br0: port 2(eth1) entered forwarding state
[102607.205168] br0: port 2(eth1) entered forwarding state
[102621.473512] br0: port 2(eth1) entered disabled state
[102623.652080] asix 1-1.2:1.0 eth1: link up, 1000Mbps, full-duplex, lpa 0xCDE1
[102623.664321] br0: port 2(eth1) entered forwarding state
[102623.669670] br0: port 2(eth1) entered forwarding state
[102638.684401] br0: port 2(eth1) entered forwarding state
[root@pogopig proc]#
')
I'll run tail -f demsg
and monitor remotely and see if I can spot anything abnormal happening

I hate intermittent problems.

thanks
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom


Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests