Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756638Ab2BAPb6 (ORCPT ); Wed, 1 Feb 2012 10:31:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:60513 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753155Ab2BAPb5 (ORCPT ); Wed, 1 Feb 2012 10:31:57 -0500 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: walt Subject: Re: cfq bug still not fixed on x86 Date: Wed, 01 Feb 2012 07:31:42 -0800 Message-ID: References: <4F286529.1060407@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-183-137.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20120106 Thunderbird/9.0 In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4035 Lines: 68 On 01/31/2012 07:18 PM, Shaohua Li wrote: > can you try the debug patch from Tejun: > > http://marc.info/?l=linux-kernel&m=132683711206544&w=2 udevd still segfaults during bootup, but the backtrace looks quite different to me. I've pasted it at the bottom: > 2012/2/1 walt : >> > Hi guys. Linus recently commited this bugfix from Jens: >> > >> > commit 54b466e44b1c7809144bbd8cd6be3f85877ca46f >> > Author: Jens Axboe >> > Date: Tue Jan 17 21:26:11 2012 +0100 >> > >> > cfq-iosched: fix use-after-free of cfqq >> > >> > That fixed the problem on my amd64x2 machine, but my old UP x86 amd >> > machine is still producing the same backtrace when udevd segfaults >> > during bootup. Feb 1 07:17:52 k2 kernel: Pid: 951, comm: scsi_id Tainted: G W 3.3.0-rc2-dirty #128 Feb 1 07:17:52 k2 kernel: Call Trace: Feb 1 07:17:52 k2 kernel: [] __schedule_bug+0x50/0x55 Feb 1 07:17:52 k2 kernel: [] __schedule+0x57/0x39a Feb 1 07:17:52 k2 kernel: [] ? scsi_init_sgtable+0x56/0x6f Feb 1 07:17:52 k2 kernel: [] ? scsi_init_io+0x17/0x80 Feb 1 07:17:52 k2 kernel: [] ? scsi_setup_blk_pc_cmnd+0x74/0xe4 Feb 1 07:17:52 k2 kernel: [] ? sd_prep_fn+0x73c/0x753 Feb 1 07:17:52 k2 kernel: [] ? ata_scsiop_mode_sense+0x25a/0x25a Feb 1 07:17:52 k2 kernel: [] schedule+0x47/0x49 Feb 1 07:17:52 k2 kernel: [] schedule_timeout+0x17/0x13d Feb 1 07:17:52 k2 kernel: [] ? blk_peek_request+0x81/0x151 Feb 1 07:17:52 k2 kernel: [] ? put_device+0xf/0x11 Feb 1 07:17:52 k2 kernel: [] wait_for_common+0xb4/0x121 Feb 1 07:17:52 k2 kernel: [] ? try_to_wake_up+0xe7/0xe7 Feb 1 07:17:52 k2 kernel: [] wait_for_completion+0x12/0x14 Feb 1 07:17:52 k2 kernel: [] blk_execute_rq+0x73/0x8b Feb 1 07:17:52 k2 kernel: [] ? blk_rq_map_user+0x1b1/0x1b1 Feb 1 07:17:52 k2 kernel: [] ? blk_recount_segments+0x16/0x24 Feb 1 07:17:52 k2 kernel: [] ? bio_phys_segments+0x11/0x17 Feb 1 07:17:52 k2 kernel: [] ? blk_rq_bio_prep+0x23/0x70 Feb 1 07:17:52 k2 kernel: [] ? blk_rq_append_bio+0x14/0x3b Feb 1 07:17:52 k2 kernel: [] ? blk_rq_map_user+0x132/0x1b1 Feb 1 07:17:52 k2 kernel: [] sg_io+0x24c/0x339 Feb 1 07:17:52 k2 kernel: [] scsi_cmd_ioctl+0x1a0/0x351 Feb 1 07:17:52 k2 kernel: [] ? __blkdev_get+0x246/0x2da Feb 1 07:17:52 k2 kernel: [] ? blkdev_get+0x2a4/0x2a4 Feb 1 07:17:52 k2 kernel: [] ? blkdev_get+0x1bf/0x2a4 Feb 1 07:17:52 k2 kernel: [] ? _d_rehash+0x39/0x3c Feb 1 07:17:52 k2 kernel: [] scsi_cmd_blk_ioctl+0x2b/0x37 Feb 1 07:17:52 k2 kernel: [] sd_ioctl+0x78/0x98 Feb 1 07:17:52 k2 kernel: [] ? sd_check_events+0xc0/0xc0 Feb 1 07:17:52 k2 kernel: [] __blkdev_driver_ioctl+0x1f/0x2b Feb 1 07:17:52 k2 kernel: [] blkdev_ioctl+0x6af/0x6ce Feb 1 07:17:52 k2 kernel: [] ? handle_pte_fault+0x200/0x4a8 Feb 1 07:17:52 k2 kernel: [] block_ioctl+0x2c/0x34 Feb 1 07:17:52 k2 kernel: [] ? block_ioctl+0x2c/0x34 Feb 1 07:17:52 k2 kernel: [] ? blkdev_get_block+0x35/0x35 Feb 1 07:17:52 k2 kernel: [] do_vfs_ioctl+0x459/0x48f Feb 1 07:17:52 k2 kernel: [] ? do_page_fault+0x304/0x333 Feb 1 07:17:52 k2 kernel: [] ? do_sys_open+0xac/0x170 Feb 1 07:17:52 k2 kernel: [] sys_ioctl+0x2e/0x4b Feb 1 07:17:52 k2 kernel: [] sysenter_do_call+0x12/0x22 Feb 1 07:17:52 k2 kernel: scsi_id[951]: segfault at b758b060 ip b758b060 sp bf8220f8 error 4 Feb 1 07:17:52 k2 kernel: note: scsi_id[951] exited with preempt_count 1 -- 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/