Re: Problem sysctl.conf und parameter in early bootup
Hallo Pierre,
Pierre Bernhardt <pierre@starcumulus.owl.de> wrote:
> mein Changer bracuht zu lange für den Kernel und daher wirft Er jedes mal diese Meldung:
>
> .
> Synthesizing the initial hotplug events...done.
> Waiting for /dev to be fully populated...[ 213.923954] ch 0:0:0:0: Attached scsi generic sg0 type 8
> [ 291.035558] INFO: task modprobe:555 blocked for more than 120 seconds.
> [ 291.035585] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> done.
> Setting the system clock.
> Unable to set System Clock to: Fri Aug 26 22:58:29 UTC 2011 (warning).
> Activating swap...[ 294.588854] Adding 1048568k swap on /dev/sda2. Priority:-1 extents:1 across:1048568k
>
> Leider bring ein Eintrag in die sysctl.conf nichts, da diese erst
> nach dem mounten der Dateisysteme verwendet wird. Weiss jemand, ob man
> vielleicht eine Kerneloption beim booten mitgeben kann?
Wenn Du eine Initrd benutzt, was für gewöhnlich der Fall ist, dann
kannst Du Dir die Datei /etc/initramfs-tools/scripts/init-top/local
anlegen und noch mal update-initramfs aufrufen.
#v+
#!/bin/sh
case "$1" in
# get pre-requisites
prereqs)
# Print the soft prerequisites here. This is a space separated list of
# names, of scripts that are in the same directory as this one, that
# must be run before this one can be.
exit 0
;;
esac
echo 0 > /proc/sys/kernel/hung_task_timeout_secs
#v-
Schöne Grüße, Jörg.
--
“Hey, dad, you see how this man can twist his fingers? Amazing, isn't
it?” “No, son, not really. He's been using Emacs for ten years…”
Reply to: