* Attempt to fix the random "udevadm settle - timeout of 120 seconds

reached, the event queue contains: /sys/devices/virtual/tty/hvc1" VM
  failures.

svn path=/nixos/trunk/; revision=33259
This commit is contained in:
Eelco Dolstra 2012-03-19 15:10:39 +00:00
parent dde8453a09
commit ebc6d7f435
4 changed files with 5 additions and 5 deletions

View File

@ -4,6 +4,6 @@
{ config, pkgs, ... }:
{
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "virtio_console" ];
boot.initrd.kernelModules = [ "virtio_balloon" ];
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" ];
boot.kernelModules = [ "virtio_balloon" "virtio_console" ];
}

View File

@ -265,7 +265,7 @@ in
# http://www.mail-archive.com/fedora-devel-list@redhat.com/msg10261.html
udevadm control --env=STARTUP=1
udevadm trigger --action=add
udevadm settle # wait for udev to finish
udevadm settle || true # wait for udev to finish
udevadm control --env=STARTUP=
initctl emit -n new-devices

View File

@ -137,7 +137,7 @@ mkdir -p /dev/.mdadm
udevd --daemon
udevadm control --env=STARTUP=1
udevadm trigger --action=add
udevadm settle
udevadm settle || true
udevadm control --env=STARTUP=

View File

@ -28,7 +28,7 @@ in
" {
jobs.backdoor =
{ startOn = "startup";
{ startOn = "started udev";
stopOn = "";
script =