[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/XenSerialConsole
I 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.html

I did follow that but could not boot XEN anyways.

Gabor

> 
> -- Pasi
> 


- --
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Gabor Szilagyi (Mr.)                    Gabor.Szilagyi@xxxxxxxxxxxx |
| 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.