devfs
[Top] [All Lists]

Re: FW: [Cooker] devfs & my cd-rw ide device

To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Subject: Re: FW: [Cooker] devfs & my cd-rw ide device
From: Thierry Vignaud <tvignaud@xxxxxxxxxxxxxxxx>
Date: Tue, 05 Feb 2002 15:09:06 +0100
Cc: "'devfs mailing list'" <devfs@xxxxxxxxxxx>, "'Pixel'" <pixel@xxxxxxxxxxxxxxxx>
In-reply-to: <004c01c1ae4c$142a7980$21c9ca95@mow.siemens.ru> (Borsenkow Andrej's message of "Tue, 5 Feb 2002 16:50:32 +0300")
Organization: MandrakeSoft
References: <004c01c1ae4c$142a7980$21c9ca95@mow.siemens.ru>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (i386-mandrake-linux-gnu)
Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx> writes:

> > > You can have both /dev/scd0 and /dev/hdd if you are using
> > > hdd=scsi.  If you are using hdd=ide-scsi you do not have
> > > /dev/hdd anymore (because it effectively means to use ide-scsi
> > > driver so IDE layer does not see this drive at all).
> > 
> > you can have if you compile both ide-cdrom.o and ide-scsi.o in
> > core kernel, not as modules
> > 
>
> Sure. It does not help in this situation in any way. Mandrake has
> ide-scsi as module. Are you going to change it?

of course not but one can recompile the kernel from the kernel-source
package. it's a solution

> > > Pixel, should we default to hdX=scsi for SCSI emulation? Else it
> > > is really bad for those who need hdparm-tune there bad burners.
> > 
> > you can always use hdX=autotune,dma,...
>
> dma? I can do ideX=dma but not hdXX=dma ...

sure you can (it works since at least kernel-2.0.2x times) for both
ideX= and hdY=
only ...=dma is restricted to ideX=

> besides, it is exactly what I want to turn off :-)

providing, there's nothing else on the eide cable, you can try
ideX=noautotune (but i'm not sure it'll use pio instead of dma). just
try.

> > you may not do weird things such as -u -X ... options of hdparm
> > but you can do a lot of things
>
> Unfortunately kernel parameters are poorly documented for normal users
> that Mandrake is targeted at.

providing one has installed kernel-doc package, he can look at
Documentation/ide.txt as /usr/share/doc/kernel-source-2.4.XX/ide.txt

> I already have an idea about using direct echo -n setting:val >
> /proc/bus/hdXX/settings in our rc.sysinit using definitions from
> /etc/sysconfig/harddisks if we detect ide-scsi'd drive on devfs (for
> those settings that appear there). It looks pretty trivial, I
> probably send patch to Chmouel later this week.

ok.


<Prev in Thread] Current Thread [Next in Thread>