LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 03-12-2007, 10:42 AM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
Mount: /dev/cdrom is not a valid block device...


...is the error that I get. I have never had a cdrom not work right. I am pretty sure that it is a sata device [dell xps m1210 laptop], and I think that the shortcut might not be exactly right. How do I find out what the right device location is so that I can correct the /dev/cdrom shortcut?
 
Old 03-12-2007, 11:38 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Usually the cdrom device files I see are /dev/hdc and hdd, and /dev/cdrom and alike are merely symlinks to those. In some systems they might also reside under /dev/cdrom/ or something funny.
 
Old 03-12-2007, 11:58 AM   #3
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
It isn't either one of those. Is a SATA CDROM drive assigned a different device name than a regular CDROM drive? I had to manually set my hard drive in LiLo - do I have to do something similar to my CDROM?
 
Old 03-12-2007, 12:16 PM   #4
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
? are you certain its SATA? I have a dell lappy w/SATA HD and IDE cd/dvd drive.

is there a /dev/sdb entry for it? that error sounds like a kernel problem, so i googled, sata cdrom

sounds like at first glance you need to compile in IDE/ATAPI cdrom support. then do some fancy stuff.
 
Old 03-12-2007, 01:35 PM   #5
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
The reason that I thought that it was SATA is because it doesn't show up on lspci. Is there a better way to find out what it is?
 
Old 03-12-2007, 01:45 PM   #6
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
Nevermind...I went through dmesg and saw it listed as sr0.

What does that mean? I created a symlink to /dev/cdrom and fstab picked it up. Weird...
 
Old 03-12-2007, 02:36 PM   #7
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Is there a better way to find out what it is?
to be honest, I've taken to generating that windows system summary and print to file before installing slack on a machine so I know what it has (theoretically anyway).

i think sr0 = scsi resource zero

???

sorry no better idea about why needed to create your own symlink.

Last edited by bioe007; 03-12-2007 at 02:38 PM.
 
Old 03-12-2007, 02:43 PM   #8
iamnothere
Member
 
Registered: Feb 2007
Location: UK
Distribution: Slamd 64, Slackware
Posts: 46

Rep: Reputation: 15
sr0 is the first SCSI cdrom device. SATA on Linux uses SCSI emulation, so it must indeed be a SATA drive. SATA cdroms are pretty new, which probably explains why the /dev/cdrom symlink wasn't setup correctly automatically. This will undoubtedly improve once they become more common and distros start specifically checking for them.
 
Old 03-12-2007, 03:54 PM   #9
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and XUbuntu
Posts: 110
Blog Entries: 1

Rep: Reputation: 17
my fstab entry for my cdrom (dvd-rw,cdrw)=
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
the output of ls -al /dev/cdrom=
lrwxrwxrwx 1 root root 8 2006-03-10 07:12 /dev/cdrom -> /dev/sr0

As root i did = ln -sf /dev/sr0 /dev/cdrom
to create the proper symlink .Good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: /dev/cdrom is not a valid block device blueAlien Slackware 2 03-26-2006 03:22 AM
/dev/cdrom is not a valid block device cannot mount eatmars Linux - Hardware 1 10-02-2005 07:50 AM
mount: /dev/cdrom is not a valid block device aikempshall Slackware 7 01-15-2005 02:36 AM
mount: /dev/cdrom is not a valid block device FXRS Slackware 2 05-24-2004 11:32 PM
mount: /dev/cdrom is not a valid block device abruneau Linux - General 19 02-16-2004 04:56 AM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration