Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 54585

Summary: building compress loop device fails - kernel build fails
Product: Gentoo Linux Reporter: Alistair <Alistair>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chriswhite, lu_zero
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alistair 2004-06-20 20:16:39 UTC
This is a kernel bug -- a kernel function has been retired and replaced.

blk_run_queues() is no longer supported in 2.6.5 and is referred to in 
(kernel_source)/drivers/block/compressloop.c

set CONFIG_BLK_DEV_COMPRESSLOOP or 
choose Block devices / compressloop option (marked experimental)

kernel build will fail with this option chosen.. 

I see references to the fact that the function has been replaced in 2.6.5, but have yet to locate the details on how to call the new function.  I understand that you now have to call 
blk_run_queue(queuename)    <and>
blk_run_someotherfunction(queuename) 
to perform the same function.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




This is a kernel level bug. 
   upstream please?
Comment 1 Alistair 2004-06-20 20:23:01 UTC
noted that Luca Barbato has gentoo.org email addy, and have added him as cc on
this bug.

Please see this page
http://lwn.net/Articles/75099/
referring to Jens Axboe's replacement code for blk_run_queues() -- I'd muck but I'm no magician with code...
Comment 2 Luca Barbato gentoo-dev 2004-06-21 01:00:07 UTC
the gcloop has an updated version addressing that as you can find out there

http://dev.gentoo.org/~lu_zero/gcloop/gcloop-2.6-20040527.patch

I'm sorry for not having a Changelog, next revision will have, hopefully

I assume you are referring to the 2.6.7 gentoo-dev-sources that are now fixed

Please reopen if I'm wrong

*** This bug has been marked as a duplicate of 54411 ***