[Hdaps-devel] Hdapsd lockup (WAS Re: [ltp] HDAPS support for non-Hitachi drives?)

Chris Hanson linux-thinkpad@linux-thinkpad.org
Thu, 17 Aug 2006 00:27:24 -0400


This is a multi-part message in MIME format.
--------------040200060505070004000107
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Shem Multinymous wrote:
> On 8/2/06, Jon Escombe <lists@dresco.co.uk> wrote:
>> Would be very interesting to see whether it's also happening for people
>> using IDE or libata_piix drivers...
> 
> I got it too a few months ago, with ata_piix. But that was after
> merging hdaps_protect with a (conflicting) old version of libata-tj at
> the time. No problems with recent
> kernels+libata-tj+http://whoopie.gmxhome.de/linux/patches/2.6.17-tj/03-hdaps_protect-20060430-for-2.6.17-tj.patch

I've now seen the problem with both AHCI and libata_piix.  In both
cases, with suspend2 installed (via most recent whoopie patches).

I just had a crash due to this problem a few minutes ago.  I've attached
the relevant part of the kernel log.  This is a T60p running Debian
unstable with a custom-compiled 2.6.17.8 kernel + whoopie patches as of
today.

I don't know if this is helpful but if anyone needs more information
please don't hesitate to ask.

--------------040200060505070004000107
Content-Type: text/plain;
 name="hdaps-lossage.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="hdaps-lossage.txt"

Aug 17 00:02:08 ravna kernel: [4295400.862000] ata_scsi_issue_protect_fn(): unload support reported by drive..
Aug 17 00:02:09 ravna kernel: [4295401.216000] scsi_protect_queue(): head parked..
Aug 17 00:02:09 ravna kernel: [4295401.873000] ------------[ cut here ]------------
Aug 17 00:02:09 ravna kernel: [4295401.873000] kernel BUG at kernel/workqueue.c:176!
Aug 17 00:02:09 ravna kernel: [4295401.873000] invalid opcode: 0000 [#1]
Aug 17 00:02:09 ravna kernel: [4295401.873000] SMP 
Aug 17 00:02:09 ravna kernel: [4295401.873000] Modules linked in: ipw3945 ieee80211 ieee80211_crypt vmnet vmmon fglrx openafs rfcomm l2cap ip_conntrack_ftp ip_conntrack_irc ipt_REJECT ipt_LOG xt_limit xt_state xt_tcpudp iptable_filter ip_conntrack nfnetlink ip_tables x_tables joydev tp_smapi hdaps thinkpad_ec ibm_acpi hci_usb bluetooth usbhid snd_hda_intel irtty_sir ehci_hcd sir_dev uhci_hcd evdev pcmcia usbcore snd_hda_codec e1000 psmouse nsc_ircc pcspkr irda crc_ccitt
Aug 17 00:02:09 ravna kernel: [4295401.873000] CPU:    0
Aug 17 00:02:09 ravna kernel: [4295401.873000] EIP:    0060:[<c012db30>]    Tainted: P      VLI
Aug 17 00:02:09 ravna kernel: [4295401.873000] EFLAGS: 00210287   (2.6.17.8-cph2 #1) 
Aug 17 00:02:09 ravna kernel: [4295401.873000] EIP is at run_workqueue+0x6d/0xc8
Aug 17 00:02:09 ravna kernel: [4295401.873000] eax: c216ba40   ebx: f7e88c30   ecx: 00000000   edx: 00200246
Aug 17 00:02:09 ravna kernel: [4295401.873000] esi: f7e88c34   edi: c216ba40   ebp: 00200246   esp: c2168f50
Aug 17 00:02:09 ravna kernel: [4295401.873000] ds: 007b   es: 007b   ss: 0068
Aug 17 00:02:09 ravna kernel: [4295401.873000] Process kblockd/0 (pid: 14, threadinfo=c2168000 task=c213fa90)
Aug 17 00:02:09 ravna kernel: [4295401.873000] Stack: 00000000 c012e411 c200c818 c022aa51 f7e88b90 c216ba4c c216ba40 c216ba54 
Aug 17 00:02:09 ravna kernel: [4295401.873000]        c012e411 c012e50f 00000011 c2168f84 00000000 00000001 00000000 00000000 
Aug 17 00:02:09 ravna kernel: [4295401.873000]        00010000 00000000 00000000 c213fa90 c011a225 00100100 00200200 ffffffff 
Aug 17 00:02:09 ravna kernel: [4295401.873000] Call Trace:
Aug 17 00:02:09 ravna kernel: [4295401.873000]  <c012e411> worker_thread+0x0/0x12f  <c022aa51> blk_unplug_work+0x0/0x9
Aug 17 00:02:09 ravna kernel: [4295401.873000]  <c012e411> worker_thread+0x0/0x12f  <c012e50f> worker_thread+0xfe/0x12f
Aug 17 00:02:09 ravna kernel: [4295401.873000]  <c011a225> default_wake_function+0x0/0x15  <c0130e6d> kthread+0xbd/0xea
Aug 17 00:02:09 ravna kernel: [4295401.873000]  <c0130db0> kthread+0x0/0xea  <c0101005> kernel_thread_helper+0x5/0xb
Aug 17 00:02:09 ravna kernel: [4295401.873000] Code: 8b 43 0c 89 44 24 0c 8b 43 10 89 44 24 10 8b 16 8b 46 04 89 42 04 89 10 89 ea 89 f8 89 36 89 76 04 e8 98 14 24 00 39 7b 14 74 08 <0f> 0b b0 00 21 9f 38 c0 f0 0f ba 76 fc 00 8b 44 24 10 89 04 24 
Aug 17 00:02:09 ravna kernel: [4295401.873000] EIP: [<c012db30>] run_workqueue+0x6d/0xc8 SS:ESP 0068:c2168f50

--------------040200060505070004000107--