* Advansys regression between 2.6.23.8 and 2.6.24.2
@ 2008-02-14 15:10 Thomas Petazzoni
2008-02-14 15:14 ` Thomas Petazzoni
2008-02-14 15:50 ` James Bottomley
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2008-02-14 15:10 UTC (permalink / raw)
To: matthew, linux-scsi, fujita.tomonori; +Cc: gregkh, chrisw
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
Hi,
I just upgraded my system from 2.6.23.8 to 2.6.24.2, and when loading
the advansys module, it paniced, with "Kernel BUG at advansys.c:6335".
The issue is that the overrun buffer is not aligned on 8 bytes.
The patch 7d5d408c77cee95d1380511de46b7a4c8dc2211d [1], by FUJITA
Tomonori, which has been committed a few days ago, fixes the issue. The
commit log says that the structure should be 8-byte aligned on 2.6.23
and 2.6.24, but it doesn't seem to be the case in 2.6.24. I have not
identified which commit broke the driver, but I confirm that Tomonori's
patch fixes the problem.
I've added Greg and Chris as Cc: because such a patch should probably
be included in the next -stable of 2.6.24, but of course Tomonori and
Matthew are best placed to say what should be done.
Thanks,
Thomas
[1]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7d5d408c77cee95d1380511de46b7a4c8dc2211d
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Advansys regression between 2.6.23.8 and 2.6.24.2
2008-02-14 15:10 Advansys regression between 2.6.23.8 and 2.6.24.2 Thomas Petazzoni
@ 2008-02-14 15:14 ` Thomas Petazzoni
2008-02-14 15:50 ` James Bottomley
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2008-02-14 15:14 UTC (permalink / raw)
To: matthew, linux-scsi, fujita.tomonori; +Cc: gregkh, chrisw
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
Le Thu, 14 Feb 2008 16:10:24 +0100,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a écrit :
> I have not identified which commit broke the driver, but I confirm
> that Tomonori's patch fixes the problem.
I suspect that the issue has been introduced by
d10fb2c7b5ce1b475df50cde9262d2c3fe3d296e, added in 2.6.24 by Matthew.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Advansys regression between 2.6.23.8 and 2.6.24.2
2008-02-14 15:10 Advansys regression between 2.6.23.8 and 2.6.24.2 Thomas Petazzoni
2008-02-14 15:14 ` Thomas Petazzoni
@ 2008-02-14 15:50 ` James Bottomley
2008-02-26 14:55 ` Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: James Bottomley @ 2008-02-14 15:50 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: matthew, linux-scsi, fujita.tomonori, gregkh, chrisw
On Thu, 2008-02-14 at 16:10 +0100, Thomas Petazzoni wrote:
> I just upgraded my system from 2.6.23.8 to 2.6.24.2, and when loading
> the advansys module, it paniced, with "Kernel BUG at advansys.c:6335".
> The issue is that the overrun buffer is not aligned on 8 bytes.
>
> The patch 7d5d408c77cee95d1380511de46b7a4c8dc2211d [1], by FUJITA
> Tomonori, which has been committed a few days ago, fixes the issue. The
> commit log says that the structure should be 8-byte aligned on 2.6.23
> and 2.6.24, but it doesn't seem to be the case in 2.6.24. I have not
> identified which commit broke the driver, but I confirm that Tomonori's
> patch fixes the problem.
>
> I've added Greg and Chris as Cc: because such a patch should probably
> be included in the next -stable of 2.6.24, but of course Tomonori and
> Matthew are best placed to say what should be done.
Yes, it's already on its way to stable. The process requires the fix to
be committed upstream first. There's an automated script that sends
these commits back to stable once they're upstream (provided they're
tagged correctly).
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Advansys regression between 2.6.23.8 and 2.6.24.2
2008-02-14 15:50 ` James Bottomley
@ 2008-02-26 14:55 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2008-02-26 14:55 UTC (permalink / raw)
To: James Bottomley; +Cc: matthew, linux-scsi, fujita.tomonori, gregkh, chrisw
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
Hi James,
Le Thu, 14 Feb 2008 09:50:58 -0600,
James Bottomley <James.Bottomley@HansenPartnership.com> a écrit :
> Yes, it's already on its way to stable. The process requires the fix
> to be committed upstream first. There's an automated script that
> sends these commits back to stable once they're upstream (provided
> they're tagged correctly).
I might be wrong, but I don't see this patch in 2.6.24.3, which has
just been released.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-26 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 15:10 Advansys regression between 2.6.23.8 and 2.6.24.2 Thomas Petazzoni
2008-02-14 15:14 ` Thomas Petazzoni
2008-02-14 15:50 ` James Bottomley
2008-02-26 14:55 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).