[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian way of integrating out of tree drivers



Matt Zagrabelny wrote:
i would try this as a compile:
$ time fakeroot make-kpkg --append-to-version=.20050331.0 kernel_image
modules_image

how does that go? (i have never used the revision option, and read
somewhere that one ought to use the append-to-version option).

i would also get rid of the added_modules option, for debugging.

let me know how it works out.


Here the results. Followed your recipe exactly. Outcomes not very good :(

for misterious reasons the madwifi stuff is not taken in any consideration

the thinkpad modules stuff always gets compiled with that strange name

Here follow some more details.

TY
Bob

0) ************** complation commands (issued as /usr/src/linux-2.6.11.4> ../kcomp.sh

bob@t40:/usr/src$ cat kcomp.sh
export SUBV=$(date +%Y%m%d%H%M)
make menuconfig
cat .config | gzip > /home/bob/t40.config.$SUBV.txt.gz
fakeroot make-kpkg clean
time fakeroot make-kpkg --append-to-version=.$SUBV.0 kernel_image modules_image

1) ************** /usr/src dir
bob@t40:/usr/src$ ls -latr
total 3492
drwxr-xr-x  14 root root    4096 2004-12-28 17:43 ..
-rw-r--r--   1 bob  bob      261 2005-02-15 10:20 KERNELS.README.TXT
drwxr-sr-x   4 bob  bob     4096 2005-03-31 21:24 modules
-rwxr-xr-x   1 bob  bob      314 2005-04-01 11:20 kcomp.sh
drwxr-sr-x  21 bob  bob     4096 2005-04-01 11:32 linux-2.6.11.4
-rw-r--r-- 1 bob bob 3518542 2005-04-01 11:32 kernel-image-2.6.11.4.200504011121.0_10.00.Custom_i386.deb -rw-r--r-- 1 bob bob 20696 2005-04-01 11:32 thinkpad-modules-2.6.9.rja_5.8-1+t40.200412221617_i386.deb
drwxrwsr-x   4 bob  bob     4096 2005-04-01 11:41 .

2) ************** edited output of the compilation ...
(... snip ...)
dpkg-deb: building package `kernel-image-2.6.11.4.200504011121.0' in `../kernel-image-2.6.11.4.200504011121.0_10.00.Custom_i386.deb'.
rm -f -r debian/tmp-image
echo done >  stamp-image
make[1]: Leaving directory `/usr/src/linux-2.6.11.4'
for module in /usr/src/modules/thinkpad ; do
(... snip ...)
dpkg-deb: building package `thinkpad-modules-2.6.9.rja' in `/usr/src/linux-2.6.11.4/../thinkpad-modules-2.6.9.rja_5.8-1+t40.200412221617_i386.deb'.
make[2]: Leaving directory `/usr/src/modules/thinkpad'
make[1]: Leaving directory `/usr/src/modules/thinkpad'
Module /usr/src/modules/thinkpad processed fine

real    11m4.416s
user    8m58.232s
sys     0m49.444s

from which you see that /usr/src/modules/madwifi is never entered :(

bob@t40:/usr/src/modules$ ls -l
total 8
drwxr-sr-x  14 bob bob 4096 2005-03-16 20:59 madwifi
drwxr-sr-x   4 bob bob 4096 2005-03-31 22:24 thinkpad



Reply to: