Bug 5789

Summary: ATAPI isn't working on sata-via
Product: IO/Storage Reporter: Aaron Gyes (floam)
Component: Serial ATAAssignee: Jeff Garzik (jgarzik)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.15-rc7 Subsystem:
Regression: --- Bisected commit-id:
Attachments: dmesg

Description Aaron Gyes 2005-12-27 22:23:46 UTC
According to the status report [1], ATAPI should work on every device that
supports it as of 2.6.15. I get some nasty bits in dmesg and it does not work.
I've got a Plextor PX-716SA and am using sata_via.

[1] http://linux.yyz.us/sata/software-status.html#atapi

Will attach a dmesg.
Comment 1 Aaron Gyes 2005-12-27 22:24:13 UTC
Created attachment 6894 [details]
dmesg
Comment 2 Aaron Gyes 2005-12-27 22:25:07 UTC
This was previously being worked on at the Ubuntu bugzilla:
http://bugzilla.ubuntu.com/show_bug.cgi?id=21515
Comment 3 Ben Collins 2005-12-28 08:45:26 UTC
Probably best if you try a stock 2.6.15-rc7 kernel if possible. I'm sure Jeff
wants to make sure that nothing in the Ubuntu kernel is causing this (although
we are pretty much stock in the libata code department, it always helps).
Comment 4 Aaron Gyes 2005-12-29 23:18:19 UTC
I've built my own 2.6.15-rc7 kernel and can confirm that the issue persists, in
the same manner.
Comment 5 Aaron Gyes 2006-01-27 22:42:46 UTC
Hi, I updated to 2.6.16-rc1-mm3 and the device appears to be working. I seem to
be getting some bad burns and google tells me that I may want to disable DMA for
the drive. How do I do this without hacking at the kernel source?

hdparm:
/dev/scd0:
 setting using_dma to 0 (off)
 HDIO_SET_DMA failed: Function not implemented

blktool:
HDIO_SET_DMA: Function not implemented