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 - 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 09-06-2002, 03:45 PM   #1
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Rep: Reputation: 15
Configuring CD-Writer


Hello everyone,

I've got a little problem trying to install my cd-writer. Yes, I've read the CD-Writing HOWTO @ ldp.org but still....
I'me using RH 7.3, my kernel version is 2.4.18-10 and my cd-writer is a TEAC W516EB.

I've recompiled my kernel with SCSI emulation support, SCSI support, SCSI CD-ROM support and SCSI generic support all enabled.
I've added hdd=ide-scsi in grub.conf.
I've added theses lines into modules.conf:
options ide-cd ignore=hdd
alias scd0 sr_mod
pre-install sg modprobe ide-scsi
pre-install sg_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

The sg and scd files exists in /dev/ but no sign of a scsi folder.

When I try cdrecord -scanbus, it gets me a message saying something like there's no scsi driver available.
And on boot, I get this message:
kmod failed to exec /sbin/modprobe -s -k scsi_hostadapter errno=2

Gott a hint for poor me ?

Last edited by McNider; 09-06-2002 at 03:54 PM.
 
Old 09-06-2002, 03:51 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Did you search here? There is quite a bit of discussion on this issue http://www.linuxquestions.org/questi...der=descending
 
Old 09-06-2002, 04:01 PM   #3
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
I've checked but It seems that whether people really have scsi's in their machines or the command cdrecord -scanbus gives them a result which it doesn't for me probably because of the message I get when I boot.
 
Old 09-06-2002, 04:58 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I have exact the same message and my burner is dead, so I can't really tell if it relates to it, and I am still looking forward to resolving this issue, maybe next week I'll get a new burner (mine was dead for a couple of months already ), and the message doesn't really bothers me, 'cause my SCSI scanner works fine.
 
Old 09-07-2002, 01:07 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
This is an ide burner right? First off I guess, does the kernel even register the scsi emulation chain. You should have something like this:

scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: MT1316 Model: BDV212B Rev: 0.36
Type: CD-ROM ANSI SCSI revision: 02

in the out of the command:

dmesg

Also, what shows up in:

lsmod

Cheers,

Finegan

Last edited by finegan; 09-07-2002 at 01:09 AM.
 
Old 09-08-2002, 10:06 PM   #6
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
can you mount your cd-rw?, because it doesn't matter whether you have the scsi emulation working or not, you can still mount the drive and play cd audios. The only thing that you won't be able to do is burn with a software which strictly supports scsi emulation drives. Today, as a matter of fact I bought the Yamaha CRW3200SZ, which by the way is capable of doing Ultra scsi connection or simple E-IDE connection. Since this computer only has IDE then that's what I'm using. Anyway, I just plugged the driver, and since I used to have the 2.4.18 kernel I decided to recompile the kernel right before I openned my computer and plugged the driver in. So, I recompiled with all the scsi support, blah, blah, blah. Connect the driver, boot up my box and voila!, Linux picked up the driver with no problems, then I logged in. After that I downloaded Xcdroast, and after I installed it I ran it as root and the thing said that I didn't have scsi emulation on, and thus Xcdroast would not see any of my drives. Ok, so I go to the kernel menu config because I thought I remembered choosing all the scsi options. Then I read the Help section while selecting SCSI emulation, and I saw that I'm supposed to insert a kernel parameter at boot time...so I'm like "how the heck do I do that??", considering had never inserted a parameter into the kernel. Anyway, I went into the Xcdroast website, which I will post, www.xcdroast.org, and there is a Manual on making Xcdroast work, so I looked at it, and the instructions pretty much begin a adding two lines, one in lilo.conf and one in modules.conf. So I added them, re ran lilo, booted, and voila!, Xcdroast detected my DVD and my CDRW. Isn't beautiful?, and I burnt for the first time on this computer a 700 meg cd in 2.5 minutes, heheheh, gotta love it.
So, my question, as asked before, can you even mount the drive?
And you might want to download 2.4.19 and install it, it has LOTS of great upgrades starting with USB!, also you have a Redhat compiled kernel...usually those kernels don't like some hardware...so I suggest you upgrade soon.
 
Old 09-09-2002, 10:54 AM   #7
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Hello Finegan,

Yes, it is an IDE drive and I don't have any SCSI adapters in my PC.
On boot, just after the line corresponding to SCSI, this message appears:
kmod failed to exec /sbin/modprobe -s -k scsi_hostadapter errno=2
How could I force recognition for a SCSI emulation ?
Thank you for your time.

McNider
 
Old 09-09-2002, 11:03 AM   #8
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Hello zLinuxz,

Yes, my drive can be mounted correctly. But, it's burning stuff I wan't to do
I find your two suggestions quite interesting;
I'll read the install instructions of xcdroast and I'll download the patch kernel 2.4.19 for RH 7.3, hoping that I will be able to burn afterwards.
Thank you very much.

McNider
 
Old 09-09-2002, 03:29 PM   #9
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
good luck,
 
Old 09-12-2002, 09:00 PM   #10
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Victory !

I can now burn ! I updated my kernel version to 2.4.19 and my burner was recognize by the cdrecord -scanbus command.

Thanks a bunch to everyone that gave me a hint.

McNider
 
Old 09-13-2002, 01:23 AM   #11
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
glad to be of help, , have fun burning away!,
 
Old 09-26-2002, 03:16 PM   #12
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Rep: Reputation: 30
same prob.!

I too have a lack of cd writer under mdk8.2 and 2.4.18-6.

Cdrecord scanbus finds nothing at all, neither does scsi: scsi_hostadapter from dmesg...

It was working before on a previous install same distro!

Is the 2.4.19 really my solution? I'm not very confident about doing a new kernel.
 
Old 09-26-2002, 05:35 PM   #13
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
rooman,

have you change any hardware since ?
Have you try under root ?

I strongly suggest you compile a new kernel to get ride of the 'proprietory functions' that distrobutions includes in their 'modified kernel' (the -number following your kernel version).
I, too, thought that I would lose my GUI access and other configurations but everything went sweet as candy.

***Don't forget to enable all scsi support in your kernel config.
 
Old 09-27-2002, 05:23 AM   #14
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
good to see you're also giving good advice now McNider,
 
Old 09-28-2002, 01:44 AM   #15
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
The number after the kernel in a RedHat, SuSe, or Mandrake kernel is what build number they were working under. For instance, before releasing RedHat 7.3 they had 10 kernel builds they worked with before settling on which one to release with.

Proprietary extensions would mean that they add source to the kernel that makes it different than the one found at www.kernel.org. I am certain that RedHat doesn't do this, and am pretty certain that Mandrake and SuSe don't either (all that Nvidia crap makes me wonder, but I don't run those distros much anymore, and I don't have a Nvidia card anywhere in my house... coincidence for the most part, nothing against Nvidia). Deb and Slack don't; Gentoo sometimes releases under weird patch levels, but nothing that isn't GPL.

If you don't believe me, RPM out the RedHat kernel source for 2.4.18, download a tarball from kernel.org, run a "make mrproper" on both of them, and then "diff" both trees. This will take a while, get a cup of coffee, or five.

What RedHat and Mandy and SuSe and even Deb and Slack sometimes do is choose really stupid, annoying, or infuriating kernel options. Also, almost without a doubt all of their stock kernels are compiled using "make config". Then, when you use their default .config file, its really easy to create dependancy errors when you then reconfigure the same .config with a "make menuconfig" or "make xconfig".

If you take distro release source, run a "make mrproper" first, then their .config file goes away.

This is one of the primary reasons most people get bum compiles with distro source trees.

Cheers,

Finegan

Last edited by finegan; 09-28-2002 at 01:46 AM.
 
  


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
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
HP CD Writer wildcat22 Linux - Hardware 2 09-12-2004 09:57 AM
cd writer only1gameguru Linux - Hardware 16 11-04-2003 04:29 PM
need help with CD writer. qanopus Linux - General 4 12-08-2002 04:46 PM
old hp cd-writer plus spooge Linux - Hardware 2 09-20-2002 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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