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
[-- Attachment #1 --]
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
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<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
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 6c:fd:b9:68:db:36
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: running
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<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
inet 141.105.10.89 netmask 0xffffff80 broadcast 141.105.10.127
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xd
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=8843<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
nd6 options=29<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=141<UP,RUNNING,PROMISC> metric 0 mtu 33152
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
And the hardware is as follows:
[-- Attachment #2 --]
hostb0@pci0:0:0:0: class=0x060000 card=0x5a141002 chip=0x5a141002 rev=0x02 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'RD890 PCI to PCI bridge (external gfx0 port B)'
class = bridge
subclass = HOST-PCI
cap 08[f0] = HT MSI fixed address window enabled at 0xfee00000
cap 08[c4] = HT slave
cap 08[40] = HT retry mode
cap 08[54] = HT unit ID clumping
cap 08[9c] = HT Gen3
cap 05[70] = MSI supports 4 messages
PCI errors = Received Master-Abort
none0@pci0:0:0:2: class=0x080600 card=0x5a231002 chip=0x5a231002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
class = base peripheral
cap 0f[40] = unknown
cap 05[54] = MSI supports 1 message, 64 bit
cap 08[64] = HT MSI fixed address window enabled at 0xfee00000
pcib1@pci0:0:2:0: class=0x060400 card=0x5a141002 chip=0x5a161002 rev=0x00 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'RD890 PCI to PCI bridge (PCI express gpp port B)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D3 current D0
cap 10[58] = PCI-Express 2 root port slot max data 128(128) link x16(x16)
speed 2.5(5.0)
cap 05[a0] = MSI supports 1 message
cap 0d[b0] = PCI Bridge card=0x5a141002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
ecap 000b[100] = Vendor 1 ID 1
ecap 000d[190] = ACS 1
pcib2@pci0:0:4:0: class=0x060400 card=0x5a141002 chip=0x5a181002 rev=0x00 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'RD890 PCI to PCI bridge (PCI express gpp port D)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D3 current D0
cap 10[58] = PCI-Express 2 root port slot max data 128(128) link x1(x2)
speed 5.0(5.0)
cap 05[a0] = MSI supports 1 message
cap 0d[b0] = PCI Bridge card=0x5a141002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
ecap 000b[100] = Vendor 1 ID 1
ecap 000d[190] = ACS 1
pcib3@pci0:0:5:0: class=0x060400 card=0x5a141002 chip=0x5a191002 rev=0x00 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'RD890 PCI to PCI bridge (PCI express gpp port E)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D3 current D0
cap 10[58] = PCI-Express 2 root port slot max data 128(128) link x1(x1)
speed 2.5(5.0)
cap 05[a0] = MSI supports 1 message
cap 0d[b0] = PCI Bridge card=0x5a141002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
ecap 000b[100] = Vendor 1 ID 1
ecap 000d[190] = ACS 1
pcib4@pci0:0:10:0: class=0x060400 card=0x5a141002 chip=0x5a1d1002 rev=0x00 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'RD890 PCI to PCI bridge (external gfx1 port A)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D3 current D0
cap 10[58] = PCI-Express 2 root port slot max data 128(128) link x1(x1)
speed 5.0(5.0)
cap 05[a0] = MSI supports 1 message
cap 0d[b0] = PCI Bridge card=0x5a141002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
ecap 000b[100] = Vendor 1 ID 1
ecap 000d[190] = ACS 1
ahci0@pci0:0:17:0: class=0x010601 card=0xb0021458 chip=0x43911002 rev=0x40 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]'
class = mass storage
subclass = SATA
cap 12[70] = SATA Index-Data Pair
cap 13[a4] = PCI Advanced Features: FLR TP
ohci0@pci0:0:18:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:18:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
cap 01[c0] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
ohci1@pci0:0:19:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:19:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
cap 01[c0] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
none1@pci0:0:20:0: class=0x0c0500 card=0x00000000 chip=0x43851002 rev=0x42 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SBx00 SMBus Controller'
class = serial bus
subclass = SMBus
hdac1@pci0:0:20:2: class=0x040300 card=0xa0141458 chip=0x43831002 rev=0x40 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SBx00 Azalia (Intel HDA)'
class = multimedia
subclass = HDA
cap 01[50] = powerspec 2 supports D0 D3 current D0
isab0@pci0:0:20:3: class=0x060100 card=0x439d1002 chip=0x439d1002 rev=0x40 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 LPC host controller'
class = bridge
subclass = PCI-ISA
pcib5@pci0:0:20:4: class=0x060401 card=0x00000000 chip=0x43841002 rev=0x40 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'SBx00 PCI to PCI Bridge'
class = bridge
subclass = PCI-PCI
ohci2@pci0:0:20:5: class=0x0c0310 card=0x50041458 chip=0x43991002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
class = serial bus
subclass = USB
pcib6@pci0:0:21:0: class=0x060400 card=0x00001002 chip=0x43a01002 rev=0x00 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'SB700/SB800 PCI to PCI bridge (PCIE port 0)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 10[58] = PCI-Express 2 root port slot max data 128(128) link x16(x4)
speed undef(2.5)
cap 05[a0] = MSI supports 1 message, 64 bit
cap 0d[b0] = PCI Bridge card=0x00001002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
ecap 000b[100] = Vendor 1 ID 1
ohci3@pci0:0:22:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ehci2@pci0:0:22:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
cap 01[c0] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
hostb1@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x12001022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor HyperTransport Configuration'
class = bridge
subclass = HOST-PCI
cap 08[80] = HT host
hostb2@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x12011022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor Address Map'
class = bridge
subclass = HOST-PCI
hostb3@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x12021022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor DRAM Controller'
class = bridge
subclass = HOST-PCI
hostb4@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x12031022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor Miscellaneous Control'
class = bridge
subclass = HOST-PCI
cap 0f[f0] = unknown
hostb5@pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x12041022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor Link Control'
class = bridge
subclass = HOST-PCI
vgapci0@pci0:1:0:0: class=0x030000 card=0x20081787 chip=0x68f91002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'Cedar PRO [Radeon HD 5450]'
class = display
subclass = VGA
cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 10[58] = PCI-Express 2 legacy endpoint max data 128(256) link x16(x16)
speed 2.5(2.5)
cap 05[a0] = MSI supports 1 message, 64 bit
ecap 000b[100] = Vendor 1 ID 1
ecap 0001[150] = AER 1 0 fatal 1 non-fatal 1 corrected
PCI-e errors = Correctable Error Detected
Non-Fatal Error Detected
Unsupported Request Detected
Non-fatal = Unsupported Request
Corrected = Advisory Non-Fatal Error
hdac0@pci0:1:0:1: class=0x040300 card=0xaa681787 chip=0xaa681002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'Manhattan HDMI Audio [Mobility Radeon HD 5000 Series]'
class = multimedia
subclass = HDA
cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 10[58] = PCI-Express 2 legacy endpoint max data 128(256) link x16(x16)
speed 2.5(2.5)
cap 05[a0] = MSI supports 1 message, 64 bit enabled with 1 message
ecap 000b[100] = Vendor 1 ID 1
ecap 0001[150] = AER 1 0 fatal 1 non-fatal 1 corrected
PCI-e errors = Correctable Error Detected
Non-Fatal Error Detected
Unsupported Request Detected
Non-fatal = Unsupported Request
Corrected = Advisory Non-Fatal Error
xhci0@pci0:2:0:0: class=0x0c0330 card=0x50071458 chip=0x70231b6f rev=0x01 hdr=0x00
class = serial bus
subclass = USB
cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[70] = MSI supports 4 messages, 64 bit, vector masks
cap 10[a0] = PCI-Express 2 endpoint max data 128(1024) FLR link x1(x1)
speed 5.0(5.0)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[190] = Serial 1 0101010101010101
PCI-e errors = Correctable Error Detected
Unsupported Request Detected
Corrected = Advisory Non-Fatal Error
em0@pci0:3:0:0: class=0x020000 card=0xa01f8086 chip=0x10d38086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = '82574L Gigabit Network Connection'
class = network
subclass = ethernet
cap 01[c8] = powerspec 2 supports D0 D3 current D0
cap 05[d0] = MSI supports 1 message, 64 bit
cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1)
speed 2.5(2.5)
cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[140] = Serial 1 6805caffff17fef7
PCI-e errors = Correctable Error Detected
Unsupported Request Detected
Corrected = Advisory Non-Fatal Error
xhci1@pci0:4:0:0: class=0x0c0330 card=0x50071458 chip=0x70231b6f rev=0x01 hdr=0x00
class = serial bus
subclass = USB
cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[70] = MSI supports 4 messages, 64 bit, vector masks
cap 10[a0] = PCI-Express 2 endpoint max data 128(1024) FLR link x1(x1)
speed 5.0(5.0)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[190] = Serial 1 0101010101010101
PCI-e errors = Correctable Error Detected
Unsupported Request Detected
Corrected = Advisory Non-Fatal Error
ath0@pci0:5:6:0: class=0x028000 card=0x0300168c chip=0x002d168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR9287 Wireless Network Adapter'
class = network
cap 01[44] = powerspec 2 supports D0 D3 current D0
fxp0@pci0:5:7:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00
vendor = 'Intel Corporation'
device = '82557/8/9/0/1 Ethernet Pro 100'
class = network
subclass = ethernet
cap 01[dc] = powerspec 2 supports D0 D1 D2 D3 current D0
none2@pci0:5:14:0: class=0x0c0010 card=0x10001458 chip=0x30441106 rev=0xc0 hdr=0x00
vendor = 'VIA Technologies, Inc.'
device = 'VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller'
class = serial bus
subclass = FireWire
cap 01[50] = powerspec 2 supports D0 D2 D3 current D0
[-- Attachment #3 --]
Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBA9A2E3-3323-4069-9E58-ED4C431FDE4E>
