All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Juhl <jesper.juhl@gmail.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>,
	markhe@nextd.demon.co.uk, Andrea Arcangeli <andrea@suse.de>,
	Mike Christie <michaelc@cs.wisc.edu>,
	James Bottomley <James.Bottomley@steeleye.com>
Subject: Re: Slab corruption in 2.6.16-rc5-mm2
Date: Mon, 6 Mar 2006 20:51:45 +0100	[thread overview]
Message-ID: <200603062051.45555.jesper.juhl@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0603061122270.13139@g5.osdl.org>

On Monday 06 March 2006 20:32, Linus Torvalds wrote:
> 
> On Mon, 6 Mar 2006, Jesper Juhl wrote:
> >
> > Not a git user (I need to become one but haven't found the time to read up 
> > on it yet), but no problem, I'll dig out the patch and try reverting it.
> 
> It's attached here.
> 
Thanks.


> NOTE! I'm not at all sure it's the re-try logic. It could be something 
> else. Anything that completes the request before it's actually totally 
> done - or possibly re-uses the sense data for something else would be 
> wrong and buggy.
> 
Ohh well, let's work on the assumption that it is the re-try logic first, 
then try something else if it turns out it isn't. I have no problem testing
a bunch of patches if needed.

<...>
> This is different. But it looks similar. It looks like the thing was 
> actually re-allocated for something else (posix acl data?) but then 

I doubt it's POSIX ACL data : 

juhl@dragon:~/download/kernel/linux-2.6.16-rc5-mm2$ grep -i ACL .config
# CONFIG_FS_POSIX_ACL is not set


> overwritten. However, the overwritten data does look like SCSI sense 
> information again ("Invalid field in cdb"), so I think it's the same 
> thing despite the fact that it had gotten re-allocated for something else.
> 
> > Would gathering more of these help you out?
> 
> It's always interesting when trying to find the pattern, but I think the 
> pattern is already pretty clear. sr_do_ioctl() seems to be the thing, and 
> sense data is written too late.
> 
Ok, it's reproducible on demand (at least I've now reproduced it on 6 more
boots), so if you need any more just let me know and I'll gather a few.


> > I have no USB, SATA or similar devices in the box, only a floppy drive, a 
> > SCSI harddisk, a SCSI CD writer and a SCSI DVD-ROM.
> 
> Well, the fact that you have a CDSI CD-writer and a SCSI DVD-ROM explains 
> the thing, so that's all good.
> 
> > scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
> >         <Adaptec 29160N Ultra160 SCSI adapter>
> >         aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
> 
> So it's either an aic7xxx bug, or it's generic SCSI.
> 
> Considering that we've had other slab corruption issues (the reason I was 
> looking closely at yours), generic SCSI isn't out of the question.
> 
> If you were a git user, doing a bisection run would be useful since you 

Well, now is probably as good a time as any for becoming a git user, 
tracking my own patches as individual plain-text files is getting 
un-managable and as you say, bisection would be useful to be able to do.
I'll dig up some git docs and start reading.


> seem to be able to recreate it at will. Oh, well. Testign that one patch 
> would still help.
> 
Hmm, that patch does not apply to the 2.6.16-rc5-mm2 kernel : 

patching file drivers/scsi/scsi_lib.c
Hunk #1 succeeded at 260 (offset 1 line).
Hunk #2 FAILED at 473.
Hunk #3 FAILED at 1394.
2 out of 3 hunks FAILED -- saving rejects to file drivers/scsi/scsi_lib.c.rej
patching file include/linux/blkdev.h
Hunk #1 succeeded at 190 (offset 6 lines).

I'll go see if the problem also exists in mainline - will report on that 
shortly.


 /Jesper



  reply	other threads:[~2006-03-06 19:51 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  0:17 Slab corruption in 2.6.16-rc5-mm2 Jesper Juhl
2006-03-06 18:25 ` Linus Torvalds
2006-03-06 18:43   ` Jesper Juhl
2006-03-06 19:32     ` Linus Torvalds
2006-03-06 19:51       ` Jesper Juhl [this message]
2006-03-06 19:58         ` Jesper Juhl
2006-03-06 20:06       ` Linus Torvalds
2006-03-06 20:24         ` Jesper Juhl
2006-03-06 20:30           ` Jens Axboe
2006-03-06 20:33             ` Jens Axboe
2006-03-06 21:14               ` Jesper Juhl
2006-03-06 21:41             ` Jesper Juhl
2006-03-06 21:55               ` Dave Jones
2006-03-06 21:57                 ` Jesper Juhl
2006-03-09 15:50                 ` Martin J. Bligh
2006-03-09 15:54                   ` Martin J. Bligh
2006-03-09 15:54                   ` Benjamin LaHaise
2006-03-09 16:04                     ` Martin J. Bligh
2006-03-09 16:08                   ` Linus Torvalds
2006-03-09 16:41                     ` Dave Jones
2006-03-06 20:36         ` Jesper Juhl
2006-03-06 20:53           ` Jesper Juhl
2006-03-06 20:56             ` Jesper Juhl
2006-03-06 21:07               ` Linus Torvalds
2006-03-06 21:16                 ` Jesper Juhl
2006-03-06 21:54                 ` Jesper Juhl
2006-03-06 22:05                   ` Andrew Morton
2006-03-06 22:08                     ` Jesper Juhl
2006-03-06 22:27                       ` Jesper Juhl
2006-03-06 22:17                   ` Linus Torvalds
2006-03-06 22:34                     ` Linus Torvalds
2006-03-06 22:52                       ` Jesper Juhl
2006-03-06 22:54                       ` Linus Torvalds
2006-03-06 23:01                         ` Jesper Juhl
2006-03-06 23:06                           ` Andrew Morton
2006-03-06 23:24                             ` Jesper Juhl
2006-03-07  0:17                               ` Linus Torvalds
2006-03-07  0:25                                 ` Jesper Juhl
2006-03-07  3:15                               ` Mike Christie
2006-03-07  3:20                                 ` Linus Torvalds
2006-03-07 18:01                                   ` James Bottomley
2006-03-07 19:40                                     ` Jesper Juhl
2006-03-07  8:47                       ` [PATCH] slab: fix offslab_limit in calculate_slab_order (Was: Slab corruption in 2.6.16-rc5-mm2) Pekka J Enberg
2006-03-07 17:12                         ` Linus Torvalds
2006-03-07 19:21                           ` Pekka Enberg
2006-03-07 19:28                       ` Slab corruption in 2.6.16-rc5-mm2 Bill Davidsen
2006-03-06 22:44                     ` Jesper Juhl
2006-03-06 18:48   ` Mike Christie
2006-03-06 18:49     ` Mike Christie
  -- strict thread matches above, loose matches on Subject: below --
2006-03-08  6:25 Chuck Ebbert
2006-03-08  8:32 ` Nick Piggin
2006-03-08  8:46   ` Andrew Morton
2006-03-08  9:02     ` Nick Piggin
2006-03-08  9:12       ` Andrew Morton
2006-03-08  9:23         ` Nick Piggin
2006-03-08 14:35           ` Lee Schermerhorn

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=200603062051.45555.jesper.juhl@gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=James.Bottomley@steeleye.com \
    --cc=akpm@osdl.org \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markhe@nextd.demon.co.uk \
    --cc=michaelc@cs.wisc.edu \
    --cc=torvalds@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.