LinuxQuestions.org
Review your favorite Linux distribution.
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 01-13-2005, 05:06 PM   #1
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Rep: Reputation: 15
Question got confused with my cd-rw kernal&device configuration!!!


well, i have a cd-rw/dvd-rom combo in my laptop...the system is Linux From Scratch 5(installed it several months ago); now I am trying to get my cd-rw working...although I followed some suggestions (i will specify what i did a little later), I basically don't know what i am doing and lack the general understanding...

--------------
What I did
--------------
o recompiled the kernal:
ATA/IDE/MFM/RLL support menu
  • IDE/ATAPI CDROM support: M
  • SCSI emulation support: Y
SCSI support menu
  • SCSI support: Y
  • SCSI CD-ROM support: Y
  • SCSI generic support: Y
o created some device files: scdx and sgx...

----------------
dmesg shows
----------------
hdc: HL-DT-STCD-RW/DVD-ROM GCC-4240N, ATAPI CD/DVD-ROM drive
hdc: attached ide-scsi driver.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray

------------
Questions
------------
1 What can I do next???
2 How to know if it works? how to test???
3 is that okay the cdrom still be mounted to /dev/hdc?? should I load ide-cd.o for music cds??
4 plz give me a general picture to show how everything connect with each other...

Thanks!!!
 
Old 01-13-2005, 08:21 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,554

Rep: Reputation: 182Reputation: 182
"3 is that okay the cdrom still be mounted to /dev/hdc?? should I load ide-cd.o for music cds??
4 plz give me a general picture to show how everything connect with each other... "

If you are using kernel 2.4.x then you should set up the CD using scsi emulation, which you did. Then you need to add a kernel boot parameter to LILO: append="hdc=ide-scsi". Then make /dev/hdc a symbolic pointer to /dev/scd0 (I think its scd0). Load ide-scsi.o.

If you are running kernel 2.6.x then you do not want to use ide-scsi. Use native IDE support for /dev/hdc. Load ide-cd.ko. You do not need any scsi support (unless you have scsi devices). You do not need the append in your lilo or grub boot parameters.

--------------------------
Steve Stites
 
Old 01-13-2005, 11:12 PM   #3
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
thanks for replying, steve!
If I found the LQ's wiki page: IDE_CD_Writer, I could know that there might be no necessary to use scsi emulation at all...since my cd-rw was detected at first time and it can be addressed directly...
anyway, scsi emulation works fine
 
  


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
Kernal configuration linusfreak Linux - Newbie 1 11-23-2005 06:08 PM
2.4 kernal & automounting hirts123 Slackware 3 08-29-2005 02:21 PM
BASH scripting: confused about redirection & file descriptors funkymunky Programming 1 06-07-2004 07:47 AM
VMWare question - device /mnt/cdrom is confused e-regular Linux - Software 4 09-15-2003 08:34 AM
A newbie confused about KDE & Gnome maestro52 Linux - Newbie 9 08-30-2003 01:31 PM


All times are GMT -5. The time now is 12:28 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