Dieter Bloms
2013-Mar-14 20:06 UTC
pv-grub doesn''t work with opensuse 12.3 (Page fault at linear address 0x7f50277fe728)
Hi, I try to migrate my dom0 from alpinelinux to opensuse 12.3 and now my pv-grub config doesn''t work anymore. With alpinelinux as dom0 (with xen 4.2.1) I had no problem. With opensuse 12.3 as dom0 (with xen 4.2.1) I get the follwing error messages, when I try to start a domU with pv-grub: http://pastebin.com/PHLQKrsb the config file looks like: http://pastebin.com/jbtEgcnv when I change my config to use pygrub, I can start my domU with this configfile: http://pastebin.com/RJVerpRA Does anybody have a clue what the reason is for pv-grub can not be used ? -- Best regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won''t use my address in the From field.
Vijay Phadke
2013-Mar-15 01:32 UTC
Re: pv-grub doesn''t work with opensuse 12.3 (Page fault at linear address 0x7f50277fe728)
On Thu, Mar 14, 2013 at 1:06 PM, Dieter Bloms <xensource.com@bloms.de>wrote:> Hi, > > I try to migrate my dom0 from alpinelinux to opensuse 12.3 and now my > pv-grub config doesn''t work anymore. > With alpinelinux as dom0 (with xen 4.2.1) I had no problem. > With opensuse 12.3 as dom0 (with xen 4.2.1) I get the follwing error > messages, when I try to start a domU with pv-grub: > http://pastebin.com/PHLQKrsb > > the config file looks like: > http://pastebin.com/jbtEgcnv > > when I change my config to use pygrub, I can start my domU > with this configfile: > http://pastebin.com/RJVerpRA > > Does anybody have a clue what the reason is for pv-grub can not be used ? > > -- > Best regards > > Dieter > >Not sure but alpinelinux is uClibc/Busybox based vs OpenSUSE which is standard desktop version. Both are quite different, so I guess it might be the driver issue. Look at the dom0/domU kernel config and that might point to the problem. Also if you have used stock kernel it might not have necessary xen options in the kernel, check that as well. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-Mar-15 09:53 UTC
Re: pv-grub doesn''t work with opensuse 12.3 (Page fault at linear address 0x7f50277fe728)
On Thu, 2013-03-14 at 20:06 +0000, Dieter Bloms wrote:> Hi, > > I try to migrate my dom0 from alpinelinux to opensuse 12.3 and now my > pv-grub config doesn''t work anymore. > With alpinelinux as dom0 (with xen 4.2.1) I had no problem. > With opensuse 12.3 as dom0 (with xen 4.2.1) I get the follwing error > messages, when I try to start a domU with pv-grub: > http://pastebin.com/PHLQKrsb > > the config file looks like: > http://pastebin.com/jbtEgcnv > > when I change my config to use pygrub, I can start my domU > with this configfile: > http://pastebin.com/RJVerpRA > > Does anybody have a clue what the reason is for pv-grub can not be used ?The most obvious answer is in the first log, which shows pv-grub crashing: Booting ''Xen -- openSUSE 12.2 - 3.4.11-2.16'' root (hd0) Filesystem type is ext2fs, using whole disk kernel /boot/vmlinuz-xen root=/dev/xvda1 console=xvc0 independent_wallclock=1 s plash=silent quiet showopts initrd /boot/initrd-xen Page fault at linear address 0x7f50277fe728, rip 0x40c0b, regs 0xe6f768, sp 0xe6f818, our_sp 0xe6f730, code 0 Thread: main RIP: e030:[<0000000000040c0b>] RSP: e02b:0000000000e6f818 EFLAGS: 00010206 RAX: 00000000001bef44 RBX: 0000002031003e30 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000e6fd08 R08: 0000002031003e30 R09: 0000000000000000 R10: 0000000000000e74 R11: 000000000000027f R12: 00000000000bdc8e R13: 0000002031003e90 R14: 0000000000b6ca88 R15: 0000002030003e20 base is 0xe6fd08 caller is 0x40eeb base is 0xe6fd18 caller is 0x18c63 base is 0xe6fd98 caller is 0x3be0 base is 0xe6fda8 caller is 0x8fc3 base is 0xe6fdc8 caller is 0xabd9 base is 0xe6fe08 caller is 0x1063a base is 0xe6fea8 caller is 0x10d46 base is 0xe6ff48 caller is 0x43ee base is 0xe6ff58 caller is 0x562fa base is 0xe6ffe8 caller is 0x33da Do you also get any logs on the Xen console? Particularly if you increase the guest log lvl on the hypervisor command line? Can you use addr2line on the pv-grub binary to convert the RIP addresses and "caller is" addresses into meaningful line numbers please. Were you using the exact same guest configuration file on SuSE? Was the guest image (in particular the kernel) identical? Did you build Xen 4.2.1 yourself on opensuse or did you get it from packages? Was it patched from pristine upstream Xen 4.2.1 at all? Likewise in the alpine Linux case. Ian.
Dieter Bloms
2013-Mar-15 11:44 UTC
Re: pv-grub doesn''t work with opensuse 12.3 (Page fault at linear address 0x7f50277fe728)
Hi, On Fri, Mar 15, Ian Campbell wrote:> On Thu, 2013-03-14 at 20:06 +0000, Dieter Bloms wrote: > > Hi, > > > > I try to migrate my dom0 from alpinelinux to opensuse 12.3 and now my > > pv-grub config doesn''t work anymore. > > With alpinelinux as dom0 (with xen 4.2.1) I had no problem. > > With opensuse 12.3 as dom0 (with xen 4.2.1) I get the follwing error > > messages, when I try to start a domU with pv-grub: > > http://pastebin.com/PHLQKrsb > > > > the config file looks like: > > http://pastebin.com/jbtEgcnv > > > > when I change my config to use pygrub, I can start my domU > > with this configfile: > > http://pastebin.com/RJVerpRA > > > > Does anybody have a clue what the reason is for pv-grub can not be used ? > > The most obvious answer is in the first log, which shows pv-grub > crashing: > > > Booting ''Xen -- openSUSE 12.2 - 3.4.11-2.16'' > > root (hd0) > Filesystem type is ext2fs, using whole disk > kernel /boot/vmlinuz-xen root=/dev/xvda1 console=xvc0 independent_wallclock=1 s > plash=silent quiet showopts > initrd /boot/initrd-xen > > Page fault at linear address 0x7f50277fe728, rip 0x40c0b, regs 0xe6f768, sp 0xe6f818, our_sp 0xe6f730, code 0 > Thread: main > RIP: e030:[<0000000000040c0b>] > RSP: e02b:0000000000e6f818 EFLAGS: 00010206 > RAX: 00000000001bef44 RBX: 0000002031003e30 RCX: 0000000000000000 > RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 > RBP: 0000000000e6fd08 R08: 0000002031003e30 R09: 0000000000000000 > R10: 0000000000000e74 R11: 000000000000027f R12: 00000000000bdc8e > R13: 0000002031003e90 R14: 0000000000b6ca88 R15: 0000002030003e20 > base is 0xe6fd08 caller is 0x40eeb > base is 0xe6fd18 caller is 0x18c63 > base is 0xe6fd98 caller is 0x3be0 > base is 0xe6fda8 caller is 0x8fc3 > base is 0xe6fdc8 caller is 0xabd9 > base is 0xe6fe08 caller is 0x1063a > base is 0xe6fea8 caller is 0x10d46 > base is 0xe6ff48 caller is 0x43ee > base is 0xe6ff58 caller is 0x562fa > base is 0xe6ffe8 caller is 0x33da > > Do you also get any logs on the Xen console? Particularly if you > increase the guest log lvl on the hypervisor command line?no, I see nothing. My command line for xen hypervisor ist: --snip-- xen:~ # xl info |grep xen_commandline xen_commandline : dom0_mem=1024M,max:1024M sched=credit sched_credit_tslice_ms=3 sched_ratelimit_us=300 loglvl=all guest_loglvl=all --snip--> Can you use addr2line on the pv-grub binary to convert the RIP addresses > and "caller is" addresses into meaningful line numbers please.How can I do that ?> Were you using the exact same guest configuration file on SuSE? Was the > guest image (in particular the kernel) identical?yes, my config is exact the same (copied it from my alpinelinux instance) and the images are the same (because, I use the same (old) disc).> Did you build Xen 4.2.1 yourself on opensuse or did you get it from > packages? Was it patched from pristine upstream Xen 4.2.1 at all? > Likewise in the alpine Linux case.I use xen as shipped with both distributions -- Best regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won''t use my address in the From field.
Roger Pau Monné
2013-Mar-15 12:13 UTC
Re: pv-grub doesn''t work with opensuse 12.3 (Page fault at linear address 0x7f50277fe728)
On 15/03/13 10:53, Ian Campbell wrote:> Did you build Xen 4.2.1 yourself on opensuse or did you get it from > packages? Was it patched from pristine upstream Xen 4.2.1 at all? > Likewise in the alpine Linux case.Xen in Alpine is mostly pristine, with a few added patches to make Qemu play nice with uclibc, but stubdomains are not patched at all. Patches applied and build process can be found here: http://git.alpinelinux.org/cgit/aports/tree/main/xen
Dieter Bloms
2013-Mar-15 15:52 UTC
Re: pv-grub doesn''t work with opensuse 12.3 (Page fault at linear address 0x7f50277fe728)
Hi, On Fri, Mar 15, Roger Pau Monné wrote:> Xen in Alpine is mostly pristine, with a few added patches to make Qemu > play nice with uclibc, but stubdomains are not patched at all. Patches > applied and build process can be found here: > > http://git.alpinelinux.org/cgit/aports/tree/main/xenI''ve opened a bugreport for the opensuse distribution. -- Best regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won''t use my address in the From field.