kernel-image-2.4.27-1-k7: broken i2c modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Debian) |
Fix Released
|
Unknown
|
|||
linux-source-2.6.15 (Ubuntu) |
Invalid
|
High
|
Unassigned |
CVE References
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Mon, 6 Dec 2004 09:35:04 +0100
From: Christoph Hellwig <email address hidden>
To: Brad Sims <email address hidden>, <email address hidden>
Cc: Debian Bug Tracking System <email address hidden>
Subject: Re: Bug#284371: kernel-
On Sun, Dec 05, 2004 at 05:04:14PM -0600, Brad Sims wrote:
> Package: kernel-
> Version: 2.4.27-6
> Severity: important
>
>
> Attempting to insert my modules for sensors after it
> failed I discovered this error message:
>
> /lib/modules/
> /lib/modules/
looks like your usig modules compiled against a different kernel, please
recompile these i2c modules against the current kernel. Why aren't you
using the kernel i2c code anyway?
Debian Bug Importer (debzilla) wrote : | #3 |
Message-Id: <1102350007.
Date: Mon, 06 Dec 2004 17:20:08 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Cc: <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>
Subject: New release changed symbols thus rendering modules unloadable
reopen 284356
severity 284356 important
reassign 284356 kernel-
reassign 284371 kernel-
severity 284463 important
tags 284463 - pending
reassign 284463 kernel-
severity 284181 important
tags 284181 - pending
reassign 284181 kernel-
merge 284356 284371 284463 284181
thanks
Christoph Hellwig wrote:
> We don't support propritary modules.
The original report (#284356) was submitted by Joey Hess and made no
reference to proprietary modules. This affects modules shipped by
Debian too.
The problem is that a new Debian release of the "same" kernel (2.4.27-1)
has changed symbol version suffixes, thus breaking modules that were
compiled against earlier releases of this kernel.
--
Thomas Hood
Debian Bug Importer (debzilla) wrote : | #4 |
Message-Id: <20041206162021
Date: Mon, 6 Dec 2004 17:20:21 +0100 (CET)
From: <email address hidden> (Thomas Hood)
To: <email address hidden>
Subject: tagging 284356
tags 284356 - d-i
Debian Bug Importer (debzilla) wrote : | #5 |
Message-Id: <email address hidden>
Date: Mon, 6 Dec 2004 13:15:36 -0500
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: severity of 284356 is grave
# Automatically generated email from bts, devscripts version 2.8.5
severity 284356 grave
Debian Bug Importer (debzilla) wrote : | #6 |
Message-Id: <email address hidden>
Date: Mon, 6 Dec 2004 13:16:40 -0500
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: tagging 284356
# Automatically generated email from bts, devscripts version 2.8.5
tags 284356 d-i
Debian Bug Importer (debzilla) wrote : | #7 |
Message-Id: <1102358869.
Date: Mon, 06 Dec 2004 19:47:50 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: Re: [Pkg-alsa-devel] Bug#284485: failed loading alsa driver
severity 284356 grave
tags 284356 d-i
reassign 284356 kernel-
merge 284485 284356
thanks
> depmod: *** Unresolved symbols
Kernel bug.
--
Thomas Hood
Debian Bug Importer (debzilla) wrote : | #8 |
Message-Id: <1102359543.
Date: Mon, 06 Dec 2004 19:59:03 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: Re: [Pkg-alsa-devel] Bug#284485: failed loading alsa driver
severity 284485 grave
tags 284485 d-i
reassign 284485 kernel-
merge 284485 284356
thanks
> depmod: *** Unresolved symbols
Kernel bug.
--
Thomas Hood
Debian Bug Importer (debzilla) wrote : | #9 |
Message-Id: <1102359706.
Date: Mon, 06 Dec 2004 20:01:47 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: merge
severity 284253 grave
reassign 284253 kernel-
merge 284253 284356
thanks
Debian Bug Importer (debzilla) wrote : | #10 |
Message-Id: <email address hidden>
Date: Mon, 6 Dec 2004 14:06:23 -0500
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: reassign 284356 to kernel-
# Automatically generated email from bts, devscripts version 2.8.5
reassign 284356 kernel-
merge 284356 284253
Debian Bug Importer (debzilla) wrote : | #11 |
Message-Id: <1102711776.
Date: Fri, 10 Dec 2004 21:49:36 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: merge
reassign 284683 kernel-
tags 284683 d-i
merge 284683 284485
thanks
Debian Bug Importer (debzilla) wrote : | #12 |
Message-Id: <1102937122.
Date: Mon, 13 Dec 2004 12:25:22 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>
Subject: Follow up at #284356
Seven bug reports have been merged together. To keep the discussion
organized, please cc: comments on this bug report to #284356.
Debian Bug Importer (debzilla) wrote : | #13 |
Message-ID: <email address hidden>
Date: Wed, 15 Dec 2004 13:28:50 +0900
From: Horms <email address hidden>
To: Thomas Hood <email address hidden>, <email address hidden>
Cc: <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#284356: New release changed symbols thus rendering modules unloadable
On Mon, Dec 13, 2004 at 09:46:56PM +0900, Horms wrote:
> On Mon, Dec 06, 2004 at 05:20:08PM +0100, Thomas Hood wrote:
> >
> > The original report (#284356) was submitted by Joey Hess and made no
> > reference to proprietary modules. This affects modules shipped by
> > Debian too.
> >
> > The problem is that a new Debian release of the "same" kernel (2.4.27-1)
> > has changed symbol version suffixes, thus breaking modules that were
> > compiled against earlier releases of this kernel.
>
> Hi,
>
> I think that I have discovered the cause of the problem.
>
> It seems to be caused by the 093_tty_lockup.diff patch which was applied
> to resolve CAN-2004-081, a security bug relating to race
> conditions in the TTY subsystem. The patch was sourced from
> Jason Baron from Red Hat. I have attached it for reference.
I regret to report that my previous analysis (which I have snipped but
you can find at http://
appears to be incorrect.
On further analysis I believe that the problem lies in the following
portion of the 093_tty_lockup.diff patch at the bottom of this message.
This adds a refcount element to struct tty_ldisc.
Unforunately struct tty_struct includes a element and in turn
struct task_struct includes a struct tty_struct element,
so this change ends up all over the place.
To make matters worse this field appears to be fundamental to
the fix, which I will reiterate at this point is a security fix
for CAN-2004-081.
I checked 2.6 upstream and the refcount field is present.
Curiously upstream 2.4 seems to neither include this field nor
a fix for CAN-2004-0814 (N.B not CAN-2004-081 as I misquoted above).
If anyone can correct me there I would be most grateful.
http://
As it stands it seems whe have two choices.
1. Back out the CAN-2004-081 patch.
This is trivial and would resolve the symbol problem.
2. Bump the SO name
i.e. kernel-
-> kernel-
This is not fun, but is probably my prefered option at this point.
Theroretically we might be able to do 1+2 but it looks painful at best.
We may also be able to find a way to fix CAN-2004-081 and avoid
introducing this symbol problem, but I am skeptical.
--
Horms
--- linux-2.
+++ linux-2.
@@ -129,6 +129,7 @@ struct tty_ldisc {
char *fp, int count);
int (*receive_
void (*write_
+ int refcount;
};
#define TTY_LDISC_MAGIC 0x5403
Debian Bug Importer (debzilla) wrote : | #14 |
Message-ID: <email address hidden>
Date: Wed, 15 Dec 2004 11:04:40 +0000
From: Martin Michlmayr <email address hidden>
To: Horms <email address hidden>
Cc: Thomas Hood <email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#284356: New release changed symbols thus rendering modules unloadable
* Horms <email address hidden> [2004-12-15 13:28]:
> I checked 2.6 upstream and the refcount field is present.
> Curiously upstream 2.4 seems to neither include this field nor
> a fix for CAN-2004-0814 (N.B not CAN-2004-081 as I misquoted above).
> If anyone can correct me there I would be most grateful.
Thanks for the analysis. Maybe you could contact upstream and ask why
it hasn't been included and also mention this compatibility problem.
--
Martin Michlmayr
http://
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Wed, 15 Dec 2004 12:46:29 +0100
From: Christoph Hellwig <email address hidden>
To: Martin Michlmayr <email address hidden>, <email address hidden>
Cc: Horms <email address hidden>, Thomas Hood <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#284356: New release changed symbols thus rendering modules unloadable
On Wed, Dec 15, 2004 at 11:04:40AM +0000, Martin Michlmayr wrote:
> * Horms <email address hidden> [2004-12-15 13:28]:
> > I checked 2.6 upstream and the refcount field is present.
> > Curiously upstream 2.4 seems to neither include this field nor
> > a fix for CAN-2004-0814 (N.B not CAN-2004-081 as I misquoted above).
> > If anyone can correct me there I would be most grateful.
>
> Thanks for the analysis. Maybe you could contact upstream and ask why
> it hasn't been included and also mention this compatibility problem.
It's not a problem. Linux doesn't gurantee any ABI stability.
Debian Bug Importer (debzilla) wrote : | #16 |
Message-ID: <email address hidden>
Date: Thu, 16 Dec 2004 13:35:23 +0900
From: Horms <email address hidden>
To: Thomas Hood <email address hidden>, <email address hidden>
Cc: <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#284356: New release changed symbols thus rendering modules unloadable
On Wed, Dec 15, 2004 at 01:28:50PM +0900, Horms wrote:
<snip>
> As it stands it seems whe have two choices.
>
> 1. Back out the CAN-2004-081 patch.
> This is trivial and would resolve the symbol problem.
> 2. Bump the SO name
> i.e. kernel-
> -> kernel-
> This is not fun, but is probably my prefered option at this point.
>
> Theroretically we might be able to do 1+2 but it looks painful at best.
> We may also be able to find a way to fix CAN-2004-081 and avoid
> introducing this symbol problem, but I am skeptical.
I have built packages that implement each of these plans.
Please take a look if you are interested.
I am still in favour of option 2.
http://
--
Horms
Debian Bug Importer (debzilla) wrote : | #17 |
Message-ID: <email address hidden>
Date: Thu, 16 Dec 2004 13:24:28 +0900
From: Horms <email address hidden>
To: Christoph Hellwig <email address hidden>
Cc: Martin Michlmayr <email address hidden>, <email address hidden>, Thomas Hood <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#284356: New release changed symbols thus rendering modules unloadable
On Wed, Dec 15, 2004 at 12:46:29PM +0100, Christoph Hellwig wrote:
> On Wed, Dec 15, 2004 at 11:04:40AM +0000, Martin Michlmayr wrote:
> > * Horms <email address hidden> [2004-12-15 13:28]:
> > > I checked 2.6 upstream and the refcount field is present.
> > > Curiously upstream 2.4 seems to neither include this field nor
> > > a fix for CAN-2004-0814 (N.B not CAN-2004-081 as I misquoted above).
> > > If anyone can correct me there I would be most grateful.
> >
> > Thanks for the analysis. Maybe you could contact upstream and ask why
> > it hasn't been included and also mention this compatibility problem.
I will contact Marcello, but I am not confident of a reply.
> It's not a problem. Linux doesn't gurantee any ABI stability.
Agreed.
--
Horms
Debian Bug Importer (debzilla) wrote : | #18 |
Message-ID: <email address hidden>
Date: Fri, 17 Dec 2004 11:37:23 +0900
From: Horms <email address hidden>
To: Martin Michlmayr <email address hidden>
Cc: Christoph Hellwig <email address hidden>, <email address hidden>, Thomas Hood <email address hidden>,
<email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#284356: New release changed symbols thus rendering modules unloadable
On Thu, Dec 16, 2004 at 01:24:28PM +0900, Horms wrote:
> On Wed, Dec 15, 2004 at 12:46:29PM +0100, Christoph Hellwig wrote:
> > On Wed, Dec 15, 2004 at 11:04:40AM +0000, Martin Michlmayr wrote:
> > > * Horms <email address hidden> [2004-12-15 13:28]:
> > > > I checked 2.6 upstream and the refcount field is present.
> > > > Curiously upstream 2.4 seems to neither include this field nor
> > > > a fix for CAN-2004-0814 (N.B not CAN-2004-081 as I misquoted above).
> > > > If anyone can correct me there I would be most grateful.
> > >
> > > Thanks for the analysis. Maybe you could contact upstream and ask why
> > > it hasn't been included and also mention this compatibility problem.
>
> I will contact Marcello, but I am not confident of a reply.
Hi Martin,
I shouldn't have been so pesemistic. I did indeed get a reply.
Several in fact.
http://
In a nutshell:
1. This patch wasn't put into 2.4.28 because it was quite
intrusive and came out to late in the 2.4.28 cycle
2. It is planed for inclusion (in 2.4.29 I assume)
3. There are some updates to the patch both available and pending,
I will make sure we get those, but broadly speaking
the patch is unchanged. Actually, I notice that one of the
uptades will most likely introduce a futher ABI change
by adding "struct semaphore termios_sem;" to strut tty_struct.
It would be good to get that in if we are going to increment
the so number.
http://
--
Horms
Debian Bug Importer (debzilla) wrote : | #19 |
Message-ID: <email address hidden>
Date: Wed, 22 Dec 2004 12:00:28 +0900
From: Horms <email address hidden>
To: Soren Hansen <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#286444: kernel-
kernel-
reassign 284356 kernel-
reassign 284356 kernel-
reassign 284371 kernel-
reassign 284463 kernel-
reassign 284181 kernel-
merge 286444 284356 284356 284371 284463 284181
tag 286444 +pending
thanks
Thanks,
This is a duplicate of bugs 284356, 284356, 284371, 284463 and 284181.
A fix is on its way in the form of bumbing the SONAME to 2.
--
Horms
Debian Bug Importer (debzilla) wrote : | #20 |
Marking as duplicate based on debbugs merge (284181,284371)
This bug has been marked as a duplicate of bug 11368.
Debian Bug Importer (debzilla) wrote : | #21 |
Message-Id: <20041225144929
Date: Sat, 25 Dec 2004 15:49:29 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: merging 287153 284356
# Automatically generated email from bts, devscripts version 2.8.5
merge 287153 284356
Debian Bug Importer (debzilla) wrote : | #22 |
Message-Id: <email address hidden>
Date: Thu, 30 Dec 2004 14:03:58 -0500
From: Simon Horman <email address hidden>
To: <email address hidden>
Subject: Bug#284356: fixed in kernel-
Source: kernel-
Source-Version: 2.4.27-7
We believe that the bug you reported is fixed in the latest version of
kernel-
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
Debian Bug Importer (debzilla) wrote : | #23 |
Message-Id: <1105267578.
Date: Sun, 09 Jan 2005 11:46:18 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: merge
unmerge 284181
unmerge 284463
unmerge 284485
unmerge 284683
unmerge 287153
merge 284181 284463 284485 284683 287153
reassign 284181 alsa-modules-i386
reopen 284181
tags 284181 - d-i
merge 284181 287483
thanks
--
Thomas Hood <email address hidden>
Changed in linux-source-2.6.15: | |
status: | Unknown → Fix Released |
Message-Id: <email address hidden> image-2. 4.27-1- k7: broken i2c modules
Date: Sun, 05 Dec 2004 17:04:14 -0600
From: Brad Sims <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: kernel-
Package: kernel- image-2. 4.27-1- k7
Version: 2.4.27-6
Severity: important
Attempting to insert my modules for sensors after it
failed I discovered this error message:
/lib/modules/ 2.4.27- 1-k7/i2c/ i2c-core. o: 2.4.27- 1-k7/i2c/ i2c-core. o: unresolved symbol 2.4.27- 1-k7/i2c/ i2c-core. o: 2.4.27- 1-k7/i2c/ i2c-core. o: unresolved symbol proc_entry_ Ra185990c 2.4.27- 1-k7/i2c/ i2c-core. o: 2.4.27- 1-k7/i2c/ i2c-core. o: unresolved symbol proc_entry_ R4a81d799 2.4.27- 1-k7/i2c/ i2c-core. o: insmod 2.4.27- 1-k7/i2c/ i2c-core. o failed
/lib/modules/
proc_bus_R59a8ba84
/lib/modules/
/lib/modules/
create_
/lib/modules/
/lib/modules/
remove_
/lib/modules/
/lib/modules/
-- System Information: ISO-8859- 1)
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages kernel- image-2. 4.27-1- k7 depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii fileutils 5.2.1-2 The GNU file management utilities
ii initrd-tools 0.1.74 tools to create initrd image for p
ii modutils 2.4.26-1.1 Linux module utilities
-- no debconf information