Bug#1008104: sid: No xserver-xorg-input-{evdev,libinput} after upgrade

2022-03-22 Thread Harald Welte
Package: xserver-xorg-input-evdev
Version: 1:2.10.6-2+b1
Severity: important

I'm running debian unstable for 15+ years and usually perform an apt upgrade
manually about once per week.  Yesterday I upgraded again, and suddenly after
the upgrade, xserver-xorg-input-{evdev,libinput} were no longer present, meaning
that I could not even enter my username in the display manager (wdm) after 
system reboot.

No input was possible from either the built-in laptop/touchpad of my Lenovo 
x260 keyboard/trackpad,
nor from externally-attached mouse + keyboard.

Luckily I'm technically skilled enough to boot into rescue mode, look at 
Xorg.0.log,
see that no drivers were found for any of the input devices and then apt install
the evdev + libinput packages.

However, for most other users this would render their systems unusable, hence 
I'm marking
the bug as 'important'.

So somehow during the continuous unstable upgrades (which I'm doing for 
something like 4 years
on this laptop) decided that neither evdev nor libinput is a package to keep 
through the most
recent dist-upgrade + autoremove I ran yesterday.  Maybe a missing 
depends/recommends somewhere?


-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Sep 27  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Feb 12 11:32 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD 
Graphics 520] [8086:1916] (rev 07)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 1155 Oct 18  2009 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerFlags"
Option  "AllowEmptyInput"   "off"
EndSection

#Section "InputDevice"
#   Identifier  "Generic Keyboard"
#   Driver  "kbd"
#   Option  "XkbRules"  "xorg"
#   Option  "XkbModel"  "pc104"
#   Option  "XkbLayout" "us"
#EndSection

#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver  "mouse"
#EndSection

Section "Device"
Identifier  "Configured Video Device"
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Contents of /etc/X11/xorg.conf.d:
-
total 0

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 5.16.0-5-amd64 (debian-ker...@lists.debian.org) (gcc-11 (Debian 
11.2.0-18) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT Debian 
5.16.14-1 (2022-03-15)

Xorg X server log files on system:
--
-rw-r--r-- 1 laforge laforge  843197 Aug 25  2020 
/space/home/laforge/.local/share/xorg/Xorg.1.log
-rw-r--r-- 1 laforge laforge 1492643 Mar 22 10:23 
/space/home/laforge/.local/share/xorg/Xorg.0.log
-rw-r--r-- 1 rootroot  75700 Mar 22 15:39 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[   715.654] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[   715.654] Current Operating System: Linux nataraja 5.16.0-5-amd64 #1 SMP 
PREEMPT Debian 5.16.14-1 (2022-03-15) x86_64
[   715.654] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.16.0-5-amd64 
root=/dev/mapper/nataraja_x260-root ro swapaccount=1
[   715.654] xorg-server 2:21.1.3-2+b1 (https://www.debian.org/support) 
[   715.654] Current version of pixman: 0.40.0
[   715.654]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   715.654] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   715.654] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 22 11:09:20 
2022
[   715.654] (==) Using config file: "/etc/X11/xorg.conf"
[   715.654] (==) Using 

Bug#1001390: xterm / uxterm / lxterm suddenly missing from alternatives

2021-12-09 Thread Harald Welte
Hi Sven,

On Thu, Dec 09, 2021 at 07:28:22PM +0100, Sven Joachim wrote:
> There is a postinst script in dpkg which moves the misplaced files from
> /var/lib/dpkg to /var/lib/dpkg/alternatives, but if more than one
> package sets up an alternative, that is apparently not enough.

I didn't have any 'suspicious' files there.

> My recommendation would be to reinstall affected packages like xterm,
> and configure the alternatives again.  

reinstalling xterm solved the problem.

> Sometimes Debian unstable lives by its name, although fortunately not
> too often.

I'm running unstable on my daily desktop + laptop for about 20 years now,
surprisingly few problems, I would say not more than 1-2 per year typically.

This bug can be closed.

-- 
- Harald Weltehttp://laforge.gnumonks.org/

"Privacy in residential applications is a desirable marketing option."
  (ETSI EN 300 175-7 Ch. A6)



Bug#1001390: xterm / uxterm / lxterm suddenly missing from alternatives

2021-12-09 Thread Harald Welte
On Thu, Dec 09, 2021 at 05:36:03PM +0100, Sven Joachim wrote:

> Probably you have hit bug #1001198 in dpkg 1.21.0, which corrupts the
> alternatives database.

ugh :(  That may very well be.

> Did you upgrade dpkg to version 1.21.1 yet?  If not, please do so and
> report back.

yes, I do have dpkg version 1.21.1 installed [by now].  Should that have
automagically fixed the corrupted database?  I couldn't immediately see
from #1001198 whether any recovery action is required on affected systems.

-- 
- Harald Weltehttp://laforge.gnumonks.org/

"Privacy in residential applications is a desirable marketing option."
  (ETSI EN 300 175-7 Ch. A6)



Bug#1001390: xterm / uxterm / lxterm suddenly missing from alternatives

2021-12-09 Thread Harald Welte
Package: xterm
Version: 370-1
Severity: normal

After upgrading xterm to the most recent package in xterm,
suddenly the x-terminal-emulator alternative was pointing
to gnome-terminal instead of uxterm (before the upgrade).

Even worse, xterm and uxterm are apparently no longer even
registered with the alternatives mechanism.

I checked the debian changelog, and it didn't state any
related change.

So I conclude this is a bug and xterm / uxterm / lxterm
should of course still show up in the alternatives, as it
has always been.

/var/lib/dpkg/alternatives/x-terminal-emulator on unstable:

---
/usr/bin/x-terminal-emulator
x-terminal-emulator.1.gz
/usr/share/man/man1/x-terminal-emulator.1.gz

/usr/bin/gnome-terminal.wrapper
40
/usr/share/man/man1/gnome-terminal.1.gz
---



/var/lib/dpkg/alternatives/x-terminal-emulator on Debian 10:

---
/usr/bin/x-terminal-emulator
x-terminal-emulator.1.gz
/usr/share/man/man1/x-terminal-emulator.1.gz

/usr/bin/koi8rxterm
20
/usr/share/man/man1/koi8rxterm.1.gz
/usr/bin/lxterm
30
/usr/share/man/man1/lxterm.1.gz
/usr/bin/uxterm
20
/usr/share/man/man1/uxterm.1.gz
/usr/bin/xterm
20
/usr/share/man/man1/xterm.1.gz
---



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xterm depends on:
ii  libc6   2.32-5
ii  libfontconfig1  2.13.1-4.2
ii  libfreetype62.11.0+dfsg-1
ii  libice6 2:1.0.10-1
ii  libtinfo6   6.3-1
ii  libutempter01.2.1-2
ii  libx11-62:1.7.2-2+b1
ii  libxaw7 2:1.0.13-1.1
ii  libxext62:1.3.4-1
ii  libxft2 2.3.2-2
ii  libxinerama12:1.1.4-2
ii  libxmu6 2:1.1.2-2+b3
ii  libxpm4 1:3.5.12-1
ii  libxt6  1:1.2.0-1
ii  xbitmaps1.1.1-2.1

Versions of packages xterm recommends:
ii  x11-utils  7.7+5

Versions of packages xterm suggests:
pn  xfonts-cyrillic  

-- no debconf information



Bug#318948: xserver-xorg: radeon driver is missing X700 support

2005-07-18 Thread Harald Welte
Package: xserver-xorg
Version: 6.8.2.dfsg.1-2
Severity: normal
Tags: patch


The debian X.org package doesn't include suport for the (now common in
new notebooks) X700 chipset, as the 6.8.2 upstream release is also
lacking support.

However, X.org CVS has a very trivial patch (basically just adding PCI
device id's), which I would love to see in debian unstable.

The patch can be found at
https://bugs.freedesktop.org/attachment.cgi?id=2231

Also see https://bugs.freedesktop.org/show_bug.cgi?id=2827

-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86
xserver-xorg

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx  1 root root 17 Jun  1 22:31 /etc/X11/X - /usr/bin/X11/Xorg
-rwxr-xr-x  1 root root 2113232 Jul 13 18:51 /usr/bin/X11/Xorg

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:
:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility 
X700 (PCIE)

/etc/X11/XF86Config-4 does not match checksum in 
/var/lib/xfree86/XF86Config-4.md5sum.

Xorg X server configuration file status:
-rw-r--r--  1 root root 3165 Jul 18 11:49 /etc/X11/XF86Config-4

Contents of /etc/X11/XF86Config-4:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
EndSection

Section Module
LoadGLcore
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadspeedo
Loadtype1
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection
Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEventstrue
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection

Section Device
Identifier  Generic Video Card
Driver  ati
ChipID  0x5653
EndSection

Section Monitor
Identifier  Generic Monitor
HorizSync   28-50
VertRefresh 43-75
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Generic Video Card
Monitor Generic Monitor
DefaultDepth24
SubSection Display
Depth   1
Modes   800x600 640x480
EndSubSection
SubSection Display
Depth   4
Modes   800x600 640x480
EndSubSection
SubSection Display
Depth   8
Modes   800x600 640x480
EndSubSection
SubSection Display
Depth   15
Modes   800x600 640x480
EndSubSection
SubSection Display
Depth   16