On Mon, Sep 06, 2004 at 10:27:17AM +0200, Joachim F�rster wrote: > Hmmm, naja, also ich hab auch mal in die ide.c geschaut und habe dabei - > wie schon gesagt - festgestellt, dass das ide-core Modul nur einen > einzigen Parameter - n�mlich "options" - aktzeptiert (durch > MODUL_PARM(...) festgelegt).
Argh, danke f�r den Wink mit dem Leuchtturm. "options=" wird verwendet, wenn
es ein Module ist, ansonsten kann man sich das sparen.
> if [ $IDE_CORE != none ] && [ -n "$ide_options" ]; then
> echo modprobe -k $IDE_CORE "options=\"$ide_options\""
> modprobe -k $IDE_CORE options="$ide_options"
> fi
ide.txt meint dazu:
When ide.c is used as a module, you can pass command line parameters to the
driver using the "options=" keyword to insmod, while replacing any ',' with
';'. For example:
insmod ide.o options="ide0=serialize ide1=serialize ide2=0x1e8;0x3ee;11"
Du hast also die Wahl zwischen:
hdx=c;h;s
und (ungetestet)
vi /usr/share/initrd-tools/init
if [ $IDE_CORE != none ] && [ -n "$ide_options" ]; then
fixedide_options=`echo $ide_options | sed 's/,/;/g'`
echo modprobe -k $IDE_CORE "options=\"$fixedide_options\""
modprobe -k $IDE_CORE options="$fixedide_options"
fi
mkinitrd -o <INITRD> <KERNELVERSION>
signature.asc
Description: Digital signature

