LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-21-2003, 11:42 AM   #1
gavinbeatty
Member
 
Registered: Nov 2003
Posts: 79

Rep: Reputation: Disabled
k3b scsi emulation?


I saw on another (really old) thread that to enable scsi emulation I need to have my kernel compiled to do so.
k3b has been telling me to do this for ages but I never knew how (and still don't).

Please tell me there is another way.

I had to compile a new kernel for nvidia purposes and lets just say there's enough forum space taken up with that to........ fill a really big space...

HELP!
 
Old 12-21-2003, 11:51 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Does this have anything to do with it?

http://www.jennings.homelinux.net/k3b.html
 
Old 12-22-2003, 08:18 AM   #3
gavinbeatty
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: Disabled
?

I never even saw a setup dialog before.

I got the new .10.03 source and did what I was told to do like a good little boy in the readme and install file but it still opens up .09.xx if I go to the actual location and open up the .desktop file.

(I'm still new to linux so if what I said was all wrong then please enlighten me, it's hard to get to grips with program installation without a \Program Files\ directory... heck, I made one and have been untarring there ever since)

How do I even get to that setup dealy for a previous or new (preferable) install.

Aside from all that the link you posted doen't even solve my problem, but hey, gotta compile a kernel sometime and 2.6.0 is out so I gotta get back to compiling modules.
 
Old 12-30-2003, 06:02 AM   #4
tucup
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
correct me if im wrong but if you use kernel 2.6 you need not make any alterations regarding ide-scsi.
I say this because ive installed k3b for DVD writing and now ive installed all dependencies it asked for its seems to run fine. I have read that patches are needed and that I may need to edit some conf files etc but so far ive not needed.

Im running RedHat 9 with a sony DRU500A DVD-/+RW and a Pioneer DVD-RW,...so far so good

good luck
 
Old 12-31-2003, 08:33 AM   #5
gavinbeatty
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: Disabled
Aaahh screw it, I've tried compiling to 2.6 aswell but I ended up with a handy kernel for an instant and everlasting black screen.
 
Old 12-31-2003, 01:24 PM   #6
tucup
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
what distro are you running ?
 
Old 12-31-2003, 07:31 PM   #7
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
First, as you've mentioned, you must enable SCSI emulation in the kernel. I was unaware that the procedure for this might be different in the 2.6 kernel, as I am still running 2.4. Basically, you are looking for the only option that has "SCSI" and "emulation" in the same sentence. Enabling SCSI emulation won't significantly increase kernal size, slow things down, mess with other features, blah blah blah... so there's really no good resaon not to do it (if you have an IDE cd burner).

Recent versions of cdrecord, the program used by k3b, cdbakeoven, xcdroast, and other popular GUIs for cd burning, support IDE without SCSI emulation. But a lot of the cutting-edge alpha-beta versions of cdrecord do not, so it's still worth it to compile SCSI emulation into the kernel. Also, cdrdao will only work on SCSI devices, so you will have some difficulty burning with Disc-at-Once mode if you don't use SCSI emulation.

That said, here's how to enable scsi emulation:
1. Compile it into the kernel.
2. Edit /etc/lilo.conf to include the following line anywhere you like:
append = "hdc=ide-scsi"
Where hdc is the IDE cd burner. You can add as many IDE cd burners as you like on this line; just seperate them with spaces. Eg:
append = "hdc=ide-scsi hdd=ide-scsi"
3. Run /sbin/lilo
4. Reboot the machine
5. Verify that your cd burner is in /dev. It may be /dev/sg0, or it may be located somewhere in /dev/scsi/.
6. Make sure your cd-burning software is configured to use the scsi emulated device (i.e. /dev/sg0) and NOT use the raw IDE device (i.e. /dev/cdrom0).

k3b and cdbakeoven have some trouble dealing with SCSI emulated devices. If things aren't working out, use xcdroast instead.
 
Old 01-01-2004, 07:59 AM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
k3b and cdbakeoven have some trouble dealing with SCSI emulated devices
Do they ? news to me.

I might just be lucky to have included the correct line in "append" of my lilo.conf so I have the scsi emulation for my burner, but I just have to open k3b and it happily burns away - no coasters yet.

The only thing that I have to remember to do is to make sure CD player app's (kscd, grip, etc etc) are looking at /dev/scd0 instead of /dev/cdrom or /dev/hdc.

Might be worth looking into ??

regards

John
 
Old 01-01-2004, 09:41 AM   #9
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
Thanks for the advice, John.
On my machine, k3b and cdbakeoven perform some complex ritual of looking into /dev/sg, making lots of simlinks, and modifying fstab - after which they still don't recognize my CD burner as a valid SCSI device. Xcdroast just works. And since Xcdroast still has more burn related features than k3b and cdbakeoven, I haven't had the patience to manually configure either of the latter.

But regardless of what burning software you use, John is right: it is important to make sure that software looks at the SCSI device and not the IDE device, otherwise strange errors may happen!
 
Old 01-01-2004, 04:27 PM   #10
bohica
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 22

Rep: Reputation: 15
kc8tbe Could you tell me where I can get a step-by-guide for the SCSI emulation?
 
Old 01-01-2004, 04:57 PM   #11
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
Bohica, the posts to this thread so far should be enough to figure out how to do SCSI emulation on IDE ATAPI CD-R/RW drives. If you would like the process spelled out, try some of these tutorials:
http://www.linuxhelper.org/tutorial/ide-scsi.php
http://www.it-crew.dk/tiki/tiki-slid...age=linuxhowto

Or this thread that deals with SCSI emulation on Mandrake Linux:
http://archives.mandrakelinux.com/ne...1/msg00914.php

Or go to http://www.google.com/linux and search for step-by-step directions there.
 
  


Reply



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
k3b and scsi emulation in kernel 2.6x taek Slackware 10 10-03-2004 09:46 AM
K3B SCSI Emulation LinuxSeeker Mandriva 1 03-16-2004 04:08 PM
Problems with SCSI emulation and k3b atheist Linux - Software 2 03-03-2004 03:01 PM
Cd drives and K3b. Scsi emulation?? ludeKing Linux - Hardware 2 10-15-2003 06:22 AM
K3b says that I need to turn on SCSI emulation? bling bling Linux - Software 10 07-30-2003 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 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
Open Source Consulting | Domain Registration