Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752329Ab0KBK7A (ORCPT ); Tue, 2 Nov 2010 06:59:00 -0400 Received: from proxy.quengel.org ([213.146.113.159]:57675 "EHLO gerlin1.hsp-law.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751404Ab0KBK6y convert rfc822-to-8bit (ORCPT ); Tue, 2 Nov 2010 06:58:54 -0400 X-Greylist: delayed 436 seconds by postgrey-1.27 at vger.kernel.org; Tue, 02 Nov 2010 06:58:53 EDT From: Ralf Gerbig To: "LKML" Cc: "Martin K. Petersen" , "James Bottomley" , "FUJITA Tomonori" Subject: 2.6.36 Crash/Panik in scsi_eh Date: Tue, 02 Nov 2010 11:51:34 +0100 Message-ID: <87fwvkm215.fsf@gerlin1.hsp-law.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7204 Lines: 99 Hi all, .36 crashed on me twice. First time dead, no sysrq, nothing in the logs after two days, the second time, a day later, with the following log. The system ran 2.6.36-rc8-00045-g51ea8a8 before for 5 days without trouble. The IMHO only relevant patches between those kernels are appended below. (gcc version 4.4.5 (Gentoo 4.4.5 p1.0, pie-0.4.5) Thanks, Ralf Nov 2 10:40:57 gerlin1 kernel: [45977.557733] general protection fault: 0000 [#1] PREEMPT SMP Nov 2 10:40:57 gerlin1 kernel: [45977.557859] last sysfs file: /sys/devices/virtual/sound/timer/uevent Nov 2 10:40:57 gerlin1 kernel: [45977.557974] CPU 2 Nov 2 10:40:57 gerlin1 kernel: [45977.558012] Modules linked in: xt_state xt_tcpudp ipt_REJECT iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 iptable_mangle iptable_filter ipt_addrtype xt_DSCP xt_dscp xt_string xt_owner xt_NFQUEUE xt_multiport xt_mark xt_iprange xt_hashlimit xt_conntrack xt_connmark nf_conntrack ip_tables x_tables tun nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs pppoe pppox ppp_generic slhc it87 hwmon_vid ipv6 snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device powernow_k8 mperf snd_hda_codec_atihdmi usbhid hid snd_hda_codec_realtek snd_hda_intel snd_hda_codec dst dvb_bt8xx dvb_core bt878 bttv ir_lirc_codec lirc_dev usb_storage ir_sony_decoder ir_jvc_decoder snd_hwdep snd_pcm r8169 snd_timer radeon ir_rc6_decoder v4l2_common videodev v4l2_compat_ioctl32 videobuf_dma_sg avmfritz videobuf_core mISDNipac btcx_risc ir_common mISDN_core ir_rc5_decoder ttm drm_kms_helper i2c_piix4 ir_nec_decoder snd firewire_ohci ppdev cfbcopyarea cfbimgblt cfbfillrect processor soundcore ir_core mii firewire_core snd_page_alloc ehci_hcd parport_pc k10temp evdev xhci_hcd hwmon tveeprom ohci_hcd crc_itu_t parport wmi thermal button Nov 2 10:40:57 gerlin1 kernel: [45977.560231] Nov 2 10:40:57 gerlin1 kernel: [45977.560265] Pid: 600, comm: scsi_eh_16 Not tainted 2.6.36 #6 GA-770TA-UD3/GA-770TA-UD3 Nov 2 10:40:57 gerlin1 kernel: [45977.560407] RIP: 0010:[] [] scsi_dispatch_cmd+0x92/0x22e Nov 2 10:40:57 gerlin1 kernel: [45977.560572] RSP: 0018:ffff88022ffa3d00 EFLAGS: 00010202 Nov 2 10:40:57 gerlin1 kernel: [45977.560669] RAX: 0000000000000001 RBX: ffff8801f7c94700 RCX: ffff88017699dd10 Nov 2 10:40:57 gerlin1 kernel: [45977.560796] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff8801f7c94700 Nov 2 10:40:57 gerlin1 kernel: [45977.560924] RBP: ffff88022fee9800 R08: ffff88022fe42901 R09: ffff88022fe42848 Nov 2 10:40:57 gerlin1 kernel: [45977.561051] R10: ffff88022ec21b18 R11: ffff88022fee9800 R12: 8000000000100038 Nov 2 10:40:57 gerlin1 kernel: [45977.561179] R13: ffff88022fe42848 R14: ffff8801f7c94700 R15: ffff88017699dc30 Nov 2 10:40:57 gerlin1 kernel: [45977.561308] FS: 00007f23ccdb1700(0000) GS:ffff880001900000(0000) knlGS:00000000f73ef6c0 Nov 2 10:40:57 gerlin1 kernel: [45977.561452] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Nov 2 10:40:57 gerlin1 kernel: [45977.561556] CR2: 00007f4403f2f000 CR3: 000000022a603000 CR4: 00000000000006e0 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] Process scsi_eh_16 (pid: 600, threadinfo ffff88022ffa2000, task ffff88022fcd6450) Nov 2 10:40:57 gerlin1 kernel: [45977.561634] Stack: Nov 2 10:40:57 gerlin1 kernel: [45977.561634] ffff88022fe42948 ffff88022fe42800 ffff88022fee9800 ffff88022eeb0908 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] <0> ffff88022fe42848 ffffffff811d7a75 0000000000000000 ffffffff812d8825 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] <0> ffff88022fe42938 ffff88022eeb0c68 ffff88022ffa4150 ffff88022eeb0908 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] Call Trace: Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? scsi_request_fn+0x35b/0x4a6 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? _raw_spin_unlock_irqrestore+0x20/0x2e Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? __blk_run_queue+0x37/0x68 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? blk_run_queue+0x20/0x32 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? scsi_run_queue+0x2db/0x375 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? scsi_run_host_queues+0x1a/0x33 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? scsi_error_handler+0x59b/0x61e Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? scsi_error_handler+0x0/0x61e Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? scsi_error_handler+0x0/0x61e Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? kthread+0x7a/0x82 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? kernel_thread_helper+0x4/0x10 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? kthread+0x0/0x82 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] [] ? kernel_thread_helper+0x0/0x10 Nov 2 10:40:57 gerlin1 kernel: [45977.561634] Code: e9 91 01 00 00 8a 82 a1 00 00 00 84 c0 74 1c 3c 03 7f 18 48 8b 4f 50 8b 92 84 00 00 00 8a 41 01 c1 e2 05 83 e0 1f 09 d0 88 41 01 <41> 83 bc 24 e0 00 00 00 00 49 8b ac 24 e8 00 00 00 74 38 48 8b Nov 2 10:40:57 gerlin1 kernel: [45977.561634] RIP [] scsi_dispatch_cmd+0x92/0x22e Nov 2 10:40:57 gerlin1 kernel: [45977.561634] RSP Nov 2 10:40:57 gerlin1 kernel: [45977.607776] ---[ end trace 3ac2996f7ba1d17f ]--- commit 478971600e47cb83ff2d3c63c5c24f2b04b0d6a1 Author: FUJITA Tomonori Date: Fri Sep 17 00:46:42 2010 +0900 [SCSI] bsg: fix incorrect device_status value bsg incorrectly returns sg's masked_status value for device_status. [jejb: fix up expression logic] Reported-by: Douglas Gilbert Signed-off-by: FUJITA Tomonori Cc: Stable Tree Signed-off-by: James Bottomley :100644 100644 82d5882... 0c00870... M block/bsg.c commit 16d3ea26f82271fef9b1c4523b5e1ea31fa39eec Author: Martin K. Petersen Date: Fri Sep 10 01:20:27 2010 -0400 [SCSI] Fix VPD inquiry page wrapper Fix two bugs in the VPD page wrapper: - Don't return failure if the user asked for page 0 - The end of buffer check failed to account for the page header size and consequently didn't work Signed-off-by: Martin K. Petersen Cc: Stable Tree Signed-off-by: James Bottomley :100644 100644 ad0ed21... 348fba0... M drivers/scsi/scsi.c -- 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/