Unix Technical Forum

cd-drives lost with "ide-scsi" option

This is a discussion on cd-drives lost with "ide-scsi" option within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi everybody, I am playing with the optional 2.6.13 kernel from the Slackware 10.2 distribution. I have a lot ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 12:57 PM
bobby
 
Posts: n/a
Default cd-drives lost with "ide-scsi" option

Hi everybody,

I am playing with the optional 2.6.13 kernel from the Slackware
10.2 distribution. I have a lot of trouble getting the cd-drives
to work properly when I give the boot parameters (in "lilo.conf"
format):

append = "hdc=ide-scsi hdd=ide-scsi"

Without these options, the drive appear as normal ide drives
"/dev/hdc" and "/dev/hdd" and when I call,

cat /proc/sys/dev/cdrom/info

I get the output:

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name: hdd hdc
drive speed: 1 52
drive # of slots: 1 1
Can close tray: 1 1
Can open tray: 1 1
Can lock tray: 1 1
Can change speed: 1 1
Can select disk: 0 0
Can read multisession: 1 1
Can read MCN: 1 1
Reports media changed: 1 1
Can play audio: 1 1
Can write CD-R: 1 0
Can write CD-RW: 1 0
Can read DVD: 1 0
Can write DVD-R: 1 0
Can write DVD-RAM: 0 0
Can read MRW: 1 1
Can write MRW: 1 1
Can write RAM: 1 1

With the ide-scsi options, the list is empty: no drives at all.
It used to give me the same data but with "sr0" and "sr1" as the
drive names.

As far I understand the "scsi-2.4-HOWTO" from the Linux Documentation
Project home page, I should have the "ide-cd" module running. But
I cannot find anything in the boot messages and

modprobe ide-cd

tells me that "ide_cd" could not be found (yes, I ask for this
module with a "-" and it errors with a "_", funny thing).

I am right in deducting that I miss this module? If so, is it
possible to compile and install this single module without redoing
the entire kernel? I can't find an appropriate HOWTO (or I'm too
tangled up in the terminology spagetti as usual).

Thanks for the interest,
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 12:57 PM
Giovanni
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

On 11/22/05 20:27, bobby wrote:
> Hi everybody,
>
> I am playing with the optional 2.6.13 kernel from the Slackware
> 10.2 distribution. I have a lot of trouble getting the cd-drives
> to work properly when I give the boot parameters (in "lilo.conf"
> format):
>
> append = "hdc=ide-scsi hdd=ide-scsi"
>
> Without these options, the drive appear as normal ide drives
> "/dev/hdc" and "/dev/hdd" and when I call,


>
> With the ide-scsi options, the list is empty: no drives at all.
> It used to give me the same data but with "sr0" and "sr1" as the
> drive names.
>
> As far I understand the "scsi-2.4-HOWTO" from the Linux Documentation
> Project home page, I should have the "ide-cd" module running. But
> I cannot find anything in the boot messages and
>
> modprobe ide-cd
>
> tells me that "ide_cd" could not be found (yes, I ask for this
> module with a "-" and it errors with a "_", funny thing).
>
> I am right in deducting that I miss this module? If so, is it
> possible to compile and install this single module without redoing
> the entire kernel? I can't find an appropriate HOWTO (or I'm too
> tangled up in the terminology spagetti as usual).
>
> Thanks for the interest,
> Jan


When using the ide-scsi option the drive will appear as /dev/sr[01] or
/dev/scd[01] and you should see the correct modules loaded with the
lsmod command.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 12:57 PM
bobby
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

>
> When using the ide-scsi option the drive will appear as /dev/sr[01] or
> /dev/scd[01] and you should see the correct modules loaded with the
> lsmod command.
>
> Ciao
> Giovanni


Yep, sure it should. But it is as much of nothing there as it is in the
boot messages. Besides, if "ide-cd" is indeed what I need, it should
appear with modprobe as well, shouldn't it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 12:57 PM
Thomas Overgaard
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

bobby wrote:

> append = "hdc=ide-scsi hdd=ide-scsi"
>
> Without these options, the drive appear as normal ide drives
> "/dev/hdc" and "/dev/hdd" and when I call,


Then leave those options out. When your running the new Linux 2.6.* kernel
you don't need SCSI emulation anymore, you can burn directly to the IDE
devices.

I haven't tested the burner here on my new computer yet but on my laptop i
use this command:
cdrecord -v speed=24 dev=/dev/hdc filename.iso
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 12:57 PM
Loki Harfagr
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

Le Tue, 22 Nov 2005 20:27:02 +0100, bobby a écrit*:

