Package: make Version: 3.81-2 libc6 version: 2.3.6.ds1-13etch2
Steps to reproduce: First of all, I downloaded to a host PC the 2.6.20 vanilla kernel source and applied the patch I needed for our purpose (RTAI). Then, in a etch chroot on the host I built all kernel packages to be installed on a second Debian machine, including source: [Host side:] # cd /usr/src/linux-source-2.6.20 # make menuconfig # fakeroot make-kpkg --append-to-version=-rtai --revision=0.5 buildpackage Then, after uploading the .deb packages to the target: [Target side:] debian01:~# cd /usr/src debian01:/usr/src# dpkg -i linux-image-2.6.20-rtai_0.5_i386.deb debian01:/usr/src# dpkg -i linux-source-2.6.20-rtai_0.5_all.deb debian01:/usr/src# tar xjvf linux-source-2.6.20-rtai.tar.bz2 debian01:/usr/src# rm linux debian01:/usr/src# ln -s linux-source-2.6.20-rtai linux debian01:/usr/src# dpkg -i linux-headers-2.6.20-rtai_0.5_i386.deb debian01:/usr/src# reboot After rebooting and logging into the freshly installed kernel: debian01:~# uname -a Linux debian01 2.6.20-rtai #1 PREEMPT Wed Oct 17 17:12:37 UTC 2007 i686 GNU/Linux debian01:~# ln -s /usr/src/linux-source-2.6.20-rtai /lib/modules/2.6.20-rtai/build debian01:~# cd /usr/src/linux-source-2.6.20-rtai debian01:/usr/src/linux-source-2.6.20-rtai# cp /boot/config-2.6.20-rtai ./.config debian01:/usr/src/linux-source-2.6.20-rtai# make oldconfig debian01:/usr/src/linux-source-2.6.20-rtai# make prepare scripts debian01:/usr/src/linux-source-2.6.20-rtai# cat include/linux/utsrelease.h #define UTS_RELEASE "2.6.20" I expected the command 'make prepare' to set the value "2.6.20-rtai" to the macro (that was correctly set in the corresponding file on the host PC). As a consequence, external modules cannot be properly installed from source. Namely, when trying to built the 'madwifi' driver on the target machine: debian01:/usr/src/madwifi-0.9.3.2# make [...] Apparently, the module was successfully compiled, but there comes the issue: debian01:/usr/src/madwifi-0.9.3.2# insmod ath/ath_pci.ko ath_pci: version magic '2.6.20 preempt mod_unload PENTIUMIII ' should be '2.6.20-rtai preempt mod_unload PENTIUMIII ' insmod: error inserting 'ath_pci.ko': -1 Invalid module format So far I could only work around it by manually edit the file "utsrelease.h". Regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

