From: Willy Tarreau <w@1wt.eu>
To: Zbigniew Baniewski <zb@ispid.com.pl>
Cc: linux-kernel@vger.kernel.org, hancockr@shaw.ca
Subject: Re: "modularized" 2.4.34.4 -> ide-core "unresolved symbols"
Date: Tue, 8 May 2007 23:16:46 +0200 [thread overview]
Message-ID: <20070508211646.GA3129@1wt.eu> (raw)
In-Reply-To: <20070508202334.GA16185@localhost.localdomain>
Hi Zbigniew,
[first, please always keep people in CC when posting on LKML]
On Tue, May 08, 2007 at 10:23:34PM +0200, Zbigniew Baniewski wrote:
> On Sun, May 06, 2007 at 06:36:45AM +0200, Willy Tarreau wrote:
>
> > Could you please be a bit more precise :
> > - config
>
> Below.
Thanks, I could reproduce.
> > - what are the unresolved symbols ?
>
> I don't know. When trying to install "generated" kernel-and-so-on.deb file,
> there is an error message:
>
> depmod: *** Unresolved symbols in /lib/modules/2.4.34/kernel/drivers/ide/ide-core.o
Here is the complete error :
depmod: *** Unresolved symbols in /lib/modules/2.4.34/kernel/drivers/ide/ide-core.o
depmod: init_cmd640_vlb
> See also other similar reports, f.e.:
>
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2006-05/msg07966.html
> http://www.unixadmintalk.com/f59/kernel-compile-problem-afs-122462/
> http://www.captain.at/programming/rtai/kernel-2.4.php
OK I've checked them now. The right solution is the one suggested in the last
link above, which is also what Robert Hancock said too : not use CONFIG_IDE=m.
The reason is very simple : the IDE code may call several other drivers, some
of which are modules, some of which are hard-linked into the kernel. It has
no reliable way of knowing which ones will be available. In fact, the build
system inside drivers/ide is not perfect as it's not an easy part.
The other solution in your particular situation is to replace in your .config:
CONFIG_BLK_DEV_CMD640=y
with :
CONFIG_BLK_DEV_CMD640=m
because only cmd640 causes trouble. I've tested right here and it fixes the
problem as expected. After all, nearly all your other IDE drivers are modules.
> > - link to the patch you are talking about ?
>
> It's the patch made by Arkadiusz Miskiewicz:
>
> http://www.ussg.iu.edu/hypermail/linux/kernel/0311.2/1136.html
OK thanks. It was merged, but it _seems_ to require that you link ide-core
with the kernel and only use ide-probe-mini to probe/unprobe devices. Never
tried this way though.
Regards,
Willy
next prev parent reply other threads:[~2007-05-08 21:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-05 19:49 "modularized" 2.4.34.4 -> ide-core "unresolved symbols" Zbigniew Baniewski
2007-05-06 4:36 ` Willy Tarreau
2007-05-08 20:23 ` Zbigniew Baniewski
2007-05-08 21:16 ` Willy Tarreau [this message]
2007-05-08 22:14 ` Zbigniew Baniewski
2007-05-08 22:39 ` Willy Tarreau
2007-05-08 22:53 ` Zbigniew Baniewski
2007-05-09 22:05 ` Zbigniew Baniewski
2007-05-10 9:21 ` Willy Tarreau
2007-05-12 11:08 ` Willy Tarreau
[not found] <fa.rg7bSh1mNv1yib9QUzNuRvWTPe8@ifi.uio.no>
2007-05-06 2:41 ` Robert Hancock
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=20070508211646.GA3129@1wt.eu \
--to=w@1wt.eu \
--cc=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=zb@ispid.com.pl \
/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