DVD/CD drive not playing or recording.

Asked by Debbie on 2012-12-13

I put DVD in the drive to burn and Iso image, I get nothing.

No message pops up and Iif I open Brasero it says there is no device to be found.

I try playing a music CD that doesnt work either...

Is there somethng I need to download to get the DVD drive to work in Linux?

I would like to check to see if Ubuntu knows it's there, but don't know how to.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu brasero Edit question
Assignee:
No assignee Edit question
Solved by:
Debbie
Solved:
2012-12-14
Last query:
2012-12-14
Last reply:
2012-12-14
Debbie (deborah-poole) said : #1

Does this have something to do with mounting?

Have you tried another burner, like xfburn?

Debbie (deborah-poole) said : #3

I just tried xfburn. When it opened it immedtately recognised my dvd burner which is more than Brasero did. but even though I put the DVD in the tray and shut it, it still said "Drive is empty'. Tried this twice. No change.

Thomas Schmitt (scdbackup) said : #4

Hi,

afaik, both programs use libburn for communication with
the drive.

What do you get from this shell command

  xorriso -devices

It will inspect the usual drive addresses and check whether
they lead to usable optical drives.

Assumed that you get listed your drive as

  0 -dev '/dev/sr0' rwrw-- : '...vendor...' '...model...'

it would be interesting to see how libburn inspects its
capabilities and loaded medium:

  xorriso -scsi_log on -outdev /dev/sr0 -toc 2>&1 | tee -i /tmp/xorriso_log

Command -scsi_log "on" causes libburn to report all SCSI commands
which get sent to the drive and their replies.
The shell gestures after -toc copy the lengthy output of this
xorriso run into file /tmp/xorriso_log. This file would be
interesting to see.

> Does this have something to do with mounting?

If the drive is mounted, then libburn will not touch it.
It will not even show up as valid drive in xorriso -devices.
You should get error messages in this case:

  libburn : SORRY : Cannot open busy device '/dev/sr0' : Device or resource busy

> I try playing a music CD that doesnt work either..

Audio CD don't get mounted (because they bear no data blocks).
So mount is not a suspect with this failure.

> Is there somethng I need to download to get the DVD drive to work
> in Linux?

Normally not.

> I would like to check to see if Ubuntu knows it's there,
> but don't know how to.

It should be listed in the output of

  cat /proc/scsi/scsi

E.g.

  Host: scsi0 Channel: 00 Id: 00 Lun: 00
    Vendor: TSSTcorp Model: CDDVDW SH-S203B Rev: SB00
    Type: CD-ROM ANSI SCSI revision: 05

Maybe you have error messages about "sr0" in the system logs.
(Is there still file /var/log/boot.msg in Ubuntu ?)

Have a nice day :)

Thomas

Debbie (deborah-poole) said : #5

debbie@debbie-GT5042B:~$ xorriso -devices
xorriso 1.2.4 : RockRidge filesystem manipulator, libburnia project.

Beginning to scan for devices ...
Full drive scan done
-----------------------------------------------------------------------------
0 -dev '/dev/sr0' rwrw-- : 'LITE-ON ' 'DVDRW SHW-160P6S'
-----------------------------------------------------------------------------

debbie@debbie-GT5042B:~$ xorriso -scsi_log on -outdev /dev/sr0 -toc 2>&1 | tee -i /tmp/xorriso_log
xorriso 1.2.4 : RockRidge filesystem manipulator, libburnia project.

TEST UNIT READY
00 00 00 00 00 00
     0 ms

INQUIRY
12 00 00 00 24 00
From drive: 36b
05 80 05 32 5b 00 00 00 4c 49 54 45 2d 4f 4e 20 44 56 44 52
57 20 53 48 57 2d 31 36 30 50 36 53 50 47 53 31
     4 ms

MODE SENSE
5a 00 2a 00 00 00 00 00 1e 00
From drive: 30b
00 4a 70 00 00 00 00 00 2a 42 1f 17 f5 73 29 23 21 13 01 00
08 00 21 13 00 10 21 13 21 13
     0 ms

MODE SENSE
5a 00 2a 00 00 00 00 00 4c 00
From drive: 76b
00 4a 70 00 00 00 00 00 2a 42 1f 17 f5 73 29 23 21 13 01 00
08 00 21 13 00 10 21 13 21 13 00 01 00 00 00 00 21 13 00 09
00 00 21 13 00 00 1b 90 00 00 16 0d 00 00 10 8a 00 00 0b 06
00 00 08 40 00 00 06 e4 00 00 05 83 00 00 02 c2
     0 ms

