You are not logged in.

#1 2013-03-31 21:24:35

v43
Member
Registered: 2011-02-03
Posts: 140

DVD burner on IDE SATA adapter

Hi, I'd like to use my old trusty Pioneer DVD-RW on my new rig, which hasn't any IDE connection on the motherboard.

I had a IDE->SATA adapter laying around, so I gave it a try.

No problems at boot time.. the device is seen by the bios, is bootable, and everything looks fine.



if I connect the drive to a southbridge sata port, and make it work in AHCI mode, linux won't recognize the device properly, and I won't see it in /dev/.
here's dmesg:

~ > dmesg | grep ata5   
[    1.581722] ata5: SATA max UDMA/133 abar m2048@0xf7e02000 port 0xf7e02300 irq 57
[    2.593045] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.595265] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)
[    2.595271] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    2.595274] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    2.595279] ata5.00: ATAPI: PIONEER DVD-RW  DVR-111D, 1.29, max UDMA/33
[    2.595282] ata5.00: applying bridge limits
[    2.597734] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)
[    2.597739] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    2.597743] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    2.597749] ata5.00: configured for UDMA/33
[    7.591521] ata5.00: qc timeout (cmd 0xa0)
[    7.591532] ata5.00: failed to clear UNIT ATTENTION (err_mask=0x5)
[    8.444030] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    8.446397] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)
[    8.446403] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    8.446406] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    8.448613] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)
[    8.448619] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    8.448622] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    8.448629] ata5.00: configured for UDMA/33
[   13.698997] ata5.00: qc timeout (cmd 0xa0)
[   13.699004] ata5.00: failed to clear UNIT ATTENTION (err_mask=0x5)
[   13.699007] ata5: limiting SATA link speed to 1.5 Gbps
[   13.699008] ata5.00: limiting speed to UDMA/33:PIO3
[   19.013850] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   19.015885] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)
[   19.015891] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[   19.015894] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[   19.017989] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)
[   19.017995] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[   19.017998] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[   19.018004] ata5.00: configured for UDMA/33
[   24.012250] ata5.00: qc timeout (cmd 0xa0)
[   24.012261] ata5.00: failed to clear UNIT ATTENTION (err_mask=0x5)
[   24.012263] ata5.00: disabled
[   24.012277] ata5: hard resetting link
[   25.077888] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   25.077901] ata5: EH complete


If I connect it to another sata port, controlled by a Jmicron chip, and working in IDE mode, I'll have the drive listed in /dev/, but it won't work.
I got tons of errors, as if the cd was badly corrupted (which is not the case).

