lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DCAE408.4010205@msgid.tls.msk.ru>
Date:	Wed, 11 May 2011 23:31:20 +0400
From:	Michael Tokarev <mjt@....msk.ru>
To:	James Bottomley <James.Bottomley@...senPartnership.com>
CC:	Jiri Slaby <jslaby@...e.cz>,
	Linux-kernel <linux-kernel@...r.kernel.org>,
	"James E.J. Bottomley" <jejb@...isc-linux.org>, stable@...nel.org,
	Wolfgang Walter <wolfgang.walter@...m.de>
Subject: Re: apparent regression (crash) - 2.6.38.6

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