GET CONFIGURATION
46 00 00 00 00 00 00 00 08 00
From drive: 8b
00 00 01 40 00 00 00 00
    16 ms

GET CONFIGURATION
46 00 00 00 00 00 00 01 44 00
From drive: 324b
00 00 01 40 00 00 00 00 00 00 03 30 00 2b 00 00 00 1b 00 00
00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 01 03 04 00 00 00 02 00 02 07 04 00 00 00 00 00 03 03 04
29 00 00 00 00 10 00 08 00 00 08 00 00 00 01 00 00 1d 00 00
00 1e 04 04 03 00 00 00 00 1f 04 04 00 00 01 00 00 20 04 0c
00 00 00 00 00 00 08 00 00 00 01 00 00 21 0c 08 00 00 00 01
00 00 00 00 00 23 00 00 00 26 00 00 00 27 00 04 00 00 00 00
00 2a 00 04 01 00 00 00 00 2b 00 04 01 00 00 00 00 2c 04 04
03 00 00 00 00 2d 08 04 5f 00 00 00 00 2e 04 04 7f 00 0d 00
00 2f 08 04 46 00 00 00 00 33 00 08 00 00 00 01 10 00 00 00
00 3b 00 04 01 00 00 00 01 00 03 00 01 01 00 04 00 00 00 00
01 03 04 04 03 00 01 00 01 04 03 00 01 05 03 00 01 06 00 04
00 00 00 01 01 07 0c 04 1e 00 00 00 01 08 03 14 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 0a 00 10
46 44 43 00 53 44 43 00 54 4f 43 00 57 44 43 00 01 0b 00 04
00 00 00 01
    16 ms

GET CONFIGURATION
46 00 00 00 00 00 00 00 08 00
From drive: 8b
00 00 01 40 00 00 00 00
    12 ms

GET CONFIGURATION
46 00 00 00 00 00 00 01 44 00
From drive: 324b
00 00 01 40 00 00 00 00 00 00 03 30 00 2b 00 00 00 1b 00 00
00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 01 03 04 00 00 00 02 00 02 07 04 00 00 00 00 00 03 03 04
29 00 00 00 00 10 00 08 00 00 08 00 00 00 01 00 00 1d 00 00
00 1e 04 04 03 00 00 00 00 1f 04 04 00 00 01 00 00 20 04 0c
00 00 00 00 00 00 08 00 00 00 01 00 00 21 0c 08 00 00 00 01
00 00 00 00 00 23 00 00 00 26 00 00 00 27 00 04 00 00 00 00
00 2a 00 04 01 00 00 00 00 2b 00 04 01 00 00 00 00 2c 04 04
03 00 00 00 00 2d 08 04 5f 00 00 00 00 2e 04 04 7f 00 0d 00
00 2f 08 04 46 00 00 00 00 33 00 08 00 00 00 01 10 00 00 00
00 3b 00 04 01 00 00 00 01 00 03 00 01 01 00 04 00 00 00 00
01 03 04 04 03 00 01 00 01 04 03 00 01 05 03 00 01 06 00 04
00 00 00 01 01 07 0c 04 1e 00 00 00 01 08 03 14 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 0a 00 10
46 44 43 00 53 44 43 00 54 4f 43 00 57 44 43 00 01 0b 00 04
00 00 00 01
    16 ms

GET PERFORMANCE
ac 00 00 00 00 00 00 00 00 00 03 00
From drive: 8b
00 00 00 14 00 00 00 00
     0 ms

GET CONFIGURATION
46 00 00 00 00 00 00 00 08 00
From drive: 8b
00 00 01 40 00 00 00 00
    16 ms

