LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-30-2003, 09:41 PM   #1
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
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.
 
Old 08-31-2003, 12:03 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
What error message are you getting?
 
Old 08-31-2003, 08:26 AM   #3
noxius
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-01-2003, 02:03 AM   #4
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
i'd also take a look at dmesg and see whether they're being recognized at boot - let us know
 
Old 09-01-2003, 04:55 PM   #5
Dr.Lun
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
mount /dev/scd0 /mnt/cdrom should work...
 
Old 09-01-2003, 04:58 PM   #6
Dr.Lun
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
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#
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 10:34 AM
CD problems: /mnt/cdrom and /dev/cdrom okok Linux - Newbie 5 04-09-2003 10:11 AM
fstab and cdrom links - hdc or cdrom? tunedLow Linux - Newbie 5 12-21-2001 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration