LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CD-RW CDROM and you! (https://www.linuxquestions.org/questions/slackware-14/cd-rw-cdrom-and-you-87479/)

At0mic_PC 08-30-2003 09:41 PM

CD-RW CDROM and you!
 
For some reason I cannot access either my CD-R or my CDrom in linux. From root or from user.

IDE1 Primary = 6GB WD - Windows OS
IDE1 Secondary = 80GB - 1g swap - 8g Linux OS - rest VFAT
IDE2 Primary = CDRW
IDE2 Secondary = CDROM

=======================================
/etc/fstab
=======================================

/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / reiserfs defaults 1 1
/dev/hda1 /fat-c vfat umask=000, 0 0
/dev/hdb3 /fat-d vfat umask=000, 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/sr0 /cdrw iso9660 ro,user,noauto 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


=======================================
/etc/lilo.conf
=======================================

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb2
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

_______________________________________________

All the information I could think of that may help.

carboncopy 08-31-2003 12:03 AM

What error message are you getting?

noxius 08-31-2003 08:26 AM

Maybe ide-scsi is the problem.

Latest versions of cdrecord don't need scsi emulation, so it can detect your CD-R device using cdrecord -dev=ATAPI: -scanbus.

Try disabling ide-scsi and configure your CD-R in fstab as a normal CDROM device.

Check symbolic link /dev/cdrom too. Maybe it's pointing to /dev/hdc. If it does, your CDROM is not configured in fstab.

mcd 09-01-2003 02:03 AM

i'd also take a look at dmesg and see whether they're being recognized at boot - let us know

Dr.Lun 09-01-2003 04:55 PM

mount /dev/scd0 /mnt/cdrom should work...

Dr.Lun 09-01-2003 04:58 PM

Code:

root@lun:/home/lun# cat /etc/lilo.conf | grep "append"
append="hdc=ide-scsi hdd=ide-scsi"
root@lun:/home/lun# cat /etc/fstab
/dev/hda2        swap            swap        defaults        0  0
/dev/hda1        /                ext3        defaults        1  1
/dev/hda5        /home            ext3        defaults        1  2
/dev/hda6        /tmp            ext3        defaults        1  2
/dev/hda7        /var            ext3        defaults        1  2
/dev/hda8        /mnt/hda8        reiserfs    defaults        1  2
/dev/hda9        /mnt/hda9        ext3        defaults        1  2
/dev/cdrom      /mnt/cdrom      iso9660    noauto,user,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,user      0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
/dev/scd1      /mnt/cdrom      auto    ro,noauto,user,exec    0 0
/dev/scd0      /mnt/cdrw      auto    ro,noauto,user,exec    0 0
root@lun:/home/lun# cdrecord --scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0    0) 'TEAC    ' 'CD-W540E        ' '1.0F' Removable CD-ROM
        0,1,0    1) 'TEAC    ' 'CD-540E        ' '1.0A' Removable CD-ROM
        0,2,0    2) *
        0,3,0    3) *
        0,4,0    4) *
        0,5,0    5) *
        0,6,0    6) *
        0,7,0    7) *
root@lun:/home/lun# mount /dev/scd1 /mnt/cdrom
mount: block device /dev/scd1 is write-protected, mounting read-only
root@lun:/home/lun#



All times are GMT -5. The time now is 04:31 PM.