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

Bug#851443: linux-image-4.9.0-1-amd64: Regression from 4.8 under X: USB input devices no more work, degraded resolution, "open /dev/dri/card0: No such file or directory" in Xorg.0.log [Intel Skylake, HD Graphics 530]



Just built Reiser4-patched jessie-backport -- modified for GCC-4.9:

uname -v
#1 SMP Debian 4.9.2-2.1 (2017-01-14)

uname -a
Linux tzitzimecitlalli 4.9.0-1+reiser4.0.1-amd64 #1 SMP Debian
4.9.2-2.1 (2017-01-14) x86_64 GNU/Linux

On Sat, Jan 14, 2017 at 4:32 PM, Axel Beckert <abe@debian.org> wrote:
> Package: src:linux
> Version: 4.9.2-2
> Severity: important
>
> Dear Debian Linux Kernel Maintainers,
>
> booting linux-image-4.9.0-1-amd64/4.9.2-2 instead of
> linux-image-4.8.0-2-amd64/4.8.15-2 (or
> linux-image-4.8.0-2-grsec-amd64/4.8.15-2+grsec201701031913+1) shows a
> severe regression on my system wrt. to X.org:
>
> With 4.8.15-2, all three screens, USB mouse and USB keyboard work fine
> under X and the screens have the expected resolutions.
>
> With 4.9.2-2, several things failed:
>
> * X is only shown on two of three screens and both show the same
>   contents instead of different content.
>
> * Resolution is only (1x) 1024x768 instead of the expected 1920x1080 +
>   1280x720 (+ 2048x1152)

In this laptop, the resolution 1366x768 was not affected with kernel
of reference.
< https://pbs.twimg.com/media/C2MMUKUUoAAicJJ.jpg:large >
>
> * As soon as X starts, neither USB keyboard nor mouse are working
>   anymore under X. Pressing Ctrl-Alt-F1 to get to a text console has no
>   effect. (I do get a text console if I login remotely via SSH as root
>   and call "chvt 1". On the text console the USB keyboard is working
>   again.)

I am using a USB mouse and it, too, was not affected by the kernel of reference.
sudo dmesg | grep -i usb
[    1.596782] ACPI: bus type USB registered
[    1.596813] usbcore: registered new interface driver usbfs
[    1.596828] usbcore: registered new interface driver hub
[    1.596856] usbcore: registered new device driver usb
[    1.597335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.597710] ehci-pci 0000:00:1a.0: new USB bus registered, assigned
bus number 1
[    1.616344] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    1.616600] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.616602] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.616604] usb usb1: Product: EHCI Host Controller
[    1.616605] usb usb1: Manufacturer: Linux 4.9.0-1+reiser4.0.1-amd64 ehci_hcd
[    1.616606] usb usb1: SerialNumber: 0000:00:1a.0
[    1.617057] hub 1-0:1.0: USB hub found
[    1.617430] xhci_hcd 0000:13:00.0: new USB bus registered, assigned
bus number 2
[    1.618385] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.618388] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.618389] usb usb2: Product: xHCI Host Controller
[    1.618391] usb usb2: Manufacturer: Linux 4.9.0-1+reiser4.0.1-amd64 xhci-hcd
[    1.618393] usb usb2: SerialNumber: 0000:13:00.0
[    1.618565] hub 2-0:1.0: USB hub found
[    1.618977] xhci_hcd 0000:13:00.0: new USB bus registered, assigned
bus number 3
[    1.621193] usb usb3: We don't know the algorithms for LPM for this
host, disabling LPM.
[    1.621610] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.621612] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.621614] usb usb3: Product: xHCI Host Controller
[    1.621615] usb usb3: Manufacturer: Linux 4.9.0-1+reiser4.0.1-amd64 xhci-hcd
[    1.621617] usb usb3: SerialNumber: 0000:13:00.0
[    1.621808] hub 3-0:1.0: USB hub found
[    1.621993] ehci-pci 0000:00:1d.0: new USB bus registered, assigned
bus number 4
[    1.640357] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    1.640752] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.640754] usb usb4: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.640755] usb usb4: Product: EHCI Host Controller
[    1.640756] usb usb4: Manufacturer: Linux 4.9.0-1+reiser4.0.1-amd64 ehci_hcd
[    1.640756] usb usb4: SerialNumber: 0000:00:1d.0
[    1.641001] hub 4-0:1.0: USB hub found
[    1.944426] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.968409] usb 4-1: new high-speed USB device number 2 using ehci-pci
[    2.093181] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    2.093187] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.093804] hub 1-1:1.0: USB hub found
[    2.117199] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
[    2.117205] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.117869] hub 4-1:1.0: USB hub found
[    2.404401] usb 4-1.1: new full-speed USB device number 3 using ehci-pci
[    2.514549] usb 4-1.1: New USB device found, idVendor=062a, idProduct=4101
[    2.514552] usb 4-1.1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[    2.514555] usb 4-1.1: Product: 2.4G Keyboard Mouse
[    2.514556] usb 4-1.1: Manufacturer: MOSART Semi.
[    2.522039] usbcore: registered new interface driver usbhid
[    2.522040] usbhid: USB HID core driver
[    2.522885] input: MOSART Semi. 2.4G Keyboard Mouse as
/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/0003:062A:4101.0001/input/input3
[    2.580851] hid-generic 0003:062A:4101.0001: input,hidraw0: USB HID
v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on
usb-0000:00:1d.0-1.1/input0
[    2.581492] input: MOSART Semi. 2.4G Keyboard Mouse as
/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.1/0003:062A:4101.0002/input/input4
[    2.592376] usb 4-1.5: new full-speed USB device number 4 using ehci-pci
[    2.640758] hid-generic 0003:062A:4101.0002: input,hiddev0,hidraw1:
USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on
usb-0000:00:1d.0-1.1/input1
[    2.705127] usb 4-1.5: New USB device found, idVendor=8086, idProduct=0189
[    2.705133] usb 4-1.5: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[   15.460561] usbcore: registered new interface driver btusb

