Summary: | sys-fs/cloop-2.05: Incompatible with Kernel 2.6.24? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | [OLD] Unspecified | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kernel-misc |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 207383, 224957 | ||
Attachments: |
sys-fs:cloop-2.05:20080129-071538.log
Patch to make sys-fs/cloop-2.624.ebuild |
Description
Alexander Skwar
2008-01-29 07:17:28 UTC
Created attachment 142080 [details]
sys-fs:cloop-2.05:20080129-071538.log
Looking at the debian tracker this version stopped working there around kernel 2.6.18. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436090 The 2.05 version has been patched for gentoo in bug #196566 and bug #189561 to work with 2.6.22 and 2.6.23, but... There is, since Oct 2007, an upstream version that has support for 2.6.22 kernel so it might be smarter to let the 2.05 rest in peace and pull an new tree from upstream, like from http://debian-knoppix.alioth.debian.org/sources/cloop_2.624-1.tar.gz Created attachment 142351 [details, diff]
Patch to make sys-fs/cloop-2.624.ebuild
Decided to try this before posting the above message...
The ebuild made from the attached patch does fetch the sources after hitting the mirrors, compiles and installs the module. The module loads and unloads successfully with 2.6.24-gentoo i686
if you don't want to take the whole debian patch, you can fix this specific problem as follows: replace: bio_endio(bio, bio->bi_size, foo); with: #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23) bio_endio(bio, foo); #else bio_endio(bio, bio->bi_size, foo); #endif thank you, committed |