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
 
   
 

xci-devel

Re: [Xci-devel] dom0 can't find the LVM volumes

To: Andreas Sommer <AndiDog@xxxxxx>
Subject: Re: [Xci-devel] dom0 can't find the LVM volumes
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Tue, 13 Oct 2009 18:13:28 +0100
Cc: xci-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Oct 2009 10:13:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mZbcXVklNc9PLwJN1j3/B/K51Ps4BGF6n0fFcKDtI1Y=; b=DzdcV6mIBZ8/H37f/h/GMaIaLJvNUxSxHQe9948Hasi3zboArx5o5Y/P4rTy1Xi45n Hb8ymAIuAlltjuBqIppea8bKbxk65rd22hktS460p12JR3pP2QPXfDnuCu28Uyald3yI 4cCMk+haeFq9ZB3A16fwqdlt/9uLsJdbB+xTc=
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:content-transfer-encoding; b=LG+I8F2DF8R4hFn0H/Dm8jQENNJ+DGmXu7Tx6B90PpN/Kxe5nVZfOmyknBQ7mzCJb6 xMfy6DfVzkKyNsCxzGdBpVTqleRYmKWiRbZTJPDljHznuXmKyr4lVc0Vf1DmDjNMKjFq AevSGqMkfo8xanwTADuN9aqIg652Atqn4dG+0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AD4455F.7030905@xxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xci-devel>
List-help: <mailto:xci-devel-request@lists.xensource.com?subject=help>
List-id: xci-devel.lists.xensource.com
List-post: <mailto:xci-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4AD387F8.2080807@xxxxxx> <f68b66460910121329x7781d7a3ya49a71ae14e5f594@xxxxxxxxxxxxxx> <4AD4455F.7030905@xxxxxx>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
2009/10/13 Andreas Sommer <AndiDog@xxxxxx>:
>
> Jean Guyader wrote:
>
> 2009/10/12 Andreas Sommer <AndiDog@xxxxxx>:
>
>
> I seem to have installed XCI correctly, as GRUB 2 starts up correctly (and
> is thus able to read the LVM volumes). When choosing "XenClient - Debug", I
> get a black screen and the following serial output from the kernel (only
> last few lines):
>
> [...]
> (XEN) PCI add device 00:07.1
> [    5.658814] scsi0 : ata_piix
> [    5.662493] scsi1 : ata_piix
> [    5.664950] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0x1050 irq
> 14
> [    5.669041] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0x1058 irq
> 15
> [    5.856501] ata2.00: ATAPI: VMware Virtual IDE CDROM Drive, 00000001, max
> UDMA/33
> [    5.876581] ata2.00: configured for UDMA/33
> [    5.880579] scsi 1:0:0:0: CD-ROM            NECVMWar VMware IDE CDR10
> 1.00 PQ: 0 ANSI: 5
> [    5.887773] sr0: scsi3-mmc drive: 1x/1x xa/form2 cdda tray
> [    5.890023] Uniform CD-ROM driver Revision: 3.20
> [    5.894313] mice: PS/2 mouse device common for all mice
> [    5.898252] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised:
> dm-devel@xxxxxxxxxx
> [    5.901753] TCP cubic registered
> [    5.903076] NET: Registered protocol family 17
> [    5.905711] RPC: Registered udp transport module.
> [    5.908039] RPC: Registered tcp transport module.
> [    5.910043] 802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
> [    5.912887] All bugs added by David S. Miller <davem@xxxxxxxxxx>
> [    5.915119] Using IPI No-Shortcut mode
> [    5.918187] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
> [    5.921295] Freeing unused kernel memory: 260k freed
>   Reading all physical volumes.  This may take a while...Waiting for device
> to settle...ln: /sbin/mdev: File exists  Reading all physical volumes.  This
> may take a while...Waiting for device to settle...ln: /sbin/mdev: File
> exists  Reading all physical volumes.  This may take a while...Waiting for
> device to settle...ln: /sbin/mdev: File exists  Reading all physical
> volumes.  This may take a while...Try to mount /dev/mapper/xenclient-root
> ...mount: mounting /dev/mapper/xenclient-root on /root failed: No such file
> or directoryswitch_root: bad newroot /root[   19.405270] Kernel panic - not
> syncing: Attempted to kill init!
>
> The LVM is found immediately by a Debian live CD, but XenClient's kernel
> doesn't seem to find it... What could be the problem here?
>
>
>
>
> Hi,
>
> It's probably because we don't have disk driver for VmWare in our dom0
> kernel config.
>
> Jean
>
>
>
> Yes I think you're right, as the kernel doesn't show any "sd: " messages. In
> the dom0 /lib/modules folder, there are neither the scsi nor the sd module.
>
> Could you please give me a hint on how to change the dom0 kernel
> configuration (menuconfig) and rebuild it?
>

Sure.

$ (cd build_i686/build-linux-dom0-2.6.27 && make menuconfig )
$ rm build_i686/build-linux-dom0-2.6.27/.compiled
$ make xenclient-kernel

Jean

_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel