This bug could be exactly my problem. A diff from version 12.3/13.1 boot-storage.sh shows the difference... maybe i try with a newly created initrd. meanwhile i changed/added following to boot params.. nfsroot=172.18.0.1:/exports/delta,nfsvers=3 ipv6.disable=1 debug=1 On Feb 27 2014 09:01, Per Jessen wrote:
Date: Thu, 27 Feb 2014 09:01:33 +0100 From: Per Jessen <per@computer.org> To: opensuse@opensuse.org Subject: Re: [opensuse] remote and diskless install - mkinitrd
Paul Neuwirth wrote:
That's right. dhcpcd is called before interface lo is set up (this is going to be done at the end of 12-network.sh) and performs a dns lookup of the own host (23.0.18.172.in-addr.arpa) - but dhcpcd is launched with "dhcpcd -R -Y -N", so resolving will not succeed at this point.
I don't think that this is the real problem. Actually think the initrd is kind of broken:
the relevant part of run_all.sh: if [ "$interface" -o "$dhcp" -o "$ip" -o "$nfsaddrs" -o "$drvlink" ]; then modules="af_packet $bonding_module" [ "$debug" ] && echo running 12-network.sh source boot/12-network.sh [ "$modules" ] && load_modules fi [ "$debug" ] && echo preping 21-devinit_done.sh [ "$debug" ] && echo running 21-devinit_done.sh source boot/21-devinit_done.sh [ "$modules" ] && load_modules [ "$debug" ] && echo preping 21-nfs.sh [ "$rootfstype" ] || rootfstype='nfs' if [ "$rootfstype" = "nfs" -o "$need_nfs" ]; then [ "$debug" ] && echo load nfs modules modules="nfs nfsv2 nfsv3 nfsv4" [ "$debug" ] && echo running 21-nfs.sh source boot/21-nfs.sh [ "$modules" ] && load_modules fi [ "$debug" ] && echo preping 81-mount.sh [ "$rootdev" ] || rootdev='172.18.0.1:/exports/delta' if [ ! "$root_already_mounted" ]; then [ "$debug" ] && echo running 81-mount.sh source boot/81-mount.sh [ "$modules" ] && load_modules fi [ "$debug" ] && echo preping 82-remount.sh
[ "$debug" ] && echo running 82-remount.sh source boot/82-remount.sh [ "$modules" ] && load_modules
reading the output is difficult, kernel debug and script debug messages overlap... the last lines I see on my serial console: -the dns lookup error from dhcpcd "running 21-devNFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered Give root password for maintenance (or type Control-D to continue):"
after pressing CTRL-D it continues with 81-mount.sh
will have to find out where exactly this happens.. continuing this weekend.. any possibility to get the output more verbose (which shell script steps being executed?) without putting echo's everywhere?
Use debug=1, but you have already, right?
Apart from mkinitrd not properly recognizing that root in on NFS, and a recent bug https://bugzilla.novell.com/show_bug.cgi?id=861218, I have not had any real issues with booting from nfsroot. Uh, I did at some point have to force NFS v3 though - can't remember why.
-- Per Jessen, Zürich (3.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org