Skip to contentSkip to conversation

pata_cmd64x broken in 2.6.33-rc1 on sparc64

DISCUSSION Meelis Roos 5 participants 6 messages Dec 19, 2009 – Dec 20, 2009 libata

lore
Share & tools
lore
#0 lore raw

This running on Sun Ultra 5 with CMD646 onboard ide.

scsi0 : pata_cmd64x
scsi1 : pata_cmd64x
ata1: PATA max MWDMA2 cmd 0x1fe02c00000 ctl 0x1fe02c00008 bmdma 0x1fe02c00020 irq 14
ata2: PATA max MWDMA2 cmd 0x1fe02c00010 ctl 0x1fe02c00018 bmdma 0x1fe02c00028 irq 14
pata_cmd64x: active 10 recovery 10 setup 3.
pata_cmd64x: active 10 recovery 10 setup 3.
PCI: Enabling device: (0000:01:01.1), cmd 2
sunhme.c:v3.10 August 26, 2008 David S. Miller ([email protected])
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f8:c7:72
mice: PS/2 mouse device common for all mice

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
 [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
 [00000000006423a8] ata_eh_recover+0x5c8/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a94d ]---

rtc-m48t59 rtc-m48t59.0: rtc core: registered m48t59 as rtc0
TCP cubic registered
NET: Registered protocol family 17
registered taskstats version 1
rtc-m48t59 rtc-m48t59.0: setting system clock to 2009-12-19 22:14:41 UTC (1261260881)

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000636e1c] ata_dev_configure+0x63c/0x1780
 [0000000000642604] ata_eh_recover+0x824/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a94f ]---

ata1.00: HPA detected: current 234375000, native 234441648
ata1.00: ATA-5: WDC WD1200JB-75CRA0, 16.06V16, max UDMA/100
ata1.00: 234375000 sectors, multi 0: LBA
pata_cmd64x: active 3 recovery 1 setup 1.
pata_cmd64x: active 3 recovery 1 setup 1.
input: Sun Mouse as /devices/root/f005f9c0/f00601b4/f0061504/f0064df4/serio1/input/input0

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [000000000063888c] ata_do_set_mode+0x6cc/0xb00
 [000000000063f164] ata_set_mode+0x144/0x160
 [0000000000642cf4] ata_eh_recover+0xf14/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a950 ]---
------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
 [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
 [00000000006365b0] ata_dev_reread_id+0x30/0x1a0
 [0000000000638004] ata_dev_revalidate+0xa4/0x260
 [00000000006388bc] ata_do_set_mode+0x6fc/0xb00
 [000000000063f164] ata_set_mode+0x144/0x160
 [0000000000642cf4] ata_eh_recover+0xf14/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
---[ end trace 61a1d617a7f4a951 ]---
------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000636e1c] ata_dev_configure+0x63c/0x1780
 [00000000006380d4] ata_dev_revalidate+0x174/0x260
 [00000000006388bc] ata_do_set_mode+0x6fc/0xb00
 [000000000063f164] ata_set_mode+0x144/0x160
 [0000000000642cf4] ata_eh_recover+0xf14/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a952 ]---

ata1.00: configured for MWDMA2
scsi 0:0:0:0: Direct-Access ATA WDC WD1200JB-75C 16.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 234375000 512-byte logical blocks: (120 GB/111 GiB)
pata_cmd64x: active 10 recovery 10 setup 3.
pata_cmd64x: active 10 recovery 10 setup 3.
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
 [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
 [00000000006423a8] ata_eh_recover+0x5c8/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a953 ]---

ata2.00: ATAPI: CRD-8322B, 1.06, max MWDMA2
pata_cmd64x: active 3 recovery 1 setup 1.
pata_cmd64x: active 3 recovery 1 setup 1.
sda:

and hangs here.

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw

From: Meelis Roos <[email protected]>
Date: Sun, 20 Dec 2009 00:23:14 +0200 (EET)

Quoted 1 line

This running on Sun Ultra 5 with CMD646 onboard ide.

Not CC:'ing linux-ide on reports like this is a good way for your report to get lost and not looked at in a timely manner, fixed :-)

Quoted 156 lines

scsi0 : pata_cmd64x
scsi1 : pata_cmd64x
ata1: PATA max MWDMA2 cmd 0x1fe02c00000 ctl 0x1fe02c00008 bmdma 0x1fe02c00020 irq 14
ata2: PATA max MWDMA2 cmd 0x1fe02c00010 ctl 0x1fe02c00018 bmdma 0x1fe02c00028 irq 14
pata_cmd64x: active 10 recovery 10 setup 3.
pata_cmd64x: active 10 recovery 10 setup 3.
PCI: Enabling device: (0000:01:01.1), cmd 2
sunhme.c:v3.10 August 26, 2008 David S. Miller ([email protected])
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f8:c7:72
mice: PS/2 mouse device common for all mice

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
 [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
 [00000000006423a8] ata_eh_recover+0x5c8/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a94d ]---

rtc-m48t59 rtc-m48t59.0: rtc core: registered m48t59 as rtc0
TCP cubic registered
NET: Registered protocol family 17
registered taskstats version 1
rtc-m48t59 rtc-m48t59.0: setting system clock to 2009-12-19 22:14:41 UTC (1261260881)

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000636e1c] ata_dev_configure+0x63c/0x1780
 [0000000000642604] ata_eh_recover+0x824/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a94f ]---

ata1.00: HPA detected: current 234375000, native 234441648
ata1.00: ATA-5: WDC WD1200JB-75CRA0, 16.06V16, max UDMA/100
ata1.00: 234375000 sectors, multi 0: LBA
pata_cmd64x: active 3 recovery 1 setup 1.
pata_cmd64x: active 3 recovery 1 setup 1.
input: Sun Mouse as /devices/root/f005f9c0/f00601b4/f0061504/f0064df4/serio1/input/input0

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [000000000063888c] ata_do_set_mode+0x6cc/0xb00
 [000000000063f164] ata_set_mode+0x144/0x160
 [0000000000642cf4] ata_eh_recover+0xf14/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a950 ]---
------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
 [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
 [00000000006365b0] ata_dev_reread_id+0x30/0x1a0
 [0000000000638004] ata_dev_revalidate+0xa4/0x260
 [00000000006388bc] ata_do_set_mode+0x6fc/0xb00
 [000000000063f164] ata_set_mode+0x144/0x160
 [0000000000642cf4] ata_eh_recover+0xf14/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
---[ end trace 61a1d617a7f4a951 ]---
------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000636e1c] ata_dev_configure+0x63c/0x1780
 [00000000006380d4] ata_dev_revalidate+0x174/0x260
 [00000000006388bc] ata_do_set_mode+0x6fc/0xb00
 [000000000063f164] ata_set_mode+0x144/0x160
 [0000000000642cf4] ata_eh_recover+0xf14/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a952 ]---

