Kernel 2.6.31 and compressed_loop.c

View: New views
4 Messages — Rating Filter:   Alert me  

Kernel 2.6.31 and compressed_loop.c

by stirner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Seems that somethings has changed in kernel 2.6.31, cloop doesn't compile:

  CC [M]  /usr/src/cloop-2.629/compressed_loop.o
/usr/src/cloop-2.629/compressed_loop.c: In function 'cloop_handle_request':
/usr/src/cloop-2.629/compressed_loop.c:289: error: 'struct request' has no member named 'sector'
/usr/src/cloop-2.629/compressed_loop.c: In function 'cloop_thread':
/usr/src/cloop-2.629/compressed_loop.c:422: error: 'struct request' has no member named 'nr_sectors'
/usr/src/cloop-2.629/compressed_loop.c: In function 'cloop_do_request':
/usr/src/cloop-2.629/compressed_loop.c:446: error: implicit declaration of function 'elv_next_request'
/usr/src/cloop-2.629/compressed_loop.c:446: warning: assignment makes pointer from integer without a cast
/usr/src/cloop-2.629/compressed_loop.c:467: error: implicit declaration of function 'blkdev_dequeue_request'
/usr/src/cloop-2.629/compressed_loop.c:479: error: 'struct request' has no member named 'nr_sectors'
/usr/src/cloop-2.629/compressed_loop.c: In function 'cloop_set_file':
/usr/src/cloop-2.629/compressed_loop.c:518: error: 'struct request_queue' has no member named 'max_sectors'
/usr/src/cloop-2.629/compressed_loop.c:519: error: 'struct request_queue' has no member named 'max_phys_segments'
/usr/src/cloop-2.629/compressed_loop.c:520: error: 'struct request_queue' has no member named 'max_hw_segments'
/usr/src/cloop-2.629/compressed_loop.c:521: error: 'struct request_queue' has no member named 'max_segment_size'
/usr/src/cloop-2.629/compressed_loop.c:522: error: 'struct request_queue' has no member named 'seg_boundary_mask'
make[2]: *** [/usr/src/cloop-2.629/compressed_loop.o] Error 1
make[1]: *** [_module_/usr/src/cloop-2.629] Error 2


Aufs compile without errors.

.....when you have time Klaus....we can survive with the "old" kernel ;-)


Max

Parent Message unknown Re: Kernel 2.6.31 and compressed_loop.c

by stirner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed, Sep 23, 2009 at 07:56:29AM -0700, Klaus wrote:
>
>
> Seems that somethings has changed in kernel 2.6.31, cloop doesn't compile:

>things in the block layer again.

>Please try
>http://debian-knoppix.alioth.debian.org/sources/cloop_2.631-1.tar.gz

>Regards
>-Klaus

I remastered my live, booted and everything is ok with the new kernel!

Time to benchmark now ;-)

Cheers


Max


--
Sylpheed version 2.7.1 on Debian Linux 2.6.31
mercoledì 23 settembre 2009  ore 17:33


--
To UNSUBSCRIBE, email to debian-knoppix-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Kernel 2.6.31 and compressed_loop.c

by Klaus Knopper-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Max,

On Wed, Sep 23, 2009 at 07:56:29AM -0700, stirner wrote:
>
>
> Seems that somethings has changed in kernel 2.6.31, cloop doesn't compile:

True, they have been changing the API for queue management and some
things in the block layer again.

Please try
http://debian-knoppix.alioth.debian.org/sources/cloop_2.631-1.tar.gz

Regards
-Klaus


--
To UNSUBSCRIBE, email to debian-knoppix-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Kernel 2.6.31 and compressed_loop.c

by stirner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mercoledì 23 settembre 2009, Klaus Knopper wrote:

> Hello Max,
>
> On Wed, Sep 23, 2009 at 07:56:29AM -0700, stirner wrote:
> >
> >
> > Seems that somethings has changed in kernel 2.6.31, cloop doesn't compile:
>
> True, they have been changing the API for queue management and some
> things in the block layer again.
>
> Please try
> http://debian-knoppix.alioth.debian.org/sources/cloop_2.631-1.tar.gz
>
> Regards
> -Klaus
>


It works!!

Thanks very much, the module compile and load without errors. Tommorrow il
remaster my live and let you know.

Thanks

Max

--
KMail: 1.12.1
linux 2.6.29.1 i686
mer 23 set 2009 18:16:14 CEST


--
To UNSUBSCRIBE, email to debian-knoppix-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...