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}\n' "*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