From: Adrian Bunk <bunk@stusta.de>
To: Maurice Volaski <mvolaski@aecom.yu.edu>
Cc: jheffner@psc.edu, discussion@web100.org,
linux-kernel@vger.kernel.org, drbd-user@linbit.com
Subject: Re: drbd 8.0.2/3 doesn't load under kernel 2.6.21
Date: Thu, 2 Aug 2007 00:34:40 +0200 [thread overview]
Message-ID: <20070801223440.GS3972@stusta.de> (raw)
In-Reply-To: <a0624045cc2d691fb7294@[129.98.90.227]>
On Wed, Aug 01, 2007 at 04:21:29PM -0400, Maurice Volaski wrote:
> I'm making an assumption that depmod is somehow to blame and have logged
> this as a kernel bug, http://bugzilla.kernel.org/show_bug.cgi?id=8829
depmod is working fine.
It's the interaction between your two patches that breaks it for you.
>>> It turns out I was adding the web100 patch (http://www.web100.org) to
>>> the 2.6.21 kernel and that's what causes the symbol resolving problem
>>> below. Adding the corresponding version of the web100 patch to the
>>> 2.6.20 kernel makes this problem appear there as well. On fresh
>>> versions of the kernel, this problem does not occur. At the moment,
>>> it's not possible to have a current kernel that contains both drbd
>>> and web100.
>>>
>>>> On a 64-bit Gentoo system with Gentoo's 2.6.21 kernel, drbd 8.0.2/3
>>>> complains when I try to load the module:
>>>>
>>>> [ 134.141363] drbd: Unknown symbol cn_fini
>>>> [ 134.141399] drbd: Unknown symbol cn_init
>>>>
>>>> It works fine when I compile it and load in the previous kernel
>>>> version, 2.6.20 and the symbols are present in the map file
>>>>
>>>> ./System.map-genkernel-x86_64-2.6.21-gentoo-r2:ffffffff802935aa t
>>>> cn_fini
>>>> ./System.map-genkernel-x86_64-2.6.21-gentoo-r2:ffffffff8029362a t
>>>> cn_init
>>>>
>>>> I am c'cing the kernel mailing list because this appears to be a
>>>> problem with how any module accesses symbols in the kernel, not just
>>> >drbd. Source was compiled with Gentoo gcc-4.1.2, glibc-2.5-r3
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2007-08-01 22:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 20:21 drbd 8.0.2/3 doesn't load under kernel 2.6.21 Maurice Volaski
2007-08-01 22:34 ` Adrian Bunk [this message]
2007-08-01 23:02 ` Maurice Volaski
2007-08-02 0:00 ` Adrian Bunk
2007-08-03 14:56 ` Lars Ellenberg
-- strict thread matches above, loose matches on Subject: below --
2007-07-25 18:14 Maurice Volaski
2007-06-13 3:38 Maurice Volaski
[not found] <20070612191821.BDB302E0787B@mail.linbit.com>
2007-06-12 20:45 ` Maurice Volaski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070801223440.GS3972@stusta.de \
--to=bunk@stusta.de \
--cc=discussion@web100.org \
--cc=drbd-user@linbit.com \
--cc=jheffner@psc.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=mvolaski@aecom.yu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox