LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2002, 10:48 AM   #1
triplied
LQ Newbie
 
Registered: Mar 2002
Distribution: suse 7.3
Posts: 19

Rep: Reputation: 0
cd emulation in the kernnel


I have a sony cd-rw and have it in my box, but it tells me to "Enable the 'ide-scsi emulation' in the kernel ! If any can help
 
Old 10-05-2002, 06:10 PM   #2
homer
Member
 
Registered: Mar 2001
Posts: 41

Rep: Reputation: 15
You should be able to edit the "lilo.conf" file.
there should be an append line. Add " hdc=ide-scsi" to it

append " hdc=ide-scsi"

if there is something allready on this line just add the quoted part inside the quotes that are there but leave a space between them and don't add new quotes.
hdc = first drive on channel two.
hdd = second drive on the second channel.
use the appropriate one for your machine
then run

/sbin/lilo

reboot
then edit your fstab to mount the drive as scd0 instead of hdc or hdd whichever you have.
 
Old 10-05-2002, 07:59 PM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
You MIGHT need to enable that stuff in the kernel, so it the above doesn't work, then get back.

Instead of editing "fstab", you can go to /dev and link scd0 to hdc ex:
cd /dev
ln -sf scd0 hdc


that should work.
 
Old 10-05-2002, 10:24 PM   #4
triplied
LQ Newbie
 
Registered: Mar 2002
Distribution: suse 7.3
Posts: 19

Original Poster
Rep: Reputation: 0
I am new

how would I edit the lilo file??
 
Old 10-05-2002, 11:27 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Quote:
Originally posted by adam_boz

Instead of editing "fstab", you can go to /dev and link scd0 to hdc ex:
cd /dev
ln -sf scd0 hdc


that should work.
Sorry buddy, it doesn't make sense.
AS for your problem, triplied, before getting hands dirty with lilo.conf try
/sbin/modprobe ide-scsi
you need to be root to perform this operation, if no errors returned, you need to know which device is your cd-rw, is it /dev/hdb, /dev/hdc, etc.? Then as root edit /etc/lilo.conf, open it in any text editor as root. You might try to do so from console, if you've installed pine then there's no-brainer command line text editor - pico, so in the console/Xterm/Konsole type
/bin/su -
Password: <------- type your root account password
cp /etc/lilo.conf /etc/lilo.conf.orig
The above line will create a backup copy of /etc/lilo.conf if you screw it up
Now bring this file into pico editor with
pico /etc/lilo.conf
Navigate with arrow keys, also there is a sort of toolbar on the bottom with available commads to guide you in editing files. So you should navigate to a pattern like
Code:
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
right after root entry add the following line
append="hdX=ide-scsi"
replace hdX for device that corresponds to your CD-R/RW device in /dev/ directory
now Ctrl-O will write changes to this file, and CTRL-X will exit from pico
still in console as root run
/sbin/lilo
to update lilo with changes you've made and reboot.
After the system reboots run as root from console
cdrecord -scanbus
it should return something like this
Code:
Cdrecord 1.11a24 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.6'
scsibus0:
        0,0,0     0) 'SAMSUNG ' 'CD-R/RW SW-232B ' 'R300' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
If you see this you're setup for burning.
 
Old 10-05-2002, 11:36 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
so if it works, we'll continue with part II - setting up /etc/fstab and symlinks for easy access to your CD-R/RW, BTW what model is it?
 
Old 10-06-2002, 02:19 AM   #7
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
Why doesn't that work neo? I thought I did that on my system (I could be wrong). That way, it seems that there would be no reason to change /etc/fstab (I don't even have the cdr's i my fstab)?

**Just wondering, I don't mean to take the thread out of context***
 
  


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
Cd Emulation Woofcat Linux - Software 11 07-27-2005 08:17 PM
Modem emulation calutateo Linux - Networking 1 07-03-2005 04:02 PM
windows Emulation linuxmandrake Linux - Software 4 06-27-2005 09:15 AM
CD Emulation af_dave Linux - Software 1 07-23-2004 11:11 AM
emulation Citizen Bleys Linux - General 3 10-23-2001 11:31 AM


All times are GMT -5. The time now is 07:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration