PDA

View Full Version : [ubuntu] Disappearing DVD Drive



kwacka
May 2nd, 2010, 10:11 AM
Problem was present in 9.10 & remains in new (not update) install of 10.04.

Boot computer, DVD drive identified, can read data & audio disks, can also write to media using brasero & K3b.

Some hours later DVD drive disappears - no apparent reason, the only way (so far) I've found to get it back (for a while) is to reboot. K3b/brasero report no optical drive, cannot mount with mount from command line (dev/sr0 /media/cdrom0 -t etc)

Replaced DVD drive (& cables) & problem persists. Added
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 to fstab in an attempt to resolve, but no change

Here are the results of lshw -C disk for the two states:

Drive not recognised


*-cdrom
description: DVD-RAM writer
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/scd0
logical name: /dev/sr0
capabilities: audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: status=open

Drive recognised


*-cdrom
description: DVD-RAM writer
product: CD/DVDW SH-S182D
vendor: TSSTcorp
physical id: 0.0.0
bus info: scsi@3:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/scd0
logical name: /dev/sr0
version: SB06
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=open

Any ideas what's happening here?

Hippman
May 3rd, 2010, 01:36 PM
Same problem here.
DVD-Drive disappears after some hours with Ubuntu 10.04LTS.
With WindowsXP no problem.:confused:

Attached my DMesg output.

Can anyone solve the problem ?

meho_r
May 3rd, 2010, 01:41 PM
I noticed this too. Didn't happen on Karmic.

Hippman
May 3rd, 2010, 08:09 PM
@kwacka
I noticed that you have a TSSTcorp-Device too. I've got a SH-S202N.
What kind of Mainboard do you have ?
I've got a ASROCK 4CoreDual-VSTA with VIA PT-880 Chipset.
Maybe there is a problem with the IDE-Controller driver.

@meho_r
What kind of Hardware do you have ?

Any ideas for the problem welcome.:D

meho_r
May 4th, 2010, 08:09 AM
Hl-dt-st dvdram gsa-4167b

No idea why. And, it doesn't happen regularly on my machine. I noticed this morning that DVD was just unmounted, not gone :?

kwacka
May 4th, 2010, 05:14 PM
@kwacka
I noticed that you have a TSSTcorp-Device too. I've got a SH-S202N.
What kind of Mainboard do you have ?
I've got a ASROCK 4CoreDual-VSTA with VIA PT-880 Chipset.
Maybe there is a problem with the IDE-Controller driver.

@meho_r
What kind of Hardware do you have ?

Any ideas for the problem welcome.:D

MSI motherboard with VIA VT82C586 controllers.

My dmesg regarding this is identical to yours, but the entry immediately before it is regarding insertion of a memory stick - is it possible that this 'bumped' the entry for /dev/sr0? I don't see how (or why) but I'll be checking it out over the next day or so.

kwacka
May 4th, 2010, 10:20 PM
Also showing up in dmesg is:

VFS: busy inodes on changed media or resized disk sr0

Searching I found that there have been entries in launchpad about this (looked before but didn't find it) with suggestions

1. comment out the Cd line in /etc/fstab (I only made an entry there because this was happening without a CD entry in fstab,

2. a. sudo eject, (no entries in dmesg, tray did not open)
b. use button to return tray,
c. followed by cd eject -t (which gave the error: eject: CD-ROM tray close command failed: Input/output error)

Unfortunately not convenient to reboot computer, I'll try again tomorrow.

cuberts
May 4th, 2010, 10:37 PM
I noticed this too. Didn't happen on Karmic.
I couldnt actually see that problem. If so many people see this problem then it might be a problem with Lucid Lynx, but if it is not then it is just probably that your DVD reader is not running very well.

kwacka
May 5th, 2010, 02:25 PM
Appears to be this bug - (not a previous one I found in Launchpad):

LIBATA with PATA_VIA causes ATAPI PATA devices to hang with HPET enabled (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/282536)



Seems to be a problem with VIA boards.

kwacka
May 7th, 2010, 06:38 PM
One of the respondents to the lauchpad bug mentioned in my last post suggested that using (test) kernel 2.6.31 resolved the problem.

Today update manager upgraded to kernel 2.6.32, and my drive hasn't disappeared since the upgrade.

If its still there in 24 hours I'll mark this 'solved'.

Hippman
May 8th, 2010, 07:00 PM
I tested the 2.6.34-rc6 Kernel and my drives still disappear. Also with the daily-build.:mad:

kwacka
May 10th, 2010, 02:52 PM
Sadly, still drives are disappearing.

Hippman
June 13th, 2010, 08:29 PM
The workaround is 'noapic' parameter to kernel cmdline.
That worked for me. I've found that in launchpad
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/544548

So I've edited grub:

sudo gedit /etc/default/grubwith noapic:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noapic"finally:

sudo update-grub