[Bug 273799] New: knetworkmanager always picks the usb-device although it is not active
https://bugzilla.novell.com/show_bug.cgi?id=273799 Summary: knetworkmanager always picks the usb-device although it is not active Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sven.burmeister@gmx.net QAContact: qa@suse.de When I start knetworkmanager it always picks the usb-device (Genesys Logic) It claims that it has an IP (169.254.127.207) and ignores the eth0 device which does have an active link, i.e. the network-cable is plugged-in. /etc/sysconfig/network does not show any config-files for a usb-device. usb0 Protokoll:Ethernet Hardware Adresse 0A:0C:5E:16:FA:71 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:8 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273799#c1 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|thoenig@novell.com |tambet@novell.com --- Comment #1 from Timo Hoenig <thoenig@novell.com> 2007-08-08 03:01:41 MST --- NetworkManager issue. -- 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=273799#c2 --- Comment #2 from Sven Burmeister <sven.burmeister@gmx.net> 2007-08-12 02:29:11 MST --- This is valid for 10.3 beta 1 too. -- 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=273799 Sven Burmeister <sven.burmeister@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Component|KDE |Network Product|openSUSE 10.2 |openSUSE 10.3 Target Milestone|--- |unspecified Version|Final |Beta 1 -- 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=273799#c3 --- Comment #3 from Sven Burmeister <sven.burmeister@gmx.net> 2007-08-25 09:02:42 MST --- eth0 works with DHCP. -- 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=273799#c4 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sven.burmeister@gmx.net --- Comment #4 from JP Rosevear <jpr@novell.com> 2007-08-29 19:23:02 MST --- The IP is just an autoip I think. Please attach the output of 'nm-tool', my guess is that the usb device driver is reporting it does have a 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=273799#c5 Sven Burmeister <sven.burmeister@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|sven.burmeister@gmx.net | --- Comment #5 from Sven Burmeister <sven.burmeister@gmx.net> 2007-08-30 00:36:07 MST --- nm-tool NetworkManager Tool State: connected - Device: usb0 ---------------------------------------------------------------- NM Path: /org/freedesktop/NetworkManager/Devices/usb0 Type: Wired Driver: gl620a Active: no HW Address: 0A:10:91:FA:F0:4A Capabilities: Supported: yes Carrier Detect: yes Wired Settings Hardware Link: yes - Device: eth0 ---------------------------------------------------------------- NM Path: /org/freedesktop/NetworkManager/Devices/eth0 Type: Wired Driver: 8139too Active: yes HW Address: 00:0E:2E:0B:EF:E1 Capabilities: Supported: yes Carrier Detect: yes Speed: 100 Mb/s Wired Settings Hardware Link: yes IP Settings: IP Address: 192.168.0.3 Subnet Mask: 255.255.255.0 Broadcast: 192.168.0.255 Gateway: 192.168.0.105 Primary DNS: 192.168.0.105 Secondary DNS: 217.237.151.97 -- 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=273799#c6 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jg@novell.com AssignedTo|tambet@novell.com |kernel-maintainers@forge.provo.novell.com Component|Network |Kernel --- Comment #6 from JP Rosevear <jpr@novell.com> 2007-08-30 06:48:39 MST --- Yes, the usb device is reporting it has a carrier which is why it gets used. Either kernel team or jg to fix. -- 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=273799#c7 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sven.burmeister@gmx.net --- Comment #7 from JP Rosevear <jpr@novell.com> 2007-08-30 06:49:21 MST --- The driver listed is probably enough info, but please attach the output of 'hwinfo' as root as well. -- 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=273799#c8 Karsten Keil <kkeil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkeil@novell.com --- Comment #8 from Karsten Keil <kkeil@novell.com> 2007-08-30 08:44:16 MST --- Please retest with Beta2. -- 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=273799#c9 --- Comment #9 from Sven Burmeister <sven.burmeister@gmx.net> 2007-08-30 08:50:55 MST --- Created an attachment (id=161000) --> (https://bugzilla.novell.com/attachment.cgi?id=161000) hwinfo -- 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=273799#c10 Sven Burmeister <sven.burmeister@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|sven.burmeister@gmx.net | --- Comment #10 from Sven Burmeister <sven.burmeister@gmx.net> 2007-08-30 08:58:27 MST --- Created an attachment (id=161002) --> (https://bugzilla.novell.com/attachment.cgi?id=161002) 10.3 beta 2 hwinfo The first one was 10.2's hwinfo, this is 10.3 beta 2 and the issue remains the same. -- 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=273799#c11 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.provo.novell.com |oneukum@novell.com --- Comment #11 from Jeff Mahoney <jeffm@novell.com> 2007-09-27 14:33:17 MST --- u32 usbnet_get_link (struct net_device *net) { struct usbnet *dev = netdev_priv(net); /* If a check_connect is defined, return its result */ if (dev->driver_info->check_connect) return dev->driver_info->check_connect (dev) == 0; /* if the device has mii operations, use those */ if (dev->mii.mdio_read) return mii_link_ok(&dev->mii); /* Otherwise, say we're up (to avoid breaking scripts) */ return 1; } gl620a doesn't define check_connect or mii.mdio_read, so it always reads as connected. Once upon a time it did, though: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif... This seems like more of a USB driver issue than Networking. I'll leave Karsten CC'd, but I'm assigning to Oliver. Alternatively, is there a way we can tell NetworkManager that it shouldn't trust the carrier detect for this device? -- 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=273799#c12 Oliver Neukum <oneukum@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #12 from Oliver Neukum <oneukum@novell.com> 2007-09-28 01:16:29 MST --- This code never was compiled. Now, I might look into adding a check_connect() to the driver, but there are USB devices which cannot tell in principle. -- 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=273799#c14 --- Comment #14 from Oliver Neukum <oneukum@novell.com> 2007-10-02 05:16:13 MST --- Created an attachment (id=175933) --> (https://bugzilla.novell.com/attachment.cgi?id=175933) debugging patch to understand link reporting -- 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=273799#c15 Oliver Neukum <oneukum@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |sven.burmeister@gmx.net --- Comment #15 from Oliver Neukum <oneukum@novell.com> 2007-10-02 05:17:31 MST --- Hi, could you apply the patch from #14 to your kernel and attach dmesg? The chip is undocumented and the protocol for link status will have to be reverse engineered. -- 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=273799#c16 --- Comment #16 from Oliver Neukum <oneukum@novell.com> 2007-10-02 06:29:21 MST --- http://beta1.suse.com/private/oneukum/273799 has RPMs with the patch from #14 applied -- 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=273799#c17 Sven Burmeister <sven.burmeister@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|sven.burmeister@gmx.net | --- Comment #17 from Sven Burmeister <sven.burmeister@gmx.net> 2007-10-10 16:34:53 MST --- This works. knetworkmanager shows the usb device as greyed out and picks the network-card by default. -- 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=273799#c18 Oliver Neukum <oneukum@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |sven.burmeister@gmx.net --- Comment #18 from Oliver Neukum <oneukum@novell.com> 2007-10-11 01:06:02 MST --- I am surprised. Could you please also test what happens when the device is attached on both sides? -- 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=273799#c19 Sven Burmeister <sven.burmeister@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|sven.burmeister@gmx.net | --- Comment #19 from Sven Burmeister <sven.burmeister@gmx.net> 2007-10-14 03:49:07 MST --- Nothing happens. I connected it to an XP PC and XP found the link but did not find a driver. The device was still greyed out in knetworkmanager. I tried to find a driver on the net and XP recognised the Host-to-host connection, yet that did not do anything on the linux site. I tried to configure the usb-device via YaST and gave it an IP, it did not show up in ifconfig, yet it does in iwconfig, i.e. usb0 no wireless extensions. -- 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=273799#c20 Oliver Neukum <oneukum@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |sven.burmeister@gmx.net --- Comment #20 from Oliver Neukum <oneukum@novell.com> 2007-10-17 00:11:24 MST --- Could you provide dmesg of what happens when you plug in the device? "ifconfig -a" shows nothing? -- 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=273799#c21 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|sven.burmeister@gmx.net | Resolution| |NORESPONSE --- Comment #21 from Stephan Kulow <coolo@novell.com> 2007-11-21 13:19:09 MST --- please repen if you can provide the infos -- 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=273799#c22 --- Comment #22 from Sven Burmeister <sven.burmeister@gmx.net> 2007-11-21 13:35:37 MST --- I cannot test this because I do not want to install that old kernel on my new 10.3. -- 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=273799#c23 --- Comment #23 from Oliver Neukum <oneukum@novell.com> 2007-11-22 07:25:12 MST --- New x86_64 RPM about to appear at the old place. -- 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=273799 User sven.burmeister@gmx.net added comment https://bugzilla.novell.com/show_bug.cgi?id=273799#c24 --- Comment #24 from Sven Burmeister <sven.burmeister@gmx.net> 2008-10-20 00:59:11 MDT --- Created an attachment (id=246458) --> (https://bugzilla.novell.com/attachment.cgi?id=246458) var/log/messages This is openSUSE 11.0 x64 -- 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=273799 User sven.burmeister@gmx.net added comment https://bugzilla.novell.com/show_bug.cgi?id=273799#c25 --- Comment #25 from Sven Burmeister <sven.burmeister@gmx.net> 2008-10-20 01:00:32 MDT --- Attached to the wron bug, sorry for that. -- 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.
participants (1)
-
bugzilla_noreply@novell.com