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

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



Sorry, didn't had time to investigate further.


Em qua, 11 de jan de 2017 12:56, <msd+xen-users@xxxxxx> escreveu:
Thank you for your reply.

So you don't know why the kernel is blocking in this situation ?

I'm on a Debian Jessie system using only packages from Debian.

Le 11/01/2017 à 15:32, Charles Gonçalves a écrit :
> 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
> <mailto:msd%2Bxen-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 <mailto: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
--
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®.