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>
Attachment:
signature.asc
Description: Digital signature