forked from mirrors/nixpkgs
* 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, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "virtio_console" ];
|
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" ];
|
||||||
boot.initrd.kernelModules = [ "virtio_balloon" ];
|
boot.kernelModules = [ "virtio_balloon" "virtio_console" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,7 +265,7 @@ in
|
||||||
# http://www.mail-archive.com/fedora-devel-list@redhat.com/msg10261.html
|
# http://www.mail-archive.com/fedora-devel-list@redhat.com/msg10261.html
|
||||||
udevadm control --env=STARTUP=1
|
udevadm control --env=STARTUP=1
|
||||||
udevadm trigger --action=add
|
udevadm trigger --action=add
|
||||||
udevadm settle # wait for udev to finish
|
udevadm settle || true # wait for udev to finish
|
||||||
udevadm control --env=STARTUP=
|
udevadm control --env=STARTUP=
|
||||||
|
|
||||||
initctl emit -n new-devices
|
initctl emit -n new-devices
|
||||||
|
|
|
@ -137,7 +137,7 @@ mkdir -p /dev/.mdadm
|
||||||
udevd --daemon
|
udevd --daemon
|
||||||
udevadm control --env=STARTUP=1
|
udevadm control --env=STARTUP=1
|
||||||
udevadm trigger --action=add
|
udevadm trigger --action=add
|
||||||
udevadm settle
|
udevadm settle || true
|
||||||
udevadm control --env=STARTUP=
|
udevadm control --env=STARTUP=
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ in
|
||||||
" {
|
" {
|
||||||
|
|
||||||
jobs.backdoor =
|
jobs.backdoor =
|
||||||
{ startOn = "startup";
|
{ startOn = "started udev";
|
||||||
stopOn = "";
|
stopOn = "";
|
||||||
|
|
||||||
script =
|
script =
|
||||||
|
|
Loading…
Reference in a new issue