Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280326 - DRBD 8.0.16 won't built against recent kernel (2.6.30)
Summary: DRBD 8.0.16 won't built against recent kernel (2.6.30)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL: http://www.drbd.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 15:10 UTC by BigBug
Modified: 2010-09-10 18:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixup for drbd-kernel 8.0.16 sources (drbd-kernel-8.0.16-kernel-2.6.30.patch,394 bytes, patch)
2009-08-04 15:12 UTC, BigBug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BigBug 2009-08-04 15:10:34 UTC
drbd 8.0.16 will fails if you try to compile against 2.6.30 kernel with message:
/var/tmp/portage/sys-cluster/drbd-kernel-8.0.16/work/drbd-8.0.16/drbd/drbd_main.c: In function ‘drbd_init’:
/var/tmp/portage/sys-cluster/drbd-kernel-8.0.16/work/drbd-8.0.16/drbd/drbd_main.c:2773: error: ‘struct proc_dir_entry’ has no member named ‘owner’
make[2]: *** [/var/tmp/portage/sys-cluster/drbd-kernel-8.0.16/work/drbd-8.0.16/drbd/drbd_main.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-cluster/drbd-kernel-8.0.16/work/drbd-8.0.16/drbd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4'
make: *** [kbuild] Error 2


Reproducible: Always

Steps to Reproduce:




Just trivial patch needed to fix. Same thing as were with meny other modules for 2.6.30 kernel.
Comment 1 BigBug 2009-08-04 15:12:20 UTC
Created attachment 200154 [details, diff]
fixup for drbd-kernel 8.0.16 sources

Maybe also usable for all versions
Comment 2 ixuz 2009-08-16 08:31:10 UTC
(In reply to comment #1)
> Created an attachment (id=200154) [edit]
> fixup for drbd-kernel 8.0.16 sources
> 
> Maybe also usable for all versions
> 

(In reply to comment #1)
> Created an attachment (id=200154) [edit]
> fixup for drbd-kernel 8.0.16 sources
> 
> Maybe also usable for all versions
> 

http://forums.gentoo.org/viewtopic-t-788057-highlight-drbd.html

your patch does not work for me :-(
Comment 3 Christian Zoffoli (RETIRED) gentoo-dev 2009-08-17 10:24:43 UTC
fixed in CVS