FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-02-2008, 01:21 PM
"Jeppe N. Madsen"
 
Default How to compile modules in a Xen domU

Hi,


Â*


I’ve installed Debian Etch with


Â*


Dom0:Â* Linux dom0 2.6.18-6-xen-amd64 #1
SMP Wed Jan 23 08:01:39 UTC 2008 x86_64 GNU/Linux


And


DomU:Â* Linux xentest 2.6.18-6-xen-amd64 #1 SMP Wed Jan
23 08:01:39 UTC 2008 x86_64 GNU/Linux


Â*


I need to compile some kernel modules for the domU
(v4l-dvb), but have some problems figuring out how to setup the environment.


Â*


If I (in the domU) do a make menuconfig I get the following:


Â*


make menuconfig


make -C /root/v4l-dvb/v4l menuconfig


make[1]: Entering directory `/root/v4l-dvb/v4l'


./scripts/make_kconfig.pl
/lib/modules/2.6.18-6-xen-amd64/build /lib/modules/2.6.18-6-xen-amd64/source


Preparing to compile for kernel version 2.6.18


File not found:
/lib/modules/2.6.18-6-xen-amd64/build/.config at ./scripts/make_kconfig.pl line
32, <IN> line 4.


make[1]: *** [Kconfig] Error 2


make[1]: Leaving directory `/root/v4l-dvb/v4l'


make: *** [menuconfig] Error 2


Â*


Â*


I have the following packages installed, but I’m a
little confused as which versions supports the xen-amd64 version.


Â*


dpkg-query -W -f='${Package}
' "*2.6.18*"


linux-headers-2.6.18-6


linux-headers-2.6.18-6-amd64


linux-headers-2.6.18-6-xen


linux-kbuild-2.6.18


linux-source-2.6.18


Â*


xentest:/usr/src# dpkg --list|grep 2.6.18


iiÂ*
linux-headers-2.6-amd64Â*Â*Â*Â*Â* 2.6.18+6etch3Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â *Â*Â*Â*Â*
Header files for Linux 2.6 on AMD64


iiÂ*
linux-headers-2.6.18-6Â*Â*Â*Â*Â*Â*
2.6.18.dfsg.1-17etch1Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*
Common header files for Linux 2.6.18


iiÂ* linux-headers-2.6.18-6-amd64
2.6.18.dfsg.1-17etch1Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*
Header files for Linux 2.6.18 on AMD64


iiÂ* linux-headers-2.6.18-6-xenÂ*Â*
2.6.18.dfsg.1-17etch1Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*
Common header files for Linux 2.6.18


iiÂ*
linux-kbuild-2.6.18Â*Â*Â*Â*Â*Â*Â*Â*Â*
2.6.18-1Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â *Â*Â*Â*
Kbuild infrastructure for Linux 2.6.18


iiÂ* linux-kernel-headersÂ*Â*Â*Â*Â*Â*Â*Â*
2.6.18-7Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â *Â*Â*Â*
Linux Kernel Headers for development


iiÂ*
linux-source-2.6.18Â*Â*Â*Â*Â*Â*Â*Â*Â*
2.6.18.dfsg.1-17etch1Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*
Linux kernel source for version 2.6.18 with


Â*


xentest:/lib/modules/2.6.18-6-xen-amd64# ls -al


total 1356


drwxr-xr-x 3 root rootÂ*Â* 4096 FebÂ* 2 14:06 .


drwxr-xr-x 5 root rootÂ*Â* 4096 Jan 29 22:05 ..


lrwxrwxrwx 1 root rootÂ*Â*Â*Â* 14 Feb Â*2
14:06 build -> /usr/src/linux


drwxr-xr-x 9 root rootÂ*Â* 4096 Jan 29 21:44 kernel


lrwxrwxrwx 1 root rootÂ*Â*Â*Â* 14 FebÂ*
2 14:06 linux -> /usr/src/linux


-rw-r--r-- 1 root root 296604 Jan 29 21:45 modules.alias


-rw-r--r-- 1 root rootÂ*Â*Â*Â* 69 Jan 29
21:45 modules.ccwmap


-rw-r--r-- 1 root root 303531 Jan 29 21:45 modules.dep


-rw-r--r-- 1 root rootÂ*Â*Â* 813 Jan 29 21:45
modules.ieee1394map


-rw-r--r-- 1 root rootÂ*Â*Â* 712 Jan 29 21:45
modules.inputmap


-rw-r--r-- 1 root rootÂ* 17450 Jan 29 21:45
modules.isapnpmap


-rw-r--r-- 1 root rootÂ*Â*Â*Â* 74 Jan 29
21:45 modules.ofmap


-rw-r--r-- 1 root root 240703 Jan 29 21:45 modules.pcimap


-rw-r--r-- 1 root rootÂ*Â* 1009 Jan 29 21:45
modules.seriomap


-rw-r--r-- 1 root root 128065 Jan 29 21:45 modules.symbols


-rw-r--r-- 1 root root 334496 Jan 29 21:45 modules.usbmap


lrwxrwxrwx 1 root rootÂ*Â*Â*Â* 28 FebÂ*
2 10:17 source -> /usr/src/linux-source-2.6.18


Â*


xentest:/usr/src# ls -al


total 28


drwxrwsr-xÂ* 7 root srcÂ* 4096 FebÂ* 2 14:12 .


drwxr-xr-x 10 root root 4096 Jan 29 22:03 ..


lrwxrwxrwxÂ* 1 root srcÂ*Â*Â* 36 FebÂ* 2
14:12 linux -> /usr/src/linux-headers-2.6.18-6-xen/


drwxr-xr-x 17 root root 4096 FebÂ* 2 10:14
linux-headers-2.6.18-6


drwxr-xr-xÂ* 4 root root 4096 FebÂ* 2 10:14
linux-headers-2.6.18-6-amd64


drwxr-xr-x 18 root root 4096 FebÂ* 2 14:13
linux-headers-2.6.18-6-xen


drwxr-xr-xÂ* 3 root root 4096 FebÂ* 2 10:14
linux-kbuild-2.6.18


drwxr-xr-x 19 root root 4096 Jan 22 17:43
linux-source-2.6.18


Â*


Any pointers to what may be wrong?


Â*


/Jeppe
 

Thread Tools




All times are GMT. The time now is 09:32 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org