LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DVD/CD-RW Combo-drive will not mount after upgrade (https://www.linuxquestions.org/questions/linux-hardware-18/dvd-cd-rw-combo-drive-will-not-mount-after-upgrade-823913/)

rizhun 08-03-2010 01:50 PM

DVD/CD-RW Combo-drive will not mount after upgrade
 
Howdy folks,

I've hit a brick wall with this one; I'm hoping someone can point me in the right direction.

I've upgraded from Ubuntu 9.10 to 10.4 on my Samsung Q320 Laptop and everything worked fine until I recently tried to use the disc drive.

I've tried CD-ROM's, blank CD-R's, store bought DVD's, burned DVD-R's and any other flat, round objects I could find and they all do the same thing...

I can hear the drive spinning up but nothing happens.

Ok, so I started with the basics:

Code:

$ uname -r                    # FYI
2.6.32-24-generic-pae

$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
UUID=6ed3a8de-2a5b-4111-baab-3dfa89ee415d /              ext4    errors=remount-ro 0      1
UUID=eb4b458d-85d7-4d96-bb95-ae78966f7e3f none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto,exec,utf8 0      0

$ mount /media/cdrom0
mount: no medium found on /dev/sr0

No medium found? What's that I hear spinning then? And what is /dev/sr0?

Code:

$ ls -l /dev | grep -E "dvd|cd"
lrwxrwxrwx  1 root root          3 2010-08-03 00:56 cdrom -> sr0
lrwxrwxrwx  1 root root          3 2010-08-03 00:56 cdrw -> sr0
lrwxrwxrwx  1 root root          3 2010-08-03 00:56 dvd -> sr0
lrwxrwxrwx  1 root root          3 2010-08-03 00:56 dvdrw -> sr0
drwxr-xr-x  2 root root          60 2010-08-03 00:55 pktcdvd
lrwxrwxrwx  1 root root          3 2010-08-03 00:56 scd0 -> sr0
crw-rw----  1 root cdrom    21,  1 2010-08-03 00:56 sg1
brw-rw----+ 1 root cdrom    11,  0 2010-08-03 00:56 sr0

Looks like /dev/sr0 is my actual device-file...

Code:

$ sudo cat /dev/sr0
cat: /dev/sr0: No medium found

$ sudo dd if=/dev/sr0 of=~/disc_image.iso
dd: opening `/dev/sr0': No medium found

When I got to this point, I started looking for a hardware problem. However, I can't find anything obvious...

Here's the dmesg output:
Code:

<snip>
[    1.860060] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.861053] ata2.00: ATAPI: TSSTcorp CDDVDW TS-T633A, SC00, max UDMA/100, ATAPI AN
[    1.861078] ata2.00: applying bridge limits
[    1.862763] ata2.00: configured for UDMA/100
[    1.881214] scsi 1:0:0:0: CD-ROM            TSSTcorp CDDVDW TS-T633A  SC00 PQ: 0 ANSI: 5
[    1.887540] sr0: scsi3-mmc drive: 16x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.887545] Uniform CD-ROM driver Revision: 3.20
[    1.887696] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.887762] sr 1:0:0:0: Attached scsi generic sg1 type 5
</snip>

The only thing I can see change when inserting/removing a disc is the 'status' flag in the output of an 'lshw'.

When there is not a disc: status=open
When there is a disc: status=nodisc

Code:

$ sudo lshw -c disk
  *-cdrom
      description: DVD-RAM writer
      product: CDDVDW TS-T633A
      vendor: TSSTcorp
      physical id: 1
      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
      version: SC00
      capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
      configuration: ansiversion=5 status=nodisc

The 'dvd-rw' function seems to be missing from the 'capabilities' line above.

Am I missing something obvious here?
Could this be some kind of driver or kernel module problem?
Could the upgrade have broken the device-file?

Any help would be greatly appreciated.

Thanks,
Riz.

business_kid 08-03-2010 02:43 PM

I would try a moulded cd, not a cdr - one that was made in an injection moulding machine.
That done, I would look at trying another drive.If I quote the relevant section
Quote:

When there is not a disc: status=open
When there is a disc: status=nodisc
The Electronics of this is that at the head there is a very finely adjusted laser picking up a slight colour/reflectivity difference as 1 or 0. These rely on (last time I counted) 3 adjustable pots, which usually have far too much spread, so the adjustment is extremely fine.These are sealed at manufacture. In time, these resistor values change slightly, or diode voltage drops change (Believe me they do!) and instead of reading 1 or 0 it just reads the same all the time. It's reading dark when the drive is closed, and light when the drive is open :-(.

No good news, but at least an explanation.

rizhun 08-04-2010 07:00 AM

Hmmmm...

Good job it's still under warranty.
I'll have to send it back to Samsung.

Thanks for your input, business_kid.

rizhun 03-01-2011 07:22 AM

Resolved
 
It was indeed a hardware problem.
Samsung replaced the drive.


All times are GMT -5. The time now is 07:15 PM.