public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Jiri Slaby <jslaby@suse.cz>,
	Linux-kernel <linux-kernel@vger.kernel.org>,
	"James E.J. Bottomley" <jejb@parisc-linux.org>,
	stable@kernel.org, Wolfgang Walter <wolfgang.walter@stwm.de>
Subject: Re: apparent regression (crash) - 2.6.38.6
Date: Wed, 11 May 2011 23:31:20 +0400	[thread overview]
Message-ID: <4DCAE408.4010205@msgid.tls.msk.ru> (raw)
In-Reply-To: <1305141557.2606.33.camel@mulgrave.site>

11.05.2011 23:19, James Bottomley wrote:
> On Wed, 2011-05-11 at 08:30 +0200, Jiri Slaby wrote:
>> On 05/10/2011 09:55 PM, Michael Tokarev wrote:
>>> Hello.
>>>
>>> I just tried 2.6.38.6 (which has been released today), and
>>> discovered that it crashes during bootup on my machine.
>>> 2.6.38.5 with exactly the same config works.
>>
>> Is it reproducible?

Yes it is 100% reproducible on at least 2 of my machines,
happens on every boot.

>>> Unfortunately I don't have time _right now_ to debug the

>>> [  106.761932] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:12.1/usb2/2-2/2-2:1.0/input/input6
>>> [  106.762170] generic-usb 0003:046D:C044.0004: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:12.1-2/input0
>>> [  106.994177] scsi 10:0:0:0: Direct-Access     Kingston DT HyperX        HMAP PQ: 0 ANSI: 0 CCS
>>> [  106.994458] sd 10:0:0:0: Attached scsi generic sg3 type 0
>>> [  106.994628] BUG: unable to handle kernel NULL pointer dereference at 0000000000000048
>>> [  106.994755] IP: [<ffffffff811bec1b>] elv_queue_empty+0x1b/0x30
> 
> Hmm, it's another missing elevator guard, like this patch:
> 
> http://marc.info/?l=linux-scsi&m=130348673628282
> 
> I think the bug here is that q->elevator is null, so dereferencing
> elevator->ops gives the bug.

With that patch, both problem machines are now booting
ok here, so you can add my Tested-By line if you want.

I wonder why there's so many reports about this issue.

Speaking of elevator, I've "elevator=cfq" in kernel command
line, fwiw.


11.05.2011 11:58, Wolfgang Walter wrote:
> I got almost the same crash with 2.6.32.40 (whereas 2.6.32.39 worked)
> with a certain machine. It only (and always) happens if a certain usb-stick is
> attached when booting. Replacing it with another model "fixed" it.

I too have an usb storage adaptor here, but it's an internal
card reader connected to an onboard usb header.

What's common in both 2.6.38.6 and 2.6.32.40 series in this area?

Thank you!

/mjt

  reply	other threads:[~2011-05-11 19:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 19:55 apparent regression (crash) - 2.6.38.6 Michael Tokarev
2011-05-11  6:30 ` Jiri Slaby
2011-05-11 19:19   ` James Bottomley
2011-05-11 19:31     ` Michael Tokarev [this message]
2011-05-11 20:22       ` Michael Tokarev
2011-05-19  0:25         ` [stable] " Greg KH
2011-05-11 19:34     ` Greg KH
2011-05-19  0:25       ` Greg KH
2011-05-19  3:39         ` James Bottomley
2011-05-19  8:20           ` Arkadiusz Miskiewicz
2011-06-01 12:34           ` Atsushi Nemoto
2011-06-03  7:01             ` Michael Tokarev
2011-06-03  7:09               ` lists+linux-kernel
2011-06-03  7:15                 ` Jiri Slaby
2011-06-04 11:38               ` Atsushi Nemoto
2011-05-11  7:58 ` Wolfgang Walter

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=4DCAE408.4010205@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=jejb@parisc-linux.org \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=wolfgang.walter@stwm.de \
    /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