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:
$ uname -r # FYI
$ 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?
$ 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...
$ 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:
[ 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
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
$ sudo lshw -c disk
description: DVD-RAM writer
product: CDDVDW TS-T633A
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
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.