linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hard lockup with ata_piix 2.6.21.1: strange traceback, too
@ 2007-06-20 21:12 Mark Lord
  2007-06-21  4:29 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Lord @ 2007-06-20 21:12 UTC (permalink / raw)
  To: Tejun Heo, Jeff Garzik, Alan Cox, IDE/ATA development list

Hi guys,

I'm debugging a system here based on ICH7/ata_piix.
When we hot-pull a drive, it locks up solid.
That's fine, but I'd like to find/fix the lockup.

So as part of poking around, I rebuilt the kernel with frame pointers,
and inserted a WARN_ON(1) into ata_busy_sleep() to see who was calling it
just before things locked up. 

Here's the result:  http://rtr.ca/libata.png

Can anyone here make sense of that traceback??
Are we *really* recursing inside the EH code?

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Hard lockup with ata_piix 2.6.21.1: strange traceback, too
  2007-06-20 21:12 Hard lockup with ata_piix 2.6.21.1: strange traceback, too Mark Lord
@ 2007-06-21  4:29 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2007-06-21  4:29 UTC (permalink / raw)
  To: Mark Lord; +Cc: Jeff Garzik, Alan Cox, IDE/ATA development list

Mark Lord wrote:
> Hi guys,
> 
> I'm debugging a system here based on ICH7/ata_piix.
> When we hot-pull a drive, it locks up solid.
> That's fine, but I'd like to find/fix the lockup.
> 
> So as part of poking around, I rebuilt the kernel with frame pointers,
> and inserted a WARN_ON(1) into ata_busy_sleep() to see who was calling it
> just before things locked up.
> Here's the result:  http://rtr.ca/libata.png
> 
> Can anyone here make sense of that traceback??
> Are we *really* recursing inside the EH code?

It looks like SCSI EH -> piix_sata_error_handler -> ata_eh_recover ->
ata_std_softreset -> ata_std_prereset -> ata_busy_sleep with lots of
bogus entries inbetween.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-21  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-20 21:12 Hard lockup with ata_piix 2.6.21.1: strange traceback, too Mark Lord
2007-06-21  4:29 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).