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/
Home Products Support Community News


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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] cannot boot my dom0 : hard drive not found
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kWgJnB8bgTuH5mkS7ECsXibciZpnMtm99gUGcRl05Ic=; b=LsQixLFrBq4KDrBlf8W2hdRujDhUCF24+dKU0PwP+7rSce5uvJPlSwQv2NCOlNyUKO mYOFgHfZsF/kIVORy8qWsJnDhsSel04b9DScCBJuJh7rUlu5UBPFPQb7wmZSKULV4sWC zuguxEp3+wehqFKEugfkYEyINxXDo5hb3pu/c=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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-
    sudo cp ./initrd- /boot
    sudo mkinitramfs -o initrd-
    sudo cp ./initrd- /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- root=/dev/sda6 ro
    module /boot/initrd-
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-
    -rw-r--r-- 1 root root 2523030 2009-10-02 23:19 /boot/vmlinuz-
    ymir@ginnungagap:~$ ls -l /boot/initrd-
    -rw-r--r-- 1 root root 3958065 2009-10-02 23:26 /boot/initrd-

When I boot on my dom0, I have this message :
    Begin: Waiting for root file system... ...
    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.


Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] cannot boot my dom0 : hard drive not found, pierre mazières <=