Re: NM insists on connecting to a non-existent wired connection.
- From: Dan Williams <dcbw redhat com>
- To: Michael Biebl <biebl debian org>
- Cc: network manager <networkmanager-list gnome org>
- Subject: Re: NM insists on connecting to a non-existent wired connection.
- Date: Fri, 15 Jun 2007 14:19:58 -0400
On Fri, 2007-06-15 at 07:23 +0200, Michael Biebl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael Biebl wrote:
> > Dan Williams wrote:
> >> On Thu, 2007-06-07 at 22:42 +0200, Michael Biebl wrote:
> >>> Rogue wrote:
> >>>> Hi All,
> >>>>
> >>>> I am seeing a very strange behavior on my Dell D810 laptop. Everytime I
> >>>> start up the system, NM chooses to connect to a non-existent wired
> >>>> network. I see the following in the log files:
> >>>>
> >>> FWIW I experience the same bug.
> >>> I have my ethernet nic on eth0 (8139cp) and the wireless nic on wlan0
> >>> (ipw2100).
> >>> On startup NM always tries to establish a connection via eth0 although
> >>> no cable is plugged in (and it receives a LL IP address via
> >>> avahi-autoipd, so the actual connection via wlan0 is not established
> >>> because NM thinks it has a connection).
> >>>
> >>> The problem seems to be, that NM does not correctly init the eth0 device
> >>> and so mistakenly thinks it has a link.
> >>>
> >>> cat /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/net/eth0/carrier
> >>> yields: Invalid argument directly after loading the module.
> >> Hmm, are you using 0.6.4? 0.6.5 relies on netlink exclusively for
> >> asynchronous carrier detection and only
> >> checks /sys/class/net/ethX/carrier after a successful activation. Do
> >> you have a /sys/class/net/eth0/carrier?
> >
> >> Does what's in SVN head for NETWORKMANAGER_0_6_0_RELEASE work for you?
> >
> >
> > I applied r2578 against 0.6.5 and now the problems seems to be gone.
>
> Unfortunately I started celebrating too soon. The problem is still there.
>
> I added a "cat /sys/class/net/eth0/carrier" in the init script, right before the
> daemon is started. On startup I get a "invalid argument", then NM is started,
Yeah, 'carrier' may not be there if the device is down.
> believes the link is up, activates eth0, eth0 gets and LL ip.
> After I login, "cat /sys/class/net/eth0/carrier" yields 0, and nm-tool shows no
> link.
>
> The version is 0.6.5 with r2578 applied.
I've gotten at least one report with traces showing that the fix I
committed has made the problem better, but not completely fixed it.
dan
> Michael
>
> - --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGciJnh7PER70FhVQRAhdoAJ4kEOHJTcvxAAEfmYaCyY9+WERCoQCgvBxD
> HU9yE9VHyJ/lg20hGUwxhoI=
> =VCuW
> -----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]