* initrd Xen 4.0
@ 2010-05-12 16:25 ccmail111
2010-05-13 1:46 ` Todd Deshane
0 siblings, 1 reply; 5+ messages in thread
From: ccmail111 @ 2010-05-12 16:25 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 140 bytes --]
Hi,
I downloaded Xen 4.0 and did:
make install
I donot see initrd (ramdisk) being created at all.
Any suggestions ?
Thanks,
CM
[-- Attachment #1.2: Type: text/html, Size: 289 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd Xen 4.0
2010-05-12 16:25 initrd Xen 4.0 ccmail111
@ 2010-05-13 1:46 ` Todd Deshane
2010-05-13 20:08 ` ccmail111
0 siblings, 1 reply; 5+ messages in thread
From: Todd Deshane @ 2010-05-13 1:46 UTC (permalink / raw)
To: ccmail111; +Cc: xen-devel
Hi,
See inline.
On Wed, May 12, 2010 at 12:25 PM, ccmail111 <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=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
http://todddeshane.net
http://runningxen.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd Xen 4.0
2010-05-13 1:46 ` Todd Deshane
@ 2010-05-13 20:08 ` ccmail111
2010-05-13 20:17 ` Todd Deshane
2010-05-13 20:27 ` Pasi Kärkkäinen
0 siblings, 2 replies; 5+ messages in thread
From: ccmail111 @ 2010-05-13 20:08 UTC (permalink / raw)
To: deshantm; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1527 bytes --]
The #5 of README is not clear in details.
which directory to run depmod and mkinitrd from ?
I see:
# depmod xen-4.0.0
WARNING: Couldn't find symtab and strtab in module xen-4.0.0
# 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@gmail.com> wrote:
From: Todd Deshane <deshantm@gmail.com>
Subject: Re: [Xen-devel] initrd Xen 4.0
To: "ccmail111" <ccmail111@yahoo.com>
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 <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=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
http://todddeshane.net
http://runningxen.com
[-- Attachment #1.2: Type: text/html, Size: 2270 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd Xen 4.0
2010-05-13 20:08 ` ccmail111
@ 2010-05-13 20:17 ` Todd Deshane
2010-05-13 20:27 ` Pasi Kärkkäinen
1 sibling, 0 replies; 5+ messages in thread
From: Todd Deshane @ 2010-05-13 20:17 UTC (permalink / raw)
To: ccmail111; +Cc: xen-devel
On Thu, May 13, 2010 at 4:08 PM, ccmail111 <ccmail111@yahoo.com> wrote:
>
> The #5 of README is not clear in details.
> which directory to run depmod and mkinitrd from ?
>
> I see:
>
> # depmod xen-4.0.0
> WARNING: Couldn't find symtab and strtab in module xen-4.0.0
>
> # ls -l
> total 1356
> -rw-r--r-- 1 root root 1380620 May 13 13:05 xen-4.0.0
>
>
> Any suggestions ?
depmod is referring to the kernel version.
You can run it from anywhere, it will look in /lib/modules for the
kernel modules directory.
Example:
# ls /lib/modules
2.6.31.13 2.6.33.1-24.fc13.x86_64
# depmod -a 2.6.31.13
(no output, sometimes ignorable warnings)
the mkinitrd will also refer to that same kernel version
For example:
mkinitrd /boot/initrd.img-2.6.31.13 2.6.31.13
Hope that helps.
Todd
--
Todd Deshane
http://todddeshane.net
http://runningxen.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd Xen 4.0
2010-05-13 20:08 ` ccmail111
2010-05-13 20:17 ` Todd Deshane
@ 2010-05-13 20:27 ` Pasi Kärkkäinen
1 sibling, 0 replies; 5+ messages in thread
From: Pasi Kärkkäinen @ 2010-05-13 20:27 UTC (permalink / raw)
To: ccmail111; +Cc: deshantm, xen-devel
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@gmail.com> wrote:
>
> From: Todd Deshane <deshantm@gmail.com>
> Subject: Re: [Xen-devel] initrd Xen 4.0
> To: "ccmail111" <ccmail111@yahoo.com>
> 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=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@yahoo.com
> 2. http://todddeshane.net/
> 3. http://runningxen.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-05-13 20:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 16:25 initrd Xen 4.0 ccmail111
2010-05-13 1:46 ` Todd Deshane
2010-05-13 20:08 ` ccmail111
2010-05-13 20:17 ` Todd Deshane
2010-05-13 20:27 ` Pasi Kärkkäinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).