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

Re: kernel 2.6.25 and cloop module



I have taken a look. It seems that those functions are deprecated. I'm using
this at work, so it's important for me to get it working. The perfect thing
would be to include the module directly inside of the kernel, not having to
compile it as a module (which is awful).
I'm making my own kernel driver based on some different stuff, if I get the
time, I'm going to fix things up so a new function can be used instead of
do_generic_file_read (which is used to read data from raw VFS or something
like that).

Of course, calling upstream would be a nice idea, I'm doing so right now.

I'm telling you when I'm able to make the patch, posting it to this list.
Until that moment, if it happens, I'm using version 2.6.24, I reccomend you
do the same, it works flawlessly out-of-the-box ;-) If I can't do so, then
the author itself surely will take the time to fix it, sooner or later.


stirner wrote:
> 
> 
> 
> Néstor Amigo Cairo wrote:
>> 
>> I have also the same problem. I'm going to try to post a fix, if I'm able
>> to.
>> 
>> 
>> stirner wrote:
>>> 
>>> 
>>> Hi,
>>> 
>>> it seems that cloop 2.624 (...the latest...)   can't compile with kernel
>>> 2.6.25, here's a little output:
>>> 
>>> make modules -C /usr/src/linux M=/usr/src/cloop-2.624
>>> make[1]: Entering directory `/usr/src/linux-2.6.25'
>>>   CC [M]  /usr/src/cloop-2.624/compressed_loop.o
>>> /usr/src/cloop-2.624/compressed_loop.c: In function
>>> 'cloop_read_from_file':
>>> /usr/src/cloop-2.624/compressed_loop.c:226: error: implicit declaration
>>> of function 'do_generic_file_read'
>>> /usr/src/cloop-2.624/compressed_loop.c: In function
>>> 'cloop_handle_request':
>>> /usr/src/cloop-2.624/compressed_loop.c:303: warning: unused variable
>>> 'bio'
>>> /usr/src/cloop-2.624/compressed_loop.c: In function 'cloop_thread':
>>> /usr/src/cloop-2.624/compressed_loop.c:437: error: implicit declaration
>>> of function 'end_that_request_first'
>>> /usr/src/cloop-2.624/compressed_loop.c:438: error: implicit declaration
>>> of function 'end_that_request_last'
>>> make[2]: *** [/usr/src/cloop-2.624/compressed_loop.o] Error 1
>>> make[1]: *** [_module_/usr/src/cloop-2.624] Error 2
>>> make[1]: Leaving directory `/usr/src/linux-2.6.25'
>>> 
>>> Any clue???
>>> 
>>> Thanks
>>> 
>>> Max
>>> 
>> 
>> 
> 
> There are some interesting stuff in the 2.6.25 can't wait to see the patch
> ;-)
> 
> Thanks
> 
> Max
> The kernel 2.6.25 intoduce
> 

-- 
View this message in context: http://www.nabble.com/kernel-2.6.25-and-cloop-module-tp16978484p17404671.html
Sent from the debian-knoppix mailing list archive at Nabble.com.


Reply to: