devfs
[Top] [All Lists]

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

To: "'Thierry Vignaud'" <tvignaud@xxxxxxxxxxxxxxxx>
Subject: RE: FW: [Cooker] devfs & my cd-rw ide device
From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Date: Tue, 5 Feb 2002 16:50:32 +0300
Cc: "'devfs mailing list'" <devfs@xxxxxxxxxxx>, "'Pixel'" <pixel@xxxxxxxxxxxxxxxx>
Importance: Normal
In-reply-to: <m2d6zkf3vx.fsf@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
> 
> 
> 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?

> > 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 ... besides, it is exactly what
I want to turn off :-)

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

-andrej


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