LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-08-2002, 08:10 PM   #1
francisjk
LQ Newbie
 
Registered: Jun 2002
Location: Michigan
Distribution: Slackerware 8.1
Posts: 21

Rep: Reputation: 15
Angry CD writer scsi emulation problems


I am running slackware 8.0 the the 2.4.5 kernel. I am trying to get my cd burner to work. I read up on it and it states that I need to emulate scsi. I recompiled to include scsi support (i took it out of the kernel after re-compiling the first time). I added the line append="hdc=ide-scsi hdd=ide-scsi" in my lilo.conf and re-ran llilo. When I run modprobe ide-scsi I get an error "cannot locate module" . Does anyone have any ideas of what my issues is. I assume that ithe problem lies with my modules, but I'm not completly sure. Thanks...
 
Old 09-08-2002, 08:52 PM   #2
darkmage
Member
 
Registered: Jun 2002
Location: Lousiville,KY
Distribution: Gentoo
Posts: 89

Rep: Reputation: 15
If you compiled scsi support directly into the kernel and not as a module, then modprobe wouldn't find the module. The easiest way to check is to run "cdrecord -scanbus" as root. You should see your two drives listed.
 
Old 09-09-2002, 12:29 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Re: CD writer scsi emulation problems

Quote:
Originally posted by francisjk
I am running slackware 8.0 the the 2.4.5 kernel. I am trying to get my cd burner to work. I read up on it and it states that I need to emulate scsi. I recompiled to include scsi support (i took it out of the kernel after re-compiling the first time). I added the line append="hdc=ide-scsi hdd=ide-scsi" in my lilo.conf and re-ran llilo. When I run modprobe ide-scsi I get an error "cannot locate module" . Does anyone have any ideas of what my issues is. I assume that ithe problem lies with my modules, but I'm not completly sure. Thanks...
I don't see the problem here, have you tried burning a cd. darkmage is correct in the check, but with the way things appear to be setup, you should be fine. Is there something I am missing, or did I read it wrong?

Cool
 
Old 09-09-2002, 03:56 AM   #4
francisjk
LQ Newbie
 
Registered: Jun 2002
Location: Michigan
Distribution: Slackerware 8.1
Posts: 21

Original Poster
Rep: Reputation: 15
when I run "cdrecord -scanbus" I get this back.

Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
 
Old 09-09-2002, 05:05 AM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
A note on this.I had a fun time to get my cdburner going with debian because it was a new device and the syslinks where missing.With gentoo I just had to have the correct kernel and lilosetup and add it to fstab because I use devfs there.
 
Old 09-09-2002, 09:52 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
When you said that you enabled scsi in your kernel, what exactly did you enable? You may have missed something there, or like you said, it may be a module thing if you compiled the missing part as module, and cannot remember which. Try recompiling again, this time building all of these into the kernel, not module (my options are on the 2.4.19 kernel, so some things may be different):
In ATA/IDE/MFM/RLL support
Build ATA... Support
Then enter the subdirectory: IDE, ATA, and ATAPI Block Devices...
SCSI emulation support is one option in there, build it in. Read the help file, it will tell you what else you have to enable as well.
SCSI support is the next section:
Enable SCSI support, SCSI CDROM support, SCSI Generic Support, I also enabled Verbose SCSI error reporting, might not be necessary, but I like error messages.

Cool
 
Old 09-09-2002, 07:57 PM   #7
francisjk
LQ Newbie
 
Registered: Jun 2002
Location: Michigan
Distribution: Slackerware 8.1
Posts: 21

Original Poster
Rep: Reputation: 15
Okay, I was looking through the options, and under the IDE/ATA Block Devices there was the option for SCSI EMUILATION, opps, must have missed that. lol. well, I'm recompiling right now, I'll no soon, if that was the issue. Thanks!!
 
Old 09-09-2002, 08:06 PM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Cool, good luck.

 
Old 09-09-2002, 09:47 PM   #9
francisjk
LQ Newbie
 
Registered: Jun 2002
Location: Michigan
Distribution: Slackerware 8.1
Posts: 21

Original Poster
Rep: Reputation: 15
Talking It worked

Thanks, got it working!!!! You guys are GREAT!!!

javascript:smilie('')
 
Old 09-09-2002, 10:25 PM   #10
francisjk
LQ Newbie
 
Registered: Jun 2002
Location: Michigan
Distribution: Slackerware 8.1
Posts: 21

Original Poster
Rep: Reputation: 15
What are my Devices now?

now that it's emulating a scsi device, what are my devices?
/dev/sg0? here is what 'cdrecord -scanbus' returns

Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-40125S ' 'ZS0J' Removable
0,1,0 1) 'COMPAQ ' 'DVD-ROM SD-612B ' 'BQ04'
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
 
Old 09-10-2002, 03:53 AM   #11
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
More than likely you are going to have /dev/scd0 and /dev/scd1. Where scd0 is your burner, and scd1 is your DVD, possibly. If scd0 and scd1 do not work, you can alternatively have devices /dev/sr0 and /dev/sr1

If you are good at picking out things in lots of text, look at 'dmesg' to decide what your actual devices are. You can view it by typing dmesg into a terminal. When it scrolls by too fast, change that to "dmesg|less" where you have a pipe (|) in between.

Cool

<edit>
Oh yes, and 1 more thing, glad you got your burner working
</edit>
 
Old 09-10-2002, 10:25 AM   #12
francisjk
LQ Newbie
 
Registered: Jun 2002
Location: Michigan
Distribution: Slackerware 8.1
Posts: 21

Original Poster
Rep: Reputation: 15
YEP!!!

Alright!!!!! It always feels so good to get something working!!!! Thanks to the help of you guys here. /dev/scd0 and /dev/scd1 are the winners. I'm going to change the symbolic links to point to /dev/cdrom and /dev/dvd. Thanks a great deal.
 
Old 09-10-2002, 11:23 AM   #13
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Cool, no problem
 
  


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
Enabling SCSI emulation for ATAPI CD writer for Xcdroast nikos3.14 Fedora 2 09-30-2005 08:10 AM
Problems with SCSI emulation and k3b atheist Linux - Software 2 03-03-2004 03:01 PM
SCSI-Emulation for your CD-writer FiveFlat Linux - Hardware 2 01-07-2004 06:13 PM
Kernel 2.6 dvd writer ide-scsi emulation chup Linux - General 10 01-02-2004 07:32 PM
SCSI Emulation Problems nrunge Linux - Software 0 11-11-2003 07:48 PM


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