From: Johannes Erdfelt <jerdfelt@valinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] modutils 2.4.2 and USB
Date: Mon, 12 Feb 2001 19:41:13 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590693005138@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005137@msgid-missing>
On Mon, Feb 12, 2001, Michael Madore <mmadore@turbolinux.com> wrote:
> I have just built kernel 2.4.1 with the IA64 patch, and also the latest
> (2.4.2) modutils. All of the USB options are compiled as modules, with the
> exception of USB-Core, which is compiled statically. After installing
> everything, running depmod -a yields:
>
> depmod: Module /lib/modules/2.4.1-010131-1smp/kernel/drivers/usb/acm.o has
> an unknown version (2) usb_device table
> It is likely that the kernel structure has changed, if so then
> you probably need a new version of modutils to handle this kernel.
> Check linux/Documentation/Changes.
>
> Is this a known problem?
That is definately weird. Keith Owens wanted to add a version information
to help fix a problem we ran into with 2.4.0.
Right before 2.4.0 we had to modify the usb_device_id structure to add some
extra information to make it work correctly. However, this didn't change
the size of the structure (because of alignment reasons) and as a result
it was difficult for modutils to tell the difference between the old style
structure and the new style structure.
Both Linus and I didn't want to add the version information in 2.4 and we
just told him to drop the support for the old style structure since it was
only found in development kernels.
The code stayed in modutils it appears since it wouldn't get in the way
of anything and it would be used in 2.5.
But, the patch never went into the kernel and it shouldn't be finding any
version information. Is there a __module_usb_device_ver symbol in acm.o?
JE
next prev parent reply other threads:[~2001-02-12 19:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-12 17:14 [Linux-ia64] modutils 2.4.2 and USB Michael Madore
2001-02-12 19:41 ` Johannes Erdfelt [this message]
2001-02-12 19:49 ` Michael Madore
2001-02-12 19:53 ` Johannes Erdfelt
2001-02-12 22:04 ` Keith Owens
2001-02-12 22:16 ` Michael Madore
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=marc-linux-ia64-105590693005138@msgid-missing \
--to=jerdfelt@valinux.com \
--cc=linux-ia64@vger.kernel.org \
/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