> Hi everybody,
>
> I am playing with the optional 2.6.13 kernel from the Slackware
> 10.2 distribution. I have a lot of trouble getting the cd-drives
> to work properly when I give the boot parameters (in "lilo.conf"
> format):
>
> append = "hdc=ide-scsi hdd=ide-scsi"
>
> Without these options, the drive appear as normal ide drives
> "/dev/hdc" and "/dev/hdd" and when I call,
>
> cat /proc/sys/dev/cdrom/info
>
> I get the output:
>
> CD-ROM information, Id: cdrom.c 3.20 2003/12/17
>
> drive name: hdd hdc
> drive speed: 1 52
> drive # of slots: 1 1
> Can close tray: 1 1
> Can open tray: 1 1
> Can lock tray: 1 1
> Can change speed: 1 1
> Can select disk: 0 0
> Can read multisession: 1 1
> Can read MCN: 1 1
> Reports media changed: 1 1
> Can play audio: 1 1
> Can write CD-R: 1 0
> Can write CD-RW: 1 0
> Can read DVD: 1 0
> Can write DVD-R: 1 0
> Can write DVD-RAM: 0 0
> Can read MRW: 1 1
> Can write MRW: 1 1
> Can write RAM: 1 1
>
> With the ide-scsi options, the list is empty: no drives at all.
> It used to give me the same data but with "sr0" and "sr1" as the
> drive names.
>
> As far I understand the "scsi-2.4-HOWTO" from the Linux Documentation
> Project home page, I should have the "ide-cd" module running. But
> I cannot find anything in the boot messages and
>
> modprobe ide-cd
>
> tells me that "ide_cd" could not be found (yes, I ask for this
> module with a "-" and it errors with a "_", funny thing).
>
> I am right in deducting that I miss this module? If so, is it
> possible to compile and install this single module without redoing
> the entire kernel? I can't find an appropriate HOWTO (or I'm too
> tangled up in the terminology spagetti as usual).



The ide-scsi evolved to a direct thru ATA: scsi control.

See in file ...2.6.xxsource/Documentation/ide.txt

"hdx=scsi" : the return of the ide-scsi flag, this is useful for
allowing ide-floppy, ide-tape, and ide-cdrom|writers
to use ide-scsi emulation on a device specific option.

So you'd like to test with :
append = "hdc=scsi hdd=scsi"

in your lilo.conf.

Or simply you'd pre-test it just by passing

... hdc=scsi hdd=scsi

on the boot prompt.

Also you may check your messages :

# egrep -i 'ide|cd-?rom|scsi|[^d]ata|/dev/[hs]c?d[abcd]|hdc' /var/adm/messages | grep '^Nov 22 '

Or if already rotated :
# zegrep -i 'ide|cd-?rom|scsi|[^d]ata|/dev/[hs]c?d[abcd]|hdc' /var/adm/messages.1.gz | grep '^Nov 22 '

PS: this is posted in a mid rush, so it may look a bit quick, it is,
though looking at what you checked I reckon it'd suffice ;-)

Post again in case of sheer mesmerization or deep trouble,
don't fear the namespace korrectors )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 12:57 PM
Eef Hartman
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

bobby <noone@nowhere.dk> wrote:
> Yep, sure it should. But it is as much of nothing there as it is in the
> boot messages. Besides, if "ide-cd" is indeed what I need, it should
> appear with modprobe as well, shouldn't it.


ide-cd is probably built-INTO your kernel, not a separate module.
Look into the config file of your kernel for CONFIG_BLK_DEV_IDECD
(if it says =y the driver is built-in, for the module there should be
=m in that line). And of course, when it says "is not set" you don't
have any ide-cd support at all (and will have to rebuild your kernel).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 12:57 PM
bobby
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

Thomas Overgaard wrote:
> bobby wrote:
>
>
>> append = "hdc=ide-scsi hdd=ide-scsi"
>>
>>Without these options, the drive appear as normal ide drives
>>"/dev/hdc" and "/dev/hdd" and when I call,

>
>
> Then leave those options out. When your running the new Linux 2.6.* kernel
> you don't need SCSI emulation anymore, you can burn directly to the IDE
> devices.
>
> I haven't tested the burner here on my new computer yet but on my laptop i
> use this command:
> cdrecord -v speed=24 dev=/dev/hdc filename.iso


Jeg ha ikke proevet skriver i nu, men CD spiler virker ikke uden options.
Tak,
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 12:57 PM
bobby
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

Eef Hartman wrote:
> bobby <noone@nowhere.dk> wrote:
>
>>Yep, sure it should. But it is as much of nothing there as it is in the
>>boot messages. Besides, if "ide-cd" is indeed what I need, it should
>>appear with modprobe as well, shouldn't it.

>
>
> ide-cd is probably built-INTO your kernel, not a separate module.
> Look into the config file of your kernel for CONFIG_BLK_DEV_IDECD
> (if it says =y the driver is built-in, for the module there should be
> =m in that line). And of course, when it says "is not set" you don't
> have any ide-cd support at all (and will have to rebuild your kernel).



Beste Eef,

You're right of course, it's in the kernel.

Hartelijk bedankt,
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 12:57 PM
bobby
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

Dear Loki Harfagr,

The "scsi" option gets my cd audio player working
again, which it would before. So that is at least
a small success. I haven't tried burning yet because
all I get from cdrecord is:

Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.13
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.

So we run from one problem into the next. I guess
that I'll have to check up on new versions of this
program.

Merci,
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 12:57 PM
reclusive monkey
 
Posts: n/a
Default Re: cd-drives lost with "ide-scsi" option

bobby wrote:
> I haven't tried burning yet because
> all I get from cdrecord is:
>
> Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
> cdrecord: Warning: Running on Linux-2.6.13
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
>
> So we run from one problem into the next.


I get this message with "cdrecord -version". I am using Slackware 10.2
with the slackware 2.6.13 kernel. Burned several live CDs the other
week (via GnomeBaker which uses cdreord), no problems at all. I do not
have an "append" for my burner in lilo.conf.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com