public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: matthew@wil.cx, linux-scsi@vger.kernel.org,
	fujita.tomonori@lab.ntt.co.jp
Cc: gregkh@suse.de, chrisw@sous-sol.org
Subject: Advansys regression between 2.6.23.8 and 2.6.24.2
Date: Thu, 14 Feb 2008 16:10:24 +0100	[thread overview]
Message-ID: <20080214161024.2a0c0f17@crazy> (raw)

[-- 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 --]

             reply	other threads:[~2008-02-14 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 15:10 Thomas Petazzoni [this message]
2008-02-14 15:14 ` Advansys regression between 2.6.23.8 and 2.6.24.2 Thomas Petazzoni
2008-02-14 15:50 ` James Bottomley
2008-02-26 14:55   ` Thomas Petazzoni

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=20080214161024.2a0c0f17@crazy \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=chrisw@sous-sol.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=gregkh@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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