Upgrade to 9.10 removed device /dev/scd0

Asked by L. G. Johnson

I recently upgraded to 9.10 from 9.04. After the upgrade the CD will not work. I see this line in /etc/fstab:

/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0

The special device mount point scd0 now does not exist in the /dev directory. How can I restore this device?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
L. G. Johnson
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

do you get a positive output from:

file /dev/sr0

Revision history for this message
L. G. Johnson (lgreg-johnson) said :
#2

I had checked that after seeing that on my other system /dev/scd0 was a
link to /dev/sr0, but that file is not there, either:

greg@dell-desktop:~$ file /dev/sr0
/dev/sr0: ERROR: cannot open `/dev/sr0' (No such file or directory)

Thank you for helping.
On Fri, 2009-11-06 at 09:25 +0000, actionparsnip wrote:
> Your question #88821 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/88821
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> do you get a positive output from:
>
> file /dev/sr0
>

Revision history for this message
L. G. Johnson (lgreg-johnson) said :
#3

See above - the result of the command was negative. There was not a special device named sr0 in the device directory.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you run:

sudo lshw -C disk

  *-cdrom
       description: DVD-RAM writer
       product: CD/DVDW SH-S182D
       vendor: TSSTcorp
       physical id: 0.0.0
       bus info: scsi@2: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: SB04
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=nodisc

You can see the names that the drive is known by (I have truncated the output, you will get output about ALL the drives and card readers in the system)

Revision history for this message
L. G. Johnson (lgreg-johnson) said :
#5

I am assuming you wanted me to use 'cdrom' and not 'disk' as the class parameter. Unfortunately, when I do

sudo lshw -C cdrom

I get nothing back from the command. When I DO use disk, I get the parameters for my hard disk only.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

No, otherwise I would have given that command. Your command is invalid, why did you feel the need to change it when I gave you the command you need to execute?

Makes no sense at all....

Revision history for this message
L. G. Johnson (lgreg-johnson) said :
#7

The reason I asked is that this is the FULL AND COMPLETE output from the command "sudo lshw -C disk" on this computer (except for the password prompt for sudo):

  *-disk
       description: ATA Disk
       product: SAMSUNG HD322HJ
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: 1AC0
       serial: S1GXJ90QC06616
       size: 298GiB (320GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 signature=28000000

As you can see, there is not even a *-cdrom category mentioned.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Here is mine:

andy@fileserver:~$ sudo lshw -C disk
[sudo] password for andy:
  *-cdrom
       description: DVD-RAM writer
       product: CD/DVDW SH-S182D
       vendor: TSSTcorp
       physical id: 0.0.0
       bus info: scsi@2: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: SB04
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=nodisc
  *-disk
       description: ATA Disk
       product: ST3250318AS
       vendor: Seagate
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: CC35
       serial: 5VY0GNHT
       size: 232GiB (250GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 signature=000634ae
  *-disk:0
       description: SCSI Disk
       product: Flash HS-CF
       vendor: ASUS
       physical id: 0.0.0
       bus info: scsi@4:0.0.0
       logical name: /dev/sdb
       version: 3.95
       capabilities: removable
     *-medium
          physical id: 0
          logical name: /dev/sdb
  *-disk:1
       description: SCSI Disk
       product: Flash HS-COMBO
       vendor: ASUS
       physical id: 0.0.1
       bus info: scsi@4:0.0.1
       logical name: /dev/sdc
       version: 3.95
       capabilities: removable
     *-medium
          physical id: 0
          logical name: /dev/sdc
andy@fileserver:~$

Does the device detect in BIOS?

If you reboot and run:

dmesg | less

You can see the boot to see when and if the device is detected.

Maybe you need some boot options to disable DMA and/or ACPI (or any of the other boot options available) to get the device detected:
https://help.ubuntu.com/community/BootOptions

Revision history for this message
L. G. Johnson (lgreg-johnson) said :
#9

Well... here is to the coincidental. From your last answer, I started suspecting hardware instead of the upgrade. I looked and BIOS was not recognizing the drive. I looked in the case and the connector to the DVD/CD drive felt awfully loose, so I firmly reconnected it. When I re-booted the computer, BIOS recognized the drive and it is now recognized by Ubuntu... I have yet to have an application READ a CD/DVD but I consider THIS problem solved. I must have 'bumped' the computer case, knocking loose the connector inside, and not known I caused a problem. Thank you for your assistance, actionparsnip. At the very least, I have learned some commands I did not know (being from an old Unix background and fairly new to Linux).