~ > dmesg | grep ata7
[    4.910327] ata7: PATA max UDMA/100 cmd 0xd040 ctl 0xd030 bmdma 0xd000 irq 16
[    5.092018] ata7.00: ATAPI: PIONEER DVD-RW  DVR-111D, 1.29, max UDMA/33
[    5.105343] ata7.00: configured for UDMA/33
[   14.398465] sr0: scsi-1 drive
[   14.398895] sr 6:0:0:0: Attached scsi CD-ROM sr0
[   27.303635] sr0: CDROM (ioctl) error, command: cdb[0]=0x52 52 01 00 00 00 02 00 00 20 00
[   27.303648] sr: Sense Key : 0x4 [current] 
[   27.303651] sr: ASC=0x8 ASCQ=0x1
[   31.374759] sr0: CDROM (ioctl) error, command: cdb[0]=0x46 46 00 00 00 00 00 00 00 20 00
[   31.374772] sr: Sense Key : 0x4 [current] 
[   31.374776] sr: ASC=0x8 ASCQ=0x1
[   33.977284] sr 6:0:0:0: [sr0] Unhandled sense code
[   33.977289] sr 6:0:0:0: [sr0]  
[   33.977294] sr 6:0:0:0: [sr0]  
[   33.977299] sr 6:0:0:0: [sr0]  
[   33.977303] sr 6:0:0:0: [sr0] CDB: 
[   33.977313] end_request: I/O error, dev sr0, sector 0
[   33.977317] Buffer I/O error on device sr0, logical block 0
[   35.979233] sr 6:0:0:0: [sr0] Unhandled sense code
[   35.979238] sr 6:0:0:0: [sr0]  
[   35.979243] sr 6:0:0:0: [sr0]  
[   35.979248] sr 6:0:0:0: [sr0]  
[   35.979252] sr 6:0:0:0: [sr0] CDB: 
[   35.979262] end_request: I/O error, dev sr0, sector 0
[   35.979266] Buffer I/O error on device sr0, logical block 0
[   37.980839] sr 6:0:0:0: [sr0] Unhandled sense code
[   37.980842] sr 6:0:0:0: [sr0]  
[   37.980844] sr 6:0:0:0: [sr0]  
[   37.980847] sr 6:0:0:0: [sr0]  
[   37.980849] sr 6:0:0:0: [sr0] CDB: 
[   37.980853] end_request: I/O error, dev sr0, sector 0
[   37.980855] Buffer I/O error on device sr0, logical block 0
[   39.983410] sr 6:0:0:0: [sr0] Unhandled sense code
[   39.983415] sr 6:0:0:0: [sr0]  
[   39.983419] sr 6:0:0:0: [sr0]  
[   39.983423] sr 6:0:0:0: [sr0]  
[   39.983426] sr 6:0:0:0: [sr0] CDB: 
[   39.983434] end_request: I/O error, dev sr0, sector 0
[   39.983437] Buffer I/O error on device sr0, logical block 0
[   41.985107] sr 6:0:0:0: [sr0] Unhandled sense code
[   41.985112] sr 6:0:0:0: [sr0]  
[   41.985116] sr 6:0:0:0: [sr0]  
[   41.985121] sr 6:0:0:0: [sr0]  
[   41.985124] sr 6:0:0:0: [sr0] CDB: 
[   41.985133] end_request: I/O error, dev sr0, sector 0
[   41.985136] Buffer I/O error on device sr0, logical block 0
[   43.986650] sr 6:0:0:0: [sr0] Unhandled sense code
[   43.986654] sr 6:0:0:0: [sr0]  
[   43.986658] sr 6:0:0:0: [sr0]  
[   43.986662] sr 6:0:0:0: [sr0]  
[   43.986666] sr 6:0:0:0: [sr0] CDB: 
[   43.986674] end_request: I/O error, dev sr0, sector 0
[   43.986677] Buffer I/O error on device sr0, logical block 0
[   45.988213] sr 6:0:0:0: [sr0] Unhandled sense code
[   45.988217] sr 6:0:0:0: [sr0]  
[   45.988221] sr 6:0:0:0: [sr0]  
[   45.988225] sr 6:0:0:0: [sr0]  
[   45.988228] sr 6:0:0:0: [sr0] CDB: 
[   45.988236] end_request: I/O error, dev sr0, sector 0
[   45.988239] Buffer I/O error on device sr0, logical block 0
[   47.989873] sr 6:0:0:0: [sr0] Unhandled sense code
[   47.989879] sr 6:0:0:0: [sr0]  
[   47.989883] sr 6:0:0:0: [sr0]  
[   47.989888] sr 6:0:0:0: [sr0]  
[   47.989893] sr 6:0:0:0: [sr0] CDB: 
[   47.989902] end_request: I/O error, dev sr0, sector 0
[   47.989906] Buffer I/O error on device sr0, logical block 0
[   49.991428] sr 6:0:0:0: [sr0] Unhandled sense code
[   49.991432] sr 6:0:0:0: [sr0]  
[   49.991435] sr 6:0:0:0: [sr0]  
[   49.991440] sr 6:0:0:0: [sr0]  
[   49.991443] sr 6:0:0:0: [sr0] CDB: 
[   49.991451] end_request: I/O error, dev sr0, sector 0
[   49.991454] Buffer I/O error on device sr0, logical block 0
[   51.993025] sr 6:0:0:0: [sr0] Unhandled sense code
[   51.993029] sr 6:0:0:0: [sr0]  
[   51.993033] sr 6:0:0:0: [sr0]  
[   51.993037] sr 6:0:0:0: [sr0]  
[   51.993040] sr 6:0:0:0: [sr0] CDB: 
[   51.993047] end_request: I/O error, dev sr0, sector 0
[   51.993050] Buffer I/O error on device sr0, logical block 0
[   53.994625] sr 6:0:0:0: [sr0] Unhandled sense code
[   53.994629] sr 6:0:0:0: [sr0]  
[   53.994633] sr 6:0:0:0: [sr0]  
[   53.994637] sr 6:0:0:0: [sr0]  
[   53.994640] sr 6:0:0:0: [sr0] CDB: 
[   53.994647] end_request: I/O error, dev sr0, sector 0
[   53.994650] Buffer I/O error on device sr0, logical block 0
[  171.649047] sr0: CDROM (ioctl) error, command: cdb[0]=0x46 46 00 00 00 00 00 00 00 20 00
[  171.649060] sr: Sense Key : 0x4 [current] 
[  171.649063] sr: ASC=0x8 ASCQ=0x1
[  173.651615] sr0: CDROM (ioctl) error, command: cdb[0]=0x46 46 00 00 28 00 00 00 00 10 00
[  173.651627] sr: Sense Key : 0x4 [current] 
[  173.651631] sr: ASC=0x8 ASCQ=0x1
[  175.659180] sr0: CDROM (ioctl) error, command: cdb[0]=0x46 46 00 00 24 00 00 00 00 10 00
[  175.659192] sr: Sense Key : 0x4 [current] 
[  175.659196] sr: ASC=0x8 ASCQ=0x1
[  177.680762] sr0: CDROM (ioctl) error, command: cdb[0]=0x46 46 00 00 00 00 00 00 00 20 00
[  177.680775] sr: Sense Key : 0x4 [current] 
[  177.680778] sr: ASC=0x8 ASCQ=0x1
[  179.682138] sr 6:0:0:0: [sr0] Unhandled sense code
[  179.682143] sr 6:0:0:0: [sr0]  
[  179.682148] sr 6:0:0:0: [sr0]  
[  179.682153] sr 6:0:0:0: [sr0]  
[  179.682157] sr 6:0:0:0: [sr0] CDB: 
[  179.682167] end_request: I/O error, dev sr0, sector 64
[  179.682209] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[  268.542127] sr0: CDROM (ioctl) error, command: cdb[0]=0x52 52 01 00 00 00 02 00 00 20 00
[  268.542140] sr: Sense Key : 0x4 [current] 
[  268.542144] sr: ASC=0x8 ASCQ=0x1
[  272.613137] sr0: CDROM (ioctl) error, command: cdb[0]=0x46 46 00 00 00 00 00 00 00 20 00
[  272.613149] sr: Sense Key : 0x4 [current] 
[  272.613152] sr: ASC=0x8 ASCQ=0x1
[  275.276448] sr 6:0:0:0: [sr0] Unhandled sense code
[  275.276454] sr 6:0:0:0: [sr0]  
[  275.276458] sr 6:0:0:0: [sr0]  
[  275.276464] sr 6:0:0:0: [sr0]  
[  275.276468] sr 6:0:0:0: [sr0] CDB: 
[  275.276478] end_request: I/O error, dev sr0, sector 0
[  275.276483] Buffer I/O error on device sr0, logical block 0
[  277.278348] sr 6:0:0:0: [sr0] Unhandled sense code
[  277.278354] sr 6:0:0:0: [sr0]  
[  277.278358] sr 6:0:0:0: [sr0]  
[  277.278364] sr 6:0:0:0: [sr0]  
[  277.278368] sr 6:0:0:0: [sr0] CDB: 
[  277.278378] end_request: I/O error, dev sr0, sector 0
[  277.278382] Buffer I/O error on device sr0, logical block 0
[  279.279905] sr 6:0:0:0: [sr0] Unhandled sense code
[  279.279910] sr 6:0:0:0: [sr0]  
[  279.279915] sr 6:0:0:0: [sr0]  
[  279.279921] sr 6:0:0:0: [sr0]  
[  279.279925] sr 6:0:0:0: [sr0] CDB: 
[  279.279935] end_request: I/O error, dev sr0, sector 0
[  279.279939] Buffer I/O error on device sr0, logical block 0
[  281.281463] sr 6:0:0:0: [sr0] Unhandled sense code
[  281.281468] sr 6:0:0:0: [sr0]  
[  281.281472] sr 6:0:0:0: [sr0]  
[  281.281478] sr 6:0:0:0: [sr0]  
[  281.281482] sr 6:0:0:0: [sr0] CDB: 
[  281.281491] end_request: I/O error, dev sr0, sector 0
[  281.281495] Buffer I/O error on device sr0, logical block 0
[  283.283029] sr 6:0:0:0: [sr0] Unhandled sense code
[  283.283034] sr 6:0:0:0: [sr0]  
[  283.283038] sr 6:0:0:0: [sr0]  
[  283.283044] sr 6:0:0:0: [sr0]  
[  283.283048] sr 6:0:0:0: [sr0] CDB: 
[  283.283058] end_request: I/O error, dev sr0, sector 0
[  283.283063] Buffer I/O error on device sr0, logical block 0
[  285.284568] sr 6:0:0:0: [sr0] Unhandled sense code
[  285.284573] sr 6:0:0:0: [sr0]  
[  285.284578] sr 6:0:0:0: [sr0]  
[  285.284583] sr 6:0:0:0: [sr0]  
[  285.284587] sr 6:0:0:0: [sr0] CDB: 
[  285.284597] end_request: I/O error, dev sr0, sector 0
[  285.284601] Buffer I/O error on device sr0, logical block 0
[  287.286131] sr 6:0:0:0: [sr0] Unhandled sense code
[  287.286136] sr 6:0:0:0: [sr0]  
[  287.286141] sr 6:0:0:0: [sr0]  
[  287.286146] sr 6:0:0:0: [sr0]  
[  287.286150] sr 6:0:0:0: [sr0] CDB: 
[  287.286160] end_request: I/O error, dev sr0, sector 0
[  287.286165] Buffer I/O error on device sr0, logical block 0
[  289.287670] sr 6:0:0:0: [sr0] Unhandled sense code
[  289.287675] sr 6:0:0:0: [sr0]  
[  289.287679] sr 6:0:0:0: [sr0]  
[  289.287684] sr 6:0:0:0: [sr0]  
[  289.287689] sr 6:0:0:0: [sr0] CDB: 
[  289.287698] end_request: I/O error, dev sr0, sector 0
[  289.287701] Buffer I/O error on device sr0, logical block 0
[  291.289226] sr 6:0:0:0: [sr0] Unhandled sense code
[  291.289231] sr 6:0:0:0: [sr0]  
[  291.289235] sr 6:0:0:0: [sr0]  
[  291.289241] sr 6:0:0:0: [sr0]  
[  291.289245] sr 6:0:0:0: [sr0] CDB: 
[  291.289254] end_request: I/O error, dev sr0, sector 0
[  291.289257] Buffer I/O error on device sr0, logical block 0
[  293.290784] sr 6:0:0:0: [sr0] Unhandled sense code
[  293.290789] sr 6:0:0:0: [sr0]  
[  293.290794] sr 6:0:0:0: [sr0]  
[  293.290799] sr 6:0:0:0: [sr0]  
[  293.290803] sr 6:0:0:0: [sr0] CDB: 
[  293.290813] end_request: I/O error, dev sr0, sector 0
[  293.290815] Buffer I/O error on device sr0, logical block 0
[  295.292342] sr 6:0:0:0: [sr0] Unhandled sense code
[  295.292347] sr 6:0:0:0: [sr0]  
[  295.292352] sr 6:0:0:0: [sr0]  
[  295.292357] sr 6:0:0:0: [sr0]  
[  295.292361] sr 6:0:0:0: [sr0] CDB: 
[  295.292370] end_request: I/O error, dev sr0, sector 0
[  295.292373] Buffer I/O error on device sr0, logical block 0
[  297.293935] sr 6:0:0:0: [sr0] Unhandled sense code
[  297.293940] sr 6:0:0:0: [sr0]  
[  297.293944] sr 6:0:0:0: [sr0]  
[  297.293950] sr 6:0:0:0: [sr0]  
[  297.293954] sr 6:0:0:0: [sr0] CDB: 
[  297.293963] end_request: I/O error, dev sr0, sector 0
[  297.293966] Buffer I/O error on device sr0, logical block 0

is there any workaround to fix this, either in AHCI or IDE mode?
thank you very much!

Offline

#2 2013-03-31 23:23:55

hungerfish
Member
Registered: 2009-09-13
Posts: 240

Re: DVD burner on IDE SATA adapter

Get an usb-external-dongle-thingie wink
But seriously, I've tried using such an adapter myself (for a hdd though) , and its basically down to luck as far as I can figure out. (I wasn't lucky...)
Also, these adapters come in all shapes and sizes, also price ranges, and I think its safe to assume that this also effects their quality.
Even if your bios sees the drive and can access it, as far as I know, the linux kernel doesn't necessarily play by its rules(the bios`s).
Have you tried using different linux-kernel versions (livecds from different distros?) What happens on windows? I don't think you'll find a 'workaround', you'll just need to test a bit more, maybe you'll get lucky.

From the look of those errors, I think the kernel cannot make sense of the device, in either mode, probably because the adapter is speaking some weird 'dialect', if you catch my meaning - it just doesn't translate correctly. I'm no expert though hmm


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

Board footer

Powered by FluxBB