[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#436885: linux-image-2.6.22-1-powerpc: Oops with sata_sil



hello,

On Thu, 09 Aug 2007, Romain Chantereau wrote:

> 
> I have a external SATA hard drive connected to an PCMCIA eSATA (I experienced
> the same problem with a SATA PCMCIA controller) controller (sata_sil).
> My computer is a powerpc (titanium).
> All my files are on XFS, the external hard drive is XFS formatted too.
> 
> In order to be able to access the hard drive I have to unplug it and replug it
> on the other eSATA port, and switch back to the first and so on until the drive
> is recognized.
> 
> I have the Oops at the end of the kernel log when I make a heavy or exhaustive
> operation, for example : xfs_check, updatedb, or find /mountpoint
> 
> Here the PCMCIA card detection log :
> 
> pccard: CardBus card inserted into slot 0
> SCSI subsystem initialized
> libata version 2.21 loaded.
> sata_sil 0001:11:00.0: version 2.2
> PCI: Enabling device 0001:11:00.0 (0000 ->
> 0003)
> sata_sil 0001:11:00.0: cache line size not
> set.  Driver may not function
> sata_sil 0001:11:00.0: Applying R_ERR on DMA
> activate FIS errata fix
> scsi0 : sata_sil
> scsi1 : sata_sil
> ata1: SATA max UDMA/100 cmd 0xf209e080 ctl
> 0xf209e08a bmdma 0xf209e000 irq 58
> ata2: SATA max UDMA/100 cmd 0xf209e0c0 ctl
> 0xf209e0ca bmdma 0xf209e008 irq 58
> ata1: SATA link down (SStatus 0 SControl 310)
> ata2: SATA link down (SStatus 0 SControl 310)
> 
> Here begin the unplug/plug game until I win (the hard disk is recognized) :
> 
> ata2: exception Emask 0x10 SAct 0x0 SErr
> 0x50000 action 0x2 frozen
> ata2: hard resetting port
> ata2: port is slow to respond, please be
> patient (Status 0xff)
> ata2: SATA link up 1.5 Gbps (SStatus 113
> SControl 310)
> ata2: EH complete
> ata2: exception Emask 0x10 SAct 0x0 SErr
> 0x10000 action 0x2 frozen
> ata2: hard resetting port
> ata2: SATA link down (SStatus 0 SControl 310)
> ata2: EH complete
> ata1: exception Emask 0x10 SAct 0x0 SErr
> 0x50000 action 0x2 frozen
> ata1: hard resetting port
> ata1: SATA link up 1.5 Gbps (SStatus 113
> SControl 310)
> ata1: EH complete
> ata1: exception Emask 0x10 SAct 0x0 SErr
> 0x10000 action 0x2 frozen
> ata1: hard resetting port
> ata1: SATA link down (SStatus 0 SControl 310)
> ata1: EH complete
> ata2: exception Emask 0x10 SAct 0x0 SErr
> 0x50000 action 0x2 frozen
> ata2: hard resetting port
> ata2: SATA link up 1.5 Gbps (SStatus 113
> SControl 310)
> ata2.00: ATA-7: WDC WD3200AAKS-00SBA0,
> 12.01B01, max UDMA/133
> ata2.00: 625142448 sectors, multi 0: LBA48
> NCQ (depth 0/32)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> scsi 1:0:0:0: Direct-Access     ATA      WDC
> WD3200AAKS-0 12.0 PQ: 0 ANSI: 5
> sd 1:0:0:0: [sda] 625142448 512-byte hardware
> sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
> sd 1:0:0:0: [sda] 625142448 512-byte hardware
> sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
>  sda: sda1
> sd 1:0:0:0: [sda] Attached SCSI disk
> 
> I mount it in order to replay the internal log, I umount and I run the xfs_check
> on it :
> 
> XFS mounting filesystem sda1
> Starting XFS recovery on filesystem: sda1
> (logdev: internal)
> Ending XFS recovery on filesystem: sda1
> (logdev: internal)
> ata2.00: exception Emask 0x0 SAct 0x0 SErr
> 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xc0009)
> ata2.00: cmd
> c8/00:1e:11:c0:7c/00:00:00:00:00/e1 tag 0 cdb 0x0 data 15360 in
>          res
> 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware
> sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
> ata2.00: exception Emask 0x0 SAct 0x0 SErr
> 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xc0009)
> ata2.00: cmd
> c8/00:02:8f:58:9b/00:00:00:00:00/e1 tag 0 cdb 0x0 data 1024 in
>          res
> 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware
> sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
> ata2.00: exception Emask 0x0 SAct 0x0 SErr
> 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xd0009)
> ata2.00: cmd
> c8/00:1e:21:bd:a7/00:00:00:00:00/e1 tag 0 cdb 0x0 data 15360 in
>          res
> 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware
> sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
> ata2.00: exception Emask 0x0 SAct 0x0 SErr
> 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xc0009)
> ata2.00: cmd
> c8/00:02:ff:c7:a8/00:00:00:00:00/e1 tag 0 cdb 0x0 data 1024 in
>          res
> 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware
> sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
> Machine check in kernel mode.
> Caused by (from SRR1=141030): Transfer error
> ack signal
> Oops: Machine check, sig: 7 [#1]
> PowerMac
> Modules linked in: sd_mod nfsd exportfs lp
> parport cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_ondemand
> cpufreq_conservative nfs lockd nfs_acl sunrpc ipv6 ext2 mbcache sha256 aes cbc
> blkcipher dm_crypt dm_snapshot dm_mirror dm_mod firewire_sbp2 loop sata_sil
> libata scsi_mod pcmcia firmware_class snd_aoa_i2sbus snd_pcm snd_timer
> snd_page_alloc snd soundcore snd_aoa_soundbus yenta_socket rsrc_nonstatic
> pcmcia_core uninorth_agp agpgart tsdev evdev xfs ide_cd cdrom ide_disk sungem
> sungem_phy firewire_ohci firewire_core crc_itu_t i2c_powermac
> NIP: c0015fc4 LR: f252d564 CTR: c0015fbc
> REGS: c21d5e60 TRAP: 0200   Not tainted
> (2.6.22-1-powerpc)
> MSR: 00141030 <ME,IR,DR>  CR: 24000082  XER:
> 20000000
> TASK = cfd9cc70[1515] 'scsi_eh_1' THREAD:
> c21d4000
> GPR00: 00000000 c21d5f10 cfd9cc70 00000000
> f209e008 f2528ca8 f2525468 f2524c38 
> GPR08: 00000000 f21de2c8 00800000 c0015fbc
> 00000000 00000000 00000000 00000000 
> GPR16: 00000000 00000000 00000000 00000000
> 00000000 00000000 016c759c 41400000 
> GPR24: f2528474 f2524c38 f2525468 f2528ca8
> 00009032 00000000 efd78a30 efd78000 
> NIP [c0015fc4] ioread8+0x8/0x18
> LR [f252d564] ata_altstatus+0x30/0x44
> [libata]
> Call Trace:
> [c21d5f20] [f252d6a8]
> ata_bmdma_drive_eh+0xd0/0x148 [libata]
> [c21d5f50] [f253004c]
> ata_scsi_error+0x1f4/0x450 [libata]
> [c21d5f80] [f246aac4]
> scsi_error_handler+0xd0/0x4f0 [scsi_mod]
> [c21d5fd0] [c0041004] kthread+0x4c/0x88
> [c21d5ff0] [c0013774] kernel_thread+0x44/0x60
> Instruction dump:
> 2f84011e 38600004 4d9a0020 419e0014 38600000
> 4e800020 38600002 4e800020 
> 38600003 4e800020 7c0004ac 88630000
> <0c030000> 4c00012c 5463063e 4e800020 
> 
> 
> -- Package-specific info:
> ** Version:
> Linux version 2.6.22-1-powerpc (Debian 2.6.22-3) (waldi@debian.org) (gcc version 4.1.3 20070718 (prerelease) (Debian 4.1.2-14)) #1 Sun Jul 29 13:58:06 CEST 2007
> 
> ** Not tainted
> 
> ** Kernel log:
> ata2: port is slow to respond, please be patient (Status 0xff)
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata2: EH complete
> ata2: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0x2 frozen
> ata2: hard resetting port
> ata2: SATA link down (SStatus 0 SControl 310)
> ata2: EH complete
> ata1: exception Emask 0x10 SAct 0x0 SErr 0x50000 action 0x2 frozen
> ata1: hard resetting port
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata1: EH complete
> ata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0x2 frozen
> ata1: hard resetting port
> ata1: SATA link down (SStatus 0 SControl 310)
> ata1: EH complete
> ata2: exception Emask 0x10 SAct 0x0 SErr 0x50000 action 0x2 frozen
> ata2: hard resetting port
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata2.00: ATA-7: WDC WD3200AAKS-00SBA0, 12.01B01, max UDMA/133
> ata2.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 0/32)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> scsi 1:0:0:0: Direct-Access     ATA      WDC WD3200AAKS-0 12.0 PQ: 0 ANSI: 5
> sd 1:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> sd 1:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
>  sda: sda1
> sd 1:0:0:0: [sda] Attached SCSI disk
> XFS mounting filesystem sda1
> Starting XFS recovery on filesystem: sda1 (logdev: internal)
> Ending XFS recovery on filesystem: sda1 (logdev: internal)
> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xc0009)
> ata2.00: cmd c8/00:1e:11:c0:7c/00:00:00:00:00/e1 tag 0 cdb 0x0 data 15360 in
>          res 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xc0009)
> ata2.00: cmd c8/00:02:8f:58:9b/00:00:00:00:00/e1 tag 0 cdb 0x0 data 1024 in
>          res 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xd0009)
> ata2.00: cmd c8/00:1e:21:bd:a7/00:00:00:00:00/e1 tag 0 cdb 0x0 data 15360 in
>          res 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x280000 action 0x0
> ata2.00: (BMDMA2 stat 0xc0009)
> ata2.00: cmd c8/00:02:ff:c7:a8/00:00:00:00:00/e1 tag 0 cdb 0x0 data 1024 in
>          res 51/00:00:01:00:00/00:00:00:00:00/e1 Emask 0x1 (device error)
> ata2.00: configured for UDMA/100
> ata2: EH complete
> sd 1:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> Machine check in kernel mode.
> Caused by (from SRR1=141030): Transfer error ack signal
> Oops: Machine check, sig: 7 [#1]
> PowerMac
> Modules linked in: sd_mod nfsd exportfs lp parport cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_ondemand cpufreq_conservative nfs lockd nfs_acl sunrpc ipv6 ext2 mbcache sha256 aes cbc blkcipher dm_crypt dm_snapshot dm_mirror dm_mod firewire_sbp2 loop sata_sil libata scsi_mod pcmcia firmware_class snd_aoa_i2sbus snd_pcm snd_timer snd_page_alloc snd soundcore snd_aoa_soundbus yenta_socket rsrc_nonstatic pcmcia_core uninorth_agp agpgart tsdev evdev xfs ide_cd cdrom ide_disk sungem sungem_phy firewire_ohci firewire_core crc_itu_t i2c_powermac
> NIP: c0015fc4 LR: f252d564 CTR: c0015fbc
> REGS: c21d5e60 TRAP: 0200   Not tainted  (2.6.22-1-powerpc)
> MSR: 00141030 <ME,IR,DR>  CR: 24000082  XER: 20000000
> TASK = cfd9cc70[1515] 'scsi_eh_1' THREAD: c21d4000
> GPR00: 00000000 c21d5f10 cfd9cc70 00000000 f209e008 f2528ca8 f2525468 f2524c38 
> GPR08: 00000000 f21de2c8 00800000 c0015fbc 00000000 00000000 00000000 00000000 
> GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 016c759c 41400000 
> GPR24: f2528474 f2524c38 f2525468 f2528ca8 00009032 00000000 efd78a30 efd78000 
> NIP [c0015fc4] ioread8+0x8/0x18
> LR [f252d564] ata_altstatus+0x30/0x44 [libata]
> Call Trace:
> [c21d5f20] [f252d6a8] ata_bmdma_drive_eh+0xd0/0x148 [libata]
> [c21d5f50] [f253004c] ata_scsi_error+0x1f4/0x450 [libata]
> [c21d5f80] [f246aac4] scsi_error_handler+0xd0/0x4f0 [scsi_mod]
> [c21d5fd0] [c0041004] kthread+0x4c/0x88
> [c21d5ff0] [c0013774] kernel_thread+0x44/0x60
> Instruction dump:
> 2f84011e 38600004 4d9a0020 419e0014 38600000 4e800020 38600002 4e800020 
> 38600003 4e800020 7c0004ac 88630000 <0c030000> 4c00012c 5463063e 4e800020 
> 

sorry for the late reply.
can you still reproduce that with uptodate kernel aka 2.6.24 or better
2.6.25. thanks for feedback?

-- 
maks



Reply to: