Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: can't detect cdrom

  1. #1
    Member registered user
    Join Date
    Aug 2003
    Location
    Victoria, Australia
    Posts
    31

    can't detect cdrom

    I have had knoppix 3.3 and lin4astro (morphix) all working well on hd, but with 3.4 it can't find the cdrom when I click the desktop icon, or try to mount from the command line. This is using knoppix-installer in sbin as beginner.

    I notice there is a dvd in mnt not cdrom, so tried

    mount -t iso9660 /dev/hdc /mnt/dvd

    and it said wrong fs type etc.

    Has anyone else had this problem? I tried editing the knx-hdinstall from morphix and it installed but the templates caused an init scripts problem. on boot so I didn't get to find out if it worked.

    David.

  2. #2
    Member registered user
    Join Date
    Aug 2003
    Location
    Victoria, Australia
    Posts
    31

    re: can't detect cdrom

    I hacked a solution to this, by editing /etc/fstab I put in an entry for cdrom (it had dvd) and that seems to have fixed it.

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536

    reply

    This is what my fstab is:

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda3 / ext3 defaults,errors=remount-ro 0 1

    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
    # Added by KNOPPIX
    /dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=000 0 0

    What do I need to change to get my cdrom and dvdrom to work?
    And ZIP drive and floppy for that matter?

  4. #4
    Member registered user
    Join Date
    Aug 2003
    Location
    Victoria, Australia
    Posts
    31

    can't detect cdrom

    I am still finding its flakey. What I did was change "user" to "users" and deleted "noexec". It seemed to work on the next reboot and then not after that.

    Also if I put a music cd in, I couldn't manage to mount it but surprise, if I started the play music cd pgm on the menu, that worked.

    Just out of interest what system are you running on. Mine is an Athlon 1gz on a Gigabyte GA-7IXE4 Motherboard. As not too many others seem to have this problem maybe its a hardware glitch. However I did have 3.3 working nicely on the hd.

    Warning, I am self taught and I recommend reading "man fstab" (enter this at a command line) first, I have just glossed over it.

    David.

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Audio CD's don't have a filesystem, so you can't mount them. You have to mount a data CD in order to browse it.
    You can check how to build the fstab with:
    dmesg|grep CD
    dmesg|grep sr
    dmesg|grep scd
    dmesg|grep hdc
    One of them should return something like:
    markus@mrk-fujibox:~$ dmesg|grep hdc
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdcMA, hddMA
    hdc: TDK CDRW241040B, ATAPI CD/DVD-ROM drive
    hdc: attached ide-cdrom driver.
    hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

    And so the line in fstab would be:
    /dev/hdc /cdrom iso9660 defaults,ro,users,noexec,noauto 0 0

  6. #6
    Member registered user
    Join Date
    Aug 2003
    Location
    Victoria, Australia
    Posts
    31

    can't detect cdrom

    actually I have had this problem previiously and "fixed it" by using a different installer, as the installers do the same thing maybe there is a glitch in my machine.

    What is sr? I got this output.

    drg@Tbird:~$ dmesg|grep sr
    end_request: I/O error, dev sr0, sector 0
    Buffer I/O error on device sr0, logical block 0
    Buffer I/O error on device sr0, logical block 1
    Buffer I/O error on device sr0, logical block 2
    Buffer I/O error on device sr0, logical block 3
    Buffer I/O error on device sr0, logical block 4
    Buffer I/O error on device sr0, logical block 5
    Buffer I/O error on device sr0, logical block 6
    Buffer I/O error on device sr0, logical block 7
    Buffer I/O error on device sr0, logical block 8
    Buffer I/O error on device sr0, logical block 9
    Buffer I/O error on device sr0, logical block 10
    Buffer I/O error on device sr0, logical block 11
    Buffer I/O error on device sr0, logical block 12
    Buffer I/O error on device sr0, logical block 13
    Buffer I/O error on device sr0, logical block 14
    Buffer I/O error on device sr0, logical block 15
    Buffer I/O error on device sr0, logical block 16
    Buffer I/O error on device sr0, logical block 17
    Buffer I/O error on device sr0, logical block 18
    Buffer I/O error on device sr0, logical block 19
    Buffer I/O error on device sr0, logical block 20
    Buffer I/O error on device sr0, logical block 21
    Buffer I/O error on device sr0, logical block 22
    Buffer I/O error on device sr0, logical block 23
    Buffer I/O error on device sr0, logical block 24
    Buffer I/O error on device sr0, logical block 25
    Buffer I/O error on device sr0, logical block 26
    Buffer I/O error on device sr0, logical block 27
    Buffer I/O error on device sr0, logical block 28
    Buffer I/O error on device sr0, logical block 29
    Buffer I/O error on device sr0, logical block 30
    Buffer I/O error on device sr0, logical block 31
    end_request: I/O error, dev sr0, sector 0
    Buffer I/O error on device sr0, logical block 0
    Buffer I/O error on device sr0, logical block 1
    end_request: I/O error, dev sr0, sector 0
    Buffer I/O error on device sr0, logical block 0
    Buffer I/O error on device sr0, logical block 1
    Buffer I/O error on device sr0, logical block 2
    Buffer I/O error on device sr0, logical block 3
    Buffer I/O error on device sr0, logical block 4
    Buffer I/O error on device sr0, logical block 5
    Buffer I/O error on device sr0, logical block 6
    Buffer I/O error on device sr0, logical block 7
    Buffer I/O error on device sr0, logical block 8
    Buffer I/O error on device sr0, logical block 9
    Buffer I/O error on device sr0, logical block 10
    Buffer I/O error on device sr0, logical block 11
    Buffer I/O error on device sr0, logical block 12
    Buffer I/O error on device sr0, logical block 13
    Buffer I/O error on device sr0, logical block 14
    Buffer I/O error on device sr0, logical block 15
    Buffer I/O error on device sr0, logical block 16
    Buffer I/O error on device sr0, logical block 17
    Buffer I/O error on device sr0, logical block 18
    Buffer I/O error on device sr0, logical block 19
    Buffer I/O error on device sr0, logical block 20
    Buffer I/O error on device sr0, logical block 21
    Buffer I/O error on device sr0, logical block 22
    Buffer I/O error on device sr0, logical block 23
    Buffer I/O error on device sr0, logical block 24
    Buffer I/O error on device sr0, logical block 25
    Buffer I/O error on device sr0, logical block 26
    Buffer I/O error on device sr0, logical block 27
    Buffer I/O error on device sr0, logical block 28
    Buffer I/O error on device sr0, logical block 29
    Buffer I/O error on device sr0, logical block 30
    Buffer I/O error on device sr0, logical block 31
    end_request: I/O error, dev sr0, sector 0
    Buffer I/O error on device sr0, logical block 0
    Buffer I/O error on device sr0, logical block 1

    I got no response on the other items

    root@Tbird:/home/drg# dmesg|grep hdc
    root@Tbird:/home/drg# dmesg|grep scd
    root@Tbird:/home/drg# dmesg|grep dvd
    root@Tbird:/home/drg# dmesg|grep cd
    root@Tbird:/home/drg# dmesg|grep cdrom

    David.

  7. #7
    Member registered user
    Join Date
    Jan 2003
    Posts
    37
    Are you sure that that is all you get out of:
    dmesg|grep sr

    Because that don't make any sence. The wery first lines should tell you what device it is.

    from my box
    [code]
    hl@sid:~$ dmesg |grep sr
    sr0: scsi3-mmc drive: 6x/48x cd/rw xa/form2 cdda tray
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
    Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
    hl@sid:~$
    [/code/]

    Try this:
    dmesg|grep sr|less

  8. #8
    Member registered user
    Join Date
    Aug 2003
    Location
    Victoria, Australia
    Posts
    31

    can't detect cdrom

    Today i get nothing from dmesg|grep sr and blank couple of pages from dmesg|grep sr|less.

    Is this for scsi devices? I don't have any and I had to "knoppix noscsi" in the boot options as otherwise it would hang.

    I'm going to get a burner sometime not too far off and that will allow me to run from the cd again and have the dvd working as well.

    Regards,

    David.

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Don't quote me on this while I could be wrong but I believe sr is for scsi emulation needed by the 2.4 kernel. AFAIK 2.6 doesn't need it anymore, although I'm not sure what happens with the noscsi cheatcode. So even if you have no scsi devices they still could get treated as such.

    If dmesg is too filled with mysterious messages you can grep from syslog as root:
    grep hdc /var/log/syslog |tail
    grep CD /var/log/syslog |tail
    grep scd /var/log/syslog |tail
    grep sr /var/log/syslog |tail

  10. #10
    Member registered user
    Join Date
    Aug 2003
    Location
    Victoria, Australia
    Posts
    31

    can't detect cdrom

    Its working again today, I haven't done anything else. Now I can't umount it, "devise is busy" when it is not, I have killed the konqueror browser and no terminals are active in that directory. Go figure...

    There are no entries in dmesg, completely blank.

    I was thinking whether having enabled plug and play in the bios has anything to do with it?

    I don't like to change this without good reason. I haven't had a problem with other linux installs such as Fedora. I did have to change it in my laptop to get the sound driver to work (CS4237B card). I believe its better if "plug and play" is not enabled, but anyhow the cd is (sort of) working tonight.

    I am not sure if my hard drive is on the way out, I have had trouble with the partition table, so possibly it is not loading correctly. Seems to be a minority problem but others have experienced it. Maybe if we can get enough communication we can identify the common factor.

    David.

Page 1 of 2 12 LastLast

Similar Threads

  1. 3.8.1 does not detect USB Ethernet card
    By Oswald Glinkmeyer in forum Hardware & Booting
    Replies: 2
    Last Post: 04-26-2005, 11:56 AM
  2. PC doesn't detect any bootable CD-ROM
    By Benbread in forum General Support
    Replies: 12
    Last Post: 04-11-2004, 02:22 AM
  3. Cannot detect sda1
    By altalingua in forum Hdd Install / Debian / Apt
    Replies: 13
    Last Post: 02-15-2004, 09:39 PM
  4. Can't detect sound card
    By tzo64 in forum Hardware & Booting
    Replies: 1
    Last Post: 11-02-2003, 12:49 PM
  5. knoppix cdrom boot fails on some cdrom players
    By Koga in forum General Support
    Replies: 3
    Last Post: 01-11-2003, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$140.00



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R picture

Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R

$399.00



NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER picture

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER

$1499.97



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD

$349.99