public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pata_cmd64x broken in 2.6.33-rc1 on sparc64
@ 2009-12-19 22:23 Meelis Roos
  2009-12-19 22:26 ` David Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Meelis Roos @ 2009-12-19 22:23 UTC (permalink / raw)
  To: Linux Kernel list

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 (davem@davemloft.net)
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.

-- 
Meelis Roos (mroos@linux.ee)

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

* Re: pata_cmd64x broken in 2.6.33-rc1 on sparc64
  2009-12-19 22:23 pata_cmd64x broken in 2.6.33-rc1 on sparc64 Meelis Roos
@ 2009-12-19 22:26 ` David Miller
  2009-12-19 22:33 ` Jeff Garzik
  2009-12-20  0:41 ` Alan Cox
  2 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2009-12-19 22:26 UTC (permalink / raw)
  To: mroos; +Cc: linux-kernel, linux-ide

From: Meelis Roos <mroos@linux.ee>
Date: Sun, 20 Dec 2009 00:23:14 +0200 (EET)

> 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 :-)

> 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 (davem@davemloft.net)
> 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.
> 
> -- 
> Meelis Roos (mroos@linux.ee)
> --
> 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/

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

* Re: pata_cmd64x broken in 2.6.33-rc1 on sparc64
  2009-12-19 22:23 pata_cmd64x broken in 2.6.33-rc1 on sparc64 Meelis Roos
  2009-12-19 22:26 ` David Miller
@ 2009-12-19 22:33 ` Jeff Garzik
  2009-12-20  0:37   ` Alan Cox
  2009-12-20  1:38   ` Mikael Pettersson
  2009-12-20  0:41 ` Alan Cox
  2 siblings, 2 replies; 6+ messages in thread
From: Jeff Garzik @ 2009-12-19 22:33 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Linux Kernel list, Linux IDE mailing list

On 12/19/2009 05:23 PM, Meelis Roos wrote:
> 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 (davem@davemloft.net)
> 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 ]---


linux-ide CC added.

Does backing out the following commit fix things?

	commit d43744390e460dce6626fb8de2c02a24ff650005
	Author: Alan Cox <alan@linux.intel.com>
	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



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

* Re: pata_cmd64x broken in 2.6.33-rc1 on sparc64
  2009-12-19 22:33 ` Jeff Garzik
@ 2009-12-20  0:37   ` Alan Cox
  2009-12-20  1:38   ` Mikael Pettersson
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Cox @ 2009-12-20  0:37 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Meelis Roos, Linux Kernel list, Linux IDE mailing list

> > 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 ?

> Does backing out the following commit fix things?
> 
> 	commit d43744390e460dce6626fb8de2c02a24ff650005
> 	Author: Alan Cox <alan@linux.intel.com>
> 	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)

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

* Re: pata_cmd64x broken in 2.6.33-rc1 on sparc64
  2009-12-19 22:23 pata_cmd64x broken in 2.6.33-rc1 on sparc64 Meelis Roos
  2009-12-19 22:26 ` David Miller
  2009-12-19 22:33 ` Jeff Garzik
@ 2009-12-20  0:41 ` Alan Cox
  2 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2009-12-20  0:41 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Linux Kernel list

>  [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.

> 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

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

* Re: pata_cmd64x broken in 2.6.33-rc1 on sparc64
  2009-12-19 22:33 ` Jeff Garzik
  2009-12-20  0:37   ` Alan Cox
@ 2009-12-20  1:38   ` Mikael Pettersson
  1 sibling, 0 replies; 6+ messages in thread
From: Mikael Pettersson @ 2009-12-20  1:38 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Meelis Roos, Linux Kernel list, Linux IDE mailing list

Jeff Garzik writes:
 > On 12/19/2009 05:23 PM, Meelis Roos wrote:
 > > 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 (davem@davemloft.net)
 > > 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 ]---
 > 
 > 
 > linux-ide CC added.
 > 
 > Does backing out the following commit fix things?
 > 
 > 	commit d43744390e460dce6626fb8de2c02a24ff650005
 > 	Author: Alan Cox <alan@linux.intel.com>
 > 	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.

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

end of thread, other threads:[~2009-12-20  1:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-19 22:23 pata_cmd64x broken in 2.6.33-rc1 on sparc64 Meelis Roos
2009-12-19 22:26 ` David Miller
2009-12-19 22:33 ` Jeff Garzik
2009-12-20  0:37   ` Alan Cox
2009-12-20  1:38   ` Mikael Pettersson
2009-12-20  0:41 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox