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

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



I had this problem when I've installed xen from sources and tried to install the xen-tools from debian repos.
The package manager has overwritten some xen configuration files and this error started to happen.

After some time spent with no success in fixing it I've rebuild the system! 

On Wed, Jan 11, 2017 at 8:47 AM <msd+xen-users@xxxxxx> wrote:
Hello,

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 ?


Regards,


Msd

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users
--
Charles F.'. Gonçalves
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

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