[Pkg-ltsp-devel] Bug#395145: booting hang up
Amadeu Júnior
amadeu at gmail.com
Fri Jun 1 05:11:26 UTC 2007
Hi guys,
I think that the problem around the hang up on ltsp-client booting
isn't with nfs mounting anymore.
I'm using initramfs-tools 0.88 and I have the same problem yet.. I
hacking the /usr/share/initramfs-tools/scripts/nfs to :
--- /usr/share/initramfs-tools/scripts/nfs 2007-05-26
19:41:03.000000000 -0300
+++ /opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs
2007-06-01 02:02:59.327580250 -0300
@@ -17,7 +17,13 @@
ipconfig ${DEVICE}
;;
dhcp|bootp|rarp|both)
+ echo "========== UGLY HACK ========="
+ echo "Calling the ifconfig for help.."
+ ifconfig ${DEVICE} up
+ sleep 5
+ echo "Now calling the ipconfig for main configuration"
ipconfig -c ${IPOPTS} -d ${DEVICE}
+ echo "========== UGLY HACK ========="
;;
*)
ipconfig -d $IPOPTS
@@ -87,6 +93,8 @@
modprobe nfs
# For DHCP
modprobe af_packet
+
+ do_nfsmount
# Default delay is around 180s
# FIXME: add usplash_write info
Look that I copied the /sbin/ifconfig to /usr/lib/klibc/bin !! Sorry
for this.. but it was needed for testing.. eheh
With this workaround it works.
So I think that the real problem is the ipconfig, because it freeze
the machine. I've tested to insert many ipconfig for debug and only
the first was executed. So.. I've read the sources of klibc but I'm
not able to understand that.
I hope this helps you... :)
--
Amadeu Jr. :: twiki.dcc.ufba.br/~AmadeuJunior
More information about the Pkg-ltsp-devel
mailing list