Using kernel 2.6.12[.x] I only get an IP from my dhcp server during the boot sequence. If I later run "/etc/init.d/net.eth0 restart" it fails. The problem does not exist in 2.6.11.x Reproducible: Always Steps to Reproduce: 1. Boot the system and get an IP via DHCP 2. Run /etc/init.d/net.eth0 restart 3. Actual Results: I don't get a new IP Expected Results: Given me a new IP Computer: Dell Inspiron 5150 Netcard: Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01) Kernel: vanilla A couple of (perhaps) useful line from /var/log/syslog Jul 15 19:03:58 caesar dhcpcd[8780]: terminating on signal 15 Jul 15 19:04:03 caesar kernel: b44: eth0: Link is up at 100 Mbps, full duplex. Jul 15 19:04:03 caesar kernel: b44: eth0: Flow control is on for TX and on for RX. Jul 15 19:04:11 caesar kernel: eth0: no IPv6 routers present Jul 15 19:04:13 caesar kernel: NETDEV WATCHDOG: eth0: transmit timed out Jul 15 19:04:13 caesar kernel: b44: eth0: transmit timed out, resetting Jul 15 19:04:13 caesar kernel: b44: eth0: Link is down. Jul 15 19:04:16 caesar kernel: b44: eth0: Link is up at 100 Mbps, full duplex. Jul 15 19:04:16 caesar kernel: b44: eth0: Flow control is on for TX and on for RX. Jul 15 19:04:20 caesar dhcpcd[3971]: timed out waiting for a valid DHCP server response Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20041102-r1, 2.6.12.2 i686) ================================================================= System uname: 2.6.12.2 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r1, 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d aac aalib acpi acpi4linux aliaschain alsa apache2 artworkextra auctex audiofile avi bash-completion bcmath bdf beep beepmp bidi bigger-fonts bitmap-fonts blender-game bootsplash bzip2 bzlib calendar cap cdda cddb cdinstall cdio cdparanoia cdr cdrom chroot clanJavaScript clanVoice clisp cln cluster cmucl cnamefix codecs cpdflib cracklib crypt cscope css ctype cups curl curlwrappers dbase dbm dbx devfs26 devmap dga dillo dio disablexmb distcache divx4linux dlopen dnd dnsdb dts dv dvd dvdread edl eds emacs emacs-w3 emoticon emul-linux encode escreen evms2 evo exif exim faad fame ffmpeg fftw flac flash fmod font-server foomaticdb foreign-package foreign-sysvinit fpx freetds freetype ftp gb gcj gcl gd gif gimp gimpprint ginac gkrellm glade glep glgd glut gmthigh gmtsuppl gmttria gnome gnomedb gnuplot gnustep gpg graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp httpd icq idea imagemagick imap imlib imlib2 immqt immqt-bc innodb ipv6 ipv6arpa jabber java javacomm javamail javascript jbig jce jikes jp2 jpeg jpeg2k junit justify koffice-plugin latex lcms leim lesstif libcaca libedit libwww live lua lufsusermount lynxkeymap lzo lzw lzw-tiff mad mailbox maildir make-busybox-symlinks makecheck maps matroska mbox md5sum mdb memlimit mime ming mixer mjpeg mmx mng monkey mono motif mozdevelop mozilla mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn mule multi-tty multipleip multislot music mysql mythtv mzscheme native ncurses net netbeans nethack network nls nntp no-old-linux nocd nptl nvidia offensive ogg oggvorbis ooo-kde openal opengl oss pam pcntl pdf pdflib perl perlsuid php pic pie playlist plotutils png portaudio posix postgres ppds python qmail qt quicktime readline real roundrobin rtc samba sbcl sdl semanticfix sendfile server session sftplogging shaper silverxp simplexml slp sndfile sockets sounds spell spl sqlite sqlite3 sse sse2 ssl stream svg svga syslog tcltk tcpd tetex tga threads tiff tokenizer transcode truetype truetype-fonts type1 type1-fonts uml underscores unicode uptimed usb utf8 videos vidix vim vim-with-x virus-scan vlm vnc vorbis withsamplescripts wma123 wmf wsconvert wxwindows xanim xchatdccserver xchattext xemacs xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xslt xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Hrm, this may be related to a similar issue I've seen with the b44 driver off and on in the past. I have yet to try my b44 interface with the 2.6.12, I'll poke around and see if I can reproduce this.
I also see the watchdog message and the interface reset every single time. Right now it doesn't cause a problem for me, but maybe that's just because my dhcp server is responding just at the right time to avoid the reset and dhcpcd's timeout. I've found lots of reports of this and other issues with the b44 but no solutions. As a temporary workaround you could try upping the interface before the init script starts dhcpcd. That way b44 can do it's little reset before hand and doesn't get in the way of dhcp. Something in /etc/conf.d/net like this should do it: preup() { ifconfig ${IFACE} up sleep 14 return 0 }
Is this reproducable with vanilla-sources-2.6.13_rc3?
(In reply to comment #3) > Is this reproducable with vanilla-sources-2.6.13_rc3? There are still NETDEV WATCHDOG messages for me on 2.6.13-rc3, If that is the reason Peter can't get anything via dhcp I don't know for sure, but my previous suggestion should help determin that.
(In reply to comment #4) > (In reply to comment #3) > > Is this reproducable with vanilla-sources-2.6.13_rc3? > > There are still NETDEV WATCHDOG messages for me on 2.6.13-rc3, If that is the > reason Peter can't get anything via dhcp I don't know for sure, but my previous > suggestion should help determin that. I have upgraded to vanilla-sources-2.6.13-r1 (the latest in portage). If I add the preup from comment #2 it works fine. In the log file I can also see a message like: NETDEV WATCHDOG: eth0: transmit timed out I must admit that I don't know what this means, because everything seems to be working fine :-? btw Sorry for this late reply. I have been on vacation the last couple of days.
(In reply to comment #5) <snip> > I have upgraded to vanilla-sources-2.6.13-r1 (the latest in portage). Sorry, old portage tree. But 2.6.13-r3 gives me an Ups during the boot process so that it not very usefull for me. The sleep in the preup does not apear to be necessary (in my case).
I'm guessing there is some magical timing issue that just happened to show on your config/hardware in 2.6.12 (it did for me in 2.6.11 or 10 I think). But I have no idea what's going on, this isn't the only big in the driver either. Glad it works on 2.6.13 though.
Any luck with vanilla-sources-2.6.13_rc4, without the preup sleep?
I'm having a very similar problem under a rather different environment. The workaround involving the preup() function works for me. In my case, dhcpcd does not work, period, without first doing 'ifconfig eth0 up' and then sleeping a while. My system is quite a bit different. Ethernet driver: tg3 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02) uname -a: Linux m00 2.6.12-gentoo-r6 #1 SMP Fri Jul 29 10:22:49 PDT 2005 x86_64 AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux emerge info: Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/common/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/common/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/nfs/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi avi berkdb bitmap-fonts crypt cscope cups encode esd f77 fam firefox font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 hal imlib ipv6 jpeg logrotate lzw lzw-tiff mp3 mpeg ncurses nfs nls nptl nptlonly opengl pam pdflib perl png python qt quicktime readline ruby sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Please open a new bug for tg3 issues.
Peter, please test with 2.6.13_rc6 (soon to be released), and file a bug at http://bugzilla.kernel.org if the issue still exists. Another user recently reported this problem by email, but the current kernel maintainer has stated he'd prefer to track all bugs via the kernel bugzilla. Please post the upstream bug URL here once it is filed. Thanks.
(In reply to comment #11) > Peter, please test with 2.6.13_rc6 (soon to be released), and file a bug at > http://bugzilla.kernel.org if the issue still exists. Another user recently > reported this problem by email, but the current kernel maintainer has stated > he'd prefer to track all bugs via the kernel bugzilla. > > Please post the upstream bug URL here once it is filed. Thanks. I simply cannot get my system to run with kernel 2.6.13 so I had to make a bug report on that instead (sorry). http://bugs.gentoo.org/show_bug.cgi?id=101884