ata1.00: configured for MWDMA2
scsi 0:0:0:0: Direct-Access ATA WDC WD1200JB-75C 16.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 234375000 512-byte logical blocks: (120 GB/111 GiB)
pata_cmd64x: active 10 recovery 10 setup 3.
pata_cmd64x: active 10 recovery 10 setup 3.
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
 [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
 [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
 [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
 [0000000000635b30] ata_exec_internal+0x50/0x80
 [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
 [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
 [00000000006423a8] ata_eh_recover+0x5c8/0x1280
 [0000000000643288] ata_do_eh+0x28/0xa0
 [0000000000643e94] ata_scsi_error+0x374/0x600
 [00000000006221ec] scsi_error_handler+0xcc/0x460
 [000000000046fdc0] kthread+0x60/0x80
 [000000000042b4b0] kernel_thread+0x30/0x60
 [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a953 ]---

ata2.00: ATAPI: CRD-8322B, 1.06, max MWDMA2
pata_cmd64x: active 3 recovery 1 setup 1.
pata_cmd64x: active 3 recovery 1 setup 1.
sda:

and hangs here.

Signature · 6 lines
Meelis Roos ([email protected])
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#2 lore raw
In reply to Meelis Roos
Quoted 22 lines · Meelis Roos

This running on Sun Ultra 5 with CMD646 onboard ide.

scsi0 : pata_cmd64x
scsi1 : pata_cmd64x
ata1: PATA max MWDMA2 cmd 0x1fe02c00000 ctl 0x1fe02c00008 bmdma 0x1fe02c00020 irq 14
ata2: PATA max MWDMA2 cmd 0x1fe02c00010 ctl 0x1fe02c00018 bmdma 0x1fe02c00028 irq 14
pata_cmd64x: active 10 recovery 10 setup 3.
pata_cmd64x: active 10 recovery 10 setup 3.
PCI: Enabling device: (0000:01:01.1), cmd 2
sunhme.c:v3.10 August 26, 2008 David S. Miller ([email protected])
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f8:c7:72
mice: PS/2 mouse device common for all mice

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
  [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
  [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
  [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
  [0000000000635b30] ata_exec_internal+0x50/0x80
  [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
  [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
Quoted 8 lines
  [00000000006423a8] ata_eh_recover+0x5c8/0x1280
  [0000000000643288] ata_do_eh+0x28/0xa0
  [0000000000643e94] ata_scsi_error+0x374/0x600
  [00000000006221ec] scsi_error_handler+0xcc/0x460
  [000000000046fdc0] kthread+0x60/0x80
  [000000000042b4b0] kernel_thread+0x30/0x60
  [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a94d ]---

linux-ide CC added.

Does backing out the following commit fix things?

	commit d43744390e460dce6626fb8de2c02a24ff650005
	Author: Alan Cox <[email protected]>
	Date:   Mon Nov 30 13:22:54 2009 +0000

	    pata_cmd64x: implement serialization as per notes

Although quite unlikely, commit f0353813afe784330622596ff141e7525ccd99de may also change things. Try backing that out, if backing out the first commit (d43744...) fails to improve behavior.

Jeff

#3 lore raw
Quoted 3 lines
Quoted 3 lines

mice: PS/2 mouse device common for all mice

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()

Which version of the cmd64x patch got applied ?

Quoted 11 lines

Does backing out the following commit fix things?

	commit d43744390e460dce6626fb8de2c02a24ff650005
	Author: Alan Cox <[email protected]>
	Date:   Mon Nov 30 13:22:54 2009 +0000

	    pata_cmd64x: implement serialization as per notes

Although quite unlikely, commit f0353813afe784330622596ff141e7525ccd99de may also change things. Try backing that out, if backing out the first commit (d43744...) fails to improve behavior.

I'll take a look at this after new year but it looks like the old version ended up in the libata tree without the additional fixes, if so its pretty trivial to sort out (see Bartlomiej response to the original and the follow up thread plus fixes)

#5 lore raw
In reply to Meelis Roos
Quoted 1 line

[000000000064987c] cmd64x_bmdma_stop+0x3c/0x60

The sanity check that fails here is bus master DMA stop called but either no DMA is running or the DMA is down as a different device.

Quoted 7 lines

ata2.00: ATAPI: CRD-8322B, 1.06, max MWDMA2
pata_cmd64x: active 3 recovery 1 setup 1.
pata_cmd64x: active 3 recovery 1 setup 1.
sda:

and hangs here.

First real DMA command - probably waiting for a DMA to complete that doesn't exist from the above error.

Jeff - just drop the cmd64x diff for now

#4 lore raw
In reply to Jeff Garzik
Quoted 37 lines · Jeff Garzik
Quoted 22 lines · Meelis Roos

This running on Sun Ultra 5 with CMD646 onboard ide.

scsi0 : pata_cmd64x
scsi1 : pata_cmd64x
ata1: PATA max MWDMA2 cmd 0x1fe02c00000 ctl 0x1fe02c00008 bmdma 0x1fe02c00020 irq 14
ata2: PATA max MWDMA2 cmd 0x1fe02c00010 ctl 0x1fe02c00018 bmdma 0x1fe02c00028 irq 14
pata_cmd64x: active 10 recovery 10 setup 3.
pata_cmd64x: active 10 recovery 10 setup 3.
PCI: Enabling device: (0000:01:01.1), cmd 2
sunhme.c:v3.10 August 26, 2008 David S. Miller ([email protected])
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f8:c7:72
mice: PS/2 mouse device common for all mice

------------[ cut here ]------------
WARNING: at drivers/ata/pata_cmd64x.c:268 cmd64x_bmdma_stop+0x3c/0x60()
Modules linked in:
Call Trace:
  [000000000064987c] cmd64x_bmdma_stop+0x3c/0x60
  [0000000000644610] ata_sff_post_internal_cmd+0x30/0x60
  [0000000000635910] ata_exec_internal_sg+0x310/0x4e0
  [0000000000635b30] ata_exec_internal+0x50/0x80
  [0000000000635ddc] ata_do_dev_read_id+0x1c/0x40
  [0000000000635fb0] ata_dev_read_id+0x1b0/0x5c0
Quoted 8 lines
  [00000000006423a8] ata_eh_recover+0x5c8/0x1280
  [0000000000643288] ata_do_eh+0x28/0xa0
  [0000000000643e94] ata_scsi_error+0x374/0x600
  [00000000006221ec] scsi_error_handler+0xcc/0x460
  [000000000046fdc0] kthread+0x60/0x80
  [000000000042b4b0] kernel_thread+0x30/0x60
  [000000000046fd1c] kthreadd+0x9c/0xe0
---[ end trace 61a1d617a7f4a94d ]---

linux-ide CC added.

Does backing out the following commit fix things?

Quoted 7 lines
	commit d43744390e460dce6626fb8de2c02a24ff650005
	Author: Alan Cox <[email protected]>
	Date:   Mon Nov 30 13:22:54 2009 +0000

	    pata_cmd64x: implement serialization as per notes

Although quite unlikely, commit f0353813afe784330622596ff141e7525ccd99de

My SPARC Ultra5 boots 2.6.32 Ok but hangs during boot of 2.6.33-rc1. Reverting d43744390e460dce6626fb8de2c02a24ff650005 allows it to boot Ok again.