NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/42068: fxp address adding or removing causes link changes



The following reply was made to PR kern/42068; it has been noted by GNATS.

From: Gergely =?iso-8859-2?q?G=E1bor?= <elentirmo.gilgalad%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/42068: fxp address adding or removing causes link changes
Date: Wed, 30 Dec 2009 23:00:13 +0100

 --nextPart7092826.MmijMhWTOO
 Content-Type: Text/Plain;
   charset="iso-8859-2"
 Content-Transfer-Encoding: quoted-printable
 
 Greetings!
 
 Sorry Martin, but after trying the patch, I have to report it did not fix t=
 he=20
 problem. although it did significantly change the erroneous behaviour :)
 
 Now ifconfig can see if the network cable is plugged in, or not, but other=
 =20
 tools cannot. I did try ifwatchd and dhcpcd, and both believe that the=20
 interface is always down. To complicate, dhcpcd could not bring it up (for=
 =20
 longer than a wink of an eye) either, not even with the -K (disable link=20
 status detection) switch!
 
 Pasting simultaneous dhcpcd and ifwatchd run outputs:
 
 dhcpcd:=20
 root@hunyadi:~ # dhcpcd -dBK fxp0                                          =
  =20
 dhcpcd - - - version 5.1.3 starting
 dhcpcd - - - fxp0: executing `/libexec/dhcpcd-run-hooks', reason PREINIT
 dhcpcd - - - fxp0: reading lease `/var/db/dhcpcd-fxp0.lease'
 dhcpcd - - - fxp0: checking for 169.254.61.184
 dhcpcd - - - fxp0: sending ARP probe (1 of 3), next in 1.40 seconds
 dhcpcd - - - send_arp: Network is down
 dhcpcd - - - fxp0: sending ARP probe (2 of 3), next in 1.66 seconds
 dhcpcd - - - send_arp: Network is down
 dhcpcd - - - fxp0: sending ARP probe (3 of 3), next in 2.00 seconds
 dhcpcd - - - send_arp: Network is down
 dhcpcd - - - fxp0: using IPv4LL address 169.254.61.184
 dhcpcd - - - fxp0: adding IP address 169.254.61.184/16
 dhcpcd - - - fxp0: adding route to 169.254.0.0/16
 dhcpcd - - - fxp0: executing `/libexec/dhcpcd-run-hooks', reason IPV4LL
 dhcpcd - - - fxp0: sending ARP announce (1 of 2), next in 2.00 seconds
 dhcpcd - - - send_arp: Network is down
 dhcpcd - - - fxp0: sending ARP announce (2 of 2)
 dhcpcd - - - send_arp: Network is down
 dhcpcd - - - fxp0: broadcasting for a lease
 dhcpcd - - - fxp0: sending DHCP_DISCOVER (xid 0x22b9e70d), next in 3.01=20
 seconds
 dhcpcd - - - fxp0: send_raw_packet: Network is down
 dhcpcd - - - fxp0: deleting route to 169.254.0.0/16
 dhcpcd - - - fxp0: deleting IP address 169.254.61.184/16
 dhcpcd - - - fxp0: executing `/libexec/dhcpcd-run-hooks', reason FAIL
 
 ifwatch did produce the following output (ignore the error messages,I proba=
 bly=20
 did not write completely good dummy scripts.)
 calling: up fxp0 /dev/null 9600 169.254.61.184 169.254.255.255
 up: Bad file descriptor
 calling: carrier fxp0 /dev/null 9600 =20
 carrier: Bad file descriptor
 unknown message ignored (14)
 unknown message ignored (15)
 calling: no-carrier fxp0 /dev/null 9600 =20
 no-carrier: Bad file descriptor
 unknown message ignored (14)
 unknown message ignored (15)
 calling: carrier fxp0 /dev/null 9600 =20
 carrier: Bad file descriptor
 unknown message ignored (14)
 unknown message ignored (15)
 calling: no-carrier fxp0 /dev/null 9600 =20
 no-carrier: Bad file descriptor
 unknown message ignored (14)
 unknown message ignored (15)
 calling: up fxp0 /dev/null 9600 169.254.61.184 169.254.255.255
 up: Bad file descriptor
 calling: carrier fxp0 /dev/null 9600 =20
 carrier: Bad file descriptor
 unknown message ignored (14)
 unknown message ignored (15)
 
 This is all I can think of being relevant, if I forgot anything, feel free =
 to=20
 notify me, and I will do my bast to help. Thanks for your help, and Happy N=
 ew=20
 Year!
 
 Greetings: G=E1bor Gergely
 
 --nextPart7092826.MmijMhWTOO
 Content-Type: application/pgp-signature; name=signature.asc 
 Content-Description: This is a digitally signed message part.
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (NetBSD)
 
 iEYEABECAAYFAks7zW4ACgkQlZGsj+xzT3mafwCgtngbNIuu5IyZEbWMPZqrlHff
 hJYAn1WMS8M0qBzjHwW+pXt/XL/gDnA/
 =61mv
 -----END PGP SIGNATURE-----
 
 --nextPart7092826.MmijMhWTOO--
 


Home | Main Index | Thread Index | Old Index