Summary: | dhcpcd-3.1 - DUID (vram) causes DHCP failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Förster <Dessa> |
Component: | Current packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | albert+gentoo-bugzilla, gentoo, Michael.Gaber |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dhcpcd-3.0.19
dhcpcd-3.1.1 dhcpcd-3.1.1-vram successful with pump-0.8.24 with 3.0.19 with 3.1.1 without vram with 3.1.1 with vram 3.1.1 with new firmware |
Description
Robert Förster
2007-07-25 09:12:13 UTC
I have the save problem with dhcpcd 3.1.0. 3.0.19 work fine for me too. /var/log/messages (fragment) Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: dhcpcd 3.1.0 starting Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: hardware address = xx:xx:xx:xx:xx:xx Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: DUID = xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: broadcasting for a lease Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: offered 10.113.4.126 from 192.168.4.1 Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: checking 10.113.4.126 is available on attached networks Jul 25 13:06:02 che-lap ifplugd(eth0)[8167]: client: Error, eth0: ARPOP_REPLY received from 10.113.4.126 (0:18:f3:dd:4e:14) Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: ARPOP_REPLY received from 10.113.4.126 (0:18:f3:dd:4e:14) Jul 25 13:06:02 che-lap dhcpcd[8302]: eth0: sleeping for 10 seconds emerge --info Portage 2.1.3_rc9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6-r0, 2.6.20-gentoo-r3 i686) ================================================================= System uname: 2.6.20-gentoo-r3 i686 Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz Gentoo Base System release 2.0.0_alpha4 Timestamp of tree: Tue, 24 Jul 2007 07:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/che" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 aac aalib acl acpi administrator alsa amr apache2 applet asx avcodec avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cdaudio cdr chm chroot cli cracklib crypt ctype cups curl daap dbus directfb disk-partition diskwrite djvu dlloader dmx dri dts dvd dvdnav dvdr dvdread eds emboss emerald enca encode eq esd evo exif fam fastbuild fastcgi fbcon fbsplash ffmpeg firefox flac fortran ftp galago gd gdbm gdl gedit gif glibc-omitfp glitz gnome gpm gs gsf gstreamer gtk gtkhtml hal hpn iconv idn imagemagick imap imlib inkjar ipod ipv6 isdnlog java jbig jpeg json kerberos keyring lame lastfm lcms ldap libburn libedit libg++ libnotify libsexy logrotate mad midi mikmod mmap mms mmx mmxext mng modplug mono mozdevelop mp2 mp3 mp4 mpeg mplayer mpm-worker mudflap musepack mysql nas nautilus ncurses network nls nptl nptlonly nsplugin nvtv objc objc++ objc-gc ofa ogg ole openal opengl openmp oss pam pccts pcmcia pcre pdf pdflib pdo perl plugin png ppds pppd prediction python qt3support query-browser quicktime rar readline real reflection resolvconf rss rtc ruby samba savedconfig sdl session shout slang slp smp soap sockets socks5 speex spell spl sqlite srt sse sse2 ssl startup-notification svg svga syslog tcpd theora threads thumbnailing tidy tiff totem truetype truetype-fonts type1-fonts ucs2 udev unicode upnp usb v4l v4l2 vcd vim vim-syntax vorbis wavpack win32codecs workbench x264 x86 xanim xext xforms xine xinetd xml xmlreader xmlrpc xmlwriter xorg xscreensaver xsl xspf xv xvid xvmc zip zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS @ Robert Förster - does it work if you enable the vram USE flag? @ Alexandr - your bug is different, please open a new one. @ Both - bugs are MUCH easier to read if you attach logs and emerge --info instead of just pasting into comments. *** Bug 186589 has been marked as a duplicate of this bug. *** enabling the vram useflag fixed that for me, yes. thanks :) (In reply to comment #4) > enabling the vram useflag fixed that for me, yes. > thanks :) OK, could I get wireshark traces of the dhcp transaction both with and without the vram USE flag and if you can, state the dhcp server version. Created attachment 126451 [details]
dhcpcd-3.0.19
wireshark capture dhcpcd-3.0.19
Created attachment 126452 [details]
dhcpcd-3.1.1
wireshark capture from dhcpcd-3.1.1 without vram useflag set
Created attachment 126454 [details]
dhcpcd-3.1.1-vram
wireshark capture for dhcpcd-3.1.1 with vram useflag set
Created attachment 126455 [details]
successful with pump-0.8.24
wireshark capture for successful dhcp with pump-0.8.24
@ Michael Gaber - What DHCP server is that? If only pump works (as those captures show) then I suggest the DHCP server is faulty. Do other clients such as dhclient or udhcpc work or dhcpcd-2.x work? Created attachment 126463 [details]
with 3.0.19
Created attachment 126465 [details]
with 3.1.1 without vram
Created attachment 126467 [details]
with 3.1.1 with vram
it's the embedded dhcp-server of my fritz!box i submittet new dumps, all except USE="-vram" 3.1.1 are working hope that heps You should be able to telnet into the fritz box. Once in could you tell me the dhcp server software used - it's probably dnsmasq, dhcp or udhcp. I need to know the version used. Also, the config file for it would be handy. I don't think dhcpcd is doing anything wrong at this time. i did. the server is "multid" which serves for many purposes including DHCP (have a look at http://www.wehavemorefun.de/fritzbox/index.php/Was_macht_multid if you speak german) i don't know which version, but it was the last firmware version. I'll try tomorrow with the new version i applied today (In reply to comment #16) > the server is "multid" which serves for many purposes including DHCP (have a > look at http://www.wehavemorefun.de/fritzbox/index.php/Was_macht_multid if you > speak german) OK, multid apparently runs out of leases too easily. Leases are stored by clientID. With most dhcp clients, that's the MAC address. Starting with dhcpcd-3.1 we now generate a DUID instead (which is RFC compliant). This does have the downside of taking a new lease. So you may have run out. To test, do this on the fritz box to clear the leases. killall multid rm /var/flash/multid.leases multid& See if that helps any Created attachment 126516 [details]
3.1.1 with new firmware
i tried today with the new firmware and it seems it was a bug in the old one, at least dhcpcd works fine now... i think
OK. As the OP hasn't responded we'll mark this as WORKSFORME |