Summary: | net-fs/openafs-kernel-1.4.2-r1 fails to compile w/ kernel 2.6.19 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dirk Heinrichs <dirk.heinrichs> |
Component: | New packages | Assignee: | Stefaan De Roeck (RETIRED) <stefaan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | net-fs |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 156669 |
Description
Dirk Heinrichs
2006-12-01 12:58:38 UTC
I've been checking daily for the announced 1.4.3 version of openafs which should fix this issue. I hope it comes soon. I won't be putting 1.5.x (the development tree of openafs) unmasked in portage anytime soon, as it isn't meant to go stable at any point, unless when it becomes 1.6.x. If you're eager to have linux-2.6.19 support, feel free to try the freshly version bumped 1.5.12 though. It worked ok for me, but I didn't test for long, as linux-2.6.19 has a serious problem with my home-directory on nfs where most subdirectories become unusable. It was a really ugly hack, but to get this working all I did was copy /usr/src/linux(2.6.16)/include/linux/config.h to /usr/src/linux(2.6.19)/include/linux/config.h It was enough to trick it into compiling and it worked find with 2.6.19-r2 after that. Cheers, Alan. I'm guessing you mean "autoconf.h" as the source for the copy here... I was surprised to read this, as all this time I was judging by the emails I saw in the upstream mailing lists. They say that patches are needed for 2.6.19 and have been applied to CVS. Upon closer looking, this e-mail seems to predate the release of the 1.4.2 version, so I'm guessing this patch made it in there, while the patch to look for autoconf.h when config.h isn't there didn't. I'm gonna see if I can do a quick fix here. Sorry for being slow on this, but the fact that kernels newer than 2.6.17 seem to hang my machine from time to time doesn't help :) actually - mine does seem to have issues with some applications, but I think that's because I actually did you use config.h from an older kernel. I'll try using autoconf.h for the source instead and see how I go :-) BTW I also had freezing problems on my machine with later kernels using the Marvell network card drivers. But when they weren't there it was fine. (Got an old realtek card in now.) Cheers, Alan. You can patch this easily, change the config.h include to: #include <linux/version.h> #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18) #include <linux/config.h> #endif Please ensure this is fixed in stable tree ASAP Fixed in openafs-1.4.2-r2. PLEASE TEST this version and report back on this bug, so that we can stabilize it as soon as possible. Also fixed in openafs-1.4.3_pre20061220. Upstream was taking a bit too long, so I took a cvs-snapshot from the stable branch. (Again, please test openafs-kernel-1.4.2-r2 first) |