>
> The most relevant difference from the two Xorg.0.log files seems to be:
>
> 4.8: (II) xfree86: Adding drm device (/dev/dri/card0)
> 4.8: xf86EnableIOPorts: failed to set IOPL for I/O (No such device)
> 4.8: (II) modeset(0): using drv /dev/dri/card0
> 4.8: (WW) Falling back to old probe method for fbdev
>
> 4.9: (EE) open /dev/dri/card0: No such file or directory
> 4.9: (WW) Falling back to old probe method for modesetting
> 4.9: (EE) open /dev/dri/card0: No such file or directory
>
> >From then on things seemed to go downhill…
>
> Attached is the full diff between the two files (again, with timing
> information being stripped), generated using "diff -u <(perl -pE
> 's/^\[[^]]*\] *//' < /var/log/Xorg.0.log-4.8) <(perl -pE 's/^\[[^]]*\]
> *//' < /var/log/Xorg.0.log-4.9)", i.e. "-" means "4.8" and "+" means
> "4.9".
>
>
>
> Also attached is the full current Xorg.0.log as happened with 4.9.
>
>
>
>
> -- Package-specific info:
>
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
>
> Versions of packages linux-image-4.9.0-1-amd64 depends on:
> ii  initramfs-tools [linux-initramfs-tool]  0.126
> ii  kmod                                    23-2
> ii  linux-base                              4.5
>
> Versions of packages linux-image-4.9.0-1-amd64 recommends:
> ii  firmware-linux-free  3.4
> ii  irqbalance           1.1.0-2.2
>
> Versions of packages linux-image-4.9.0-1-amd64 suggests:
> pn  debian-kernel-handbook  <none>
> ii  grub-efi-amd64          2.02~beta3-3
> pn  linux-doc-4.9           <none>
>
> Versions of packages linux-image-4.9.0-1-amd64 is related to:
> pn  firmware-amd-graphics     <none>
> pn  firmware-atheros          <none>
> pn  firmware-bnx2             <none>
> pn  firmware-bnx2x            <none>
> pn  firmware-brcm80211        <none>
> pn  firmware-cavium           <none>
> pn  firmware-intel-sound      <none>
> pn  firmware-intelwimax       <none>
> pn  firmware-ipw2x00          <none>
> pn  firmware-ivtv             <none>
> pn  firmware-iwlwifi          <none>
> pn  firmware-libertas         <none>
> pn  firmware-linux-nonfree    <none>
> ii  firmware-misc-nonfree     20161130-2
> pn  firmware-myricom          <none>
> pn  firmware-netxen           <none>
> pn  firmware-qlogic           <none>
> pn  firmware-realtek          <none>
> pn  firmware-samsung          <none>
> pn  firmware-siano            <none>
> pn  firmware-ti-connectivity  <none>
> pn  xen-hypervisor            <none>
>
> -- no debconf information
>

Best Professional Regards.


-- 
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Download Debian-Reiser4 for AMD64 https://sf.net/projects/debian-reiser4/
---------------------------------------------------------------------------------------------
Try at no charge http://b2evolution.net for http://OpenShift.com PaaS
---------------------------------------------------------------------------------------------
from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!
---------------------------------------------------------------------------------------------


Reply to: