* 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:
parent
dde8453a09
commit
ebc6d7f435
@ -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" ];
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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=
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ in
|
||||
" {
|
||||
|
||||
jobs.backdoor =
|
||||
{ startOn = "startup";
|
||||
{ startOn = "started udev";
|
||||
stopOn = "";
|
||||
|
||||
script =
|
||||
|
Loading…
Reference in New Issue
Block a user