Fixed in 024, thx to whoever made that happen :) On Sat, Aug 25, 2012 at 4:21 PM, Wim Muskee <wimmuskee@xxxxxxxxx> wrote: > My Gentoo Dracut 023 image won't boot from an nbd block device. > > The booting image connects to the nbd export, but continues looping > some checks until it says it won't boot. The the correct mount command > shows up in /lib/dracut/hooks/mount/01-1151-nbd.sh and I can even use > that command to actually mount the disk when I get dropped to the > shell: > /bin/mount -t squashfs -o ro /dev/nbd0 /sysroot > > pxelinux append: APPEND initrd=ltsp/i686/nbdtest-initramfs-3.3.8 > root=dhcp init=/sbin/init-ltsp > dnsmasq http opt: option:root-path,nbd:192.168.0.1:ltsp:squashfs:ro > > > The loop (with help of rdinitdebug and rdudevdebug flags) > /lib/dracut-lib.sh@319(check_finished): local f > /lib/dracut-lib.sh@320(check_finished): for f in > '$hookdir/initqueue/finished/*.sh' > /lib/dracut-lib.sh@321(check_finished): '[' > /lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh = '/li$ > /lib/dracut-lib.sh@322(check_finished): '[' -e > /lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh ']' > /lib/dracut-lib.sh@322(check_finished): . > /lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh > //lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh@1(source): '[' > -f /tmp/setup_net_eth0.ok ']' > /lib/dracut-lib.sh@320(check_finished): for f in > '$hookdir/initqueue/finished/*.sh' > /lib/dracut-lib.sh@321(check_finished): '[' > /lib/dracut/hooks/initqueue/finished/dhcp.sh = '/lib/dracut/$ > /lib/dracut-lib.sh@322(check_finished): '[' -e > /lib/dracut/hooks/initqueue/finished/dhcp.sh ']' > /lib/dracut-lib.sh@322(check_finished): . > /lib/dracut/hooks/initqueue/finished/dhcp.sh > //lib/dracut/hooks/initqueue/finished/dhcp.sh@1(source): '[' -d > /sysroot/proc -o -e /dev/root ']' > /lib/dracut-lib.sh@322(check_finished): return 1 > /init@172(): udevadm settle --timeout=0 > /init@174(): for job in '$hookdir/initqueue/settled/*.sh' > /init@175(): '[' -e /lib/dracut/hooks/initqueue/settled/nbd.sh ']' > /init@176(): job=/lib/dracut/hooks/initqueue/settled/nbd.sh > /init@176(): . /lib/dracut/hooks/initqueue/settled/nbd.sh > //lib/dracut/hooks/initqueue/settled/nbd.sh@1(): '[' -e /dev/root ']' > ///lib/dracut/hooks/initqueue/settled/nbd.sh@1(): udevadm info > --query=env --name=/dev/nbd0 > //lib/dracut/hooks/initqueue/settled/nbd.sh@1(): info='UDEV_LOG=3 > DEVPATH=/devices/virtual/block/nbd0 > MAJOR=43 > MINOR=0 > DEVNAME=nbd0 > DEVTYPE=disk > SUBSYSTEM=block' > //lib/dracut/hooks/initqueue/settled/nbd.sh@1(): '[' -z 'UDEV_LOG=3 > DEVPATH=/devices/virtual/block/nbd0 > MAJOR=43 > MINOR=0 > DEVNAME=nbd0 > DEVTYPE=disk > SUBSYSTEM=block' ']' > /init@177(): check_finished > /lib/dracut-lib.sh@319(check_finished): local f > /lib/dracut-lib.sh@320(check_finished): for f in > '$hookdir/initqueue/finished/*.sh' > /lib/dracut-lib.sh@321(check_finished): '[' > /lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh = '/li$ > /lib/dracut-lib.sh@322(check_finished): '[' -e > /lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh ']' > /lib/dracut-lib.sh@322(check_finished): . > /lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh > //lib/dracut/hooks/initqueue/finished/dhclient-eth0.sh@1(source): '[' > -f /tmp/setup_net_eth0.ok ']' > /lib/dracut-lib.sh@320(check_finished): for f in > '$hookdir/initqueue/finished/*.sh' > /lib/dracut-lib.sh@321(check_finished): '[' > /lib/dracut/hooks/initqueue/finished/dhcp.sh = '/lib/dracut/$ > /lib/dracut-lib.sh@322(check_finished): '[' -e > /lib/dracut/hooks/initqueue/finished/dhcp.sh ']' > /lib/dracut-lib.sh@322(check_finished): . > /lib/dracut/hooks/initqueue/finished/dhcp.sh > //lib/dracut/hooks/initqueue/finished/dhcp.sh@1(source): '[' -d > /sysroot/proc -o -e /dev/root ']' > /lib/dracut-lib.sh@322(check_finished): return 1 > /init@180(): udevadm settle --timeout=0 > /init@183(): sleep 0.5 > /init@186(): '[' 1 -gt 40 ']' > /init@194(): main_loop=2 > /init@195(): '[' 2 -gt 60 ']' > /init@154(): : > /init@156(): check_finished > > Not sure if a bug or me doing something wrong. -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html