GET CONFIGURATION
46 00 00 00 00 00 00 01 44 00
From drive: 324b
00 00 01 40 00 00 00 00 00 00 03 30 00 2b 00 00 00 1b 00 00
00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 01 03 04 00 00 00 02 00 02 07 04 00 00 00 00 00 03 03 04
29 00 00 00 00 10 00 08 00 00 08 00 00 00 01 00 00 1d 00 00
00 1e 04 04 03 00 00 00 00 1f 04 04 00 00 01 00 00 20 04 0c
00 00 00 00 00 00 08 00 00 00 01 00 00 21 0c 08 00 00 00 01
00 00 00 00 00 23 00 00 00 26 00 00 00 27 00 04 00 00 00 00
00 2a 00 04 01 00 00 00 00 2b 00 04 01 00 00 00 00 2c 04 04
03 00 00 00 00 2d 08 04 5f 00 00 00 00 2e 04 04 7f 00 0d 00
00 2f 08 04 46 00 00 00 00 33 00 08 00 00 00 01 10 00 00 00
00 3b 00 04 01 00 00 00 01 00 03 00 01 01 00 04 00 00 00 00
01 03 04 04 03 00 01 00 01 04 03 00 01 05 03 00 01 06 00 04
00 00 00 01 01 07 0c 04 1e 00 00 00 01 08 03 14 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 0a 00 10
46 44 43 00 53 44 43 00 54 4f 43 00 57 44 43 00 01 0b 00 04
00 00 00 01
    16 ms

GET PERFORMANCE
ac 00 00 00 00 00 00 00 00 01 03 00
From drive: 24b
00 00 00 14 00 00 00 00 00 00 00 00 00 05 14 c7 00 00 1c 20
00 00 1c 20
     0 ms

MODE SENSE
5a 00 01 00 00 00 00 00 0c 00
From drive: 12b
00 12 70 00 00 00 00 00 01 0a 00 30
     0 ms

PREVENT/ALLOW MEDIA REMOVAL
1e 00 00 00 00 00
     0 ms

START/STOP UNIT
1b 00 00 00 03 00
     4 ms

TEST UNIT READY
00 00 00 00 00 00
+++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00 00 00
+++ key=2 asc=04h ascq=01h ( 432 ms)

TEST UNIT READY
00 00 00 00 00 00
+++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
+++ key=2 asc=3Ah ascq=00h ( 0 ms)

PREVENT/ALLOW MEDIA REMOVAL
1e 00 00 00 01 00
     0 ms

START/STOP UNIT
1b 01 00 00 01 00
+++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
+++ key=2 asc=3Ah ascq=00h ( 0 ms)

INQUIRY
12 00 00 00 24 00
From drive: 36b
05 80 05 32 5b 00 00 00 4c 49 54 45 2d 4f 4e 20 44 56 44 52
57 20 53 48 57 2d 31 36 30 50 36 53 50 47 53 31
     4 ms

MODE SENSE
5a 00 2a 00 00 00 00 00 1e 00
From drive: 30b
00 4a 70 00 00 00 00 00 2a 42 1f 17 f5 73 2b 23 21 13 01 00
08 00 21 13 00 10 21 13 21 13
     0 ms

MODE SENSE
5a 00 2a 00 00 00 00 00 4c 00
From drive: 76b
00 4a 70 00 00 00 00 00 2a 42 1f 17 f5 73 2b 23 21 13 01 00
08 00 21 13 00 10 21 13 21 13 00 01 00 00 00 00 21 13 00 09
00 00 21 13 00 00 1b 90 00 00 16 0d 00 00 10 8a 00 00 0b 06
00 00 08 40 00 00 06 e4 00 00 05 83 00 00 02 c2
     0 ms

GET CONFIGURATION
46 00 00 00 00 00 00 00 08 00
From drive: 8b
00 00 01 40 00 00 00 00
    12 ms

GET CONFIGURATION
46 00 00 00 00 00 00 01 44 00
From drive: 324b
00 00 01 40 00 00 00 00 00 00 03 30 00 2b 00 00 00 1b 00 00
00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 01 03 04 00 00 00 02 00 02 07 04 00 00 00 00 00 03 03 04
29 00 00 00 00 10 00 08 00 00 08 00 00 00 01 00 00 1d 00 00
00 1e 04 04 03 00 00 00 00 1f 04 04 00 00 01 00 00 20 04 0c
00 00 00 00 00 00 08 00 00 00 01 00 00 21 0c 08 00 00 00 01
00 00 00 00 00 23 00 00 00 26 00 00 00 27 00 04 00 00 00 00
00 2a 00 04 01 00 00 00 00 2b 00 04 01 00 00 00 00 2c 04 04
03 00 00 00 00 2d 08 04 5f 00 00 00 00 2e 04 04 7f 00 0d 00
00 2f 08 04 46 00 00 00 00 33 00 08 00 00 00 01 10 00 00 00
00 3b 00 04 01 00 00 00 01 00 03 00 01 01 00 04 00 00 00 00
01 03 04 04 03 00 01 00 01 04 03 00 01 05 03 00 01 06 00 04
00 00 00 01 01 07 0c 04 1e 00 00 00 01 08 03 14 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 0a 00 10
46 44 43 00 53 44 43 00 54 4f 43 00 57 44 43 00 01 0b 00 04
00 00 00 01
    16 ms

