Martin Kraus
2010-Jan-26 15:50 UTC
[Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
Hi. I have series x3500 ibm server running xen 3.0.3 from etch. When trying to use xen 3.2.1 from lenny, xen hangs without any messages just after grub2 starts booting the xen image. When I tried livexen cd with xen 3.2.1 from lenny, it works just fine. The only difference is probably that livexen uses grub legacy, while I have to use grub2, because my root is on raid+lvm. Also, current configuration doesn''t see all of the 6GB of ram, only the first 3GB, even with pae xen installed, that''s why I''m trying to get newer xen up. However It might be problem with grub but I have no idea how to find out. I''d like to try to find out if I really can''t get newer xen running before I''ll have to try using kvm or something like that. Could anyone point me in some useful direction? thanks Martin Kraus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Henning
2010-Jan-26 16:57 UTC
RE: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
Check out this (old) thread: http://lists.xensource.com/archives/html/xen-users/2007-08/msg00028.html This isn''t for grub2, and may not be related, but I had a similar problem with Fedora (still existed in Fedora 8, I believe it still exists in RHEL 5.3). For me, the problem was only for xenified kernels. Others had the same issue with other distributions. The recommended patch at that URL is also listed or otherwise mentioned in the Fedora and RedHat bug tracking systems. I don''t know if grub has a bug tracking system or if the bug has ever been reported for it. Assuming not, then perhaps it made its way into grub2 as well. That said, I don''t know if it would be possible to manually make the changes from that patch or not (because I don''t know if that piece of source still exists in grub 2), but figured I would mention it in case it could help. Calling this a grub bug, IMHO, isn''t necessarily accurate even though grub CAN fix it (seems to be related to the BIOS in use, and could be a BIOS bug), but that isn''t to say that it definitely isn''t [a grub bug] either. Dustin -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Martin Kraus Sent: Tuesday, January 26, 2010 10:51 To: xen-users Subject: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine Hi. I have series x3500 ibm server running xen 3.0.3 from etch. When trying to use xen 3.2.1 from lenny, xen hangs without any messages just after grub2 starts booting the xen image. When I tried livexen cd with xen 3.2.1 from lenny, it works just fine. The only difference is probably that livexen uses grub legacy, while I have to use grub2, because my root is on raid+lvm. Also, current configuration doesn''t see all of the 6GB of ram, only the first 3GB, even with pae xen installed, that''s why I''m trying to get newer xen up. However It might be problem with grub but I have no idea how to find out. I''d like to try to find out if I really can''t get newer xen running before I''ll have to try using kvm or something like that. Could anyone point me in some useful direction? thanks Martin Kraus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2010-Jan-26 19:34 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
Hi! I have a tip for you: 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; 2- Install your Debian into your own partition scheme (LVM over RAID); 3- Reboot into your new fresh Debian Lenny; upgrade it; 4- * GRUB1 is still the default in Lenny, verify it; 5- Install the Xen with the command: "aptitude install xen-linux-system-2.6.26-2-xen-amd64"; 6- Reboot into you new dom0. Cheers! Thiago 2010/1/26 Martin Kraus <lists_mk@wujiman.net>> > Hi. I have series x3500 ibm server running xen 3.0.3 from etch. When trying > to > use xen 3.2.1 from lenny, xen hangs without any messages just after grub2 > starts booting the xen image. > > When I tried livexen cd with xen 3.2.1 from lenny, it works just fine. The > only difference is probably that livexen uses grub legacy, while I have to > use > grub2, because my root is on raid+lvm. > > Also, current configuration doesn''t see all of the 6GB of ram, only the > first > 3GB, even with pae xen installed, that''s why I''m trying to get newer xen > up. > However It might be problem with grub but I have no idea how to find out. > > I''d like to try to find out if I really can''t get newer xen running before > I''ll have to try using kvm or something like that. > > Could anyone point me in some useful direction? > > thanks > Martin Kraus > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2010-Jan-26 19:45 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
BTW, install your dom0 root partition within a 5G lvm logical volume, leaving free blocks for you domUs within your big VG. For example LVM on top of RAID1 (two mirrored discs of 500G) for Xen: Disc SDA: /dev/sda1 type MD with 256M /dev/sda2 type MD with 500G Disc SDB: /dev/sdb1 type MD with 256M /dev/sdb2 type MD with 500G Raid Volumes: /dev/md0 with sda1 and sdb2 type bootable raid1 on /boot /dev/md1 with sda2 and sdb2 type LVM LVM Volumes: /dev/md1 as a physical lvm volume vgcreate HyperVG01 /dev/md1 lvcreate -L 1G -n xenhost01-swap HyperVG01 lvcreate -L 5G -n xenhost01-root HyperVG01 Of course, you probably will make this raid and LVM volumes during the Debian installation... Doing this, you will have 495G of free space within HyperVG01 VG volume for you domUs and a simple partition scheme at your discs. You /boot partition will me mirrored too! So you can install GRUB in your /dev/sdb and make the system bootable when sda fail. I hope this big picture can help you! Regards, Thiago 2010/1/26 Thiago Camargo Martins Cordeiro <thiagocmartinsc@gmail.com>> Hi! > > I have a tip for you: > > 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > 2- Install your Debian into your own partition scheme (LVM over RAID); > 3- Reboot into your new fresh Debian Lenny; upgrade it; > 4- * GRUB1 is still the default in Lenny, verify it; > 5- Install the Xen with the command: "aptitude install > xen-linux-system-2.6.26-2-xen-amd64"; > 6- Reboot into you new dom0. > > Cheers! > Thiago > > 2010/1/26 Martin Kraus <lists_mk@wujiman.net> > > >> Hi. I have series x3500 ibm server running xen 3.0.3 from etch. When >> trying to >> use xen 3.2.1 from lenny, xen hangs without any messages just after grub2 >> starts booting the xen image. >> >> When I tried livexen cd with xen 3.2.1 from lenny, it works just fine. The >> only difference is probably that livexen uses grub legacy, while I have to >> use >> grub2, because my root is on raid+lvm. >> >> Also, current configuration doesn''t see all of the 6GB of ram, only the >> first >> 3GB, even with pae xen installed, that''s why I''m trying to get newer xen >> up. >> However It might be problem with grub but I have no idea how to find out. >> >> I''d like to try to find out if I really can''t get newer xen running before >> I''ll have to try using kvm or something like that. >> >> Could anyone point me in some useful direction? >> >> thanks >> Martin Kraus >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jpp@jppozzi.dyndns.org
2010-Jan-26 22:33 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
Hello, The syntax is not the same in GRUB2 example : "old" grub.cfg style : menuentry "Debian GNU/Linux, with Linux xen" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 116c3b30-4586-4f25-b7c1-c0d5c5a5b003 kernel /xen.gz dom0_mem=1536M module //vmlinuz-xen root=UUID=bc847804-e4d5-49d0-b6ff-998886cbf9b2 ro noquiet module //initrd-xen } "New" grub.cfg style : menuentry "Debian GNU/Linux, with Linux xen 3.4.3-rc2" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 116c3b30-4586-4f25-b7c1-c0d5c5a5b003 multiboot /xen-3.4.gz /xen-3.4.gz noreboot dom0_mem=3072M cpufreq=xen cpuidle module /vmlinuz-2.6.31.4-xen /vmlinuz-2.6.31.4-xen root=/dev/md0 ro noquiet module /initrd.img-2.6.31.4-xen /initrd.img-2.6.31.4-xen } You have to use "multiboot" ... and module the new (?) syntax. For "standard" kernels the syntax has not changed : menuentry "Debian GNU/Linux, avec Linux 2.6.32" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 116c3b30-4586-4f25-b7c1-c0d5c5a5b003 linux //vmlinuz-2.6.32 root=UUID=bc847804-e4d5-49d0-b6ff-998886cbf9b2 ro noquiet initrd //initrd.img-2.6.32 } Regards JP Pozzi Le mardi 26 janvier 2010 à 17:34 -0200, Thiago Camargo Martins Cordeiro a écrit :> Hi! > > I have a tip for you: > > 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > 2- Install your Debian into your own partition scheme (LVM over RAID); > 3- Reboot into your new fresh Debian Lenny; upgrade it; > 4- * GRUB1 is still the default in Lenny, verify it; > 5- Install the Xen with the command: "aptitude install > xen-linux-system-2.6.26-2-xen-amd64"; > 6- Reboot into you new dom0. > > Cheers! > Thiago > > 2010/1/26 Martin Kraus <lists_mk@wujiman.net> > > Hi. I have series x3500 ibm server running xen 3.0.3 from > etch. When trying to > use xen 3.2.1 from lenny, xen hangs without any messages just > after grub2 > starts booting the xen image. > > When I tried livexen cd with xen 3.2.1 from lenny, it works > just fine. The > only difference is probably that livexen uses grub legacy, > while I have to use > grub2, because my root is on raid+lvm. > > Also, current configuration doesn''t see all of the 6GB of ram, > only the first > 3GB, even with pae xen installed, that''s why I''m trying to get > newer xen up. > However It might be problem with grub but I have no idea how > to find out. > > I''d like to try to find out if I really can''t get newer xen > running before > I''ll have to try using kvm or something like that. > > Could anyone point me in some useful direction? > > thanks > Martin Kraus > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Kraus
2010-Jan-27 10:44 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote:> Hi! > > 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > 2- Install your Debian into your own partition scheme (LVM over RAID); > 3- Reboot into your new fresh Debian Lenny; upgrade it; > 4- * GRUB1 is still the default in Lenny, verify it; > 5- Install the Xen with the command: "aptitude install > xen-linux-system-2.6.26-2-xen-amd64"; > 6- Reboot into you new dom0.Thanks for the effort but how does this solve the problem that xen doesn''t start? I''m already running virtual hosts on that machine and I can''t rip all of this apart just to get stuck with unbootable system again. What I need is to find out what the problem is and then start ripping stuff apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all get stuck at some time during xen boot. Until I''ve tried the live cd, I thought that it''s some incompatibility with my hardware but since the live cd is debian lenny on iso and it works fine, I have to look for the part that causes xen to freeze. Since there is only bios, grub and xen running in turn before the machine gets stuck I''d say that the problem is in one of these systems. I''ll try to find out something about grub and then I''m going after kvm before I decide to scratch the whole machine. but thanks for the effort mk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gabor Szilagyi
2010-Jan-27 14:41 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Kraus wrote:> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: >> Hi! >> >> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; >> 2- Install your Debian into your own partition scheme (LVM over RAID); >> 3- Reboot into your new fresh Debian Lenny; upgrade it; >> 4- * GRUB1 is still the default in Lenny, verify it; >> 5- Install the Xen with the command: "aptitude install >> xen-linux-system-2.6.26-2-xen-amd64"; >> 6- Reboot into you new dom0. > > Thanks for the effort but how does this solve the problem that xen doesn''t > start? I''m already running virtual hosts on that machine and I can''t rip > all of this apart just to get stuck with unbootable system again. > > What I need is to find out what the problem is and then start ripping stuff > apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all > get stuck at some time during xen boot. Until I''ve tried the live cd, I > thought that it''s some incompatibility with my hardware but since the live cd is > debian lenny on iso and it works fine, I have to look for the part that causes > xen to freeze. > > Since there is only bios, grub and xen running in turn before the machine > gets stuck I''d say that the problem is in one of these systems. > > I''ll try to find out something about grub and then I''m going after kvm before > I decide to scratch the whole machine.Hi Martin, I am having the same problem ... ever since I installed grub2 I can not get xen to boot. I was told it is possible but yet to see someone writing it down how. Tried the "new" syntax, put dummy=dummy as first cmd line argument, even compiled the root=/... in the kernel nothing works. I just get Panic on CPU 0 ... and stuck dump. I can not use lenny.... the e1000e driver is broken and unfortuntely I have that chip on my board... (similar issue with 2.6.18 !!!) There is absolutely something with grub2 and xen combination (not hardware). I tried even uninstall grub2 and install grub-legacy but grub2 simply stays in MBR. tried with the legacy thing after installing>grub setup (hd0) just hang ... next boot still have the grub2 screen... really Tried all sort of combination from the grub menu (grub2) nothing makes xen boot up Someone on this list suggested to try to capture all the boot up until crash, with serial console, which I am planning to do as soon as I get a serial cable (usb2serial)... If you get this work please please post it !!! I will report if I make any headway. Gabor> > but thanks for the effort > > mk > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktgUH4ACgkQcYMbOTV6LVrUKwCg036KHnD1vukT+YhqeM8NRko7 7pcAoI//r+nXDiVigEx0BV9ew/L7ZyTQ =86Pz -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Kraus
2010-Jan-27 16:09 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote:> I am having the same problem ... ever since I installed grub2 I can not > get xen to boot. I was told it is possible but yet to see someone > writing it down how. Tried the "new" syntax, put dummy=dummy as first > cmd line argument, even compiled the root=/... in the kernel nothing works. > > I just get Panic on CPU 0 ... and stuck dump.This happend to me with xen 3.4> There is absolutely something with grub2 and xen combination (not hardware).that is weird. are you sure you installed grub-legacy correctly? removed grub2 packages and used grub-install to update mbr and update-grub to update menu.lst?> > Someone on this list suggested to try to capture all the boot up until > crash, with serial console, which I am planning to do as soon as I get a > serial cable (usb2serial)...I have complete output from bios to kernel to getty on serial console, but I get stuck without any messages from xen. All I get is the grub message booting xen image .... and that''s it. I strongly feel that it is problem with grub2 which bothers me, because grub legacy can''t boot from lvm and I''m using lvm everywhere therefor I''d like to use grub2. So far, I''m not having any problems anywhere except with this single server. I planned to build a few virtual servers, but since the problem seem to be with machines that have more than 4GB ram, I''ll look into kvm, if it solves my problems. But I''d love to solve this. There are bound to be people running the same setup and if it works for them than there is a way to do it:) mk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Jan-27 20:26 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Martin Kraus wrote: > > On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: > >> Hi! > >> > >> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > >> 2- Install your Debian into your own partition scheme (LVM over RAID); > >> 3- Reboot into your new fresh Debian Lenny; upgrade it; > >> 4- * GRUB1 is still the default in Lenny, verify it; > >> 5- Install the Xen with the command: "aptitude install > >> xen-linux-system-2.6.26-2-xen-amd64"; > >> 6- Reboot into you new dom0. > > > > Thanks for the effort but how does this solve the problem that xen doesn''t > > start? I''m already running virtual hosts on that machine and I can''t rip > > all of this apart just to get stuck with unbootable system again. > > > > What I need is to find out what the problem is and then start ripping stuff > > apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all > > get stuck at some time during xen boot. Until I''ve tried the live cd, I > > thought that it''s some incompatibility with my hardware but since the live cd is > > debian lenny on iso and it works fine, I have to look for the part that causes > > xen to freeze. > > > > Since there is only bios, grub and xen running in turn before the machine > > gets stuck I''d say that the problem is in one of these systems. > > > > I''ll try to find out something about grub and then I''m going after kvm before > > I decide to scratch the whole machine. > > Hi Martin, > > I am having the same problem ... ever since I installed grub2 I can not > get xen to boot. I was told it is possible but yet to see someone > writing it down how. Tried the "new" syntax, put dummy=dummy as first > cmd line argument, even compiled the root=/... in the kernel nothing works. > > I just get Panic on CPU 0 ... and stuck dump. >Please see: http://wiki.xensource.com/xenwiki/XenCommonProblems section: "Booting Xen with GRUB2 fails?"> I can not use lenny.... the e1000e driver is broken and unfortuntely I > have that chip on my board... (similar issue with 2.6.18 !!!) >Well you can update the driver! Grab the latest from intel''s site..> There is absolutely something with grub2 and xen combination (not hardware). >Yeah, grub developers changed stuff for grub2 that broke things.> > Someone on this list suggested to try to capture all the boot up until > crash, with serial console, which I am planning to do as soon as I get a > serial cable (usb2serial)... >Remember you cannot use USB serial adapter on the Xen server!! but you can use it on a laptop/desktop where you capture the boot messages. Xen serial console tutorial: http://wiki.xensource.com/xenwiki/XenSerialConsole> If you get this work please please post it !!! I will report if I make > any headway. >Many people have gotten grub2+Xen to work for them. For example: http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gabor Szilagyi
2010-Jan-28 16:11 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pasi Kärkkäinen wrote:> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> >> Martin Kraus wrote: >>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: >>>> Hi! >>>> >>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; >>>> 2- Install your Debian into your own partition scheme (LVM over RAID); >>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; >>>> 4- * GRUB1 is still the default in Lenny, verify it; >>>> 5- Install the Xen with the command: "aptitude install >>>> xen-linux-system-2.6.26-2-xen-amd64"; >>>> 6- Reboot into you new dom0. >>> Thanks for the effort but how does this solve the problem that xen doesn''t >>> start? I''m already running virtual hosts on that machine and I can''t rip >>> all of this apart just to get stuck with unbootable system again. >>> >>> What I need is to find out what the problem is and then start ripping stuff >>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all >>> get stuck at some time during xen boot. Until I''ve tried the live cd, I >>> thought that it''s some incompatibility with my hardware but since the live cd is >>> debian lenny on iso and it works fine, I have to look for the part that causes >>> xen to freeze. >>> >>> Since there is only bios, grub and xen running in turn before the machine >>> gets stuck I''d say that the problem is in one of these systems. >>> >>> I''ll try to find out something about grub and then I''m going after kvm before >>> I decide to scratch the whole machine. >> Hi Martin, >> >> I am having the same problem ... ever since I installed grub2 I can not >> get xen to boot. I was told it is possible but yet to see someone >> writing it down how. Tried the "new" syntax, put dummy=dummy as first >> cmd line argument, even compiled the root=/... in the kernel nothing works. >> >> I just get Panic on CPU 0 ... and stuck dump. >> > > Please see: > http://wiki.xensource.com/xenwiki/XenCommonProblems > > section: > "Booting Xen with GRUB2 fails?"Thanks for the tip ... I tried all those no change : here what I have currently in gurb.cfg both recommendation is use the file name twice and use dummy=dummy ...... menuentry "Test Xen 3.4.2 xen w/linux 2.6.31.6-xen" { insmod raid insmod mdraid insmod ext2 set root=(md1) multiboot /boot/xen-3.4.2.gz /boot/xen-3.4.2.gz dummy=dummy dom0_mem=512M module /boot/vmlinuz-2.6.31.6-xen-2 /boot/vmlinuz-2.6.31.6-xen-2 dummy=dummy root=/dev/md1 ro module /boot/initrd.img-2.6.31.6-xen-2 /boot/initrd.img-2.6.31.6-xen-2 } menuentry "Test Xen 3.4.2 xen w/linux 2.6.18.8" { insmod raid insmod mdraid insmod ext2 set root=(md1) multiboot /boot/xen-3.4.2.gz /boot/xen-3.4.2.gz dummy=dummy dom0_mem=512M module /boot/vmlinuz-2.6.18.8 /boot/vmlinuz-2.6.18.8 dummy=dummy root=/dev/md1 ro module /boot/initrd.img-2.6.18.8 /boot/initrd.img-2.6.18.8 } ........ I am trying both the newest patched kernel and the stuck kernel coming with 3.4.2 source ... both compile without error (I pretty sure I got the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on bare metal (strangely not the 2.6.18.8 !!) But got the same error ... so I strongly believe that the xen-3.4.2.gz part crashes already with grub2 .. I tried several other combination from grub> prompt pretty much the same CPU 0 panic and the numbers after (sometime sligthly different dump )> >> I can not use lenny.... the e1000e driver is broken and unfortuntely I >> have that chip on my board... (similar issue with 2.6.18 !!!) >> > > Well you can update the driver! Grab the latest from intel''s site.. > >> There is absolutely something with grub2 and xen combination (not hardware). >> > > Yeah, grub developers changed stuff for grub2 that broke things. > >> Someone on this list suggested to try to capture all the boot up until >> crash, with serial console, which I am planning to do as soon as I get a >> serial cable (usb2serial)... >> > > Remember you cannot use USB serial adapter on the Xen server!! > but you can use it on a laptop/desktop where you capture the boot messages.I realized that my self. A simple USB-serial cables are not good enough, since I need a null-modem cable or a null-modem adapter btw the usb-serial and the serial port... that is why it is taking me a little time to get the cable... the stuff cisco (or sun) provides is just straight through serial cable which connect to their "console" port (which obviously has the crossing internally)> > Xen serial console tutorial: > http://wiki.xensource.com/xenwiki/XenSerialConsoleI read that ... makes sense but do not yet have the cable..> >> If you get this work please please post it !!! I will report if I make >> any headway. >> > > Many people have gotten grub2+Xen to work for them.> > For example: > http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.htmlI did follow that but could not boot XEN anyways. Gabor> > -- Pasi >- -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Gabor Szilagyi (Mr.) Gabor.Szilagyi@nyo.unep.org | | Computer System Adm. http://www.nyo.unep.org | | UNEP/New York Office Tel: +1-212-963-7781/Fax: +1-212-963-7341 | | I only open attachments I requested !!! No exceptions !!! | | Put your message in the email body !!! | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ "He who sacrifices freedom for security is neither secure nor free." Benjamin Franklin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktht0YACgkQcYMbOTV6LVp2yQCg45Ybo8e/a8bYuBHUhFnoCDw8 R08An1Qej/d6eD8H0OIOLA8ajD96cTxI =0VWT -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Jan-28 16:26 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pasi Kärkkäinen wrote: > > On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> > >> > >> Martin Kraus wrote: > >>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: > >>>> Hi! > >>>> > >>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > >>>> 2- Install your Debian into your own partition scheme (LVM over RAID); > >>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; > >>>> 4- * GRUB1 is still the default in Lenny, verify it; > >>>> 5- Install the Xen with the command: "aptitude install > >>>> xen-linux-system-2.6.26-2-xen-amd64"; > >>>> 6- Reboot into you new dom0. > >>> Thanks for the effort but how does this solve the problem that xen doesn''t > >>> start? I''m already running virtual hosts on that machine and I can''t rip > >>> all of this apart just to get stuck with unbootable system again. > >>> > >>> What I need is to find out what the problem is and then start ripping stuff > >>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all > >>> get stuck at some time during xen boot. Until I''ve tried the live cd, I > >>> thought that it''s some incompatibility with my hardware but since the live cd is > >>> debian lenny on iso and it works fine, I have to look for the part that causes > >>> xen to freeze. > >>> > >>> Since there is only bios, grub and xen running in turn before the machine > >>> gets stuck I''d say that the problem is in one of these systems. > >>> > >>> I''ll try to find out something about grub and then I''m going after kvm before > >>> I decide to scratch the whole machine. > >> Hi Martin, > >> > >> I am having the same problem ... ever since I installed grub2 I can not > >> get xen to boot. I was told it is possible but yet to see someone > >> writing it down how. Tried the "new" syntax, put dummy=dummy as first > >> cmd line argument, even compiled the root=/... in the kernel nothing works. > >> > >> I just get Panic on CPU 0 ... and stuck dump. > >> > > > > Please see: > > http://wiki.xensource.com/xenwiki/XenCommonProblems > > > > section: > > "Booting Xen with GRUB2 fails?" > > Thanks for the tip ... I tried all those no change : > > here what I have currently in gurb.cfg both recommendation is use the > file name twice and use dummy=dummyNo, you don''t use both of them. The problem is that grub2 destroys the *first* parameter, so if you add the filename twice, that already is the extra first parameter, so no need for dummy anymore. Or then don''t add the filename, but use dummy. You just need *one* extra parameter there, as the first parameter. See the working example from here: http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html> > I am trying both the newest patched kernel and the stuck kernel coming > with 3.4.2 source ... both compile without error (I pretty sure I got > the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on > bare metal (strangely not the 2.6.18.8 !!) >xenlinux kernels (2.6.18.8) don''t support running as baremetal. pv_ops Xen kernel do support that.> But got the same error ... so I strongly believe that the xen-3.4.2.gz > part crashes already with grub2 .. > > I tried several other combination from grub> prompt pretty much the same > CPU 0 panic and the numbers after (sometime sligthly different dump ) >We really need to see the full console output to say what''s wrong. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gabor Szilagyi
2010-Jan-28 20:00 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pasi Kärkkäinen wrote:> On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Pasi Kärkkäinen wrote: >>> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> >>>> >>>> Martin Kraus wrote: >>>>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: >>>>>> Hi! >>>>>> >>>>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; >>>>>> 2- Install your Debian into your own partition scheme (LVM over RAID); >>>>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; >>>>>> 4- * GRUB1 is still the default in Lenny, verify it; >>>>>> 5- Install the Xen with the command: "aptitude install >>>>>> xen-linux-system-2.6.26-2-xen-amd64"; >>>>>> 6- Reboot into you new dom0. >>>>> Thanks for the effort but how does this solve the problem that xen doesn''t >>>>> start? I''m already running virtual hosts on that machine and I can''t rip >>>>> all of this apart just to get stuck with unbootable system again. >>>>> >>>>> What I need is to find out what the problem is and then start ripping stuff >>>>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all >>>>> get stuck at some time during xen boot. Until I''ve tried the live cd, I >>>>> thought that it''s some incompatibility with my hardware but since the live cd is >>>>> debian lenny on iso and it works fine, I have to look for the part that causes >>>>> xen to freeze. >>>>> >>>>> Since there is only bios, grub and xen running in turn before the machine >>>>> gets stuck I''d say that the problem is in one of these systems. >>>>> >>>>> I''ll try to find out something about grub and then I''m going after kvm before >>>>> I decide to scratch the whole machine. >>>> Hi Martin, >>>> >>>> I am having the same problem ... ever since I installed grub2 I can not >>>> get xen to boot. I was told it is possible but yet to see someone >>>> writing it down how. Tried the "new" syntax, put dummy=dummy as first >>>> cmd line argument, even compiled the root=/... in the kernel nothing works. >>>> >>>> I just get Panic on CPU 0 ... and stuck dump. >>>> >>> Please see: >>> http://wiki.xensource.com/xenwiki/XenCommonProblems >>> >>> section: >>> "Booting Xen with GRUB2 fails?" >> Thanks for the tip ... I tried all those no change : >> >> here what I have currently in gurb.cfg both recommendation is use the >> file name twice and use dummy=dummy > > No, you don''t use both of them. > > The problem is that grub2 destroys the *first* parameter, > so if you add the filename twice, that already is the extra > first parameter, so no need for dummy anymore. > > Or then don''t add the filename, but use dummy. > You just need *one* extra parameter there, as the first parameter. > > See the working example from here: > http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html > > >> I am trying both the newest patched kernel and the stuck kernel coming >> with 3.4.2 source ... both compile without error (I pretty sure I got >> the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on >> bare metal (strangely not the 2.6.18.8 !!) >> > > xenlinux kernels (2.6.18.8) don''t support running as baremetal. > pv_ops Xen kernel do support that. > >> But got the same error ... so I strongly believe that the xen-3.4.2.gz >> part crashes already with grub2 .. >> >> I tried several other combination from grub> prompt pretty much the same >> CPU 0 panic and the numbers after (sometime sligthly different dump ) >> > > We really need to see the full console output to say what''s wrong.Pasi, Sorry for the crossposting I put this in my original thread as well but maybe helpful here.. Press CTRL-A Z for help on special keys __ __ _____ _ _ ____ \ \/ /___ _ __ |___ /| || | |___ \ \ // _ \ ''_ \ |_ \| || |_ __) | / \ __/ | | | ___) |__ _| / __/ /_/\_\___|_| |_| |____(_) |_|(_)_____| (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian 4.3.4-6) ) Mon Jan 25 16:28:40 EST 2010 (XEN) Latest ChangeSet: unavailable (XEN) Console output is synchronous. (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all guest_loglvl=all sync_console console_to_ring com1=9600,8n1 console=com1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009d000 (usable) (XEN) 000000000009d000 - 00000000000a0000 (reserved) (XEN) 00000000000ce000 - 00000000000d4000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000d7f80000 (usable) (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 00000001fe000000 (usable) (XEN) 00000001fe000000 - 0000000200000000 (reserved) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Cannot access memory beyond end of bootstrap direct-map area (XEN) **************************************** (XEN) (XEN) Reboot in five seconds... (XEN) Unknown interrupt (cr2=00000000) (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000002 ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a ff1c5146 ff22b0 Gabor> > -- Pasi >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkth7MkACgkQcYMbOTV6LVoqpgCgwLIAYkxQPy8oGayxb6uXVyZ+ wg8AoM2E5rl30KwOK9AxZ69glkKkqNfv =hYq8 -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Jan-28 20:02 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
On Thu, Jan 28, 2010 at 03:00:09PM -0500, Gabor Szilagyi wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pasi Kärkkäinen wrote: > > On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> Pasi Kärkkäinen wrote: > >>> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: > >>>> -----BEGIN PGP SIGNED MESSAGE----- > >>>> Hash: SHA1 > >>>> > >>>> > >>>> > >>>> Martin Kraus wrote: > >>>>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: > >>>>>> Hi! > >>>>>> > >>>>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > >>>>>> 2- Install your Debian into your own partition scheme (LVM over RAID); > >>>>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; > >>>>>> 4- * GRUB1 is still the default in Lenny, verify it; > >>>>>> 5- Install the Xen with the command: "aptitude install > >>>>>> xen-linux-system-2.6.26-2-xen-amd64"; > >>>>>> 6- Reboot into you new dom0. > >>>>> Thanks for the effort but how does this solve the problem that xen doesn''t > >>>>> start? I''m already running virtual hosts on that machine and I can''t rip > >>>>> all of this apart just to get stuck with unbootable system again. > >>>>> > >>>>> What I need is to find out what the problem is and then start ripping stuff > >>>>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all > >>>>> get stuck at some time during xen boot. Until I''ve tried the live cd, I > >>>>> thought that it''s some incompatibility with my hardware but since the live cd is > >>>>> debian lenny on iso and it works fine, I have to look for the part that causes > >>>>> xen to freeze. > >>>>> > >>>>> Since there is only bios, grub and xen running in turn before the machine > >>>>> gets stuck I''d say that the problem is in one of these systems. > >>>>> > >>>>> I''ll try to find out something about grub and then I''m going after kvm before > >>>>> I decide to scratch the whole machine. > >>>> Hi Martin, > >>>> > >>>> I am having the same problem ... ever since I installed grub2 I can not > >>>> get xen to boot. I was told it is possible but yet to see someone > >>>> writing it down how. Tried the "new" syntax, put dummy=dummy as first > >>>> cmd line argument, even compiled the root=/... in the kernel nothing works. > >>>> > >>>> I just get Panic on CPU 0 ... and stuck dump. > >>>> > >>> Please see: > >>> http://wiki.xensource.com/xenwiki/XenCommonProblems > >>> > >>> section: > >>> "Booting Xen with GRUB2 fails?" > >> Thanks for the tip ... I tried all those no change : > >> > >> here what I have currently in gurb.cfg both recommendation is use the > >> file name twice and use dummy=dummy > > > > No, you don''t use both of them. > > > > The problem is that grub2 destroys the *first* parameter, > > so if you add the filename twice, that already is the extra > > first parameter, so no need for dummy anymore. > > > > Or then don''t add the filename, but use dummy. > > You just need *one* extra parameter there, as the first parameter. > > > > See the working example from here: > > http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html > > > > > >> I am trying both the newest patched kernel and the stuck kernel coming > >> with 3.4.2 source ... both compile without error (I pretty sure I got > >> the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on > >> bare metal (strangely not the 2.6.18.8 !!) > >> > > > > xenlinux kernels (2.6.18.8) don''t support running as baremetal. > > pv_ops Xen kernel do support that. > > > >> But got the same error ... so I strongly believe that the xen-3.4.2.gz > >> part crashes already with grub2 .. > >> > >> I tried several other combination from grub> prompt pretty much the same > >> CPU 0 panic and the numbers after (sometime sligthly different dump ) > >> > > > > We really need to see the full console output to say what''s wrong. > > Pasi, Sorry for the crossposting I put this in my original thread as > well but maybe helpful here.. >Ok.. Hmm.. weird crash. Try removing "sync_console console_to_ring" from the xen options. Does that make a difference? -- Pasi> Press CTRL-A Z for help on special keys > > > > __ __ _____ _ _ ____ > > \ \/ /___ _ __ |___ /| || | |___ \ > > \ // _ \ ''_ \ |_ \| || |_ __) | > > / \ __/ | | | ___) |__ _| / __/ > > /_/\_\___|_| |_| |____(_) |_|(_)_____| > > > > (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian > 4.3.4-6) ) Mon Jan 25 16:28:40 EST 2010 > (XEN) Latest ChangeSet: unavailable > > (XEN) Console output is synchronous. > > (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all > guest_loglvl=all sync_console console_to_ring com1=9600,8n1 console=com1 > (XEN) Video information: > > (XEN) VGA is text mode 80x25, font 8x16 > > (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds > > (XEN) Disc information: > > (XEN) Found 2 MBR signatures > > (XEN) Found 2 EDD information structures > (XEN) Xen-e820 RAM map: > (XEN) 0000000000000000 - 000000000009d000 (usable) > (XEN) 000000000009d000 - 00000000000a0000 (reserved) > (XEN) 00000000000ce000 - 00000000000d4000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 00000000d7f80000 (usable) > (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) > (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) > (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) > (XEN) 00000000f8000000 - 00000000fc000000 (reserved) > (XEN) 00000000fec00000 - 00000000fec10000 (reserved) > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 00000001fe000000 (usable) > (XEN) 00000001fe000000 - 0000000200000000 (reserved) > (XEN) > (XEN) **************************************** > (XEN) Panic on CPU 0: > (XEN) Cannot access memory beyond end of bootstrap direct-map area > (XEN) **************************************** > (XEN) > (XEN) Reboot in five seconds... > (XEN) Unknown interrupt (cr2=00000000) > (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000002 > ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a > ff1c5146 ff22b0 > > > Gabor > > > > > -- Pasi > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkth7MkACgkQcYMbOTV6LVoqpgCgwLIAYkxQPy8oGayxb6uXVyZ+ > wg8AoM2E5rl30KwOK9AxZ69glkKkqNfv > =hYq8 > -----END PGP SIGNATURE-----_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gabor Szilagyi
2010-Jan-28 20:47 UTC
Re: [Xen-users] debian lenny 3.2.1 doesn''t boot, livexen boots just fine
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pasi Kärkkäinen wrote:> On Thu, Jan 28, 2010 at 03:00:09PM -0500, Gabor Szilagyi wrote: > Pasi Kärkkäinen wrote: >>>> On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote: >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>> Hash: SHA1 >>>>> >>>>> Pasi Kärkkäinen wrote: >>>>>> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: >>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>> Hash: SHA1 >>>>>>> >>>>>>> >>>>>>> >>>>>>> Martin Kraus wrote: >>>>>>>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: >>>>>>>>> Hi! >>>>>>>>> >>>>>>>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; >>>>>>>>> 2- Install your Debian into your own partition scheme (LVM over RAID); >>>>>>>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; >>>>>>>>> 4- * GRUB1 is still the default in Lenny, verify it; >>>>>>>>> 5- Install the Xen with the command: "aptitude install >>>>>>>>> xen-linux-system-2.6.26-2-xen-amd64"; >>>>>>>>> 6- Reboot into you new dom0. >>>>>>>> Thanks for the effort but how does this solve the problem that xen doesn''t >>>>>>>> start? I''m already running virtual hosts on that machine and I can''t rip >>>>>>>> all of this apart just to get stuck with unbootable system again. >>>>>>>> >>>>>>>> What I need is to find out what the problem is and then start ripping stuff >>>>>>>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all >>>>>>>> get stuck at some time during xen boot. Until I''ve tried the live cd, I >>>>>>>> thought that it''s some incompatibility with my hardware but since the live cd is >>>>>>>> debian lenny on iso and it works fine, I have to look for the part that causes >>>>>>>> xen to freeze. >>>>>>>> >>>>>>>> Since there is only bios, grub and xen running in turn before the machine >>>>>>>> gets stuck I''d say that the problem is in one of these systems. >>>>>>>> >>>>>>>> I''ll try to find out something about grub and then I''m going after kvm before >>>>>>>> I decide to scratch the whole machine. >>>>>>> Hi Martin, >>>>>>> >>>>>>> I am having the same problem ... ever since I installed grub2 I can not >>>>>>> get xen to boot. I was told it is possible but yet to see someone >>>>>>> writing it down how. Tried the "new" syntax, put dummy=dummy as first >>>>>>> cmd line argument, even compiled the root=/... in the kernel nothing works. >>>>>>> >>>>>>> I just get Panic on CPU 0 ... and stuck dump. >>>>>>> >>>>>> Please see: >>>>>> http://wiki.xensource.com/xenwiki/XenCommonProblems >>>>>> >>>>>> section: >>>>>> "Booting Xen with GRUB2 fails?" >>>>> Thanks for the tip ... I tried all those no change : >>>>> >>>>> here what I have currently in gurb.cfg both recommendation is use the >>>>> file name twice and use dummy=dummy >>>> No, you don''t use both of them. >>>> >>>> The problem is that grub2 destroys the *first* parameter, >>>> so if you add the filename twice, that already is the extra >>>> first parameter, so no need for dummy anymore. >>>> >>>> Or then don''t add the filename, but use dummy. >>>> You just need *one* extra parameter there, as the first parameter. >>>> >>>> See the working example from here: >>>> http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html >>>> >>>> >>>>> I am trying both the newest patched kernel and the stuck kernel coming >>>>> with 3.4.2 source ... both compile without error (I pretty sure I got >>>>> the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on >>>>> bare metal (strangely not the 2.6.18.8 !!) >>>>> >>>> xenlinux kernels (2.6.18.8) don''t support running as baremetal. >>>> pv_ops Xen kernel do support that. >>>> >>>>> But got the same error ... so I strongly believe that the xen-3.4.2.gz >>>>> part crashes already with grub2 .. >>>>> >>>>> I tried several other combination from grub> prompt pretty much the same >>>>> CPU 0 panic and the numbers after (sometime sligthly different dump ) >>>>> >>>> We really need to see the full console output to say what''s wrong. > Pasi, Sorry for the crossposting I put this in my original thread as > well but maybe helpful here.. > > >> Ok.. Hmm.. weird crash. Try removing "sync_console console_to_ring" from the xen options. > >> Does that make a difference?No unfortunately no difference: (note that I did make clean make install-xen) just to make sure it compiled right ... but the crash is identical... __ __ _____ _ _ ____ \ \/ /___ _ __ |___ /| || | |___ \ \ // _ \ ''_ \ |_ \| || |_ __) | / \ __/ | | | ___) |__ _| / __/ /_/\_\___|_| |_| |____(_) |_|(_)_____| (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian 4.3.4-6) ) Thu Jan 28 15:41:41 EST 2010 (XEN) Latest ChangeSet: unavailable (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009d000 (usable) (XEN) 000000000009d000 - 00000000000a0000 (reserved) (XEN) 00000000000ce000 - 00000000000d4000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000d7f80000 (usable) (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 00000001fe000000 (usable) (XEN) 00000001fe000000 - 0000000200000000 (reserved) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Cannot access memory beyond end of bootstrap direct-map area (XEN) **************************************** (XEN) (XEN) Reboot in five seconds... (XEN) Unknown interrupt (cr2=00000000) (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000001 ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a ff1c5146 ff22b0> >> -- Pasi > > Press CTRL-A Z for help on special keys > > > > __ __ _____ _ _ ____ > > \ \/ /___ _ __ |___ /| || | |___ \ > > \ // _ \ ''_ \ |_ \| || |_ __) | > > / \ __/ | | | ___) |__ _| / __/ > > /_/\_\___|_| |_| |____(_) |_|(_)_____| > > > > (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian > 4.3.4-6) ) Mon Jan 25 16:28:40 EST 2010 > (XEN) Latest ChangeSet: unavailable > > (XEN) Console output is synchronous. > > (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all > guest_loglvl=all sync_console console_to_ring com1=9600,8n1 console=com1 > (XEN) Video information: > > (XEN) VGA is text mode 80x25, font 8x16 > > (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds > > (XEN) Disc information: > > (XEN) Found 2 MBR signatures > > (XEN) Found 2 EDD information structures > (XEN) Xen-e820 RAM map: > (XEN) 0000000000000000 - 000000000009d000 (usable) > (XEN) 000000000009d000 - 00000000000a0000 (reserved) > (XEN) 00000000000ce000 - 00000000000d4000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 00000000d7f80000 (usable) > (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) > (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) > (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) > (XEN) 00000000f8000000 - 00000000fc000000 (reserved) > (XEN) 00000000fec00000 - 00000000fec10000 (reserved) > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 00000001fe000000 (usable) > (XEN) 00000001fe000000 - 0000000200000000 (reserved) > (XEN) > (XEN) **************************************** > (XEN) Panic on CPU 0: > (XEN) Cannot access memory beyond end of bootstrap direct-map area > (XEN) **************************************** > (XEN) > (XEN) Reboot in five seconds... > (XEN) Unknown interrupt (cr2=00000000) > (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000002 > ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a > ff1c5146 ff22b0 > > > Gabor > >>>> -- Pasi >>>>- -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Gabor Szilagyi (Mr.) Gabor.Szilagyi@nyo.unep.org | | Computer System Adm. http://www.nyo.unep.org | | UNEP/New York Office Tel: +1-212-963-7781/Fax: +1-212-963-7341 | | I only open attachments I requested !!! No exceptions !!! | | Put your message in the email body !!! | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ "He who sacrifices freedom for security is neither secure nor free." Benjamin Franklin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkth99gACgkQcYMbOTV6LVoUpACgs81ojuLe8zTaS7lnEY08M2n3 Z4MAnRYSnEx9UrExQm07Y2uYStXsFMN+ =rzdV -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Jan-28 21:16 UTC
Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
CCing to xen-devel and Keir. Keir: Have you seen this Xen hypervisor crash earlier? serial log below.. -- Pasi On Thu, Jan 28, 2010 at 03:47:20PM -0500, Gabor Szilagyi wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pasi Kärkkäinen wrote: > > On Thu, Jan 28, 2010 at 03:00:09PM -0500, Gabor Szilagyi wrote: > > Pasi Kärkkäinen wrote: > >>>> On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote: > >>>>> -----BEGIN PGP SIGNED MESSAGE----- > >>>>> Hash: SHA1 > >>>>> > >>>>> Pasi Kärkkäinen wrote: > >>>>>> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: > >>>>>>> -----BEGIN PGP SIGNED MESSAGE----- > >>>>>>> Hash: SHA1 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> Martin Kraus wrote: > >>>>>>>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins Cordeiro wrote: > >>>>>>>>> Hi! > >>>>>>>>> > >>>>>>>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; > >>>>>>>>> 2- Install your Debian into your own partition scheme (LVM over RAID); > >>>>>>>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; > >>>>>>>>> 4- * GRUB1 is still the default in Lenny, verify it; > >>>>>>>>> 5- Install the Xen with the command: "aptitude install > >>>>>>>>> xen-linux-system-2.6.26-2-xen-amd64"; > >>>>>>>>> 6- Reboot into you new dom0. > >>>>>>>> Thanks for the effort but how does this solve the problem that xen doesn''t > >>>>>>>> start? I''m already running virtual hosts on that machine and I can''t rip > >>>>>>>> all of this apart just to get stuck with unbootable system again. > >>>>>>>> > >>>>>>>> What I need is to find out what the problem is and then start ripping stuff > >>>>>>>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg tip, all > >>>>>>>> get stuck at some time during xen boot. Until I''ve tried the live cd, I > >>>>>>>> thought that it''s some incompatibility with my hardware but since the live cd is > >>>>>>>> debian lenny on iso and it works fine, I have to look for the part that causes > >>>>>>>> xen to freeze. > >>>>>>>> > >>>>>>>> Since there is only bios, grub and xen running in turn before the machine > >>>>>>>> gets stuck I''d say that the problem is in one of these systems. > >>>>>>>> > >>>>>>>> I''ll try to find out something about grub and then I''m going after kvm before > >>>>>>>> I decide to scratch the whole machine. > >>>>>>> Hi Martin, > >>>>>>> > >>>>>>> I am having the same problem ... ever since I installed grub2 I can not > >>>>>>> get xen to boot. I was told it is possible but yet to see someone > >>>>>>> writing it down how. Tried the "new" syntax, put dummy=dummy as first > >>>>>>> cmd line argument, even compiled the root=/... in the kernel nothing works. > >>>>>>> > >>>>>>> I just get Panic on CPU 0 ... and stuck dump. > >>>>>>> > >>>>>> Please see: > >>>>>> http://wiki.xensource.com/xenwiki/XenCommonProblems > >>>>>> > >>>>>> section: > >>>>>> "Booting Xen with GRUB2 fails?" > >>>>> Thanks for the tip ... I tried all those no change : > >>>>> > >>>>> here what I have currently in gurb.cfg both recommendation is use the > >>>>> file name twice and use dummy=dummy > >>>> No, you don''t use both of them. > >>>> > >>>> The problem is that grub2 destroys the *first* parameter, > >>>> so if you add the filename twice, that already is the extra > >>>> first parameter, so no need for dummy anymore. > >>>> > >>>> Or then don''t add the filename, but use dummy. > >>>> You just need *one* extra parameter there, as the first parameter. > >>>> > >>>> See the working example from here: > >>>> http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html > >>>> > >>>> > >>>>> I am trying both the newest patched kernel and the stuck kernel coming > >>>>> with 3.4.2 source ... both compile without error (I pretty sure I got > >>>>> the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on > >>>>> bare metal (strangely not the 2.6.18.8 !!) > >>>>> > >>>> xenlinux kernels (2.6.18.8) don''t support running as baremetal. > >>>> pv_ops Xen kernel do support that. > >>>> > >>>>> But got the same error ... so I strongly believe that the xen-3.4.2.gz > >>>>> part crashes already with grub2 .. > >>>>> > >>>>> I tried several other combination from grub> prompt pretty much the same > >>>>> CPU 0 panic and the numbers after (sometime sligthly different dump ) > >>>>> > >>>> We really need to see the full console output to say what''s wrong. > > Pasi, Sorry for the crossposting I put this in my original thread as > > well but maybe helpful here.. > > > > > >> Ok.. Hmm.. weird crash. Try removing "sync_console console_to_ring" from the xen options. > > > >> Does that make a difference? > > No unfortunately no difference: (note that I did make clean make > install-xen) just to make sure it compiled right ... but the crash is > identical... > > __ __ _____ _ _ ____ > \ \/ /___ _ __ |___ /| || | |___ \ > \ // _ \ ''_ \ |_ \| || |_ __) | > / \ __/ | | | ___) |__ _| / __/ > /_/\_\___|_| |_| |____(_) |_|(_)_____| > > (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian > 4.3.4-6) ) Thu Jan 28 15:41:41 EST 2010 > (XEN) Latest ChangeSet: unavailable > (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all > guest_loglvl=all com1=9600,8n1 console=com1 > (XEN) Video information: > (XEN) VGA is text mode 80x25, font 8x16 > (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds > (XEN) Disc information: > (XEN) Found 2 MBR signatures > (XEN) Found 2 EDD information structures > (XEN) Xen-e820 RAM map: > (XEN) 0000000000000000 - 000000000009d000 (usable) > (XEN) 000000000009d000 - 00000000000a0000 (reserved) > (XEN) 00000000000ce000 - 00000000000d4000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 00000000d7f80000 (usable) > (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) > (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) > (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) > (XEN) 00000000f8000000 - 00000000fc000000 (reserved) > (XEN) 00000000fec00000 - 00000000fec10000 (reserved) > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 00000001fe000000 (usable) > (XEN) 00000001fe000000 - 0000000200000000 (reserved) > (XEN) > (XEN) **************************************** > (XEN) Panic on CPU 0: > (XEN) Cannot access memory beyond end of bootstrap direct-map area > (XEN) **************************************** > (XEN) > (XEN) Reboot in five seconds... > (XEN) Unknown interrupt (cr2=00000000) > (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000001 > ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a > ff1c5146 ff22b0 > > > > > >> -- Pasi > > > > Press CTRL-A Z for help on special keys > > > > > > > > __ __ _____ _ _ ____ > > > > \ \/ /___ _ __ |___ /| || | |___ \ > > > > \ // _ \ ''_ \ |_ \| || |_ __) | > > > > / \ __/ | | | ___) |__ _| / __/ > > > > /_/\_\___|_| |_| |____(_) |_|(_)_____| > > > > > > > > (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian > > 4.3.4-6) ) Mon Jan 25 16:28:40 EST 2010 > > (XEN) Latest ChangeSet: unavailable > > > > (XEN) Console output is synchronous. > > > > (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all > > guest_loglvl=all sync_console console_to_ring com1=9600,8n1 console=com1 > > (XEN) Video information: > > > > (XEN) VGA is text mode 80x25, font 8x16 > > > > (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds > > > > (XEN) Disc information: > > > > (XEN) Found 2 MBR signatures > > > > (XEN) Found 2 EDD information structures > > (XEN) Xen-e820 RAM map: > > (XEN) 0000000000000000 - 000000000009d000 (usable) > > (XEN) 000000000009d000 - 00000000000a0000 (reserved) > > (XEN) 00000000000ce000 - 00000000000d4000 (reserved) > > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > > (XEN) 0000000000100000 - 00000000d7f80000 (usable) > > (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) > > (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) > > (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) > > (XEN) 00000000f8000000 - 00000000fc000000 (reserved) > > (XEN) 00000000fec00000 - 00000000fec10000 (reserved) > > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > > (XEN) 0000000100000000 - 00000001fe000000 (usable) > > (XEN) 00000001fe000000 - 0000000200000000 (reserved) > > (XEN) > > (XEN) **************************************** > > (XEN) Panic on CPU 0: > > (XEN) Cannot access memory beyond end of bootstrap direct-map area > > (XEN) **************************************** > > (XEN) > > (XEN) Reboot in five seconds... > > (XEN) Unknown interrupt (cr2=00000000) > > (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000002 > > ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a > > ff1c5146 ff22b0 > > > > > > Gabor > > > >>>> -- Pasi > >>>> > > - -- > +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ > | Gabor Szilagyi (Mr.) Gabor.Szilagyi@nyo.unep.org | > | Computer System Adm. http://www.nyo.unep.org | > | UNEP/New York Office Tel: +1-212-963-7781/Fax: +1-212-963-7341 | > | I only open attachments I requested !!! No exceptions !!! | > | Put your message in the email body !!! | > +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ > "He who sacrifices freedom for security is neither secure nor free." > > Benjamin Franklin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkth99gACgkQcYMbOTV6LVoUpACgs81ojuLe8zTaS7lnEY08M2n3 > Z4MAnRYSnEx9UrExQm07Y2uYStXsFMN+ > =rzdV > -----END PGP SIGNATURE-----_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2010-Jan-28 23:04 UTC
[Xen-devel] Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
No, it''ll be a 32-bit-specific issue though. I would recommend just running a 64-bit build of Xen, if the CPU supports 64-bit mode. It''ll be something to do with GRUB2 dumping the dom0 kernel and initrd higher in memory than GRUB1, past the end of where 32-bit Xen is set up to be able to access. Probably not a hard fix, although I have no GRUB2 installation to test with. -- Keir On 28/01/2010 21:16, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:> > CCing to xen-devel and Keir. > > Keir: Have you seen this Xen hypervisor crash earlier? serial log below.. > > -- Pasi > > On Thu, Jan 28, 2010 at 03:47:20PM -0500, Gabor Szilagyi wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Pasi Kärkkäinen wrote: >>> On Thu, Jan 28, 2010 at 03:00:09PM -0500, Gabor Szilagyi wrote: >>> Pasi Kärkkäinen wrote: >>>>>> On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote: >>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>> Hash: SHA1 >>>>>>> >>>>>>> Pasi Kärkkäinen wrote: >>>>>>>> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: >>>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>>>> Hash: SHA1 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Martin Kraus wrote: >>>>>>>>>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins >>>>>>>>>> Cordeiro wrote: >>>>>>>>>>> Hi! >>>>>>>>>>> >>>>>>>>>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; >>>>>>>>>>> 2- Install your Debian into your own partition scheme (LVM over >>>>>>>>>>> RAID); >>>>>>>>>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; >>>>>>>>>>> 4- * GRUB1 is still the default in Lenny, verify it; >>>>>>>>>>> 5- Install the Xen with the command: "aptitude install >>>>>>>>>>> xen-linux-system-2.6.26-2-xen-amd64"; >>>>>>>>>>> 6- Reboot into you new dom0. >>>>>>>>>> Thanks for the effort but how does this solve the problem that xen >>>>>>>>>> doesn''t >>>>>>>>>> start? I''m already running virtual hosts on that machine and I can''t >>>>>>>>>> rip >>>>>>>>>> all of this apart just to get stuck with unbootable system again. >>>>>>>>>> >>>>>>>>>> What I need is to find out what the problem is and then start ripping >>>>>>>>>> stuff >>>>>>>>>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg >>>>>>>>>> tip, all >>>>>>>>>> get stuck at some time during xen boot. Until I''ve tried the live cd, >>>>>>>>>> I >>>>>>>>>> thought that it''s some incompatibility with my hardware but since the >>>>>>>>>> live cd is >>>>>>>>>> debian lenny on iso and it works fine, I have to look for the part >>>>>>>>>> that causes >>>>>>>>>> xen to freeze. >>>>>>>>>> >>>>>>>>>> Since there is only bios, grub and xen running in turn before the >>>>>>>>>> machine >>>>>>>>>> gets stuck I''d say that the problem is in one of these systems. >>>>>>>>>> >>>>>>>>>> I''ll try to find out something about grub and then I''m going after >>>>>>>>>> kvm before >>>>>>>>>> I decide to scratch the whole machine. >>>>>>>>> Hi Martin, >>>>>>>>> >>>>>>>>> I am having the same problem ... ever since I installed grub2 I can >>>>>>>>> not >>>>>>>>> get xen to boot. I was told it is possible but yet to see someone >>>>>>>>> writing it down how. Tried the "new" syntax, put dummy=dummy as first >>>>>>>>> cmd line argument, even compiled the root=/... in the kernel nothing >>>>>>>>> works. >>>>>>>>> >>>>>>>>> I just get Panic on CPU 0 ... and stuck dump. >>>>>>>>> >>>>>>>> Please see: >>>>>>>> http://wiki.xensource.com/xenwiki/XenCommonProblems >>>>>>>> >>>>>>>> section: >>>>>>>> "Booting Xen with GRUB2 fails?" >>>>>>> Thanks for the tip ... I tried all those no change : >>>>>>> >>>>>>> here what I have currently in gurb.cfg both recommendation is use the >>>>>>> file name twice and use dummy=dummy >>>>>> No, you don''t use both of them. >>>>>> >>>>>> The problem is that grub2 destroys the *first* parameter, >>>>>> so if you add the filename twice, that already is the extra >>>>>> first parameter, so no need for dummy anymore. >>>>>> >>>>>> Or then don''t add the filename, but use dummy. >>>>>> You just need *one* extra parameter there, as the first parameter. >>>>>> >>>>>> See the working example from here: >>>>>> http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.h >>>>>> tml >>>>>> >>>>>> >>>>>>> I am trying both the newest patched kernel and the stuck kernel coming >>>>>>> with 3.4.2 source ... both compile without error (I pretty sure I got >>>>>>> the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on >>>>>>> bare metal (strangely not the 2.6.18.8 !!) >>>>>>> >>>>>> xenlinux kernels (2.6.18.8) don''t support running as baremetal. >>>>>> pv_ops Xen kernel do support that. >>>>>> >>>>>>> But got the same error ... so I strongly believe that the xen-3.4.2.gz >>>>>>> part crashes already with grub2 .. >>>>>>> >>>>>>> I tried several other combination from grub> prompt pretty much the same >>>>>>> CPU 0 panic and the numbers after (sometime sligthly different dump ) >>>>>>> >>>>>> We really need to see the full console output to say what''s wrong. >>> Pasi, Sorry for the crossposting I put this in my original thread as >>> well but maybe helpful here.. >>> >>> >>>> Ok.. Hmm.. weird crash. Try removing "sync_console console_to_ring" from >>>> the xen options. >>> >>>> Does that make a difference? >> >> No unfortunately no difference: (note that I did make clean make >> install-xen) just to make sure it compiled right ... but the crash is >> identical... >> >> __ __ _____ _ _ ____ >> \ \/ /___ _ __ |___ /| || | |___ \ >> \ // _ \ ''_ \ |_ \| || |_ __) | >> / \ __/ | | | ___) |__ _| / __/ >> /_/\_\___|_| |_| |____(_) |_|(_)_____| >> >> (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian >> 4.3.4-6) ) Thu Jan 28 15:41:41 EST 2010 >> (XEN) Latest ChangeSet: unavailable >> (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all >> guest_loglvl=all com1=9600,8n1 console=com1 >> (XEN) Video information: >> (XEN) VGA is text mode 80x25, font 8x16 >> (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds >> (XEN) Disc information: >> (XEN) Found 2 MBR signatures >> (XEN) Found 2 EDD information structures >> (XEN) Xen-e820 RAM map: >> (XEN) 0000000000000000 - 000000000009d000 (usable) >> (XEN) 000000000009d000 - 00000000000a0000 (reserved) >> (XEN) 00000000000ce000 - 00000000000d4000 (reserved) >> (XEN) 00000000000e0000 - 0000000000100000 (reserved) >> (XEN) 0000000000100000 - 00000000d7f80000 (usable) >> (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) >> (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) >> (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) >> (XEN) 00000000f8000000 - 00000000fc000000 (reserved) >> (XEN) 00000000fec00000 - 00000000fec10000 (reserved) >> (XEN) 00000000fee00000 - 00000000fee01000 (reserved) >> (XEN) 00000000ff000000 - 0000000100000000 (reserved) >> (XEN) 0000000100000000 - 00000001fe000000 (usable) >> (XEN) 00000001fe000000 - 0000000200000000 (reserved) >> (XEN) >> (XEN) **************************************** >> (XEN) Panic on CPU 0: >> (XEN) Cannot access memory beyond end of bootstrap direct-map area >> (XEN) **************************************** >> (XEN) >> (XEN) Reboot in five seconds... >> (XEN) Unknown interrupt (cr2=00000000) >> (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000001 >> ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a >> ff1c5146 ff22b0 >> >> >>> >>>> -- Pasi >>> >>> Press CTRL-A Z for help on special keys >>> >>> >>> >>> __ __ _____ _ _ ____ >>> >>> \ \/ /___ _ __ |___ /| || | |___ \ >>> >>> \ // _ \ ''_ \ |_ \| || |_ __) | >>> >>> / \ __/ | | | ___) |__ _| / __/ >>> >>> /_/\_\___|_| |_| |____(_) |_|(_)_____| >>> >>> >>> >>> (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian >>> 4.3.4-6) ) Mon Jan 25 16:28:40 EST 2010 >>> (XEN) Latest ChangeSet: unavailable >>> >>> (XEN) Console output is synchronous. >>> >>> (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all >>> guest_loglvl=all sync_console console_to_ring com1=9600,8n1 console=com1 >>> (XEN) Video information: >>> >>> (XEN) VGA is text mode 80x25, font 8x16 >>> >>> (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds >>> >>> (XEN) Disc information: >>> >>> (XEN) Found 2 MBR signatures >>> >>> (XEN) Found 2 EDD information structures >>> (XEN) Xen-e820 RAM map: >>> (XEN) 0000000000000000 - 000000000009d000 (usable) >>> (XEN) 000000000009d000 - 00000000000a0000 (reserved) >>> (XEN) 00000000000ce000 - 00000000000d4000 (reserved) >>> (XEN) 00000000000e0000 - 0000000000100000 (reserved) >>> (XEN) 0000000000100000 - 00000000d7f80000 (usable) >>> (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) >>> (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) >>> (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) >>> (XEN) 00000000f8000000 - 00000000fc000000 (reserved) >>> (XEN) 00000000fec00000 - 00000000fec10000 (reserved) >>> (XEN) 00000000fee00000 - 00000000fee01000 (reserved) >>> (XEN) 00000000ff000000 - 0000000100000000 (reserved) >>> (XEN) 0000000100000000 - 00000001fe000000 (usable) >>> (XEN) 00000001fe000000 - 0000000200000000 (reserved) >>> (XEN) >>> (XEN) **************************************** >>> (XEN) Panic on CPU 0: >>> (XEN) Cannot access memory beyond end of bootstrap direct-map area >>> (XEN) **************************************** >>> (XEN) >>> (XEN) Reboot in five seconds... >>> (XEN) Unknown interrupt (cr2=00000000) >>> (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000002 >>> ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a >>> ff1c5146 ff22b0 >>> >>> >>> Gabor >>> >>>>>> -- Pasi >>>>>> >> >> - -- >> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ >> | Gabor Szilagyi (Mr.) Gabor.Szilagyi@nyo.unep.org | >> | Computer System Adm. http://www.nyo.unep.org | >> | UNEP/New York Office Tel: +1-212-963-7781/Fax: +1-212-963-7341 | >> | I only open attachments I requested !!! No exceptions !!! | >> | Put your message in the email body !!! | >> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ >> "He who sacrifices freedom for security is neither secure nor free." >> >> Benjamin Franklin >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >> >> iEYEARECAAYFAkth99gACgkQcYMbOTV6LVoUpACgs81ojuLe8zTaS7lnEY08M2n3 >> Z4MAnRYSnEx9UrExQm07Y2uYStXsFMN+ >> =rzdV >> -----END PGP SIGNATURE-----_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Martin Kraus
2010-Jan-29 00:23 UTC
Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
On Thu, Jan 28, 2010 at 11:04:15PM +0000, Keir Fraser wrote:> No, it''ll be a 32-bit-specific issue though. I would recommend just running > a 64-bit build of Xen, if the CPU supports 64-bit mode. It''ll be something > to do with GRUB2 dumping the dom0 kernel and initrd higher in memory than > GRUB1, past the end of where 32-bit Xen is set up to be able to access. > Probably not a hard fix, although I have no GRUB2 installation to test with.I''ve had this problem for a year now. The only xen version running is 3.0.3, newer versions crash with this error message. I''ve seen few posts about this but no replies. It might be related to grub2. I''ve tried grub2 from debian sid today and even xen 3.0.3 stopped working, I had to downgrade back to stable grub2 debian version. mk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
gabor
2010-Jan-29 02:54 UTC
Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keir Fraser wrote:> No, it''ll be a 32-bit-specific issue though. I would recommend just running > a 64-bit build of Xen, if the CPU supports 64-bit mode. It''ll be something > to do with GRUB2 dumping the dom0 kernel and initrd higher in memory than > GRUB1, past the end of where 32-bit Xen is set up to be able to access. > Probably not a hard fix, although I have no GRUB2 installation to test with. > > -- KeirSounds something interesting ... to try... Could you give some pointers as to how to compile the hypervisor as 64-bit??? I currently have a 32-bit setup but the hardware (CPU/MB/RAMetc) is 64-bit capable and I could just run 32-bit domUs I wanted to run more than a bare dom0 on the hardware for continutity .... but I am kind of free to try ANYTHING .... but I need to run stuff in Debian/32-bit ... So can you tell me how to compile a 64-bit xen.gz on my current Debian 32-bit PAE setup??? (the host needs to be up for certain other things although 24/7 is not an issue...) And if this is helpful to figure this out I am willing to spend some time to experiment ... to trying to make 32 bit built xen.gz run with grub2 Let me know... Gabor> > On 28/01/2010 21:16, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > >> CCing to xen-devel and Keir. >> >> Keir: Have you seen this Xen hypervisor crash earlier? serial log below.. >> >> -- Pasi >> >> On Thu, Jan 28, 2010 at 03:47:20PM -0500, Gabor Szilagyi wrote: > Pasi Kärkkäinen wrote: >>>>> On Thu, Jan 28, 2010 at 03:00:09PM -0500, Gabor Szilagyi wrote: >>>>> Pasi Kärkkäinen wrote: >>>>>>>> On Thu, Jan 28, 2010 at 11:11:50AM -0500, Gabor Szilagyi wrote: >>>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>>>> Hash: SHA1 >>>>>>>>> >>>>>>>>> Pasi Kärkkäinen wrote: >>>>>>>>>> On Wed, Jan 27, 2010 at 09:41:02AM -0500, Gabor Szilagyi wrote: >>>>>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>>>>>> Hash: SHA1 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Martin Kraus wrote: >>>>>>>>>>>> On Tue, Jan 26, 2010 at 05:34:59PM -0200, Thiago Camargo Martins >>>>>>>>>>>> Cordeiro wrote: >>>>>>>>>>>>> Hi! >>>>>>>>>>>>> >>>>>>>>>>>>> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org; >>>>>>>>>>>>> 2- Install your Debian into your own partition scheme (LVM over >>>>>>>>>>>>> RAID); >>>>>>>>>>>>> 3- Reboot into your new fresh Debian Lenny; upgrade it; >>>>>>>>>>>>> 4- * GRUB1 is still the default in Lenny, verify it; >>>>>>>>>>>>> 5- Install the Xen with the command: "aptitude install >>>>>>>>>>>>> xen-linux-system-2.6.26-2-xen-amd64"; >>>>>>>>>>>>> 6- Reboot into you new dom0. >>>>>>>>>>>> Thanks for the effort but how does this solve the problem that xen >>>>>>>>>>>> doesn''t >>>>>>>>>>>> start? I''m already running virtual hosts on that machine and I can''t >>>>>>>>>>>> rip >>>>>>>>>>>> all of this apart just to get stuck with unbootable system again. >>>>>>>>>>>> >>>>>>>>>>>> What I need is to find out what the problem is and then start ripping >>>>>>>>>>>> stuff >>>>>>>>>>>> apart. I''ve tried to compile xen myself, versions 3.2, 3.3, 3.4, hg >>>>>>>>>>>> tip, all >>>>>>>>>>>> get stuck at some time during xen boot. Until I''ve tried the live cd, >>>>>>>>>>>> I >>>>>>>>>>>> thought that it''s some incompatibility with my hardware but since the >>>>>>>>>>>> live cd is >>>>>>>>>>>> debian lenny on iso and it works fine, I have to look for the part >>>>>>>>>>>> that causes >>>>>>>>>>>> xen to freeze. >>>>>>>>>>>> >>>>>>>>>>>> Since there is only bios, grub and xen running in turn before the >>>>>>>>>>>> machine >>>>>>>>>>>> gets stuck I''d say that the problem is in one of these systems. >>>>>>>>>>>> >>>>>>>>>>>> I''ll try to find out something about grub and then I''m going after >>>>>>>>>>>> kvm before >>>>>>>>>>>> I decide to scratch the whole machine. >>>>>>>>>>> Hi Martin, >>>>>>>>>>> >>>>>>>>>>> I am having the same problem ... ever since I installed grub2 I can >>>>>>>>>>> not >>>>>>>>>>> get xen to boot. I was told it is possible but yet to see someone >>>>>>>>>>> writing it down how. Tried the "new" syntax, put dummy=dummy as first >>>>>>>>>>> cmd line argument, even compiled the root=/... in the kernel nothing >>>>>>>>>>> works. >>>>>>>>>>> >>>>>>>>>>> I just get Panic on CPU 0 ... and stuck dump. >>>>>>>>>>> >>>>>>>>>> Please see: >>>>>>>>>> http://wiki.xensource.com/xenwiki/XenCommonProblems >>>>>>>>>> >>>>>>>>>> section: >>>>>>>>>> "Booting Xen with GRUB2 fails?" >>>>>>>>> Thanks for the tip ... I tried all those no change : >>>>>>>>> >>>>>>>>> here what I have currently in gurb.cfg both recommendation is use the >>>>>>>>> file name twice and use dummy=dummy >>>>>>>> No, you don''t use both of them. >>>>>>>> >>>>>>>> The problem is that grub2 destroys the *first* parameter, >>>>>>>> so if you add the filename twice, that already is the extra >>>>>>>> first parameter, so no need for dummy anymore. >>>>>>>> >>>>>>>> Or then don''t add the filename, but use dummy. >>>>>>>> You just need *one* extra parameter there, as the first parameter. >>>>>>>> >>>>>>>> See the working example from here: >>>>>>>> http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.h >>>>>>>> tml >>>>>>>> >>>>>>>> >>>>>>>>> I am trying both the newest patched kernel and the stuck kernel coming >>>>>>>>> with 3.4.2 source ... both compile without error (I pretty sure I got >>>>>>>>> the config right for xen). Actually I can boot the 2.6.31.6-xen-2 on >>>>>>>>> bare metal (strangely not the 2.6.18.8 !!) >>>>>>>>> >>>>>>>> xenlinux kernels (2.6.18.8) don''t support running as baremetal. >>>>>>>> pv_ops Xen kernel do support that. >>>>>>>> >>>>>>>>> But got the same error ... so I strongly believe that the xen-3.4.2.gz >>>>>>>>> part crashes already with grub2 .. >>>>>>>>> >>>>>>>>> I tried several other combination from grub> prompt pretty much the same >>>>>>>>> CPU 0 panic and the numbers after (sometime sligthly different dump ) >>>>>>>>> >>>>>>>> We really need to see the full console output to say what''s wrong. >>>>> Pasi, Sorry for the crossposting I put this in my original thread as >>>>> well but maybe helpful here.. >>>>> >>>>> >>>>>> Ok.. Hmm.. weird crash. Try removing "sync_console console_to_ring" from >>>>>> the xen options. >>>>>> Does that make a difference? > No unfortunately no difference: (note that I did make clean make > install-xen) just to make sure it compiled right ... but the crash is > identical... > > __ __ _____ _ _ ____ > \ \/ /___ _ __ |___ /| || | |___ \ > \ // _ \ ''_ \ |_ \| || |_ __) | > / \ __/ | | | ___) |__ _| / __/ > /_/\_\___|_| |_| |____(_) |_|(_)_____| > > (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian > 4.3.4-6) ) Thu Jan 28 15:41:41 EST 2010 > (XEN) Latest ChangeSet: unavailable > (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all > guest_loglvl=all com1=9600,8n1 console=com1 > (XEN) Video information: > (XEN) VGA is text mode 80x25, font 8x16 > (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds > (XEN) Disc information: > (XEN) Found 2 MBR signatures > (XEN) Found 2 EDD information structures > (XEN) Xen-e820 RAM map: > (XEN) 0000000000000000 - 000000000009d000 (usable) > (XEN) 000000000009d000 - 00000000000a0000 (reserved) > (XEN) 00000000000ce000 - 00000000000d4000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 00000000d7f80000 (usable) > (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) > (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) > (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) > (XEN) 00000000f8000000 - 00000000fc000000 (reserved) > (XEN) 00000000fec00000 - 00000000fec10000 (reserved) > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 00000001fe000000 (usable) > (XEN) 00000001fe000000 - 0000000200000000 (reserved) > (XEN) > (XEN) **************************************** > (XEN) Panic on CPU 0: > (XEN) Cannot access memory beyond end of bootstrap direct-map area > (XEN) **************************************** > (XEN) > (XEN) Reboot in five seconds... > (XEN) Unknown interrupt (cr2=00000000) > (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000001 > ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a > ff1c5146 ff22b0 > > >>>>>> -- Pasi >>>>> Press CTRL-A Z for help on special keys >>>>> >>>>> >>>>> >>>>> __ __ _____ _ _ ____ >>>>> >>>>> \ \/ /___ _ __ |___ /| || | |___ \ >>>>> >>>>> \ // _ \ ''_ \ |_ \| || |_ __) | >>>>> >>>>> / \ __/ | | | ___) |__ _| / __/ >>>>> >>>>> /_/\_\___|_| |_| |____(_) |_|(_)_____| >>>>> >>>>> >>>>> >>>>> (XEN) Xen version 3.4.2 (root@nyo.unep.org) (gcc version 4.3.4 (Debian >>>>> 4.3.4-6) ) Mon Jan 25 16:28:40 EST 2010 >>>>> (XEN) Latest ChangeSet: unavailable >>>>> >>>>> (XEN) Console output is synchronous. >>>>> >>>>> (XEN) Command line: dummy=dummy dom0_mem=512M loglvl=all >>>>> guest_loglvl=all sync_console console_to_ring com1=9600,8n1 console=com1 >>>>> (XEN) Video information: >>>>> >>>>> (XEN) VGA is text mode 80x25, font 8x16 >>>>> >>>>> (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds >>>>> >>>>> (XEN) Disc information: >>>>> >>>>> (XEN) Found 2 MBR signatures >>>>> >>>>> (XEN) Found 2 EDD information structures >>>>> (XEN) Xen-e820 RAM map: >>>>> (XEN) 0000000000000000 - 000000000009d000 (usable) >>>>> (XEN) 000000000009d000 - 00000000000a0000 (reserved) >>>>> (XEN) 00000000000ce000 - 00000000000d4000 (reserved) >>>>> (XEN) 00000000000e0000 - 0000000000100000 (reserved) >>>>> (XEN) 0000000000100000 - 00000000d7f80000 (usable) >>>>> (XEN) 00000000d7f80000 - 00000000d7f98000 (ACPI data) >>>>> (XEN) 00000000d7f98000 - 00000000d7fbc000 (ACPI NVS) >>>>> (XEN) 00000000d7fbc000 - 00000000e0000000 (reserved) >>>>> (XEN) 00000000f8000000 - 00000000fc000000 (reserved) >>>>> (XEN) 00000000fec00000 - 00000000fec10000 (reserved) >>>>> (XEN) 00000000fee00000 - 00000000fee01000 (reserved) >>>>> (XEN) 00000000ff000000 - 0000000100000000 (reserved) >>>>> (XEN) 0000000100000000 - 00000001fe000000 (usable) >>>>> (XEN) 00000001fe000000 - 0000000200000000 (reserved) >>>>> (XEN) >>>>> (XEN) **************************************** >>>>> (XEN) Panic on CPU 0: >>>>> (XEN) Cannot access memory beyond end of bootstrap direct-map area >>>>> (XEN) **************************************** >>>>> (XEN) >>>>> (XEN) Reboot in five seconds... >>>>> (XEN) Unknown interrupt (cr2=00000000) >>>>> (XEN) ff202ec4 a1e00000 00000002 ff22be54 00000086 00000002 >>>>> ff1d68dc 00000000 ff14e687 0000e008 00000286 ff1d67c0 0000000a >>>>> ff1c5146 ff22b0 >>>>> >>>>> >>>>> Gabor >>>>> >>>>>>>> -- Pasi >>>>>>>>- -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Gabor Szilagyi (Mr.) Gabor.Szilagyi@nyo.unep.org | | Computer System Adm. http://www.nyo.unep.org | | UNEP/New York Office Tel: +1-212-963-7781/Fax: +1-212-963-7341 | | I only open attachments I requested !!! No exceptions !!! | | Put your message in the email body !!! | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ "This would be the best of all possible worlds if there were no religion in it." John Adams -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktiTewACgkQcYMbOTV6LVqEdgCgtWkhbmtN/Nfwfi0FBYHIwI0P ICgAnAuaFwGs2Xs0zxf0qMqYs/4BFBTj =oAYH -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2010-Jan-29 06:36 UTC
Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
On 29/01/2010 02:54, "gabor" <szilagyi@nyo.unep.org> wrote:> Sounds something interesting ... to try... > Could you give some pointers as to how to compile the hypervisor as > 64-bit??? > > I currently have a 32-bit setup but the hardware (CPU/MB/RAMetc) is > 64-bit capable and I could just run 32-bit domUs I wanted to run more > than a bare dom0 on the hardware for continutity .... but I am kind of > free to try ANYTHING .... but I need to run stuff in Debian/32-bit ... > > So can you tell me how to compile a 64-bit xen.gz on my current Debian > 32-bit PAE setup??? (the host needs to be up for certain other things > although 24/7 is not an issue...)Assuming you know how to download and build and install 32-bit Xen, what you may be able to do is: cd xen; XEN_TARGET_ARCH=x86_64 make install It depends if your 32-bit gcc can cross-compile to 64-bit target. -- Keir _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gabor Szilagyi
2010-Jan-29 15:50 UTC
Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keir Fraser wrote:> On 29/01/2010 02:54, "gabor" <szilagyi@nyo.unep.org> wrote: > >> Sounds something interesting ... to try... >> Could you give some pointers as to how to compile the hypervisor as >> 64-bit??? >> >> I currently have a 32-bit setup but the hardware (CPU/MB/RAMetc) is >> 64-bit capable and I could just run 32-bit domUs I wanted to run more >> than a bare dom0 on the hardware for continutity .... but I am kind of >> free to try ANYTHING .... but I need to run stuff in Debian/32-bit ... >> >> So can you tell me how to compile a 64-bit xen.gz on my current Debian >> 32-bit PAE setup??? (the host needs to be up for certain other things >> although 24/7 is not an issue...) > > Assuming you know how to download and build and install 32-bit Xen, what you > may be able to do is: cd xen; XEN_TARGET_ARCH=x86_64 make installHi Keir, Appreciate your help .... I assume you mean export XEN_TARGET_ARCH=x86_64 and then make install ... it seems to generate the same 32bit xen Tried this but something is not really working installed the mulitlib package as well.> > It depends if your 32-bit gcc can cross-compile to 64-bit target.Something is not right on my system (or I lack the skill to figure out cross-compiling):-) Well, I went with an easier way.... installed Debian 64 bit hypervisor from testing and that solved the problem .... So the bug is only shows up with 32bit hypervisor....not with 64.... this is why some people could use GRUB2 (most people I guess goes 64bit these days...). Pasi, maybe the above is a good bit for your Wiki pages... would have saved me almost 2 weeks tinkering (I tried all kinds of things before asking the question here on the list). Since this is my very first XEN project, I yet to create a domU :-) Let me know if the consol output would be any help ... but I guess that just shows normal boot.. Gabor> > -- Keir > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >- -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Gabor Szilagyi (Mr.) Gabor.Szilagyi@nyo.unep.org | | Computer System Adm. http://www.nyo.unep.org | | UNEP/New York Office Tel: +1-212-963-7781/Fax: +1-212-963-7341 | | I only open attachments I requested !!! No exceptions !!! | | Put your message in the email body !!! | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ "He who sacrifices freedom for security is neither secure nor free." Benjamin Franklin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktjA9gACgkQcYMbOTV6LVqqBgCgtd7WWyXHzM2fvH2X8pTPVjDz FyQAoM/xGGERNYk8SbihloaaR73X9OrH =aKy9 -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2010-Jan-29 16:40 UTC
[Xen-devel] Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
On 29/01/2010 15:50, "Gabor Szilagyi" <szilagyi@nyo.unep.org> wrote:> So the bug is only shows up with 32bit hypervisor....not with 64.... > this is why some people could use GRUB2 (most people I guess goes 64bit > these days...). > > Pasi, maybe the above is a good bit for your Wiki pages... would have > saved me almost 2 weeks tinkering (I tried all kinds of things before > asking the question here on the list).If it pushes people to the 64-bit hypervisor then all the better. That is what gets the lion''s share of the testing, and should have better performance too. But I will help someone get 32-bit Xen working with GRUB2 if they are really stuck and are capable of applying, building and testing my patches. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Jan-30 14:54 UTC
Re: [Xen-devel] Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
On Fri, Jan 29, 2010 at 04:40:54PM +0000, Keir Fraser wrote:> On 29/01/2010 15:50, "Gabor Szilagyi" <szilagyi@nyo.unep.org> wrote: > > > So the bug is only shows up with 32bit hypervisor....not with 64.... > > this is why some people could use GRUB2 (most people I guess goes 64bit > > these days...). > > > > Pasi, maybe the above is a good bit for your Wiki pages... would have > > saved me almost 2 weeks tinkering (I tried all kinds of things before > > asking the question here on the list). >I already added a note of this to the wiki pages.> If it pushes people to the 64-bit hypervisor then all the better. That is > what gets the lion''s share of the testing, and should have better > performance too. But I will help someone get 32-bit Xen working with GRUB2 > if they are really stuck and are capable of applying, building and testing > my patches. >I think it''s worth fixing, many distros will start using GRUB2 sooner or later.. Hopefully someone can test the patches. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Feb-04 07:50 UTC
Re: [Xen-devel] Re: [Xen-users] Xen 3.4.2 hypervisor crash, Cannot access memory beyond end of bootstrap direct-map area, Unknown interrupt
On Fri, Jan 29, 2010 at 04:40:54PM +0000, Keir Fraser wrote:> On 29/01/2010 15:50, "Gabor Szilagyi" <szilagyi@nyo.unep.org> wrote: > > > So the bug is only shows up with 32bit hypervisor....not with 64.... > > this is why some people could use GRUB2 (most people I guess goes 64bit > > these days...). > > > > Pasi, maybe the above is a good bit for your Wiki pages... would have > > saved me almost 2 weeks tinkering (I tried all kinds of things before > > asking the question here on the list). > > If it pushes people to the 64-bit hypervisor then all the better. That is > what gets the lion''s share of the testing, and should have better > performance too. But I will help someone get 32-bit Xen working with GRUB2 > if they are really stuck and are capable of applying, building and testing > my patches. >Gabor: Are you able to test patches related to this problem? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users