WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] problem booting xen 3.0 dom0 on

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-users] problem booting xen 3.0 dom0 on
From: Jayesh Salvi <jayeshsalvi@xxxxxxxxx>
Date: Mon, 19 Dec 2005 09:27:31 -0600
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Dec 2005 15:30:14 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DQUQ8atdsdyR8jNDkgfG8svGUW9A4pJItECFvMG989raAWh8ml0F7tHfrIf7fFF4MotOzDtMysxI7LRUOHF8LQWSc6sgqNv+SktxBgkPKYoSzor+UT+rsmgqCCl0MhsLnDLWZeVj8i6+qougX6gS7lRu5efLGnb1RbXNEPPWzZg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43A4C957.1020901@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <871640aa0512171358i58910f1cjd4edaed597e5eba0@xxxxxxxxxxxxxx> <43A48D5C.4090606@xxxxxxxxxx> <871640aa0512171504u1e7ed899k8bac6f9bb601e3b4@xxxxxxxxxxxxxx> <43A4C957.1020901@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I removed splash and quite. I didn't find any difference. The boot process looks frozen on the serial console anyway. I looked into /var/log/messages, but didn't find anything helpful. I am attaching a log file if you would like to have a look at it.

Thanks for your help.

Jayesh

On 12/17/05, Anthony Liguori <aliguori@xxxxxxxxxx> wrote:
Jayesh Salvi wrote:

> Actually, I had started with that. My initrd line was a module rather
> than initrd. But with that the booting just hangs. I tried it again to
> give u exact output:
> -----------------------------------------------------------------------------------------------------------
>
>   Booting 'Xen 3.0 / XenLinux 2.6'
>
> root  (hd0,0)
>  Filesystem type is ext2fs, partition type 0x83
> kernel  /boot/xen-3.0.0.gz console=vga
>    [Multiboot-elf, <0x100000:0x6b1ec:0x2be14>, shtab=0x197078,
> entry=0x100000]
> module  /boot/vmlinuz-2.6.12.6-xen0 root=/dev/hda1 ro console=tty1
> console=ttyS
> 0,38400 quiet splash
>    [Multiboot-module @ 0x198000, 0x4c13cc bytes]
> module  /boot/initrd- 2.6.12.6-xen0.img
>    [Multiboot-module @ 0x65a000, 0x3bb400 bytes]
> boot
> ---------------------------------------------------- It hung at this
> point
> ---------------------------------------------------------------------------

splash and quiet are going to supress all of the Linux boot messages
(and splash isn't going to work under Xen).  You should remove both.

You should see xend output though.  Try removing the console=vga part in
the kernel line and see if that narrows it down.

Regards,

Anthony Liguori

> I have to do a reboot to get out of this.
>
> Any more suggestions that I can try?
>
> Thanks for your help
> Jayesh
>
> On 12/18/05, *Anthony Liguori* <aliguori@xxxxxxxxxx
> <mailto:aliguori@xxxxxxxxxx>> wrote:
>
>     Hi Jayesh,
>
>     You want:
>
>     title           Xen 3.0 / XenLinux 2.6
>     root            (hd0,0)
>     kernel          /boot/xen-3.0.0.gz console=vga
>     module          /boot/vmlinuz- 2.6.12.6-xen0 root=/dev/hda1 ro
>     console=tty1 console=ttyS0,38400 quiet splash
>     module          /boot/initrd-2.6.12.6-xen0.img
>
>     initrd is strictly for the Linux boot protocol whereas Xen uses
>     multiboot.  With multiboot, there's no difference between the
>     initrd or
>     the dom0 other than order (they're both just modules).
>
>     Regards,
>
>     Anthony Liguori
>
>     Jayesh Salvi wrote:
>
>     > Hi,
>     >
>     > I am installing Xen 3.0 on a Ubuntu system. I am having trouble
>     making
>     > the GRUB boot with the Xen dom0 image I built. I am using the
>     > initramdisk created by commands:
>     > # depmod 2.6.12.6-xen0
>     > # mkinitramfs -o initrd-2.6.12.6-xen0.img 2.6.12.6-xen0
>     >
>     > Grub version: GNU GRUB  version 0.95
>     >
>     --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>     >
>     > The title paragraphs from menu.lst - first for regular Ubuntu kernel
>     > and second for Xen.
>     >
>     > title           Ubuntu, kernel 2.6.12-9-686
>     > root            (hd0,0)
>     > kernel          /boot/vmlinuz- 2.6.12-9-686 root=/dev/hda1 ro
>     > console=tty1 console=ttyS0,38400 quiet splash
>     > initrd          /boot/initrd.img-2.6.12-9-686
>     > savedefault
>     > boot
>     >
>     > title           Xen 3.0 / XenLinux 2.6
>     > root            (hd0,0)
>     > kernel          /boot/xen-3.0.0.gz console=vga
>     > module          /boot/vmlinuz- 2.6.12.6-xen0 root=/dev/hda1 ro
>     > console=tty1 console=ttyS0,38400 quiet splash
>     > initrd          /boot/initrd- 2.6.12.6-xen0.img
>     > boot
>     >
>     --------------------------------------------------------------------------------------------------------------------------------------------------------------
>     >
>     >
>     >
>     > When I boot Xen 3.0/XenLinux 2.6, I get the  following message:
>     >
>     --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>     >
>     >  Booting 'Xen 3.0 / XenLinux 2.6'
>     >
>     > root  (hd0,0)
>     >  Filesystem type is ext2fs, partition type 0x83
>     > kernel  /boot/xen- 3.0.0.gz console=vga
>     >    [Multiboot-elf, <0x100000:0x6b1ec:0x2be14>, shtab=0x197078,
>     > entry=0x100000]
>     > module  /boot/vmlinuz-2.6.12.6-xen0 root=/dev/hda1 ro console=tty1
>     > console=ttyS
>     > 0,38400 quiet splash
>     >    [Multiboot-module @ 0x198000, 0x4c13cc bytes]
>     > initrd  /boot/initrd- 2.6.12.6-xen0.img
>     >
>     > Error 19: Linux kernel must be loaded before initrd
>     >
>     > Press any key to continue...
>     >
>     --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>     >
>     >
>     >
>     > I don't understand what is wrong with my grub entry for Xen.
>     > xen-3.0.0.gz is a multi-boot kernel. I built it from the Xen 3.0
>     > source code.
>     >
>     > I also don't understand the exact difference in giving the vmlinuz*
>     > image as a kernel as in first paragraph, versus giving it as a
>     module
>     > as in Xen paragraph.
>     >
>     > Can anyone tell me what can I try?
>     >
>     > Thanks
>     > --
>     > Jayesh
>     >
>     >------------------------------------------------------------------------
>
>     >
>     >_______________________________________________
>     >Xen-users mailing list
>     >Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
>     > http://lists.xensource.com/xen-users
>     >
>
>
>
>
> --
> Jayesh
>




--
Jayesh

Attachment: xen0_boot.log
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users