sata_via causes emask timeout

Submitted by Anonymous
on June 1, 2009 - 8:09am

I have a system that uses sata_via and sr_mod for my cd-drive. This causes the following problem:
Apr 16 08:21:43 (none) kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Apr 16 08:21:43 (none) kernel: ata1.00: cmd a0/01:00:00:10:f8/00:00:00:00:00/a0 tag 0 dma 63504 out
Apr 16 08:21:43 (none) kernel: cdb 2a 00 00 00 19 a1 00 00 1b 00 00 00 00 00 00 00
Apr 16 08:21:43 (none) kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 16 08:21:43 (none) kernel: ata1.00: status: { DRDY }
Apr 16 08:21:48 (none) kernel: ata1: port is slow to respond, please be patient (Status 0xd0)
Apr 16 08:21:53 (none) kernel: ata1: soft resetting link
Apr 16 08:22:23 (none) kernel: ata1.00: qc timeout (cmd 0xa1)
Apr 16 08:22:23 (none) kernel: ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Apr 16 08:22:23 (none) kernel: ata1.00: revalidation failed (errno=-5)
Apr 16 08:22:23 (none) kernel: ata1: failed to recover some devices, retrying in 5 secs
Apr 16 08:22:33 (none) kernel: ata1: port is slow to respond, please be patient (Status 0xd0)
Apr 16 08:22:38 (none) kernel: ata1: soft resetting link

This occurs when using the sata_via and sr_mod modules. i have proven it is these modules as ide cd-drive using ide_cd on the same system do not produce these errors, but ide drives using the sata_via and sr_mod modules do.
SATA CD drives use this driver and cause the same problem. I have used dedicated SATA cd drives (panasonic UJ875A) and also ide-drives with sata adaptors. Both produce above errors.

Unfortunately these error are common but I cannot reproduce them - they just happen!

I need to use SATA drives reliably but this is causing me concern.

A solution would be for me to force sata drives to use ide_cd. However i dont think this is possible or dont know how to do it. Any ideas?

The best answer would be to solve the source of the problem - any thoughts there?

I am using 2.6.29 Kernel after upgrading from 2.6.22 (both exhibit same issues)

Conor

cables/ports

strcmp
on
June 1, 2009 - 12:28pm

have you tried exchanging the sata cables? does your board have more sata ports and can you connect the cd-drive to another port? have you tested with just the cd-drive on this sata adapter (and the hd on another adapter, possibly pata) to check if this is a problem with cd-drives or with multiple devices on one sata adapter instead?

i have tried all the above.

Anonymous (not verified)
on
June 2, 2009 - 12:29am

i have tried all the above. This happens on various machines and various makes and models of hardware. the only common attribute is the sata_via module. The error also occurs when using this module with a pata cd drive. The cables have been changed and ports have been changed. Tried using just one cd writer instead of two. I can run the system with two pata writers and one sata harddrive with no error AS LONG as the system is setup to use ide-cd module.

Therefore I am convinced with all the testing and the numberous combinations that I have tried that it is a problem with sata_via (or sr_mod). But I do NEED to use sata cd drives.

The only thing that I havent tried for long periods is a new motherboard with different chipset (I tried an intel-atom board with no errors for a short period - but it didnt have all the feautres on the motherboard that I needed).

Is there any way of getting a sata cd drive to run on ide-cd?
Or any known fix for the emask timeout issue as shown above?

Thanks,
Conor

Sata_via still problematic

Anonymous (not verified)
on
June 29, 2009 - 4:16am

I still have not come to a conclusion about this fault/bug/error.
Does anyone have any ideas?
Conor

I seem to have the same

Anonymous (not verified)
on
July 4, 2009 - 1:50am

I seem to have the same problem:

ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2.00: status: { DRDY }
ata2: link is slow to respond, please be patient (ready=0)
ata2: soft resetting link
ata2: link is slow to respond, please be patient (ready=0)
ata2: SRST failed (errno=-16)
ata2: soft resetting link
ata2: link is slow to respond, please be patient (ready=0)
ata2: SRST failed (errno=-16)
ata2: soft resetting link
ata2: link is slow to respond, please be patient (ready=0)
ata2: SRST failed (errno=-16)
ata2: soft resetting link
ata2: SRST failed (errno=-16)
ata2: reset failed, giving up
ata2.00: disabled
ata2: EH complete

Im using sr_mod and sata_via, kernel 2.6.29.

This is the modules output at boottime:

sata_via 0000:00:0f.0: version 2.4
sata_via 0000:00:0f.0: PCI INT B -> GSI 20 (level, low) -> IRQ 20
sata_via 0000:00:0f.0: routed to hard irq line 10
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0xefe0 ctl 0xefac bmdma 0xef90 irq 20
ata2: SATA max UDMA/133 cmd 0xefa0 ctl 0xefa8 bmdma 0xef98 irq 20
ata1: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATAPI: HL-DT-STDVD-RAM GH22NS30, 1.01, max UDMA/100
ata2.00: configured for UDMA/100

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.