/dev/scd0 missing

Asked by Yair Raz

When initially I have installed Ubuntu 7.04, my CD-ROM drive did not work, as the system complain that it could not find /dev/scd0.
The first software update I made upgraded the kernel to 2.6.15, which solved the problem. There was still no /dev/scd0, but the CD-ROM drive was mounted to /dev/hcd (or someting like that).

Another update to 2.6.16 brought back the same problem. There is no /dev/hd? anymore, and there is no /dec/scd0, but the system still looks for it when trying to access the CD-ROM drive.

Is there a way to make the drive work again?

Regards,
Yair

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Yair Raz
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Can you paste here your /etc/fstab file?

Revision history for this message
Cesare Tirabassi (norsetto) said :
#2

Check also what logical name is used by Linux with an lshw command. For instance on my machine:

              *-cdrom:0
                   product: LITEON DVD-ROM LTD163
                   physical id: 0
                   bus info: ide@1.0
                   logical name: /dev/hdc
                   capabilities: packet
              *-cdrom:1
                   product: CW038D ATAPI CD-R/RW
                   physical id: 1
                   bus info: ide@1.1
                   logical name: /dev/hdd
                   capabilities: packet

What is yours?

Revision history for this message
Yair Raz (yraz) said :
#3

I'm using kernel version 2.6.20-16-generic.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=8530f6bf-3f07-4c30-bbd0-ed04c9d0bc51 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=fa5f4d86-c81d-42d9-85c7-847ffa779030 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

The problem is that I do not have any /dev/scd0..

yair@YR-Linux2:~$ ls /dev/s*
/dev/sda /dev/sda2 /dev/sequencer /dev/sg0 /dev/sndstat /dev/stdin
/dev/sda1 /dev/sda5 /dev/sequencer2 /dev/snapshot /dev/stderr /dev/stdout

yair@YR-Linux2:~$ lshw
yr-linux2
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 512MB
     *-cpu
          product: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          version: 6.15.6
          serial: 0000-06F6-0000-0000-0000-0000
          size: 18EHz
          width: 32 bits
          capabilities: fpu fpu_exception wp pse tsc msr mce cx8 sep mtrr pge cmov mmx fxsr sse sse2 ss constant_tsc up pni
     *-display
          description: VGA compatible controller
          physical id: 2
          bus info: pci@00:02.0
          version: 00
          size: 16MB
          width: 32 bits
          clock: 33MHz
          capabilities: vga bus_master
          configuration: latency=0
          resources: ioport:4000-40ff iomemory:c0000000-c0ffffff ioport:4400-441f
     *-bridge UNCLAIMED
          description: Bridge
          physical id: 3
          bus info: pci@00:03.0
          version: 00
          width: 32 bits
          clock: 33MHz
          capabilities: bridge bus_master
          configuration: latency=0
          resources: ioport:4800-481f irq:9
     *-network
          description: Ethernet interface
          product: RTL-8029(AS)
          vendor: Realtek Semiconductor Co., Ltd.
          physical id: 5
          bus info: pci@00:05.0
          logical name: eth0
          version: 00
          serial: 00:c1:3d:b8:36:a0
          width: 32 bits
          clock: 33MHz
          capabilities: bus_master ethernet physical
          configuration: broadcast=yes driver=ne2k-pci driverversion=1.03 ip=192.168.1.3 latency=0 multicast=yes
          resources: ioport:4c00-4c1f irq:10
     *-usb:0
          description: USB Controller
          product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
          vendor: Intel Corporation
          physical id: 1d
          bus info: pci@00:1d.0
          version: 02
          width: 32 bits
          clock: 33MHz
          capabilities: uhci bus_master
          configuration: driver=uhci_hcd latency=0
          resources: ioport:5000-501f irq:11
        *-usbhost
             product: UHCI Host Controller
             vendor: Linux 2.6.20-16-generic uhci_hcd
             physical id: 1
             bus info: usb@1
             logical name: usb1
             version: 2.06
             capabilities: usb-1.10
             configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
     *-usb:1
          description: USB Controller
          product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
          vendor: Intel Corporation
          physical id: 1d.7
          bus info: pci@00:1d.7
          version: 02
          width: 32 bits
          clock: 33MHz
          capabilities: ehci bus_master cap_list
          configuration: driver=ehci_hcd latency=0
          resources: iomemory:c1000000-c10003ff irq:9
        *-usbhost
             product: EHCI Host Controller
             vendor: Linux 2.6.20-16-generic ehci_hcd
             physical id: 1
             bus info: usb@2
             logical name: usb2
             version: 2.06
             capabilities: usb-2.00
             configuration: driver=hub maxpower=0mA slots=8 speed=480.0MB/s
     *-pci
          description: Host bridge
          product: 82815 815 Chipset Host Bridge and Memory Controller Hub
          vendor: Intel Corporation
          physical id: e0000000
          bus info: pci@00:1e.0
          version: 02
          width: 32 bits
          clock: 33MHz
          resources: iomemory:e0000000-e3ffffff
        *-isa
             description: ISA bridge
             product: 82801BA ISA Bridge (LPC)
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@00:1f.0
             version: 08
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 82801BA IDE U100
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@00:1f.1
             logical name: scsi0
             logical name: scsi1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated scsi-host
             configuration: driver=ata_piix latency=0
             resources: iomemory:1f0-1f7 iomemory:3f0-3ef iomemory:170-177 iomemory:370-36f ioport:6c00-6c0f
           *-disk
                description: SCSI Disk
                product: Virtual HDD [0]
                vendor: ATA
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: FWR1
                serial: 01415926535897932384
                size: 19GB
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5
              *-volume:0
                   description: Linux filesystem partition
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   capacity: 18GB
                   capabilities: primary bootable
              *-volume:1
                   description: Extended partition
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   logical name: /dev/sda2
                   size: 870MB
                   capacity: 870MB
                   capabilities: primary extended partitioned partitioned:extended
                 *-logicalvolume
                      description: Linux swap / Solaris partition
                      physical id: 5
                      logical name: /dev/sda5
                      capacity: 870MB
                      capabilities: nofs
        *-multimedia
             description: Multimedia audio controller
             product: 82801BA/BAM AC'97 Audio
             vendor: Intel Corporation
             physical id: 1f.5
             bus info: pci@00:1f.5
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: driver=Intel ICH latency=0
             resources: ioport:7000-70ff ioport:7400-743f irq:9

As you can see, there is no reference for any cdrom...

Revision history for this message
Cesare Tirabassi (norsetto) said :
#4

Can you paste here the result of these commands:

lspci -vnn
cat /proc/interrupts

Thanks.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#5

And also the output of dmesg, thanks.

Revision history for this message
Best Yair Raz (yraz) said :
#6

Something interesting happened:
I was previously running Ubuntu using Parallels Desktop 2, on MacBook Pro. All the issues reported above (previously working, not working now) were using this configuration.
I've just upgraded to Parallels Desktop 3.0, and without any change to the Linux installation, suddenly the CD-ROM start working (I have a device /dev/scd0, I see cdrom when I type 'lshw'.

Looks like everything is OK now, although I can not understand it...

Thanks for your help,
Yair