Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753182AbXJWNAJ (ORCPT ); Tue, 23 Oct 2007 09:00:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751834AbXJWM76 (ORCPT ); Tue, 23 Oct 2007 08:59:58 -0400 Received: from iucha.net ([209.98.146.184]:46320 "EHLO mail.iucha.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbXJWM75 (ORCPT ); Tue, 23 Oct 2007 08:59:57 -0400 Date: Tue, 23 Oct 2007 07:50:16 -0500 From: Florin Iucha To: Jens Axboe , Linux Kernel Mailing List Subject: Re: kernel NULL pointer dereference in blk_rq_map_sg with v2.6.23-6815-g0895e91 Message-ID: <20071023125016.GK7918@iucha.net> References: <20071023124637.GJ7918@iucha.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fLj60tP2PZ34xyqD" Content-Disposition: inline In-Reply-To: <20071023124637.GJ7918@iucha.net> X-GPG-Key: http://iucha.net/florin_iucha.gpg X-GPG-Fingerprint: 5E59 C2E7 941E B592 3BA4 7DCF 343D 2B14 2376 6F5B User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2468 Lines: 65 --fLj60tP2PZ34xyqD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 23, 2007 at 07:46:37AM -0500, Florin Iucha wrote: > [ 60.656136] Unable to handle kernel NULL pointer dereference at 000000= 0000000000 RIP:=20 > [ 60.656143] [] blk_rq_map_sg+0x10d/0x17c > [ 60.656151] PGD 4640067 PUD 46d4067 PMD 0=20 > [ 60.656154] Oops: 0000 [1] SMP=20 > [ 60.656157] CPU 1=20 > ... There was a DVD in the drive. After the OOPS, I cannot eject it via the button, and the "eject" command is stuck in "D" state: [ 436.308282] eject D ffffffff80571760 0 5336 5324 [ 436.308285] ffff810007c35d08 0000000000000082 0000000000000000 ffff8100= 07c35ca8 [ 436.308288] ffff810006fb15f0 ffff810003062000 ffff810006fb17f8 00000001= 22222222 [ 436.308292] 0000000000000003 ffff8100057e1070 0000000000000000 00000000= 00000000 [ 436.308295] Call Trace: [ 436.308301] [] __mutex_lock_slowpath+0x133/0x23c [ 436.308306] [] mutex_lock+0x19/0x1d [ 436.308309] [] do_open+0x74/0x2d1 [ 436.308313] [] blkdev_open+0x0/0x69 [ 436.308315] [] blkdev_open+0x37/0x69 [ 436.308319] [] __dentry_open+0xe6/0x1bd [ 436.308323] [] nameidata_to_filp+0x2d/0x3f [ 436.308326] [] do_filp_open+0x39/0x4b [ 436.308330] [] _spin_unlock+0x9/0xb [ 436.308333] [] get_unused_fd_flags+0x113/0x121 [ 436.308337] [] do_sys_open+0x51/0xd9 [ 436.308341] [] sys_open+0x1b/0x1d [ 436.308343] [] system_call+0x7e/0x83 florin --=20 Bruce Schneier expects the Spanish Inquisition. http://geekz.co.uk/schneierfacts/fact/163 --fLj60tP2PZ34xyqD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHHe4HND0rFCN2b1sRAoGbAKComwUXvkFFMKcJtC4Qqza/ovs9YQCeNuO/ Y90+YJny3392FcYwvr4Lhrk= =4DPW -----END PGP SIGNATURE----- --fLj60tP2PZ34xyqD-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/