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

[Xen-users] cannot boot my dom0 : hard drive not found


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: pierre maziÃres <mazieres.pierre@xxxxxxxxx>
  • Date: Mon, 5 Oct 2009 14:27:30 +0200
  • Delivery-date: Mon, 05 Oct 2009 05:28:23 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ooLJ9s2GEXj4Ml5UWvG8sbfJb+lbpPK2jsn/QKFCCRfMllHuCcDqyARJsPY7po0yW3 M4WFiNorlkYlmytK7oPz9/01+lFddmyUoGqK7DyggNwqX42inhCxoRE/keug7GMDGF5D SWjQRk/5+csJGGM46FlOG2a6qhQBNQRS9FIX4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I have a problem while booting on dom0 : my hard drive disk can't be found.
This issue was probably ever solved, I found some topics closed to it, but it wasn't helpful.
Maybe someone already fixed this problem.

My hardware configuration is :
Â- motherboard : MSI MS-7366
Â- CPU : Intel Celeron E1200 1.60GHz
Â- internal hard drive : SAMSUNG HD321KJ connected with SATA
I use Ubuntu-9.04, fully updated.

I downloaded XEN archive from XEN web site : xen-3.4.0-xen.tar.gz
I installed it with de following script (comments are in French) :
ÂÂÂ # decompression de l'archive
ÂÂÂ cd /home/ymir/Programmes/setup/xen
ÂÂÂ tar -xzvf xen-3.4.0-xen.tar.gz
ÂÂÂ cd xen-3.4.0
ÂÂÂ # installation de XEN
ÂÂÂ sudo make world
ÂÂÂ sudo make install
ÂÂÂ sudo sh ./install.sh
ÂÂÂ # creer l'arbre
ÂÂÂ sudo make dist
ÂÂÂ # separer les kernel de dom0 et du domU
ÂÂÂ sudo make world KERNELS="linux-2.6-xen0 linux-2.6-xenU"
ÂÂÂ # installer le noyau du dom0 et du domU
ÂÂÂ cd build-linux-2.6.18-xen0_x86_64 #pour le dom0
ÂÂÂ sudo make menuconfig #ATTENTION : dÃsactiver boot NFS : File System -> Networ File System -> Root file system on NFS
ÂÂÂ ÂÂÂ ÂÂÂ ÂÂÂÂ #ATTENTION : dÃsactiver ACPI : Power management options -> ACPI (Advanced Configuration and Power Interface) support -> ACPI support
ÂÂÂ ÂÂÂ ÂÂÂ ÂÂÂÂ #ATTENTION : activer SATA : Device Drivers -> ATA/ATAPI/RLL support -> Support for SATA
ÂÂÂ sudo make
ÂÂÂ sudo make modules
ÂÂÂ sudo make modules_install
ÂÂÂ sudo make install
ÂÂÂ cd ../build-linux-2.6.18-xenU_x86_64 #pour le domU
ÂÂÂ sudo make menuconfig #dÃsactiver aussi le boot NFS (l'ACPI et le SATA n'existent pas sur les machines virtuelles)
ÂÂÂ sudo make
ÂÂÂ sudo make modules
ÂÂÂ sudo make modules_install
ÂÂÂ sudo make install
ÂÂÂ # crÃer une image disque du noyau
ÂÂÂ cd ..
ÂÂÂ sudo mkinitramfs -o initrd-2.6.18.8-xen0.img 2.6.18.8-xen0
ÂÂÂ sudo cp ./initrd-2.6.18.8-xen0.img /boot
ÂÂÂ sudo mkinitramfs -o initrd-2.6.18.8-xenU.img 2.6.18.8-xenU
ÂÂÂ sudo cp ./initrd-2.6.18.8-xenU.img /boot
I did'nt see any error while running this script.

