Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#4377 closed bug (fixed)

broadcom570x: DHCP does not work when plugging in cable after boot

Reported by: PieterPanman Owned by: axeld
Priority: normal Milestone: R1
Component: Drivers/Network Version: R1/Development
Keywords: Cc: umccullough, bergep@…
Blocked By: Blocking:
Platform: All

Description

hrev32819. When I have my network cable plugged in on boot, it gets the ip address just fine through DHCP. However, when I boot with the cable unplugged, and plug it in a few minutes after haiku booted up, it does not get the proper IP address, but maintains the private address. Possibly something with the freebsd compat layer? Looking at the syslog, it seems that it tries to get the DHCP address anyway, even though the cable is not connected. Is that normal?

Attachments (7)

syslog_dhcp_fail (92.6 KB ) - added by PieterPanman 15 years ago.
ifconfig_plugged_in_on_boot.txt (647 bytes ) - added by PieterPanman 15 years ago.
ifconfig_unplugged_on_boot.txt (545 bytes ) - added by PieterPanman 15 years ago.
ifconfig_unplugged_on_boot_then_plugged_in.txt (648 bytes ) - added by PieterPanman 15 years ago.
ifconfig_unplugged_on_boot_then_plugged_in_then_autoconfig.txt (648 bytes ) - added by PieterPanman 15 years ago.
ifconfig_down.txt (645 bytes ) - added by PieterPanman 15 years ago.
ifconfig_down_then_up.txt (663 bytes ) - added by PieterPanman 15 years ago.

Download all attachments as: .zip

Change History (19)

by PieterPanman, 15 years ago

Attachment: syslog_dhcp_fail added

comment:1 by umccullough, 15 years ago

FWIW, I think every one of my machines probably exhibits this same behavior (different drivers).

I think it's lack of link state notification?

comment:2 by jackburton, 15 years ago

Same here with a RTL8102E NIC.

comment:3 by axeld, 15 years ago

Component: - GeneralDrivers/Network

That should only happen if the link status is not propagated correctly. Can you please add the output of "ifconfig"? Also, does DHCP work if you trigger it manually via "ifconfig /dev/net/... auto-config"?

comment:4 by PieterPanman, 15 years ago

I booted with cable disconnected, pluggged it in after a minute and then tried the auto-config. It results in the same messages in the syslog as when I just plugged in the cable, with a DHCP timeout. Attached are the ifconfig logs.

by PieterPanman, 15 years ago

by PieterPanman, 15 years ago

by PieterPanman, 15 years ago

Attachment: ifconfig_down.txt added

by PieterPanman, 15 years ago

Attachment: ifconfig_down_then_up.txt added

comment:5 by PieterPanman, 15 years ago

Also, when I down the interface, and then bring it back up, the errors quickly build up. See the last two ifconfigs.

comment:6 by umccullough, 15 years ago

Cc: umccullough added

comment:7 by thetick, 15 years ago

Cc: bergep@… added

comment:8 by axeld, 14 years ago

Version: R1/pre-alpha1R1/Development

Can you retry with hrev34466?

comment:9 by PieterPanman, 14 years ago

I would like to, but unfortunately my laptop with the broadcom chip passed away. Perhaps some of the others that experienced the same issues can retest? I might try with my other system if I have time.

comment:10 by thetick, 14 years ago

This appears fixed for me using hrev34909.

I had this problem with Alpha 1. Below is my ethernet hardware: device Network controller (Ethernet controller) [2|0|0]

vendor 8086: Intel Corporation device 1229: 82557/8/9/0/1 Ethernet Pro 100

I booted without the ethernet cable and verified I had the 169.... bad ipaddress I used the network applet to enable dhcp and got a vaild ip address from my router. Thanks Alex. Not sure if this can be closed since I was only able to test this with the epro100 driver.

comment:11 by jackburton, 14 years ago

Resolution: fixed
Status: newclosed

Works for me too. Closing, since PieterPanman can't test, and the bug is fixed for me and thetick.

comment:12 by PieterPanman, 14 years ago

Well, not related to the original device, but it works fine for the ipro1000 with this device: 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03) Thanks!

Note: See TracTickets for help on using tickets.