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

[Xen-users] The command "cat /proc/bus/input/devices" is blocking


I have a problem on some of my xen servers.

Quickly : the command "cat /proc/bus/input/devices" is blocking. Nothing is never returned.

Details :

I try to install a new xen vm with xen-tools.
When it configure the new vm, the script "/var/lib/dpkg/info/keyboard-configuration.postinst" tries to read "/proc/bus/input/devices" and blocks.
So the vm is never created and the script freezes.
After a reboot of the server, the command works again.
Here is an extract of strace that show the kernel blocks on the read call.

> # strace cat /proc/bus/input/devices
> [...]
> open("/proc/bus/input/devices", O_RDONLY) = 3
> fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0
> mmap(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feca3567000
> read(3,

> # uname -a
> Linux xen 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

Do you know what can happens ?



Xen-users mailing list



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