[Bug 415034] New: Yast network does not set up network correctly
https://bugzilla.novell.com/show_bug.cgi?id=415034 Summary: Yast network does not set up network correctly Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: trenn@novell.com QAContact: jsrain@novell.com CC: coolo@novell.com, bwalle@novell.com Found By: Development This report is based on this latest build: machcd2/CDs/openSUSE-11.1-Alpha1plus-DVD-x86_64-Build0016/DVD1 When installing with autoyast, the network is not set up which results in a totally broken system. After second stage has finished, I tried to set up the network manually via yast. But both network cards showed the status "not connected". This is the time of my first save_y2logs, I am going to attach. In the console I tried: ethtool eth0 -> link no ethtool eth1 -> link yes Now I went into yast network module again and the one network card correctly showed a link. I have no idea whether the "ethtool eth1" triggered that it magically worked or whether there is some kind of timeout or something else, I have no idea. This is the time of my second save_y2logs, I am going to attach. This breaks our autoinstallation and thus we cannot install the latest software on our developement machines. This blocks the work of the architecture team -> blocker. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c1
--- Comment #1 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c2
--- Comment #2 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c3
Michal Zugec
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c4
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=415034
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c6
--- Comment #6 from Michal Zugec
https://bugzilla.novell.com/show_bug.cgi?id=415034
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c7
Michal Zugec
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c8
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c9
--- Comment #9 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c10
--- Comment #10 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c11
--- Comment #11 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c12
--- Comment #12 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c13
Michal Zugec
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c14
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c15
Michal Zugec
How does Yast find out whether a network cable is plugged in and the link is active
It uses /sys/class/net/*/carrier information -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c16
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User bgeuken@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c17
Björn Geuken
https://bugzilla.novell.com/show_bug.cgi?id=415034
User kkeil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c18
Karsten Keil
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c19
Thomas Renninger
This seems to be normal as long the interface was not brought in up state Right, carrier is always zero on all machines if the interface is down, so I expect they try to bring the network interface up before, maybe increasing a waiting time to let the network driver settle down a bit, works?
On adalid this test script shows that it takes rather long until the link is detected (more than 1 sec, under high load possibly longer): #!/bin/bash for ((x=0;x<5;x++)); do ifconfig eth1 down; ifconfig eth1 up; sleep $x cat /sys/devices/pci0000:00/0000:00:02.0/0000:02:03.1/net/eth1/carrier; done /tmp/network_test.sh 0 0 1 1 1 Can the timeout in yast to let the network settle down and to check the link be increased, pls. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c20
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c21
--- Comment #21 from Bernhard Walle
while (netif_carrier_check(cxy->dev)) && timeout > jiffies) {
Does jiffies magic really work with 'nohz' any more (since 'jiffies' might not be updated)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=415034
User kkeil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c22
--- Comment #22 from Karsten Keil
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c23
--- Comment #23 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c24
--- Comment #24 from Thomas Renninger
You can examine /sys/class/net/ethX/flags, Bit0 shows up/down status One second.., It's says connected :)
cat /sys/class/net/eth1/flags 0x1003 linux:~ # cat /sys/class/net/eth0/flags 0x1002 So they should use /sys/class/net/ethX/flags instead of carrier? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=415034
User kkeil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c25
--- Comment #25 from Karsten Keil
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c26
--- Comment #26 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c28
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=415034
User okir@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415034#c29
--- Comment #29 from Olaf Kirch
participants (1)
-
bugzilla_noreply@novell.com