From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: sata_mv port lockup on hotplug (kernel 2.6.38.2) Date: Fri, 15 Apr 2011 08:35:59 -0400 Message-ID: <4DA83BAF.2010801@teksavvy.com> References: <4D9CD275.9000002@teksavvy.com> <4DA7BC4B.9090104@teksavvy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from ironport2-out.teksavvy.com ([206.248.154.181]:42855 "EHLO ironport2-out.pppoe.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751502Ab1DOMgC (ORCPT ); Fri, 15 Apr 2011 08:36:02 -0400 In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Mikael Abrahamsson Cc: Bruce Stenning , "linux-kernel@vger.kernel.org" , "linux-ide@vger.kernel.org" On 11-04-15 03:43 AM, Mikael Abrahamsson wrote: > On Thu, 14 Apr 2011, Mark Lord wrote: > >> I would like to see the output, next time you can get it. > >Apr 14 18:39:54 host kernel: [ 137.276051] ata9: SATA link up 3.0 Gbps (SStatus 123 SControl 300) >Apr 14 18:39:54 host kernel: [ 137.284557] ------------[ cut here ]------------ >Apr 14 18:39:54 host kernel: [ 137.284626] WARNING: at /build/buildd-linux-2.6_2.6.32-31-amd64-vrfdM4/linux-2.6-2.6.32/debian/build/source_amd64_none/drivers/ata/libata-sff.c:1208 ata_sff_hsm_move+0x47/0x642 [libata]() >Apr 14 18:39:54 host kernel: [ 137.284733] Hardware name: P5E WS Pro >Apr 14 18:39:54 host kernel: [ 137.284797] Modules linked in: ext2 loop snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801 i2c_core evdev pcspkr asus_atk0110 x38_edac shpchp pci_hotplug edac_core button processor ext3 jbd mbcache sha256_generic aes_x86_64 aes_generic cbc dm_crypt dm_mod usbhid hid sd_mod crc_t10dif sata_mv uhci_hcd sata_sil24 ahci mpt2sas libata sky2 scsi_transport_sas thermal ehci_hcd thermal_sys scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan] >Apr 14 18:39:54 host kernel: [ 137.286426] Pid: 240, comm: ata/1 Not tainted 2.6.32-5-amd64 #1 >Apr 14 18:39:54 host kernel: [ 137.286482] Call Trace: >Apr 14 18:39:54 host kernel: [ 137.286536] [] ? ata_sff_hsm_move+0x47/0x642 [libata] >Apr 14 18:39:54 host kernel: [ 137.286597] [] ? ata_sff_hsm_move+0x47/0x642 [libata] >Apr 14 18:39:54 host kernel: [ 137.286658] [] ? warn_slowpath_common+0x77/0xa3 >Apr 14 18:39:54 host kernel: [ 137.286718] [] ? ata_sff_hsm_move+0x47/0x642 [libata] >Apr 14 18:39:54 host kernel: [ 137.286780] [] ? ata_pio_task+0x9a/0xa6 [libata] >Apr 14 18:39:54 host kernel: [ 137.286838] [] ? worker_thread+0x188/0x21d >Apr 14 18:39:54 host kernel: [ 137.286897] [] ? ata_pio_task+0x0/0xa6 [libata] >Apr 14 18:39:54 host kernel: [ 137.286955] [] ? autoremove_wake_function+0x0/0x2e >Apr 14 18:39:54 host kernel: [ 137.287012] [] ? worker_thread+0x0/0x21d >Apr 14 18:39:54 host kernel: [ 137.287068] [] ? kthread+0x79/0x81 >Apr 14 18:39:54 host kernel: [ 137.287124] [] ? child_rip+0xa/0x20 >Apr 14 18:39:54 host kernel: [ 137.292927] [] ? kthread+0x0/0x81 >Apr 14 18:39:54 host kernel: [ 137.292984] [] ? child_rip+0x0/0x20 >Apr 14 18:39:54 host kernel: [ 137.293041] ---[ end trace 0ce5491cb936fb17 ]--- >Apr 14 18:39:54 host kernel: [ 137.306180] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x2) That's interesting. It really appears have not a lot to do with sata_mv, though there's no guarantee there. Tejun -- this is 2.6.32, libata trying to identify a newly hot-plugged drive, and hitting a warning in libata-sff.c. Looks self-inflicted to me! :) Mikael -- any chance you could someday retry this on 2.6.38.2 ? Thanks