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

Re: [Xen-users] Debian packages for xen3 + kernel images for dom0/U

Am Dienstag, 17. Januar 2006 19:25 schrieb prosolutions@xxxxxxx:
> I have another question: in /boot there are:
>
> -rw-r--r--  1 root root  200019 Jan 15 00:03 xen-3.0.0.gz
> lrwxrwxrwx  1 root root      12 Jan 17 10:00 xen-3.0.gz -> xen-3.0.0.gz
> lrwxrwxrwx  1 root root      12 Jan 17 10:00 xen-3.gz -> xen-3.0.0.gz
> -rw-r--r--  1 root root  503826 Jan 15 00:03 xen-syms-3.0.0
> lrwxrwxrwx  1 root root      12 Jan 17 10:00 xen.gz -> xen-3.0.0.gz
>
>
> is xen-syms-3.0.0 the same as System.map?

honestly, i don't know, maybe someone else knows more :)
>
> With the standard xen pacakge I had the recommended grub stanza of:
>
> title           Xen 3.0 / XenLinux 2.6
> root            (hd0,0)
> kernel          /xen-3.0.gz dom0_mem=262144
> module          /vmlinuz-2.6-xen0 root=/dev/cciss/c0d0p1 ro
>
> I am not sure now what to replace the module line with.

the linux-xen0-2.6 package informs you what to do and how a 
the /boot/grub/menu.lst should look like.

in fact the steps are:

1) install the actual kernel with "dpkg -i /usr/src/*xen*.deb"
(I used wildcards, because I don't know which kernel image you exactly use. 
the filename in sid, sarge and etch + i386/amd64 is not the same!)

2) build initrd with: mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen

3) modify your /boot/grub/menu.lst

4) copy the libraries from /lib/modules/2.6.12.6-xen to your 
domainU's /lib/modules directory. (The domU system wants the kernel modules 
too)

Normaly all these steps should get shown when you install the linux-xen0-2.6 
package for the first time. Only the fourth step is missing in the instuction 
that gets shown automaticly. I will add that in the next version.

if you didn't saw that output, you can execute "dpkg-reconfigure 
linux-xen0-2.6" to get that message again.

for my system it looks like this:

  title        Xen 3.0.0 - Linux 2.6.12.6-xen
                kernel      /boot/xen-3.0.0.gz
                module     /boot/xen-linux-2.6.12.6-xen root=/dev/hda7 ro
                module     /boot/xen-modules-2.6.12.6-xen

> Also - is this kernel compiled with the widest possible amount of
> hardware support? 

it's compiled with xen's std. config, but that includes really a lot. the 
kernel image is about 16mb, so that must mean a lot modules :)

> The reason I was trying to build my own xen kernel in 
> the first place was because of the lack of Compaq Array 5i controller
> support (cciss) in the binary kernel xen provides.

is that the MEGARAID module? the MEGARAID module is available, yes.

otherwise check yourself. after you installed the kernel image the kernel 
config is available in /boot/config-2.6.12.6-xen.

if the module you need is not enabled, just give me a hint what you need 
exactly. if the module doesn't brake anything else I can enable it in the 
next version...

> Thank you for all your help.

--Ralph

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