Date: Sun, 9 Jun 2013 12:21:37 +0200 From: Alban Hertroys <haramrae@gmail.com> To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: fxp0 interface going up/down/up/down (dhclient related?) Message-ID: <EBA9A2E3-3323-4069-9E58-ED4C431FDE4E@gmail.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_4B20DDD1-2A7A-4FB1-8292-8E0291094C53 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I'm having an issue where my fxp0 interface keeps looping between = DOWN/UP, with dhclient requesting a lease each time in between. I think = it's caused by dhclient: solfertje # dhclient -d fxp0 DHCPREQUEST on fxp0 to 255.255.255.255 port 67 send_packet: Network is down DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 109.72.40.1 bound to 141.105.10.89 -- renewal in 7200 seconds. fxp0 link state up -> down fxp0 link state down -> up DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 109.72.40.1 bound to 141.105.10.89 -- renewal in 7200 seconds. fxp0 link state up -> down fxp0 link state down -> up DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 109.72.40.1 bound to 141.105.10.89 -- renewal in 7200 seconds. fxp0 link state up -> down fxp0 link state down -> up DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 109.72.40.1 bound to 141.105.10.89 -- renewal in 7200 seconds. fxp0 link state up -> down fxp0 link state down -> up DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 109.72.40.1 bound to 141.105.10.89 -- renewal in 7200 seconds. fxp0 link state up -> down ^C In above test I turned off devd (/etc/rc.d/devd stop) and background = dhclient (/etc/rc.d/dhclient stop fxp0), and I still go the above = result. There's practically no time spent between up/down cycles, this = just keeps going on and on. fxp0 is the only interface that runs on DHCP. The others have static = IP's. Initially I thought the issue might be caused by devd, because I have = both ethernet and 822.11 type NICs (2x ethernet, 1x wifi) in that = system. This is 9-STABLE from yesterday. Before, I had 9-RELEASE running on this system with the same config, and = that worked well. I'm not sure it's related, but on the wireless interface I get alot of: Jun 9 12:08:11 solfertje kernel: ath0: stuck beacon; resetting (bmiss = count 4) ifconfig reads: solfertje # ifconfig=20 em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 = options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL= _MAGIC,VLAN_HWTSO> ether 68:05:ca:17:fe:f7 inet 10.236.150.1 netmask 0xffffff00 broadcast 10.236.150.255 inet6 fe80::6a05:caff:fe17:fef7%em0 prefixlen 64 scopeid 0x2=20 nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active ath0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 2290 ether 6c:fd:b9:68:db:36 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g = <hostap> status: running fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 = options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL= _MAGIC,VLAN_HWTSO> ether 00:0e:0c:b2:04:b0 inet6 fe80::20e:cff:feb2:4b0%fxp0 prefixlen 64 scopeid 0x9=20 inet 141.105.10.89 netmask 0xffffff80 broadcast 141.105.10.127 nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128=20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xd=20 inet 127.0.0.1 netmask 0xff000000=20 nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 ether 6c:fd:b9:68:db:36 inet 10.236.151.1 netmask 0xffffff00 broadcast 10.236.151.255 inet6 fe80::6efd:b9ff:fe68:db36%wlan0 prefixlen 64 scopeid 0xe=20= nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g = <hostap> status: running ssid solfertje channel 11 (2462 MHz 11g) bssid 6c:fd:b9:68:db:36 regdomain 32924 country CN indoor ecm authmode WPA privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 20 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs pflog0: flags=3D141<UP,RUNNING,PROMISC> metric 0 mtu 33152 nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> And the hardware is as follows: --Apple-Mail=_4B20DDD1-2A7A-4FB1-8292-8E0291094C53 Content-Disposition: attachment; filename=pciconf.txt Content-Type: text/plain; name="pciconf.txt" Content-Transfer-Encoding: quoted-printable hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x5a141002 = chip=3D0x5a141002 rev=3D0x02 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'RD890 PCI to PCI bridge (external gfx0 port B)' class =3D bridge subclass =3D HOST-PCI cap 08[f0] =3D HT MSI fixed address window enabled at 0xfee00000 cap 08[c4] =3D HT slave cap 08[40] =3D HT retry mode cap 08[54] =3D HT unit ID clumping cap 08[9c] =3D HT Gen3 cap 05[70] =3D MSI supports 4 messages=20 PCI errors =3D Received Master-Abort none0@pci0:0:0:2: class=3D0x080600 card=3D0x5a231002 = chip=3D0x5a231002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' class =3D base peripheral cap 0f[40] =3D unknown cap 05[54] =3D MSI supports 1 message, 64 bit=20 cap 08[64] =3D HT MSI fixed address window enabled at 0xfee00000 pcib1@pci0:0:2:0: class=3D0x060400 card=3D0x5a141002 = chip=3D0x5a161002 rev=3D0x00 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'RD890 PCI to PCI bridge (PCI express gpp port B)' class =3D bridge subclass =3D PCI-PCI cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[58] =3D PCI-Express 2 root port slot max data 128(128) link = x16(x16) speed 2.5(5.0) cap 05[a0] =3D MSI supports 1 message=20 cap 0d[b0] =3D PCI Bridge card=3D0x5a141002 cap 08[b8] =3D HT MSI fixed address window enabled at 0xfee00000 ecap 000b[100] =3D Vendor 1 ID 1 ecap 000d[190] =3D ACS 1 pcib2@pci0:0:4:0: class=3D0x060400 card=3D0x5a141002 = chip=3D0x5a181002 rev=3D0x00 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'RD890 PCI to PCI bridge (PCI express gpp port D)' class =3D bridge subclass =3D PCI-PCI cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[58] =3D PCI-Express 2 root port slot max data 128(128) link = x1(x2) speed 5.0(5.0) cap 05[a0] =3D MSI supports 1 message=20 cap 0d[b0] =3D PCI Bridge card=3D0x5a141002 cap 08[b8] =3D HT MSI fixed address window enabled at 0xfee00000 ecap 000b[100] =3D Vendor 1 ID 1 ecap 000d[190] =3D ACS 1 pcib3@pci0:0:5:0: class=3D0x060400 card=3D0x5a141002 = chip=3D0x5a191002 rev=3D0x00 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'RD890 PCI to PCI bridge (PCI express gpp port E)' class =3D bridge subclass =3D PCI-PCI cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[58] =3D PCI-Express 2 root port slot max data 128(128) link = x1(x1) speed 2.5(5.0) cap 05[a0] =3D MSI supports 1 message=20 cap 0d[b0] =3D PCI Bridge card=3D0x5a141002 cap 08[b8] =3D HT MSI fixed address window enabled at 0xfee00000 ecap 000b[100] =3D Vendor 1 ID 1 ecap 000d[190] =3D ACS 1 pcib4@pci0:0:10:0: class=3D0x060400 card=3D0x5a141002 = chip=3D0x5a1d1002 rev=3D0x00 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'RD890 PCI to PCI bridge (external gfx1 port A)' class =3D bridge subclass =3D PCI-PCI cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[58] =3D PCI-Express 2 root port slot max data 128(128) link = x1(x1) speed 5.0(5.0) cap 05[a0] =3D MSI supports 1 message=20 cap 0d[b0] =3D PCI Bridge card=3D0x5a141002 cap 08[b8] =3D HT MSI fixed address window enabled at 0xfee00000 ecap 000b[100] =3D Vendor 1 ID 1 ecap 000d[190] =3D ACS 1 ahci0@pci0:0:17:0: class=3D0x010601 card=3D0xb0021458 = chip=3D0x43911002 rev=3D0x40 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA cap 12[70] =3D SATA Index-Data Pair cap 13[a4] =3D PCI Advanced Features: FLR TP ohci0@pci0:0:18:0: class=3D0x0c0310 card=3D0x50041458 = chip=3D0x43971002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller' class =3D serial bus subclass =3D USB ehci0@pci0:0:18:2: class=3D0x0c0320 card=3D0x50041458 = chip=3D0x43961002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller' class =3D serial bus subclass =3D USB cap 01[c0] =3D powerspec 2 supports D0 D1 D2 D3 current D0 cap 0a[e4] =3D EHCI Debug Port at offset 0xe0 in map 0x14 ohci1@pci0:0:19:0: class=3D0x0c0310 card=3D0x50041458 = chip=3D0x43971002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller' class =3D serial bus subclass =3D USB ehci1@pci0:0:19:2: class=3D0x0c0320 card=3D0x50041458 = chip=3D0x43961002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller' class =3D serial bus subclass =3D USB cap 01[c0] =3D powerspec 2 supports D0 D1 D2 D3 current D0 cap 0a[e4] =3D EHCI Debug Port at offset 0xe0 in map 0x14 none1@pci0:0:20:0: class=3D0x0c0500 card=3D0x00000000 = chip=3D0x43851002 rev=3D0x42 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SBx00 SMBus Controller' class =3D serial bus subclass =3D SMBus hdac1@pci0:0:20:2: class=3D0x040300 card=3D0xa0141458 = chip=3D0x43831002 rev=3D0x40 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SBx00 Azalia (Intel HDA)' class =3D multimedia subclass =3D HDA cap 01[50] =3D powerspec 2 supports D0 D3 current D0 isab0@pci0:0:20:3: class=3D0x060100 card=3D0x439d1002 = chip=3D0x439d1002 rev=3D0x40 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 LPC host controller' class =3D bridge subclass =3D PCI-ISA pcib5@pci0:0:20:4: class=3D0x060401 card=3D0x00000000 = chip=3D0x43841002 rev=3D0x40 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'SBx00 PCI to PCI Bridge' class =3D bridge subclass =3D PCI-PCI ohci2@pci0:0:20:5: class=3D0x0c0310 card=3D0x50041458 = chip=3D0x43991002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller' class =3D serial bus subclass =3D USB pcib6@pci0:0:21:0: class=3D0x060400 card=3D0x00001002 = chip=3D0x43a01002 rev=3D0x00 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'SB700/SB800 PCI to PCI bridge (PCIE port 0)' class =3D bridge subclass =3D PCI-PCI cap 01[50] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[58] =3D PCI-Express 2 root port slot max data 128(128) link = x16(x4) speed undef(2.5) cap 05[a0] =3D MSI supports 1 message, 64 bit=20 cap 0d[b0] =3D PCI Bridge card=3D0x00001002 cap 08[b8] =3D HT MSI fixed address window enabled at 0xfee00000 ecap 000b[100] =3D Vendor 1 ID 1 ohci3@pci0:0:22:0: class=3D0x0c0310 card=3D0x50041458 = chip=3D0x43971002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller' class =3D serial bus subclass =3D USB ehci2@pci0:0:22:2: class=3D0x0c0320 card=3D0x50041458 = chip=3D0x43961002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller' class =3D serial bus subclass =3D USB cap 01[c0] =3D powerspec 2 supports D0 D1 D2 D3 current D0 cap 0a[e4] =3D EHCI Debug Port at offset 0xe0 in map 0x14 hostb1@pci0:0:24:0: class=3D0x060000 card=3D0x00000000 = chip=3D0x12001022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'Family 10h Processor HyperTransport Configuration' class =3D bridge subclass =3D HOST-PCI cap 08[80] =3D HT host hostb2@pci0:0:24:1: class=3D0x060000 card=3D0x00000000 = chip=3D0x12011022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'Family 10h Processor Address Map' class =3D bridge subclass =3D HOST-PCI hostb3@pci0:0:24:2: class=3D0x060000 card=3D0x00000000 = chip=3D0x12021022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'Family 10h Processor DRAM Controller' class =3D bridge subclass =3D HOST-PCI hostb4@pci0:0:24:3: class=3D0x060000 card=3D0x00000000 = chip=3D0x12031022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'Family 10h Processor Miscellaneous Control' class =3D bridge subclass =3D HOST-PCI cap 0f[f0] =3D unknown hostb5@pci0:0:24:4: class=3D0x060000 card=3D0x00000000 = chip=3D0x12041022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'Family 10h Processor Link Control' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x20081787 = chip=3D0x68f91002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Cedar PRO [Radeon HD 5450]' class =3D display subclass =3D VGA cap 01[50] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[58] =3D PCI-Express 2 legacy endpoint max data 128(256) link = x16(x16) speed 2.5(2.5) cap 05[a0] =3D MSI supports 1 message, 64 bit=20 ecap 000b[100] =3D Vendor 1 ID 1 ecap 0001[150] =3D AER 1 0 fatal 1 non-fatal 1 corrected PCI-e errors =3D Correctable Error Detected Non-Fatal Error Detected Unsupported Request Detected Non-fatal =3D Unsupported Request Corrected =3D Advisory Non-Fatal Error hdac0@pci0:1:0:1: class=3D0x040300 card=3D0xaa681787 = chip=3D0xaa681002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Manhattan HDMI Audio [Mobility Radeon HD 5000 = Series]' class =3D multimedia subclass =3D HDA cap 01[50] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[58] =3D PCI-Express 2 legacy endpoint max data 128(256) link = x16(x16) speed 2.5(2.5) cap 05[a0] =3D MSI supports 1 message, 64 bit enabled with 1 message ecap 000b[100] =3D Vendor 1 ID 1 ecap 0001[150] =3D AER 1 0 fatal 1 non-fatal 1 corrected PCI-e errors =3D Correctable Error Detected Non-Fatal Error Detected Unsupported Request Detected Non-fatal =3D Unsupported Request Corrected =3D Advisory Non-Fatal Error xhci0@pci0:2:0:0: class=3D0x0c0330 card=3D0x50071458 = chip=3D0x70231b6f rev=3D0x01 hdr=3D0x00 class =3D serial bus subclass =3D USB cap 01[50] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[70] =3D MSI supports 4 messages, 64 bit, vector masks=20 cap 10[a0] =3D PCI-Express 2 endpoint max data 128(1024) FLR link = x1(x1) speed 5.0(5.0) ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[190] =3D Serial 1 0101010101010101 PCI-e errors =3D Correctable Error Detected Unsupported Request Detected Corrected =3D Advisory Non-Fatal Error em0@pci0:3:0:0: class=3D0x020000 card=3D0xa01f8086 chip=3D0x10d38086 = rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82574L Gigabit Network Connection' class =3D network subclass =3D ethernet cap 01[c8] =3D powerspec 2 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit=20 cap 10[e0] =3D PCI-Express 1 endpoint max data 128(256) link x1(x1) speed 2.5(2.5) cap 11[a0] =3D MSI-X supports 5 messages in map 0x1c enabled ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] =3D Serial 1 6805caffff17fef7 PCI-e errors =3D Correctable Error Detected Unsupported Request Detected Corrected =3D Advisory Non-Fatal Error xhci1@pci0:4:0:0: class=3D0x0c0330 card=3D0x50071458 = chip=3D0x70231b6f rev=3D0x01 hdr=3D0x00 class =3D serial bus subclass =3D USB cap 01[50] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[70] =3D MSI supports 4 messages, 64 bit, vector masks=20 cap 10[a0] =3D PCI-Express 2 endpoint max data 128(1024) FLR link = x1(x1) speed 5.0(5.0) ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[190] =3D Serial 1 0101010101010101 PCI-e errors =3D Correctable Error Detected Unsupported Request Detected Corrected =3D Advisory Non-Fatal Error ath0@pci0:5:6:0: class=3D0x028000 card=3D0x0300168c = chip=3D0x002d168c rev=3D0x01 hdr=3D0x00 vendor =3D 'Atheros Communications Inc.' device =3D 'AR9287 Wireless Network Adapter' class =3D network cap 01[44] =3D powerspec 2 supports D0 D3 current D0 fxp0@pci0:5:7:0: class=3D0x020000 card=3D0x00408086 = chip=3D0x12298086 rev=3D0x0c hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82557/8/9/0/1 Ethernet Pro 100' class =3D network subclass =3D ethernet cap 01[dc] =3D powerspec 2 supports D0 D1 D2 D3 current D0 none2@pci0:5:14:0: class=3D0x0c0010 card=3D0x10001458 = chip=3D0x30441106 rev=3D0xc0 hdr=3D0x00 vendor =3D 'VIA Technologies, Inc.' device =3D 'VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller' class =3D serial bus subclass =3D FireWire cap 01[50] =3D powerspec 2 supports D0 D2 D3 current D0 --Apple-Mail=_4B20DDD1-2A7A-4FB1-8292-8E0291094C53 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest. --Apple-Mail=_4B20DDD1-2A7A-4FB1-8292-8E0291094C53--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBA9A2E3-3323-4069-9E58-ED4C431FDE4E>