From: Andre Hedrick <andre@linux-ide.org>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: "Murray J. Root" <murrayr@brain.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.5.40-ac4 kernel BUG at slab.c:1477!
Date: Sun, 6 Oct 2002 18:48:48 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.10.10210061845320.23945-100000@master.linux-ide.org> (raw)
In-Reply-To: <3DA03B17.8010501@colorfullife.com>
Only that if it is SG it must conform the ATA/ATAPI DMA on 64kb on 4b
boundaries. Some what basic stuff iirc, but remember this is piped via
scsi and the eh-stratagy/joke leaves something to be desired.
One concern could be crossing SG lists with the device in PIO, that could
get hairy.
On Sun, 6 Oct 2002, Manfred Spraul wrote:
> > This happens at random during boot when loading modules.
> > About half of the time ide-scsi works fine.
> > The system continues to boot after the BUG with /dev/hdc unaccessible.
>
> from mm/slab.c:
>
> 1475 if (xchg((unsigned long *)objp, RED_MAGIC1) != RED_MAGIC2)
> 1476 /* Either write before start, or a double free. */
> 1477 BUG();
>
> You run an uniprocessor kernel, with slab debugging enabled, and the
> red-zoning test notices a write before the beginning of the buffer
> during scsi_probe_and_add_lun, with ide-scsi.
>
> Andre: Do you know if ide-scsi makes any assumptions about memory
> alignment of the input buffers? With slab debugging disabled, the
> alignment is 32 or 64 bytes, with debugging enabled, it's just 4 byte
> [actually sizeof(void*)] aligned.
>
> Murray, could you apply the attached patch? It dumps the redzone value
> during scsi_probe_and_add_lun. Hopefully this will help to find who
> corrupts the buffers.
>
> --
> Manfred
>
Andre Hedrick
LAD Storage Consulting Group
next prev parent reply other threads:[~2002-10-07 1:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-06 13:31 Manfred Spraul
2002-10-06 22:43 ` Murray J. Root
2002-10-08 2:58 ` Murray J. Root
2002-10-06 23:15 ` Murray J. Root
2002-10-07 1:48 ` Andre Hedrick [this message]
2002-10-07 15:43 ` Manfred Spraul
-- strict thread matches above, loose matches on Subject: below --
2002-10-06 6:58 Murray J. Root
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=Pine.LNX.4.10.10210061845320.23945-100000@master.linux-ide.org \
--to=andre@linux-ide.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=murrayr@brain.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
all inboxes | Powered by JetHome®