From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: boot Xen 4.0 Date: Fri, 14 May 2010 08:55:02 +0300 Message-ID: <20100514055502.GP17817@reaktio.net> References: <274417.35576.qm@web34206.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <274417.35576.qm@web34206.mail.mud.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ccmail111 Cc: deshantm@gmail.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, May 13, 2010 at 06:42:44PM -0700, ccmail111 wrote: > Thanks Pasi/Todd, >=20 > I did: > # mkinitrd -v -f --builtin=3Dehci-hcd --builtin=3Dohci-hcd --builtin= =3Duhci-hcd > --builtin=3Dahci --builtin=3Daacraid --builtin=3Daacraid --builtin=3D= sd_mod > --builtin=3Dscsi_mod /boot/initrd.img-2.6.31.13 2.6.31.13 >=20 > Now > I see during boot: kernel panic: >=20 > 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 ! >=20 So your root=3D parameter is wrong or initrd is wrong (not loading correc= t modules).. please paste your grub.conf. -- Pasi > --- On Thu, 5/13/10, Pasi K=E4rkk=E4inen wrote: >=20 > From: Pasi K=E4rkk=E4inen > Subject: Re: [Xen-devel] initrd Xen 4.0 > To: "ccmail111" > Cc: deshantm@gmail.com, xen-devel@lists.xensource.com > Date: Thursday, May 13, 2010, 4:27 PM >=20 > 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 ? > > >=20 > It doesn't matter. >=20 > > I see: > > > > # depmod xen-4.0.0 > > WARNING: Couldn't find symtab and strtab in module xen-4.0.0 > > >=20 > Wrong. You need to run depmod for the *kernel*, not for xen. >=20 > So like this: > depmod -a 2.6.32.12 >=20 > Or whatever is your kernel version. >=20 > -- Pasi >=20 > > # 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 wrote: > > > > From: Todd Deshane > > Subject: Re: [Xen-devel] initrd Xen 4.0 > > To: "ccmail111" > > Cc: xen-devel@lists.xensource.com > > Date: Wednesday, May 12, 2010, 9:46 PM > > > > Hi, > > > > See inline. > > > > On Wed, May 12, 2010 at 12:25 PM, ccmail111 > <[1]ccmail111@yahoo.com> > > 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=3Daacraid --with=3Dsd_mod --wit= h=3Dscsi_mod > > initrd-2.6.18-xen.img 2.6.18-xen > > Other systems may requires the use of 'mkinitramfs' to c= reate > 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 fi= les. > > > > I actually forgot about this step for a second too. > > > > Thanks, > > Todd > > > > -- > > Todd Deshane > > [2][1]http://todddeshane.net > > [3][2]http://runningxen.com > > > > References > > > > Visible links > > 1. file:///mc/compose?to=3Dccmail111@yahoo.com > > 2. [3]http://todddeshane.net/ > > 3. [4]http://runningxen.com/ >=20 > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > [5]http://lists.xensource.com/xen-devel >=20 > References >=20 > Visible links > 1. http://todddeshane.net/ > 2. http://runningxen.com/ > 3. http://todddeshane.net/ > 4. http://runningxen.com/ > 5. http://lists.xensource.com/xen-devel