[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device



Wei Liu writes ("[OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume 
device"):
> See code comment for explanation.
...
> +    # There might be stale entries in /etc/initramfs-tools/conf.d/resume
> +    # which get stored in the initramfs. That introduces delay in guest 
> booting
> +    # which might cause tests to fail.

Why might there be such stale entries ?

> +    # This is particularly prominent in systemd enabled releases when it 
> tries
> +    # to scan for the inexistent device(s) for a long time.

Why is this not a bug in systemd ?  If there are workarounds in
osstest for Debian, I usually want a bug in the BTS, and a suite limit
on the workaround so that we poke Debian again in 2 years time...

> +    # Override that in kernel command line with the correct swap partition.
> +    $cfg =~ m/'phy:.+-swap,(xvda\d+),.*'/;
> +    $extra .= " resume=/dev/$1";
> +    logm("change resume device to $1");

Alternatively, if indeed this is necessary and not due to bugs,
perhaps it should be done by xen-tools ?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.