I am getting the same errors
here is what I have don on a fresh install of 5.04
1. First download the rpm package from http://www.jankratochvil.net/project/captive/ 2. Install kernel-headers for your kernel revision * To find out your kernel type in the terminal 'uname -a' * To install kernel-headers use synaptic or apt-get to find and install the correct version * in my case i did 'apt-get install linux-headers-2.6.8.1-4-k7' * if do not know use 'apt-cache search linux-headers' for list of kernel headers available 3. use alien to convert rpm to deb package * run 'alien captive-static-1.1.5-0.i386.rpm' * This creates captive-static_1.1.5_1.i386.deb 4. Install deb package using 'dpkg -i captive-static_1.1.5_1.i386.deb' 5. run 'captive-install-acquire' * Follow directions to find ntfs.sys and other files that captive needs. 6. run '/usr/share/lufs/prepmod' -------------------------------------------------------------------------------------------------- this is where I have a similar failure message:
Failed to prepare lufs.ko module for your Linux kernel 2.6.10-5-386. Detected Linux kernel sources "/lib/modules/2.6.10-5-386/build" do not appear to be valid.
---------------------------------------------------------------------------------------------------
so I tried this:
'module-assistant -k /usr/src/linux-headers-2.6.10-5-386/'
and prepared the lufs module, built it, installed it, updated my symlinks..... nogo!!
---------------------------------------------------------------------------------------------------
Please help! I am very familliar with linux, but no expert. I have successfully used read/write with captive on suse 9.1, redhat9, and other non-debian style distros.
I have no clue whay this is not working form me. I will post a solution if I find one, otherwise I would be more than grateful if someone can shed some light here!
Thanks, Shaun
--------------------------------------------------------------------------------------------------------
I found more info on this here: http://blog.badri.us/badriram/archive/2005/01/05/155.aspx
apparently for now, it seems like we will have to patch and recompile the kernel. Then you will have to install captive from this kernel source....
Badri has a link to a patch here: http://www.badri.us/export_kpi.diff
With these instructions: Go to the kernel source directory. then run
patch -p1 < export_kpi.diff
Once you have that done, you should be able recompile your kernel. I recommed using make_kpkg, which compiles and generate a deb package. I think it is a part of kernel_package in apt
-------------------------------------------------------------------------------------------------------
Is there a cleaner way to do this? I was going yo recompile my 2.6.10 for my k7 athlon, but I was enjoying the defaut optimizations of ubuntu 5.04 (fastest out-of-the-box distro I have installed).
Thanks, Shaun