--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: latencytop: fails with error "no protocol specified"
- From: Martin Steigerwald <ms@teamix.de>
- Date: Tue, 26 Jun 2012 12:27:43 +0200
- Message-id: <20120626102743.21722.96449.reportbug@mango.of.teamix.net>
Package: latencytop
Version: 0.5
Severity: important
Dear Maintainer,
mango:~# latencytop
mount: none already mounted or /sys/kernel/debug/ busy
mount: according to mtab, debugfs is already mounted on /sys/kernel/debug
No protocol specified
Its already mounted, but that should not matter:
mango:~# mount | grep debug
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
When unmounting it I get:
mango:~# umount /sys/kernel/debug
mango:~# latencytop
No protocol specified
Then after another try:
mango:~# latencytop
mount: none already mounted or /sys/kernel/debug/ busy
mount: according to mtab, none is already mounted on /sys/kernel/debug
No protocol specified
Maybe it doesn´t work cause current Debian kernels do not have latencytop
support enabled:
mango:~# grep LATENCY /boot/config-*
/boot/config-3.2.0-2-amd64:CONFIG_HAVE_LATENCYTOP_SUPPORT=y
/boot/config-3.2.0-2-amd64:# CONFIG_LATENCYTOP is not set
/boot/config-3.3.0-trunk-amd64:CONFIG_HAVE_LATENCYTOP_SUPPORT=y
/boot/config-3.3.0-trunk-amd64:# CONFIG_LATENCYTOP is not set
/boot/config-3.4-trunk-amd64:CONFIG_HAVE_LATENCYTOP_SUPPORT=y
/boot/config-3.4-trunk-amd64:# CONFIG_LATENCYTOP is not set
(Using 3.4 here.)
Okay, verified. These are two bugs.
latencytop tries to connect X server by default. When I try from a sux
session I indeed get:
ms@mango:~> sux
Passwort:
xauth: file /root/.Xauthority does not exist
bash: Kann die Prozessgruppe des Terminals nicht setzen (-1).: Unpassender IOCTL (I/O-Control) für das Gerät
bash: Keine Job Steuerung in dieser Shell.
mango:/home/ms# latencytop
mount: none already mounted or /sys/kernel/debug/ busy
mount: according to mtab, none is already mounted on /sys/kernel/debug
Please enable the CONFIG_LATENCYTOP configuration in your kernel.
Exiting...
So I let this bug be about the X.org support and how to enable ncurses
and create another one for the missing support for it in the kernel. I
will cross-reference them.
Bug #628883 is related, but it refers to improving the manpage. This one
is about getting latencytop to run out of the box again.
Thanks,
Martin
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.4-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages latencytop depends on:
ii libc6 2.13-33
ii libglib2.0-0 2.32.3-1
ii libgtk2.0-0 2.24.10-1
ii libncursesw5 5.9-9
latencytop recommends no packages.
latencytop suggests no packages.
-- no debconf information
--- End Message ---