GET CONFIGURATION
46 00 00 00 00 00 00 00 08 00
From drive: 8b
00 00 01 40 00 00 00 00
    16 ms

GET CONFIGURATION
46 00 00 00 00 00 00 01 44 00
From drive: 324b
00 00 01 40 00 00 00 00 00 00 03 30 00 2b 00 00 00 1b 00 00
00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 01 03 04 00 00 00 02 00 02 07 04 00 00 00 00 00 03 03 04
29 00 00 00 00 10 00 08 00 00 08 00 00 00 01 00 00 1d 00 00
00 1e 04 04 03 00 00 00 00 1f 04 04 00 00 01 00 00 20 04 0c
00 00 00 00 00 00 08 00 00 00 01 00 00 21 0c 08 00 00 00 01
00 00 00 00 00 23 00 00 00 26 00 00 00 27 00 04 00 00 00 00
00 2a 00 04 01 00 00 00 00 2b 00 04 01 00 00 00 00 2c 04 04
03 00 00 00 00 2d 08 04 5f 00 00 00 00 2e 04 04 7f 00 0d 00
00 2f 08 04 46 00 00 00 00 33 00 08 00 00 00 01 10 00 00 00
00 3b 00 04 01 00 00 00 01 00 03 00 01 01 00 04 00 00 00 00
01 03 04 04 03 00 01 00 01 04 03 00 01 05 03 00 01 06 00 04
00 00 00 01 01 07 0c 04 1e 00 00 00 01 08 03 14 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 0a 00 10
46 44 43 00 53 44 43 00 54 4f 43 00 57 44 43 00 01 0b 00 04
00 00 00 01
    16 ms

GET PERFORMANCE
ac 00 00 00 00 00 00 00 00 00 03 00
From drive: 8b
00 00 00 14 00 00 00 00
     0 ms

GET CONFIGURATION
46 00 00 00 00 00 00 00 08 00
From drive: 8b
00 00 01 40 00 00 00 00
    12 ms

GET CONFIGURATION
46 00 00 00 00 00 00 01 44 00
From drive: 324b
00 00 01 40 00 00 00 00 00 00 03 30 00 2b 00 00 00 1b 00 00
00 1a 00 00 00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 01 03 04 00 00 00 02 00 02 07 04 00 00 00 00 00 03 03 04
29 00 00 00 00 10 00 08 00 00 08 00 00 00 01 00 00 1d 00 00
00 1e 04 04 03 00 00 00 00 1f 04 04 00 00 01 00 00 20 04 0c
00 00 00 00 00 00 08 00 00 00 01 00 00 21 0c 08 00 00 00 01
00 00 00 00 00 23 00 00 00 26 00 00 00 27 00 04 00 00 00 00
00 2a 00 04 01 00 00 00 00 2b 00 04 01 00 00 00 00 2c 04 04
03 00 00 00 00 2d 08 04 5f 00 00 00 00 2e 04 04 7f 00 0d 00
00 2f 08 04 46 00 00 00 00 33 00 08 00 00 00 01 10 00 00 00
00 3b 00 04 01 00 00 00 01 00 03 00 01 01 00 04 00 00 00 00
01 03 04 04 03 00 01 00 01 04 03 00 01 05 03 00 01 06 00 04
00 00 00 01 01 07 0c 04 1e 00 00 00 01 08 03 14 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 0a 00 10
46 44 43 00 53 44 43 00 54 4f 43 00 57 44 43 00 01 0b 00 04
00 00 00 01
    12 ms

GET PERFORMANCE
ac 00 00 00 00 00 00 00 00 01 03 00
From drive: 24b
00 00 00 14 00 00 00 00 00 00 00 00 00 05 14 c7 00 00 1c 20
00 00 1c 20
     4 ms

MODE SENSE
5a 00 01 00 00 00 00 00 0c 00
From drive: 12b
00 12 70 00 00 00 00 00 01 0a 00 30
     0 ms

MODE SENSE
5a 00 05 00 00 00 00 00 0a 00
From drive: 10b
00 3a 70 00 00 00 00 00 05 32
     0 ms
