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-devel

Re: [Xen-devel] boot Xen 4.0

To: ccmail111 <ccmail111@xxxxxxxxx>
Subject: Re: [Xen-devel] boot Xen 4.0
From: yingbin wang <yingbin.wangyb@xxxxxxxxx>
Date: Sun, 16 May 2010 00:34:04 +0800
Cc: deshantm@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 15 May 2010 09:35:49 -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 :content-transfer-encoding; bh=XiB40fr0S9fttKQPl7gyjqsdTVLq2uaYRlf1AAfuniA=; b=Da3AG+z4M2dl4jtI6cXCQ6rGd079OTQVXuozZ3MdSXboOHGEx8GG2gT5hwMG0Cplme 0eUgs0U1ZBSGHnUXtuluZZLQhiSkQBNnN4nF3AON2KyI9KpPSg+aulv+YaL4MwOFTz32 LFDDC/VJiV1le5zWvKPcQme5y1RIfE+qzmasM=
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=PMOoTd+HHMZApoTr2UsM2wfI2qOsQ4Gj/fBihYxKLpYAL2VMPsqSq0rE5zPy7S4870 ENTNCFmZlDIDkJO5/30N4iDlWCk+y60W+lxncsqpAgIe0XuOl4xXZigthXH2Tzbgbwt6 rv5wgZvcA9YuNO2Oa6K39vRLjFvGzlI1LMvRk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <274417.35576.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <274417.35576.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I met similar problems and solved it.

if your grub.conf is OK, you can try to edit a option of  your .config.
CONFIG_SYSFS_DEPRECATED_V2=y

2010/5/14 ccmail111 <ccmail111@xxxxxxxxx>
>
> Thanks Pasi/Todd,
>
> I did:
> # mkinitrd -v -f --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd 
> --builtin=ahci --builtin=aacraid --builtin=aacraid --builtin=sd_mod 
> --builtin=scsi_mod /boot/initrd.img-2.6.31.13 2.6.31.13
>
>
> Now
> I see during boot: kernel panic:
>
> Mounting root filesystem.
> mount: could not find filesystem '/dev/root'
> setting up other filesystems
> setting up new root fs
> setuproot: moving /dev failed No such file or directory
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> switchroot: mount failed: No such file or directory
>   kernel panic - not syncing : Attempted to kill init !
>
>
>
>
> --- On Thu, 5/13/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>
> From: Pasi Kärkkäinen <pasik@xxxxxx>
> Subject: Re: [Xen-devel] initrd Xen 4.0
> To: "ccmail111" <ccmail111@xxxxxxxxx>
> Cc: deshantm@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
> Date: Thursday, May 13, 2010, 4:27 PM
>
> On Thu, May 13, 2010 at 01:08:36PM -0700, ccmail111 wrote:
> >    The #5 of README is not clear in details.
> >    which directory to run depmod and mkinitrd from ?
> >
>
> It doesn't matter.
>
> >    I see:
> >
> >    # depmod xen-4.0.0
> >    WARNING: Couldn't find symtab and strtab in module xen-4.0.0
> >
>
> Wrong. You need to run depmod for the *kernel*, not for xen.
>
> So like this:
> depmod -a 2.6.32.12
>
> Or whatever is your kernel version.
>
> -- Pasi
>
> >    # ls -l
> >    total 1356
> >    -rw-r--r-- 1 root root 1380620 May 13 13:05 xen-4.0.0
> >
> >    Any suggestions ?
> >
> >    --- On Wed, 5/12/10, Todd Deshane <deshantm@xxxxxxxxx> wrote:
> >
> >      From: Todd Deshane <deshantm@xxxxxxxxx>
> >      Subject: Re: [Xen-devel] initrd Xen 4.0
> >      To: "ccmail111" <ccmail111@xxxxxxxxx>
> >      Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> >      Date: Wednesday, May 12, 2010, 9:46 PM
> >
> >      Hi,
> >
> >      See inline.
> >
> >      On Wed, May 12, 2010 at 12:25 PM, ccmail111 <[1]ccmail111@xxxxxxxxx>
> >      wrote:
> >      >
> >      > Hi,
> >      >
> >      > I downloaded Xen 4.0 and did:
> >      > make install
> >      > I donot see initrd (ramdisk) being created at all.
> >      >
> >      > Any suggestions ?
> >      >
> >
> >      Step 5 of the README
> >         Depending on your config, you may need to use 'mkinitrd' to create
> >         an initial ram disk, just like a native system e.g.
> >          # depmod 2.6.18-xen
> >          # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod
> >      initrd-2.6.18-xen.img 2.6.18-xen
> >         Other systems may requires the use of 'mkinitramfs' to create the
> >         ram disk.
> >          # depmod 2.6.18-xen
> >          # mkinitramfs -o initrd-2.6.18-xen.img 2.6.18-xen
> >
> >      You may need to change the kernel version based on what you built.
> >      Also some distros use different commands to build initrd files.
> >
> >      I actually forgot about this step for a second too.
> >
> >      Thanks,
> >      Todd
> >
> >      --
> >      Todd Deshane
> >      [2]http://todddeshane.net
> >      [3]http://runningxen.com
> >
> > References
> >
> >    Visible links
> >    1. file:///mc/compose?to=ccmail111@xxxxxxxxx
> >    2. http://todddeshane.net/
> >    3. http://runningxen.com/
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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

<Prev in Thread] Current Thread [Next in Thread>