LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-13-2005, 12:56 PM   #1
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Rep: Reputation: 30
/dev/hdc....CDROM?


Hi group.
Is there - or should there be - a "cdrom" subdirectory/node under /dev/hdc or simply just under /dev?
I recently added append = "hdc=ide-scsi" to my lilo.conf, which got me into unwanted difficulties, and a recommendation was to rm CDROM and re-create it as a link to /dev/sr0....
Anyway, this was not helpful, so I backed out the change, removed the link, and the lilo.conf change, but I believe I still have problems with CDROM (is said to be busy when it is not, cannot eject).

I think I (may) need to re-create either a dir or node called cdrom under/dev.
Is this correct? If a node, what is the command please? I am not so familiar with mknod, major/minor devices.
Thank You
George
 
Old 06-13-2005, 03:45 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
okay.

if u are using slackware 9.1 with a default kernel you are using linux 2.4 which requires that CDrom writing devices are emulated as scsi devices. which means that the hdc=ide-scsi thing is need in our lilo.conf. This will most likely created a device called /dev/sr0 or something like /dev/sa0. I'm sorry I can't remember which will to tail or cat to work this out. But in dev their won't be many devices like that. Then you need to created a sym link to it in /dev/ e.g ln -s /dev/sr0 /dev/cdrom. you can then add this to /etc/fstab.

something like:

/dev/cdrom /mnt/cdrom udf,iso9660 ro,user,noauto 0 0

It should be noted the devfs creates the nodes and devices and there is no need to manually create them.

if u are using a 2.6 kernel you don't need the ide=scsi emuation. It will simply be created as /dev/hdc and can be linked as such.there is no actual need to create this link if you set your /etc/fstab file correctly.2.6 uses udev btw

type uname -a to find your kernel version.

hope this helps.
 
Old 06-13-2005, 04:02 PM   #3
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Original Poster
Rep: Reputation: 30
Satinet - This is very helpful; yes I am 9.1 with 2.4.22 kernel, hence the requirement for that addendum to lilo.conf.
Over the pond, over here, something really important is happening now...the M Jackson verdict<g>.
Let me ponder what you have written here.
Again.
Thanks
George
 
Old 06-14-2005, 11:02 PM   #4
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Original Poster
Rep: Reputation: 30
satinet - regarding getting CDRW functionality under kernel 2.4.22, to implement the SCSI emulation, does one have to change the kernel or load any additional modules (over and above adding the "append=hdc=ide-scsi) to lilo.conf, and uncommenting the modprobe of the /sbin/modprobe ide-scsi line in rc.modules? I have done both of these, yet the module ide-scsi is no located, suggesting I may need to congigure some dynamically loadable modules (and yes, a symlink to setup, a mod to fstab, etc...but if the module is not there, these changes are moot). I have seen discussion of this on the web from 1999 thru 2004, and see different steps to take, both with and without module re-configuration and compile/make.
Thanks
George
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 07:05 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
no /dev/hdc or /dev/cdrom bobr Linux - General 3 02-18-2005 10:30 AM
/dev/cdrom & /dev/hdc missing! Lord_Devi Slackware 4 06-25-2004 09:17 AM
kernel 2.6.3: cdrom isn't running....also not as /dev/hdc ...RH9 pablovschby Linux - General 8 02-25-2004 10:26 AM


All times are GMT -5. The time now is 01:53 PM.

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