[Bug 604401] New: Xen para-virtualized guest boots native kernel
http://bugzilla.novell.com/show_bug.cgi?id=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c0 Summary: Xen para-virtualized guest boots native kernel Classification: openSUSE Product: openSUSE 11.3 Version: Milestone 6 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: jsrain@novell.com ReportedBy: carnold@novell.com QAContact: jdouglas@novell.com Found By: Development Blocker: --- When installing a para-virtualized Xen guest, the /boot/grub/menu.lst file defaults to booting the native kernel instead of the Xen kernel. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@novell.com |jreidinger@novell.com -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c1 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |carnold@novell.com --- Comment #1 from Josef Reidinger <jreidinger@novell.com> 2010-05-11 07:01:30 UTC --- Hi, please attach yast logs - http://en.opensuse.org/Bugs/YaST#I_reported_a_YaST2_bug.2C_and_now_I_am_aske... . Also how do you install in this para-virtualized quest? via DVD? -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c2 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|carnold@novell.com | --- Comment #2 from Charles Arnold <carnold@novell.com> 2010-05-11 13:35:09 UTC --- Created an attachment (id=361310) --> (http://bugzilla.novell.com/attachment.cgi?id=361310) YaST logs from the PV guest (In reply to comment #1)
Hi, please attach yast logs - Also how do you install in this para-virtualized quest? via DVD?
The guest was installed via the network (ftp). Note that the first part of the install works fine through the file copy. It is on the reboot that the guest tries to boot the native kernel. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c3 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@novell.com AssignedTo|jreidinger@novell.com |juhliarik@novell.com --- Comment #3 from Josef Reidinger <jreidinger@novell.com> 2010-05-11 13:42:51 UTC --- jozo - problem looks that it is on your side. You set as default during installation vmlinuz without flavor, so I keep default flavor after installation and not xen one. So if you create vmlinux-xen which is default one I keep 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c5 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |lslezak@novell.com --- Comment #5 from Jozef Uhliarik <juhliarik@novell.com> 2010-05-17 12:23:21 UTC --- You are right default kernel is different from XEN but IMHO it is not problem because booting of XEN run different way. Charles maybe you can explain why it is so hard problem for you? Lado could you add comment here please? -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c6 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|lslezak@novell.com |carnold@novell.com --- Comment #6 from Ladislav Slezak <lslezak@novell.com> 2010-05-17 14:44:48 UTC --- Um, I don't know how the domU bootloader works exactly (it's a Python script IIRC). Maybe it uses the default kernel regardless the flavor (xen vs. standard). Arnold, does it help to make the xen kernel default? Does is boot correctly then? -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c7 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|carnold@novell.com | --- Comment #7 from Charles Arnold <carnold@novell.com> 2010-05-17 16:14:38 UTC --- (In reply to comment #6)
Um, I don't know how the domU bootloader works exactly (it's a Python script IIRC). Maybe it uses the default kernel regardless the flavor (xen vs. standard).
Arnold, does it help to make the xen kernel default? Does is boot correctly then?
Correct. Changing the 'default' field in menu.lst to use the xen entry solves the problem. Pygrub is the bootloader used to start PV guests and it relies on menu.lst. FWIW, in sles11sp1 there is only one entry in the menu.lst file for a para-virtualized sles11sp1 guest and it is the Xen kernel entry. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c8 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED --- Comment #8 from Jozef Uhliarik <juhliarik@novell.com> 2010-05-19 08:02:10 UTC --- Hi Charles I added fix to yast2-bootloader 2.19.14 and I also sent to Factory. Feel free to reopen bug if it doesn't help. It should set xen kernel as default boot kernel in menu.lst during installation. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c9 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #9 from Charles Arnold <carnold@novell.com> 2010-06-01 20:15:28 UTC --- This is not fixed in Milestone 7. The menu.lst file still defaults to the native kernel instead of the Xen kernel. When testing a PV guest on Milestone 7, you will need an updated Factory Xen kernel for dom0 in order to install and test a PV guest because of another unrelated bug. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c10 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |carnold@novell.com --- Comment #10 from Jozef Uhliarik <juhliarik@novell.com> 2010-06-02 09:02:54 UTC --- Could you attach yast logs please? -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c11 --- Comment #11 from Jozef Uhliarik <juhliarik@novell.com> 2010-06-02 14:15:41 UTC --- I tried to reproduce your problem and install Milestone 7 to domU. It works as it is accepted/required. If there is detected that installation run in domU y2-bootloader check all boot sections and try to find XEN and set it as default boot section. There is not changed order of boot sections in memu.lst but default boot section is changed. Maybe I don't understand what is wrong there. Please attach YaST2 logs and let me know what is wrong and where it is necessary to set default boot section to XEN. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c12 --- Comment #12 from Charles Arnold <carnold@novell.com> 2010-06-02 14:44:17 UTC --- Created an attachment (id=366432) --> (http://bugzilla.novell.com/attachment.cgi?id=366432) menu.lst file for the guest (before changing the 'default' field) -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c13 --- Comment #13 from Charles Arnold <carnold@novell.com> 2010-06-02 14:53:47 UTC --- Created an attachment (id=366435) --> (http://bugzilla.novell.com/attachment.cgi?id=366435) Logs for PV guest install NOTE: These logs were captures AFTER manually mounting the image and changing menu.lst to default to the Xen kernel and then booting the image to run save_y2logs. -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|carnold@novell.com | -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c14 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED --- Comment #14 from Jozef Uhliarik <juhliarik@novell.com> 2010-06-02 15:10:29 UTC --- there was a problem in late calling of my fix. I changed default boot section too late and my changes were without required effect. The fix was added to yast2-bootlaoder 2.19.15 The package was already sent to Factory -- 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=604401 http://bugzilla.novell.com/show_bug.cgi?id=604401#c15 --- Comment #15 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (604401) was mentioned in https://build.opensuse.org/request/show/40313 Factory / yast2-bootloader -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com