[klibc] Bug#584583: initramfs-tools: configure_networking function: repeatedly makes DHCP requests

maximilian attems max at stro.at
Tue Jul 6 05:14:32 PDT 2010


On Fri, 04 Jun 2010, Vagrant Cascadian wrote:

> Package: initramfs-tools
> Version: 0.95.1
> Severity: normal
> 
> i've been testing the newest initramfs-tools network booting support, though it
> seems to make 10 DHCP requests in rapid sucession. fortunately, the last DHCP
> request does work. switching back to hard-coded DEVICE=eth0 in
> /etc/initramfs-tools/initramfs.conf doesn't trigger this issue, oddly enough.
> 

could you compile klibc ipconfig with debug on,
although it is possible to pass it on the command line it seems
dash breaks the klibc build with global debug on, thus this is easiest:

# you may skip first step if you have already current klibc sources
cd ~/src && git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git && cd klibc
~/src/klibc$ echo "EXTRA_KLIBCCFLAGS := -DDEBUG=1" >> usr/kinit/ipconfig/Kbuild
~/src/klibc$ make  KLIBCKERNELSRC=`pwd`/../linux-2.6

third step assumes built ~/src/linux-2.6 aka make defconfig, make there.

now you need to put that debug ipconfig in the initramfs of where
you are seeing that loop. it be interested in the log that ipconfig
outputs.

thanks.



More information about the klibc mailing list