[Bug 543069] New: rescue mode doesn't work when PXE booting
http://bugzilla.novell.com/show_bug.cgi?id=543069 Summary: rescue mode doesn't work when PXE booting Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: peters-novell@techwiz.ca QAContact: jsrain@novell.com Found By: Beta-Customer I downloaded the OpenSuse 11.2M7 32bit DVD and made it work for PXE boot over network. Installing that way works fine but if I want to get into rescue mode I get an error when it tries to configure the network It seems like instead of doing "ifconfig eth0" it does "ifconfig <MAC>", complains about interface not found and fails. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User meissner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |snwint@novell.com |ovo.novell.com | --- Comment #1 from Marcus Meissner <meissner@novell.com> 2009-10-02 00:37:29 MDT --- steffen perhaps -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User snwint@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c2 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Steffen Winterfeldt <snwint@novell.com> 2009-10-02 06:23:09 MDT --- Sorry, I cannot reproduce this. Maybe describe in more detail what you did and attach a screenshot. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User peters-novell@techwiz.ca added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c3 --- Comment #3 from Peter Sjoberg <peters-novell@techwiz.ca> 2009-10-03 22:57:21 MDT --- Did some more testing and I think it's related to "ipappend 2" which appends the MAC of the nic to use for pxe booting. reproduce, ok, this is how I did it (almost exactly, just shorter paths here) #on server Download openSUSE-DVD-Build0307-i586.iso mount -o loop,ro openSUSE-DVD-Build0307-i586.iso /osbuild cp /osbuild/boot/i386/loader/{linux,initrd /tftpboot cp /usr/share/syslinux/pxelinux.0 /tftpboot nfsexport /osbuild cat >/tftpboot/pxelinux.cfg/default <<EOF default suse112r label suse112r kernel linux append netdevice=bootif initrd=initrd load_ramdisk=1 install=nfs://172.21.15.18/osbuild/ rescue ipappend 2 EOF #in dhcpd.conf host clientname { hardware ethernet 00:15:c5:ad:4d:ce fixed-address 172.21.15.52; next-server 172.21.15.18; filename "pxelinux.0"; } #On pc pxe boot it loads linux and initrd but then it complains that it can't find the repository. Starting up up the network fails complaining that it doesn't like 00:15:c5:ad:4d:ce as a interface name. if I drop "rescue" from the append line everything works fine (I installed the os that whay) if I remove netdevice=bootif and ipappend I have problem on any system with >1 nic (which in my case is most of them) since then it defaults to eth0 and I'm booting from eth1/2/3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User peters-novell@techwiz.ca added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c4 Peter Sjoberg <peters-novell@techwiz.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #4 from Peter Sjoberg <peters-novell@techwiz.ca> 2009-10-06 11:55:13 MDT --- added how to reproduce -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User snwint@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c5 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME --- Comment #5 from Steffen Winterfeldt <snwint@novell.com> 2009-10-13 08:10:25 MDT --- I've now tried pxe in all ways I could think of and it always worked. - I don't see how 'rescue' could make a difference; it's not related to network setup at all - netdevice=bootif is either wrong (if using literally 'bootif') or not necessary as the BOOTIF option that ipappend generates is already taken into account by linuxrc - there's no load_ramdisk option I will not rule it out completely that you can get the described message if you pass a nonexisting mac address via 'netdevice'. IIRC linuxrc will always try whatever was passed there literally if it can't make anything else of it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User snwint@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c6 --- Comment #6 from Steffen Winterfeldt <snwint@novell.com> 2009-10-13 08:24:22 MDT --- btw, bug 436955 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User peters-novell@techwiz.ca added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c7 Peter Sjoberg <peters-novell@techwiz.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #7 from Peter Sjoberg <peters-novell@techwiz.ca> 2009-10-15 12:50:18 MDT --- Done some more testing and I think the issue is around "manual install". When PXE booting and having "IPAPPEND 2" it uses the MAC ($BOOTIF) for network interface when it should use the nic (eth1) I removed netdevice=bootif (an load_ramdisk which I got from http://en.opensuse.org/SuSE_install_with_PXE_boot#Building_PXE_boot) and nothing changed as long as I still have ipappend there If I remove ipappend it will use the wrong nic and fail (I'm building from eth1). I tried to see where it fails and it seems like when I append "rescue" it doesn't start the network (F9 & "ifconfig -a" shows no nic up) It's something wrong around the logic on what nic to choose, when I remove "ipappend 2" it gets confused and ends up starting dhcp on eth0, get an ip and puts it on eth1 - where it then tries to mount the nfs share and fails since it's in the wrong network. On the good news list, I found that there is a difference between "rescue" and "rescue=1", the later works! I tested this back and forth a few times and for some reason adding "=1" makes a difference so even if the rest isn't fixed I can at least boot rescue even when I don't know what interface I pxe boot from I do wonder what ways you tried (besides "rescue=1") since just about every way I tried it fails when I pxe boot from eth1 (eth0 works for most cases) /ps -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User snwint@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c8 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |peters-novell@techwiz.ca --- Comment #8 from Steffen Winterfeldt <snwint@novell.com> 2009-10-16 03:30:06 MDT --- Yes, plain 'rescue' is wrong, see http://en.opensuse.org/Linuxrc. So, what exactly is not working? With 'ipappend 2' it should use the correct interface and without it tries eth0, then eth1. or not? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 User peters-novell@techwiz.ca added comment http://bugzilla.novell.com/show_bug.cgi?id=543069#c9 Peter Sjoberg <peters-novell@techwiz.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|peters-novell@techwiz.ca | --- Comment #9 from Peter Sjoberg <peters-novell@techwiz.ca> 2009-10-17 09:56:20 MDT --- if I put in "ipappend 2" and somehow endup in manual install it's no way to move on because when it tries to activate the network it uses a nic named as the mac instead of eth1. What seems to be missing in manual install mode is to detect that it's a mac, and then look for the corresponding nic name. On the road right now so I can't test it (back on Monday) but I would guess that if you for example pass no/wrong repository it can't automatically find it, you get thrown to "manual install" and from there it's no way to finish it because it will try to do something like "ifconfig 00:11:22:33:44:55' when it needs to find what nic has that mac and then do "ifconfig eth2" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543069 http://bugzilla.novell.com/show_bug.cgi?id=543069#c Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=543069 https://bugzilla.novell.com/show_bug.cgi?id=543069#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 11.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=543069 https://bugzilla.novell.com/show_bug.cgi?id=543069#c10 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #10 from Steffen Winterfeldt <snwint@suse.com> 2014-03-18 09:08:23 CET --- has been fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com