LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CD writer scsi emulation problems (https://www.linuxquestions.org/questions/linux-software-2/cd-writer-scsi-emulation-problems-29921/)

francisjk 09-08-2002 08:10 PM

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...

darkmage 09-08-2002 08:52 PM

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.

MasterC 09-09-2002 12:29 AM

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

francisjk 09-09-2002 03:56 AM

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.

crashmeister 09-09-2002 05:05 AM

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.

MasterC 09-09-2002 09:52 AM

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

francisjk 09-09-2002 07:57 PM

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!!

MasterC 09-09-2002 08:06 PM

Cool, good luck.

;)

francisjk 09-09-2002 09:47 PM

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

javascript:smilie(':newbie:')
:newbie:

francisjk 09-09-2002 10:25 PM

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) *

MasterC 09-10-2002 03:53 AM

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>

francisjk 09-10-2002 10:25 AM

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.

MasterC 09-10-2002 11:23 AM

Cool, no problem ;)


All times are GMT -5. The time now is 03:32 AM.