Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
debabaOffline
15 Post subject: [Solved] Via_velocity interface coming up freezes kernel  PostPosted: 13.11.2013, 09:56



Joined: 2010-09-11
Posts: 54
Location: Hessen
Status: Offline
Hi out there,

since 3.11-0.slh.4 while starting my machine with vt6310 interfaces, the machine stops when the interface is coming up. No entries in log files, nothing...

Seems to be a known problem

http://www.spinics.net/lists/netdev/msg257100.html

but the existing patch to fix this issue is not included yet (3.12-0.slh.1).
Any ideas how long this will last?

Should I build a kernel by myself Confused

Thanks for your precious time and the good work Cool

Wolf


Last edited by debaba on 13.12.2013, 17:54; edited 2 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Via_velocity interface coming up freezes kernel  PostPosted: 13.11.2013, 19:10



Joined: 2010-08-25
Posts: 962

Status: Offline
In this case I'd tend to wait until a fix is accepted upstream, at the very least merged into net-next.
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Via_velocity interface coming up freezes kernel  PostPosted: 01.12.2013, 20:54



Joined: 2010-08-25
Posts: 962

Status: Offline
Now that a patch claiming to fix this issue has been merged upstream (it needed a second iteration before being accepted), I've backported it to our kernel, please confirm if kernel 3.12-2.slh.3 (will be online on about an hour) fixes the bug.
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Via_velocity interface coming up freezes kernel  PostPosted: 13.12.2013, 17:51



Joined: 2010-09-11
Posts: 54
Location: Hessen
Status: Offline
Yaaaah, kernel 3.12-4.slh.2 works.
Excuse me for the late reply, been out of house the last days, so the test comes a bit late.
As this board has two net interfaces with via-velocity, I 'm going to test with bonding and all the stuff tomorrow.

Thanks again for your good work
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject:   PostPosted: 14.12.2013, 12:11



Joined: 2010-09-11
Posts: 54
Location: Hessen
Status: Offline
Good Morning Geeerrrmoooneeyyyyyy,

most bond modes seem to work, except operations that need to set the hardware mac as this seems not to be supported by via-velocity. So it's impossible changing the networkflow from one interface to the other in some modes. Mode 6 (balance-alb) is not working at all, as both interfaces don't come up.

Tried all modes of interest:

      Code:

Dec 14 12:03:31 nasigoreng kernel: [    2.302800] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:03:31 nasigoreng kernel: [    2.302809] eth0: Ethernet Address: 00:40:63:f7:49:97
Dec 14 12:03:31 nasigoreng kernel: [    2.314262] eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:03:31 nasigoreng kernel: [    2.314273] eth1: Ethernet Address: 00:40:63:f7:49:98
Dec 14 12:03:31 nasigoreng kernel: [   20.157729] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Dec 14 12:03:31 nasigoreng kernel: [   20.170451] bonding: bond0: Setting fail_over_mac to follow (2).
Dec 14 12:03:31 nasigoreng kernel: [   20.170654] bonding: bond0: Setting MII monitoring interval to 100.
Dec 14 12:03:31 nasigoreng kernel: [   20.170725] bonding: bond0: Setting down delay to 100.
Dec 14 12:03:31 nasigoreng kernel: [   20.170790] bonding: bond0: Setting up delay to 200.
Dec 14 12:03:31 nasigoreng kernel: [   20.179285] bonding: bond0: setting mode to balance-rr (0).
Dec 14 12:03:31 nasigoreng kernel: [   20.195194] bonding: bond0: Adding slave eth0.
Dec 14 12:03:31 nasigoreng kernel: [   20.242361] bonding: bond0: enslaving eth0 as an active interface with an up link.
Dec 14 12:03:31 nasigoreng kernel: [   20.275347] bonding: bond0: Adding slave eth1.
Dec 14 12:03:31 nasigoreng kernel: [   20.304950] bonding: bond0: enslaving eth1 as an active interface with a down link.
Dec 14 12:03:31 nasigoreng kernel: [   20.328760] bonding: bond0: Unable to set primary slave; bond0 is in mode 0
Dec 14 12:03:31 nasigoreng kernel: [   20.454682] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 14 12:03:31 nasigoreng kernel: [   20.455080] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
Dec 14 12:03:31 nasigoreng kernel: [   20.455104] bonding: bond0: first active interface up!
Dec 14 12:03:31 nasigoreng kernel: [   20.455133] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Dec 14 12:03:31 nasigoreng kernel: [   23.587333] eth0: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:03:48 nasigoreng ntpd[5866]: Listen normally on 4 bond0 192.168.1.201 UDP 123
Dec 14 12:03:48 nasigoreng ntpd[5866]: Listen normally on 6 bond0 fe80::240:63ff:fef7:4997 UDP 123
Dec 14 12:21:24 nasigoreng kernel: [    2.307299] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:21:24 nasigoreng kernel: [    2.307310] eth0: Ethernet Address: 00:40:63:f7:49:97
Dec 14 12:21:24 nasigoreng kernel: [    2.321286] eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:21:24 nasigoreng kernel: [    2.321298] eth1: Ethernet Address: 00:40:63:f7:49:98
Dec 14 12:21:24 nasigoreng kernel: [   20.490277] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Dec 14 12:21:24 nasigoreng kernel: [   20.503154] bonding: bond0: Setting fail_over_mac to follow (2).
Dec 14 12:21:24 nasigoreng kernel: [   20.503375] bonding: bond0: Setting MII monitoring interval to 100.
Dec 14 12:21:24 nasigoreng kernel: [   20.503460] bonding: bond0: Setting down delay to 100.
Dec 14 12:21:24 nasigoreng kernel: [   20.503526] bonding: bond0: Setting up delay to 200.
Dec 14 12:21:24 nasigoreng kernel: [   20.557331] bonding: bond0: setting mode to active-backup (1).
Dec 14 12:21:24 nasigoreng kernel: [   20.572577] bonding: bond0: Adding slave eth0.
Dec 14 12:21:24 nasigoreng kernel: [   20.617116] bonding: bond0: enslaving eth0 as a backup interface with an up link.
Dec 14 12:21:24 nasigoreng kernel: [   20.649547] bonding: bond0: Adding slave eth1.
Dec 14 12:21:24 nasigoreng kernel: [   20.679810] bonding: bond0: enslaving eth1 as a backup interface with a down link.
Dec 14 12:21:24 nasigoreng kernel: [   20.692619] bonding: bond0: Setting eth0 as primary slave.
Dec 14 12:21:24 nasigoreng kernel: [   20.777161] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 14 12:21:24 nasigoreng kernel: [   20.778144] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
Dec 14 12:21:24 nasigoreng kernel: [   20.778157] bonding: bond0: making interface eth0 the new active one.
Dec 14 12:21:24 nasigoreng kernel: [   20.778245] bonding: bond0: Error 16 setting MAC of slave eth0
Dec 14 12:21:24 nasigoreng kernel: [   20.779203] bonding: bond0: first active interface up!
Dec 14 12:21:24 nasigoreng kernel: [   20.779237] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Dec 14 12:21:24 nasigoreng kernel: [   23.879518] eth0: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:21:36 nasigoreng ntpd[4535]: Listen normally on 4 bond0 192.168.1.201 UDP 123
Dec 14 12:21:36 nasigoreng ntpd[4535]: Listen normally on 6 bond0 fe80::240:63ff:fef7:4997 UDP 123
Dec 14 12:27:03 nasigoreng kernel: [    2.293905] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:27:03 nasigoreng kernel: [    2.293913] eth0: Ethernet Address: 00:40:63:f7:49:97
Dec 14 12:27:03 nasigoreng kernel: [    2.305288] eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:27:03 nasigoreng kernel: [    2.305298] eth1: Ethernet Address: 00:40:63:f7:49:98
Dec 14 12:27:03 nasigoreng kernel: [   20.228574] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Dec 14 12:27:03 nasigoreng kernel: [   20.242458] bonding: bond0: Setting fail_over_mac to follow (2).
Dec 14 12:27:03 nasigoreng kernel: [   20.242664] bonding: bond0: Setting MII monitoring interval to 100.
Dec 14 12:27:03 nasigoreng kernel: [   20.242733] bonding: bond0: Setting down delay to 100.
Dec 14 12:27:03 nasigoreng kernel: [   20.242796] bonding: bond0: Setting up delay to 200.
Dec 14 12:27:03 nasigoreng kernel: [   20.288920] bonding: bond0: setting mode to balance-xor (2).
Dec 14 12:27:03 nasigoreng kernel: [   20.302383] bonding: bond0: Adding slave eth0.
Dec 14 12:27:03 nasigoreng kernel: [   20.347334] bonding: bond0: enslaving eth0 as an active interface with an up link.
Dec 14 12:27:03 nasigoreng kernel: [   20.369319] bonding: bond0: Adding slave eth1.
Dec 14 12:27:03 nasigoreng kernel: [   20.400958] bonding: bond0: enslaving eth1 as an active interface with a down link.
Dec 14 12:27:03 nasigoreng kernel: [   20.417182] bonding: bond0: Unable to set primary slave; bond0 is in mode 2
Dec 14 12:27:03 nasigoreng kernel: [   20.585165] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 14 12:27:03 nasigoreng kernel: [   20.586157] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
Dec 14 12:27:03 nasigoreng kernel: [   20.586180] bonding: bond0: first active interface up!
Dec 14 12:27:03 nasigoreng kernel: [   20.586220] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Dec 14 12:27:03 nasigoreng kernel: [   23.746050] eth0: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:27:21 nasigoreng ntpd[5835]: Listen normally on 4 bond0 192.168.1.201 UDP 123
Dec 14 12:27:21 nasigoreng ntpd[5835]: Listen normally on 6 bond0 fe80::240:63ff:fef7:4997 UDP 123
Dec 14 12:30:17 nasigoreng kernel: [    2.319384] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:30:17 nasigoreng kernel: [    2.319394] eth0: Ethernet Address: 00:40:63:f7:49:97
Dec 14 12:30:17 nasigoreng kernel: [    2.331292] eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:30:17 nasigoreng kernel: [    2.331302] eth1: Ethernet Address: 00:40:63:f7:49:98
Dec 14 12:30:17 nasigoreng kernel: [   20.364597] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Dec 14 12:30:17 nasigoreng kernel: [   20.375460] bonding: bond0: Setting fail_over_mac to follow (2).
Dec 14 12:30:17 nasigoreng kernel: [   20.375671] bonding: bond0: Setting MII monitoring interval to 100.
Dec 14 12:30:17 nasigoreng kernel: [   20.375741] bonding: bond0: Setting down delay to 100.
Dec 14 12:30:17 nasigoreng kernel: [   20.375805] bonding: bond0: Setting up delay to 200.
Dec 14 12:30:17 nasigoreng kernel: [   20.424912] bonding: bond0: setting mode to balance-tlb (5).
Dec 14 12:30:17 nasigoreng kernel: [   20.438713] bonding: bond0: Adding slave eth0.
Dec 14 12:30:17 nasigoreng kernel: [   20.486968] bonding: bond0: enslaving eth0 as an active interface with an up link.
Dec 14 12:30:17 nasigoreng kernel: [   20.518347] bonding: bond0: Adding slave eth1.
Dec 14 12:30:17 nasigoreng kernel: [   20.551296] bonding: bond0: enslaving eth1 as an active interface with a down link.
Dec 14 12:30:17 nasigoreng kernel: [   20.568383] bonding: bond0: Setting eth0 as primary slave.
Dec 14 12:30:17 nasigoreng kernel: [   20.727858] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 14 12:30:17 nasigoreng kernel: [   20.728063] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
Dec 14 12:30:17 nasigoreng kernel: [   20.728071] bonding: bond0: making interface eth0 the new active one.
Dec 14 12:30:17 nasigoreng kernel: [   20.728193] bonding: bond0: first active interface up!
Dec 14 12:30:17 nasigoreng kernel: [   20.728232] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Dec 14 12:30:17 nasigoreng kernel: [   23.780426] eth0: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:30:27 nasigoreng ntpd[4518]: Listen normally on 4 bond0 192.168.1.201 UDP 123
Dec 14 12:30:27 nasigoreng ntpd[4518]: Listen normally on 6 bond0 fe80::240:63ff:fef7:4997 UDP 123
Dec 14 12:37:40 nasigoreng kernel: [    2.305855] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:37:40 nasigoreng kernel: [    2.305862] eth0: Ethernet Address: 00:40:63:f7:49:97
Dec 14 12:37:40 nasigoreng kernel: [    2.317206] eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:37:40 nasigoreng kernel: [    2.317217] eth1: Ethernet Address: 00:40:63:f7:49:98
Dec 14 12:37:40 nasigoreng kernel: [   20.277308] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Dec 14 12:37:40 nasigoreng kernel: [   20.292634] bonding: bond0: Setting fail_over_mac to follow (2).
Dec 14 12:37:40 nasigoreng kernel: [   20.292846] bonding: bond0: Setting MII monitoring interval to 100.
Dec 14 12:37:40 nasigoreng kernel: [   20.292916] bonding: bond0: Setting down delay to 100.
Dec 14 12:37:40 nasigoreng kernel: [   20.292978] bonding: bond0: Setting up delay to 200.
Dec 14 12:37:40 nasigoreng kernel: [   20.355862] bonding: bond0: setting mode to balance-alb (6).
Dec 14 12:37:40 nasigoreng kernel: [   20.369618] bonding: bond0: Adding slave eth0.
Dec 14 12:37:40 nasigoreng kernel: [   20.413681] bonding: bond0: Error: dev_set_mac_address of dev eth0 failed!
Dec 14 12:37:40 nasigoreng kernel: [   20.438446] bonding: bond0: Adding slave eth1.
Dec 14 12:37:40 nasigoreng kernel: [   20.464217] bonding: bond0: Error: dev_set_mac_address of dev eth1 failed!
Dec 14 12:37:40 nasigoreng kernel: [   20.638066] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 14 12:42:33 nasigoreng kernel: [    2.294718] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:42:33 nasigoreng kernel: [    2.294729] eth0: Ethernet Address: 00:40:63:f7:49:97
Dec 14 12:42:33 nasigoreng kernel: [    2.306263] eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
Dec 14 12:42:33 nasigoreng kernel: [    2.306273] eth1: Ethernet Address: 00:40:63:f7:49:98
Dec 14 12:42:33 nasigoreng kernel: [   20.317196] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Dec 14 12:42:33 nasigoreng kernel: [   20.330418] bonding: bond0: Setting fail_over_mac to follow (2).
Dec 14 12:42:33 nasigoreng kernel: [   20.330632] bonding: bond0: Setting MII monitoring interval to 100.
Dec 14 12:42:33 nasigoreng kernel: [   20.330704] bonding: bond0: Setting down delay to 100.
Dec 14 12:42:33 nasigoreng kernel: [   20.330769] bonding: bond0: Setting up delay to 200.
Dec 14 12:42:33 nasigoreng kernel: [   20.367787] bonding: bond0: setting mode to balance-tlb (5).
Dec 14 12:42:33 nasigoreng kernel: [   20.380318] bonding: bond0: Adding slave eth0.
Dec 14 12:42:33 nasigoreng kernel: [   20.425287] bonding: bond0: enslaving eth0 as an active interface with an up link.
Dec 14 12:42:33 nasigoreng kernel: [   20.463936] bonding: bond0: Adding slave eth1.
Dec 14 12:42:33 nasigoreng kernel: [   20.497416] bonding: bond0: enslaving eth1 as an active interface with a down link.
Dec 14 12:42:33 nasigoreng kernel: [   20.510235] bonding: bond0: Setting eth0 as primary slave.
Dec 14 12:42:33 nasigoreng kernel: [   20.679530] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 14 12:42:33 nasigoreng kernel: [   20.680092] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
Dec 14 12:42:33 nasigoreng kernel: [   20.680103] bonding: bond0: making interface eth0 the new active one.
Dec 14 12:42:33 nasigoreng kernel: [   20.680232] bonding: bond0: first active interface up!
Dec 14 12:42:33 nasigoreng kernel: [   20.680279] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Dec 14 12:42:33 nasigoreng kernel: [   23.780875] eth0: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:42:45 nasigoreng ntpd[4395]: Listen normally on 4 bond0 192.168.1.201 UDP 123
Dec 14 12:42:45 nasigoreng ntpd[4395]: Listen normally on 6 bond0 fe80::240:63ff:fef7:4997 UDP 123
Dec 14 12:51:23 nasigoreng kernel: [  570.512843] eth1: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:51:23 nasigoreng kernel: [  570.582041] bonding: bond0: link status up for interface eth1, enabling it in 200 ms.
Dec 14 12:51:23 nasigoreng kernel: [  570.782042] bonding: bond0: link status definitely up for interface eth1, 1000 Mbps full duplex.
Dec 14 12:51:44 nasigoreng kernel: [  591.092985] eth1: failed to detect cable link
Dec 14 12:51:44 nasigoreng kernel: [  591.182040] bonding: bond0: link status down for interface eth1, disabling it in 100 ms.
Dec 14 12:51:44 nasigoreng kernel: [  591.282039] bonding: bond0: link status definitely down for interface eth1, disabling it
Dec 14 12:51:50 nasigoreng kernel: [  597.124030] eth1: Link auto-negotiation speed 1000M bps full duplex
Dec 14 12:51:50 nasigoreng kernel: [  597.182039] bonding: bond0: link status up for interface eth1, enabling it in 200 ms.
Dec 14 12:51:50 nasigoreng kernel: [  597.382047] bonding: bond0: link status definitely up for interface eth1, 1000 Mbps full duplex.


Don't know if the hardware doesn't allow setting the mac-address or if it was forgotten in driver code.
IPerf gives a throughput of ~ 400 MBits whereas an other machine gives ~ 900 MBits on the same network. Both iperf server and iperf clients are bonded.

bye, have good times
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio