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] Installing Xen 4.0.1 on Ubuntu 10.04

To: Marcela Castro León <mcastrol@xxxxxxxxx>
Subject: Re: [Xen-users] Installing Xen 4.0.1 on Ubuntu 10.04
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Wed, 3 Nov 2010 07:14:19 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 03 Nov 2010 07:16:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=PicS0felsDs0B3FH/c31oRNelpA0qxvaSCl3HrJdgBA=; b=lcqR1bgK06mh/Eohf9uqCnq4zW3yeQd0QnWBmxri4QFkpO05oUNb25m7clnmxIYEcX ACsZ0s6kO8TwBeddBlX1ktLMk5cUF2RaRRoLb8X6n6eNCFVpKW+5fva2jL1ctUMjftQU 74vxt1olfc1Jftc1v1gtlwXZc78XWNqa16hAg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=eCBvwd/ZopbddxSyiAKW3jqcH4t5GQbZFkOnynJ/uCduzeket978Ud66fTTpTgLZ5j lV+g4zdUXZ0Uk6JFnacXSB/qdTEUTJgSU3nDQaFi/g6KOZBR6nxIw8qYzVt6pRwoN80G 85M+CYf3ejAWD23oXDBrElsCAmD4i73kEq2+0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikYOLdU7guEz_MNfjAc80XPQo6JsX15Zyi+uRsu@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimb8_0_xr0_hdWsSypF_EOR7cobKoa7bLi8dyHO@xxxxxxxxxxxxxx> <413810.43951.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikFc3pz1Wq2wgce5baQWzBA=9MHZutybmggB_BZ@xxxxxxxxxxxxxx> <AANLkTikYOLdU7guEz_MNfjAc80XPQo6JsX15Zyi+uRsu@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

2010/11/3 Marcela Castro León <mcastrol@xxxxxxxxx>
Hello:
I've solved the boot problem but now i've another error.
The xen can´t mount the device, so, after show me the errors, its stop at "initramfs" prompt.

This is the error that shows:

mount: mounting none on /dev failed.
       no such device
     begin loading essencial drivers
  done
   Begin running /scripts/init_premount
   done
  begin
   mounting root file system
   running scrip/local_top ...
  done
  Gave up waiting for root device . Common problems
- boot args (cat /proc/cmdline
  - check root delay ...
  - check root ...
-Missing modules /cat /proc/modules (ls/deb

Alert! does not exist Dropping to a shell

(initrams)


I've recompiled selecting the option of "ext4" (make menuconfig), because i'm using this kind of fs, but i've got the same error.


Someone cant say me what woulb be wrong?
Thank you very much,

This is that Boris asked me before and the grub.cfg


marcela@aoniken:~$ sudo df -h
[sudo] password for marcela:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb5              92G  7.8G   80G   9% /
none                  2.9G  288K  2.9G   1% /dev
none                  2.9G  164K  2.9G   1% /dev/shm
none                  2.9G   84K  2.9G   1% /var/run
none                  2.9G     0  2.9G   0% /var/lock
none                  2.9G     0  2.9G   0% /lib/init/rw
/dev/sda1             7.5G  1.7G  5.9G  22% /media/Marcela
marcela@aoniken:~$ ls -l /boot
total 50396
-rw-r--r-- 1 root root   645813 2010-09-16 20:24 abi-2.6.32-24-generic
-rw-r--r-- 1 root root   646144 2010-10-16 22:37 abi-2.6.32-25-generic
-rw-r--r-- 1 root root    69052 2010-11-03 01:35 config-2.6.32.24
-rw-r--r-- 1 root root   110458 2010-09-16 20:24 config-2.6.32-24-generic
-rw-r--r-- 1 root root   110600 2010-10-16 22:37 config-2.6.32-25-generic
drwxr-xr-x 3 root root     4096 2010-11-03 02:07 grub
-rw-r--r-- 1 root root  2882849 2010-11-03 01:45 initrd.img-2.6.32.24
-rw-r--r-- 1 root root  8282553 2010-10-29 00:19 initrd.img-2.6.32-24-generic
-rw-r--r-- 1 root root  8340845 2010-10-29 00:20 initrd.img-2.6.32-25-generic
-rw-r--r-- 1 root root   160280 2010-03-23 10:40 memtest86+.bin
-rwxr-xr-x 1 root root  2306731 2010-11-03 01:35 System.map-2.6.32.24
-rw-r--r-- 1 root root  2154635 2010-09-16 20:24 System.map-2.6.32-24-generic
-rw-r--r-- 1 root root  2155696 2010-10-16 22:37 System.map-2.6.32-25-generic
-rw-r--r-- 1 root root     1336 2010-09-16 20:28 vmcoreinfo-2.6.32-24-generic
-rw-r--r-- 1 root root     1336 2010-10-16 22:38 vmcoreinfo-2.6.32-25-generic
-rwxr-xr-x 1 root root  4540128 2010-11-03 01:35 vmlinuz-2.6.32.24
-rw-r--r-- 1 root root  4050848 2010-09-16 20:24 vmlinuz-2.6.32-24-generic
-rw-r--r-- 1 root root  4050592 2010-10-16 22:37 vmlinuz-2.6.32-25-generic
-rw-r--r-- 1 root root   678010 2010-10-29 01:51 xen-4.0.1.gz
lrwxrwxrwx 1 root root       12 2010-10-29 01:51 xen-4.0.gz -> xen-4.0.1.gz
lrwxrwxrwx 1 root root       12 2010-10-29 01:51 xen-4.gz -> xen-4.0.1.gz
lrwxrwxrwx 1 root root       12 2010-10-29 01:51 xen.gz -> xen-4.0.1.gz
-rw-r--r-- 1 root root 10373170 2010-10-29 01:51 xen-syms-4.0.1
marcela@aoniken:~$



Sounds like you're missing a driver for your root block device. Not sure what to tell you to add, perhaps one of the piix pata/sata devices?
Or, perhaps you're missing the xen_blkfront driver.
Might be that you're just missing the driver from your initrd.
After you're at the initramfs prompt, do you see any /dev/sd* or /dev//hd* devices?

-Bruce
 
 

 




2010/11/2 Boris Derzhavets <bderzhavets@xxxxxxxxx>
Please,  post

#  df -h
#  ls  -l  /boot


Boris

--- On Tue, 11/2/10, Marcela Castro León <mcastrol@xxxxxxxxx> wrote:

From: Marcela Castro León <mcastrol@xxxxxxxxx>
Subject: Re: [Xen-users] Installing Xen 4.0.1 on Ubuntu 10.04
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Bruce Edge" <bruce.edge@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, November 2, 2010, 10:57 AM


Hello Boris:
I did it, but I've got the same result.
thank you very much.
Marcela


2010/11/2 Boris Derzhavets <bderzhavets@xxxxxxxxx>
menuentry "Xen 4.0.1 / Ubuntu 10.04 kernel 2.6.32.24" {
recordfail
insmod ext2
set root='(hd0,5)'
multiboot (hd0,5)/boot/xen-4.0.1.gz dom0_mem=1024M loglvl=all guest_loglvl=all sync_console
module (hd0,5)/boot/vmlinuz-2.6.32-24 root=/dev/sda5 ro nomodeset
module (hd0,5)/boot/initrd.img-2.6.32-24
}

If this is your config, i would change it :-

menuentry "Xen 4.0.1 / Ubuntu 10.04 kernel 2.6.32.24" {
recordfail
insmod ext2
set root='(hd0,5)'
multiboot (hd0,5)/boot/xen-4.0.1.gz dom0_mem=1024M loglvl=all guest_loglvl=all
module (hd0,5)/boot/vmlinuz-2.6.32-24 root=/dev/sda5 ro console=tty0
module (hd0,5)/boot/initrd.img-2.6.32-24
}

Boris.

--- On Tue, 11/2/10, Marcela Castro León <mcastrol@xxxxxxxxx> wrote:

From: Marcela Castro León <mcastrol@xxxxxxxxx>
Subject: Re: [Xen-users] Installing Xen 4.0.1 on Ubuntu 10.04
To: "Bruce Edge" <bruce.edge@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, November 2, 2010, 10:10 AM


Hello
This is the grub.cfg. The system hangs-up when try to boot with dom0 kernel, so, I can't ping any host. The last message that show is
"(XEN) dom0 kernel not specified. Check bootloader configuration. "

I'm trying to configure the serial console and turn up the boot, and i'll send you more infomation if I get it, because is still hanging up.
Thanks in advance.
Marcela


2010/10/29 Bruce Edge <bruce.edge@xxxxxxxxx>
2010/10/29 Marcela Castro León <mcastrol@xxxxxxxxx>:
> Hello
> I'm installing XEN 4.0.1 onubuntu 10.04, My machine has 2 processor intel
> core duo E8400 3GHz.
> I'm following this procedure.
> http://www.gossamer-threads.com/lists/xen/users/185290
> and i've checked some information on this page
> http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/
>
> The system doesn't boot, but afetr choose the option on the boot menu,
> appears these messages from XEN 4.0.1:
> (XEN) command line...
> (XEN) Video Information
> ...
> (XEN) Disk information
> (XEN) ...
> (XEN) ...
> (XEN) dom0 kernel specified check boot loader configuration-
> This is the last sentence, and then the system hangs up.
> Can anyone say me what would happend?

Can you ping / ssh into it from another system?

Can you attach a serial console and turn up the xen boot debug
messages (see links below)?

Post your grub.cfg entry.

Try this link for common problems:

http://wiki.xensource.com/xenwiki/XenDebugging
http://wiki.xensource.com/xenwiki/XenCommonProblems
http://wiki.xensource.com/xenwiki/XenFaq

-Bruce

> Thank you very much.
> Regards.
> Marcela
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>


-----Inline Attachment Follows-----


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



-----Inline Attachment Follows-----

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




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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>