I add in /boot/grub/menu.lst :
ÂÂÂ title Xen 3.4 / XenLinux 2.6
ÂÂÂ kernel /boot/xen-3.4.gz dom0_mem=256000 console=vga
ÂÂÂ module /boot/vmlinuz-2.6.18.8-xen0 root=/dev/sda6 ro
ÂÂÂ module /boot/initrd-2.6.18.8-xen0.img
I'm sure my hard drive disk is mounted has /dev/sda6, and files are with the good path, I checked it many times :
ÂÂÂ ymir@ginnungagap:~$ sudo fdisk -l
ÂÂÂ [sudo] password for ymir:
ÂÂÂ Disque /dev/sda: 320.0 Go, 320072933376 octets
ÂÂÂ 255 tÃtes, 63 secteurs/piste, 38913 cylindres
ÂÂÂ UnitÃs = cylindres de 16065 * 512 = 8225280 octets
ÂÂÂ Identifiant de disque : 0x36363635
 PÃriphÃrique Amorce DÃbut Fin Blocs Id SystÃme
ÂÂÂ /dev/sda1ÂÂ *ÂÂÂÂÂÂÂÂÂÂ 1ÂÂÂÂÂÂÂ 2689ÂÂÂ 21599361ÂÂÂ 7Â HPFS/NTFS
ÂÂÂ /dev/sda2ÂÂÂÂÂÂÂÂÂÂÂ 2690ÂÂÂÂÂÂ 38913ÂÂ 290969280ÂÂÂ 5Â Etendue
ÂÂÂ /dev/sda5ÂÂÂÂÂÂÂÂÂÂÂ 2690ÂÂÂÂÂÂÂ 2938ÂÂÂÂ 2000061ÂÂ 82Â Linux swap / Solaris
ÂÂÂ /dev/sda6ÂÂÂÂÂÂÂÂÂÂÂ 2939ÂÂÂÂÂÂ 38913ÂÂ 288969156ÂÂ 83Â Linux
ÂÂÂ ymir@ginnungagap:~$ ls -l /boot/xen-3.4.gz
ÂÂÂ lrwxrwxrwx 1 root root 12 2009-10-02 20:41 /boot/xen-3.4.gz -> xen-3.4.0.gz
ÂÂÂ ymir@ginnungagap:~$ ls -l /boot/vmlinuz-2.6.18.8-xen0
ÂÂÂ -rw-r--r-- 1 root root 2523030 2009-10-02 23:19 /boot/vmlinuz-2.6.18.8-xen0
ÂÂÂ ymir@ginnungagap:~$ ls -l /boot/initrd-2.6.18.8-xen0.img
ÂÂÂ -rw-r--r-- 1 root root 3958065 2009-10-02 23:26 /boot/initrd-2.6.18.8-xen0.img

When I boot on my dom0, I have this message :
ÂÂÂ Begin: Waiting for root file system... ...
ÂÂÂ Done.
ÂÂÂ Gave up waiting for root device. Common problems :
ÂÂÂ Â- Boot args (cat /proc/cmdline)
ÂÂÂ ÂÂÂ - Check rootdelay= (did the system wait long enough?)
ÂÂÂ ÂÂÂ - Check root= (did the system wait for the right device?)
ÂÂÂ Â- Missing odules (cat /proc/modules; ls /dev)
ÂÂÂ ALERT! /dev/sda6 does not exist. Dropping to a shell
Then BusyBox is launched and I have has a prompt : (initramfs)
I check files and the result is :
Â- cat /proc/cmdline : root=/dev/sda6 ro
Â- echo $ROOTDELAY : returns nothing. I tried with rootdelay=90, it doesn't change anything
Â- echo $ROOT : /dev/sda6
Â- cat /proc/modules : nothing in return
Â- ls -l /dev/s* : nothing in return
When I plug an USB storage device, I have this message : "USB 1-4: configuration #1 chosen from 1 choice" . But nothing appeared in /dev.

Did I make something wrong during install or is my hardware compatible with XEN ?
Thank you for your help.

Regards

--
Pierre
_______________________________________________
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®.