Failed link with DVD drive

I am trying to set up the DVD drive on openSUSE 12.1 KDE, and for some reason it fails to link to it (dmesg shows that it is detected, but drops the link). This is the output of dmesg | grep ata2.0:

    2.596598] ata2.01: failed to resume link (SControl 0)
    2.747376] ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    2.747392] ata2.01: SATA link down (SStatus 0 SControl 0)
    2.747404] ata2.01: link offline, clearing class 3 to NONE
    2.766435] ata2.00: ATAPI: HL-DT-ST DVD+/-RW GH70N, A101, max UDMA/100
    2.786344] ata2.00: configured for UDMA/100
    2.886483] ata2.00: TEST_UNIT_READY failed (err_mask=0x2)
    9.047512] ata2.01: failed to resume link (SControl 0)
    9.198276] ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    9.198291] ata2.01: SATA link down (SStatus 0 SControl 0)
    9.198304] ata2.01: link offline, clearing class 3 to NONE
    9.239288] ata2.00: configured for UDMA/100
   14.229739] ata2.00: qc timeout (cmd 0xa0)
   14.229744] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)
   14.229749] ata2.00: limiting SATA link speed to 1.5 Gbps
   14.229752] ata2.00: limiting speed to UDMA/100:PIO3
   15.539298] ata2.01: failed to resume link (SControl 0)
   15.690102] ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
   15.690117] ata2.01: SATA link down (SStatus 0 SControl 0)
   15.690130] ata2.01: link offline, clearing class 3 to NONE
   15.731084] ata2.00: configured for UDMA/100
   20.721558] ata2.00: qc timeout (cmd 0xa0)
   20.721563] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)
   20.721565] ata2.00: disabled
   20.721587] ata2.00: hard resetting link
   21.025967] ata2.01: hard resetting link
   22.031103] ata2.01: failed to resume link (SControl 0)
   22.181883] ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
   22.181898] ata2.01: SATA link down (SStatus 0 SControl 0)
   22.181911] ata2.01: link offline, clearing class 3 to NONE

Any idea about what is wrong?

I have noticed that there are similar reports here:
http://forums.opensuse.org/english/get-technical-help-here/hardware/455999-dvd-drive-not-detected.html
http://forums.opensuse.org/english/get-technical-help-here/hardware/460503-undetected-dvd-writer-drw-24b3lt-sata.html
Although their DVD drive models are different. Also, I don’t seem to be able to configure whether the link is using IDE or SATA (is it possible to check that from the OS?)

It would appear that this is a problem specific to openSUSE. I just tested this on Ubuntu, and it works just fine:

    0.342640] libata version 3.00 loaded.
    3.230981] ata_piix 0000:00:1f.2: version 2.13
    3.230997] ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    3.231003] ata_piix 0000:00:1f.2: MAP  P0 P2 P1 P3 ]
    3.384275] ata_piix 0000:00:1f.2: setting latency timer to 64
    3.384472] scsi0 : ata_piix
    3.384531] scsi1 : ata_piix
    3.385282] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf0d8 irq 15
    3.385308] ata_piix 0000:00:1f.5: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    3.385315] ata_piix 0000:00:1f.5: MAP  P0 -- P1 -- ]
    3.539968] ata_piix 0000:00:1f.5: SCR access via SIDPR is available but doesn't work
    3.539979] ata_piix 0000:00:1f.5: setting latency timer to 64
    4.741724] ata2.01: failed to resume link (SControl 0)
    4.897489] ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    4.897504] ata2.01: SATA link down (SStatus 0 SControl 0)
    4.897516] ata2.01: link offline, clearing class 3 to NONE
    4.905776] ata2.00: ATAPI: HL-DT-ST DVD+/-RW GH70N, A101, max UDMA/100
    4.921622] ata2.00: configured for UDMA/100
    4.927397] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVD+-RW GH70N    A101 PQ: 0 ANSI: 5
    4.931694] sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray

This was specifically on the usual 64-bit Ubuntu Oneiric LiveCD (on a USB stick). Any ideas about what is different between the two systems?

On 01/28/2012 12:56 PM, GreatEmerald wrote:
> problem specific to openSUSE. I just
> tested this on Ubuntu, and it works just fine…

use what works!

but, if you had rather use openSUSE (thanks)–perhaps the problem is
related to the 12.1 default boot systemD…a new system which is showing
a lot of problems (though i don’t specifically remember anyone having a
DVD problem because of it)…

if available you might try at the first green boot screen: press F5 and
select “system V” as in this image
http://dl.dropbox.com/u/10573557/12.1_Misc/12.1_F5_sysV.jpg

and see if the DVD works as expected that way…

if it does then PLEASE log the bug you found…

see here http://tinyurl.com/nzhq7j for lots of info on how to log a bug,
and how to find any of those there already raised against 12.1 and
systemd…maybe there is one already pointing to the same DVD symptom
as yours…if so, please join that bug with info specific to your
hardware so the bug can be squashed…if one like like yours does not
exist please log a new one (so that they know this new symptom)…

then, please come back here with the bug number (so other folks with DVD
problems on 12.1 with systemd can follow the bugs progress AND also log
their hardware into the bug)

and someone will tell you how to fix yours so it always boots to systemv
without you pressing F5 :wink:

and above all: Have a lot of fun!


DD
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

On 2012-01-28 13:52, DenverD wrote:
> On 01/28/2012 12:56 PM, GreatEmerald wrote:
>> problem specific to openSUSE. I just
>> tested this on Ubuntu, and it works just fine…
>
> use what works!
>
> but, if you had rather use openSUSE (thanks)–perhaps the problem is
> related to the 12.1 default boot systemD…a new system which is showing a
> lot of problems (though i don’t specifically remember anyone having a DVD
> problem because of it)…

I’m afraid the problem looks kernel related. I don’t know which version
ubuntu uses, but a but report seems appropriate.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

> I’m afraid the problem looks kernel related. I don’t know which version
> ubuntu uses, but a but report seems appropriate.

I agree. I do not think the problem is with systemd, but with the kernel. Use
the ‘uname -r’ command to see the respective versions. If openSUSE is later than
Ubuntu, you may have found a regression. If the other way, then the bug has been
fixed, and you merely need a later kernel for oS.

You’re right, the problem is not with systemd. The currently installed kernel here is 3.1.0-1.2-desktop; I’ll try updating it and see if it’s fixed then.

All right, updated to 3.1.9 and this bug is indeed fixed. Thanks!