xorriso : NOTE : Disc status unsuitable for writing
Drive current: -outdev '/dev/sr0'
Media current: is not recognizable
Media status : is not present

START/STOP UNIT
1b 01 00 00 00 00
+++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
+++ key=2 asc=3Ah ascq=00h ( 0 ms)
Drive current: -outdev '/dev/sr0'
Drive type : vendor 'LITE-ON' product 'DVDRW SHW-160P6S' revision 'PGS1'
Media current: is not recognizable
Media status : is not present

PREVENT/ALLOW MEDIA REMOVAL
1e 00 00 00 00 00
     0 ms

START/STOP UNIT
1b 01 00 00 00 00
+++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
+++ key=2 asc=3Ah ascq=00h ( 4 ms)
debbie@debbie-GT5042B:~$

I then ran the command as you suggest I try to see if Ubuntu knows it's there;

debbie@debbie-GT5042B:~$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA Model: WDC WD2000JS-22N Rev: 10.0
  Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: LITE-ON Model: DVDRW SHW-160P6S Rev: PGS1
  Type: CD-ROM ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor: Generic Model: USB SD Reader Rev: 1.00
  Type: Direct-Access ANSI SCSI revision: 00
Host: scsi6 Channel: 00 Id: 00 Lun: 01
  Vendor: Generic Model: USB CF Reader Rev: 1.01
  Type: Direct-Access ANSI SCSI revision: 00
Host: scsi6 Channel: 00 Id: 00 Lun: 02
  Vendor: Generic Model: USB SM Reader Rev: 1.02
  Type: Direct-Access ANSI SCSI revision: 00
Host: scsi6 Channel: 00 Id: 00 Lun: 03
  Vendor: Generic Model: USB MS Reader Rev: 1.03
  Type: Direct-Access ANSI SCSI revision: 00
debbie@debbie-GT5042B:~$

.................and it obviously is. I have checked in /var/log/ for boot.msg and it's not there, by the way. I don't get any error messages when trying to play or burn, just that the software says either the drive is empty, or that the drive can't be found. In other words, when you would expect the 'empty' to change after you put a disc in, it doesn't.

I hope these tests have been run correctly and the results you see correlate to what's going on.

Thomas Schmitt (scdbackup) said : #6

Hi,

> Media current: is not recognizable
> Media status : is not present

The drive does not report any medium capabilities (i.e. no
"current MMC profile").

The following SCSI command should have reported in reply bytes
7 and 8 a profile number that is not 0:

> GET CONFIGURATION
> 46 00 00 00 00 00 00 01 44 00
> >From drive: 324b
> 00 00 01 40 00 00 00 00 ...

But your drive returns 00 00.

For comparison one of my drives with a DVD+RW loaded:

GET CONFIGURATION
46 00 00 00 00 00 00 01 c0 00
From drive: 448b
00 00 01 bc 00 00 00 1a ...

The "current profile" is 0x001a which means that the medium offers
the capabilities of a DVD+RW.

This is what i get from an empty drive:

GET CONFIGURATION
46 00 00 00 00 00 00 01 d4 00
From drive: 468b
00 00 01 d0 00 00 00 00 ...

Here "current profile" is 0, righteously.
Not distinguishable from the reply of your drive.

Other command replies indicate missing medium too:

> START/STOP UNIT
> 1b 01 00 00 01 00
> +++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
> +++ key=2 asc=3Ah ascq=00h ( 0 ms)

The returned "SCSI sense data" transmitted this error code
  2 3A 00 MEDIUM NOT PRESENT

> I hope these tests have been run correctly and the results you see
> correlate to what's going on.

The results are conclusive as far as possible.
The drive has a problem with the medium.

Try whether it behaves better with other media.
What kind of medium did you have inserted, btw ?

If it stays with this refusal, then you will probably need a new
drive. It is very unlikely that the operating system is to blame
for the replies which i quoted above.
(If it works fine with other systems, then we have found a new
 class of Linux bugs. My favorite hate objects are hald and
 udev/udisks. They invented new stumblestones every second year.)

Have a nice day :)

Thomas

Debbie (deborah-poole) said : #7

Thank you so much for all the effort you have put into this for me, and your descriptions of what the outputs mean. The drive is pretty old, actually, an IDE ATA and I can find those second hand I expect. Maybe it has just packed up on me as you say.

You have a nice day too :)

Debbie