Bug#897589: linux-image-4.17.0-rc3-amd64-unsigned: uvcvideo doesn't work, spams boot console

2018-05-03 Thread Reinhard Karcher
Package: src:linux
Version: 4.17~rc3-1~exp1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
Booting linux-image-4.17.0-rc3-amd64-unsigned

   * What was the outcome of this action?
Here are the lines from boot log relevant for UVC video :

Mai 03 09:02:39 apollon kernel: uvcvideo: Found UVC 1.00 device FJ Camera
(04f2:b302)
Mai 03 09:02:39 apollon kernel: uvcvideo 1-1.1:1.0: Entity type for entity
Extension 3 was not initialized!
Mai 03 09:02:39 apollon kernel: uvcvideo 1-1.1:1.0: Entity type for entity
Processing 2 was not initialized!
Mai 03 09:02:39 apollon kernel: uvcvideo 1-1.1:1.0: Entity type for entity
Camera 1 was not initialized!
Mai 03 09:02:39 apollon kernel: input: FJ Camera: FJ Camera as
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input19
Mai 03 09:02:39 apollon kernel: usbcore: registered new interface driver
uvcvideo
Mai 03 09:02:39 apollon kernel: USB Video Class driver (1.1.1)
Mai 03 09:02:40 apollon systemd-udevd[454]: link_config: autonegotiation is
unset or enabled, the speed and duplex are not writable.
Mai 03 09:02:40 apollon systemd-udevd[434]: Process '/sbin/crda' failed with
exit code 249.
Mai 03 09:02:40 apollon systemd-udevd[434]: Process '/sbin/crda' failed with
exit code 249.
Mai 03 09:02:40 apollon systemd[1]: Found device TOSHIBA_MK7575GSX swap.
Mai 03 09:02:40 apollon systemd[1]: Activating swap /dev/disk/by-label/swap...
Mai 03 09:02:41 apollon systemd[1]: Found device TOSHIBA_MK7575GSX kvm.
Mai 03 09:02:41 apollon systemd[1]: Starting File System Check on /dev/disk/by-
label/kvm...
Mai 03 09:02:41 apollon systemd[1]: Found device TOSHIBA_MK7575GSX Amisgen.
Mai 03 09:02:41 apollon systemd[1]: Starting File System Check on /dev/disk/by-
label/Amisgen...
Mai 03 09:02:41 apollon kernel: Adding 16382972k swap on /dev/sda7.
Priority:-2 extents:1 across:16382972k FS
Mai 03 09:02:41 apollon systemd[1]: Activated swap /dev/disk/by-label/swap.
Mai 03 09:02:41 apollon systemd[1]: Reached target Swap.
Mai 03 09:02:41 apollon systemd[1]: Started File System Check Daemon to report
status.
Mai 03 09:02:42 apollon systemd-fsck[588]: kvm: sauber, 2415/14606336 Dateien,
48810240/58418944 Blöcke
Mai 03 09:02:42 apollon systemd[1]: Started File System Check on /dev/disk/by-
label/kvm.
Mai 03 09:02:42 apollon systemd[1]: Mounting /opt...
Mai 03 09:02:42 apollon systemd-fsck[589]: Amisgen: sauber, 7817/466032
Dateien, 1303177/1842432 Blöcke
Mai 03 09:02:42 apollon systemd[1]: Started File System Check on /dev/disk/by-
label/Amisgen.
Mai 03 09:02:42 apollon systemd[1]:Mai 03 09:18:24 apollon kernel: uvcvideo:
Failed to query (GET_MIN) UVC control 11 on unit 2: -32 (exp. 1).
Mai 03 09:18:24 apollon kernel: uvcvideo: Failed to query (GET_MIN) UVC control
11 on unit 2: -32 (exp. 1).
Mai 03 09:18:24 apollon kernel: uvcvideo: Failed to query (GET_MIN) UVC control
11 on unit 2: -32 (exp. 1).
Mai 03 09:18:24 apollon kernel: uvcvideo: Failed to query (GET_MIN) UVC control
11 on unit 2: -32 (exp. 1).
Mai 03 09:18:24 apollon kernel: uvcvideo: Failed to query (GET_MIN) UVC control
11 on unit 2: -32 (exp. 1).
Mai 03 09:18:26 apollon upowerd[2741]: unhandled action 'unbind' on
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: fatal error
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: HC died; cleaning up
Mai 03 09:18:26 apollon kernel: uvcvideo: Failed to resubmit video URB (-19).
Mai 03 09:18:26 apollon kernel: uvcvideo: Failed to resubmit video URB (-19).
Mai 03 09:18:26 apollon kernel: uvcvideo: Failed to resubmit video URB (-19).
Mai 03 09:18:26 apollon kernel: uvcvideo: Failed to resubmit video URB (-19).
Mai 03 09:18:26 apollon kernel: uvcvideo: Failed to resubmit video URB (-19).
Mai 03 09:18:26 apollon kernel: usb 1-1: USB disconnect, device number 2
Mai 03 09:18:26 apollon kernel: usb 1-1.1: USB disconnect, device number 3
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
76dff4be/3602f240 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
ce9788f2/36037480 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
e49c589a/3602f780 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
3cbee1a8/3602f0c0 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
48da83c2/36037a80 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
4613b115/36037300 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
9cd47912/36077d80 (bad dma)
Mai 03 09:18:26 apollon kernel: ehci-pci :00:1a.0: dma_pool_free ehci_itd,
31896eb6/36077600 (bad dma)
 Mounting /windows/f...
Mai 03 09:02:42 apollon kernel: uvcvideo: Failed to query (GET_MIN) UVC control
11 on unit 2: -32 (exp. 1).

The last line repeating abo

Bug#897590: linux-image-4.9.0-6-armmp: Missing CONFIG_MFD_TPS65217 may cause hardware damage

2018-05-03 Thread PA Nilsson
Package: src:linux
Version: 4.9.82-1+deb9u3
Severity: grave 

Dear Maintainer,

When shutting down BeagleBoneBlack, running Debian 9.3, it was
discovered that the system still draws excessive power and puts the
system out of spec with possible hardware damage as a result.

This is due to the PMIC not shutting down correctly, as described by the
referenced posts:
http://bugs.elinux.org/issues/143
https://groups.google.com/forum/#%21msg/beagleboard/7sxPePT7wkM/V1Ft-xxh0agJ

This in turn is due to the driver for the PMIC is not avaialble since
CONFIG_MFD_TPS65217 is missing.

Setting CONFIG_MFD_TPS65217 will enable the correct shutdown procedure.



-- Package-specific info:
** Version:
Linux version 4.9.0-6-armmp (debian-kernel@lists.debian.org) (gcc version 6.3.0 
20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)

** Command line:
console=ttyO0,115200n8 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
Hardware: Generic AM33XX (Flattened Device Tree)
Revision: 
Device Tree model: TI AM335x BeagleBone Black

** Loaded modules:
dm_crypt
dm_mod
xts
gf128mul
algif_skcipher
af_alg
sd_mod
sg
uas
usb_storage
scsi_mod
fuse
snd_soc_simple_card
snd_soc_simple_card_utils
omap_aes
omap_sham
crypto_engine
omap_rng
rng_core
tilcdc
snd_soc_davinci_mcasp
snd_soc_omap
ledtrig_heartbeat
omap_hwspinlock
ledtrig_timer
tda998x
hwspinlock_core
snd_soc_core
snd_pcm_dmaengine
snd_pcm
drm_kms_helper
snd_timer
snd
soundcore
at24
cppi41
omap_wdt
drm
leds_gpio
cpufreq_dt
nvmem_core
nf_conntrack_ipv4
nf_defrag_ipv4
xt_tcpudp
xt_conntrack
nf_conntrack
iptable_filter
ip_tables
x_tables
autofs4
ext4
crc16
jbd2
crc32c_generic
fscrypto
ecb
mbcache
smsc
musb_dsps
musb_hdrc
udc_core
davinci_mdio
usbcore
phy_am335x
phy_generic
usb_common
phy_am335x_control
ti_cpsw
cpsw_ale
cpsw_common
davinci_cpdma
omap_hsmmc
musb_am335x

** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 4.9.0-6-armmp (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.9.0-6-armmp depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.130
ii  kmod23-2
ii  linux-base  4.5

Versions of packages linux-image-4.9.0-6-armmp recommends:
pn  firmware-linux-free  
pn  irqbalance   

Versions of packages linux-image-4.9.0-6-armmp suggests:
pn  debian-kernel-handbook  
pn  linux-doc-4.9   

Versions of packages linux-image-4.9.0-6-armmp is related to:
pn  firmware-amd-graphics 
pn  firmware-atheros  
pn  firmware-bnx2 
pn  firmware-bnx2x
pn  firmware-brcm80211
pn  firmware-cavium   
pn  firmware-intel-sound  
pn  firmware-intelwimax   
pn  firmware-ipw2x00  
pn  firmware-ivtv 
pn  firmware-iwlwifi  
pn  firmware-libertas 
pn  firmware-linux-nonfree
pn  firmware-misc-nonfree 
pn  firmware-myricom  
pn  firmware-netxen   
pn  firmware-qlogic   
pn  firmware-realtek  
pn  firmware-samsung  
pn  firmware-siano
pn  firmware-ti-connectivity  
pn  xen-hypervisor

-- no debconf information



Processed: reassign 897588 to src:linux, reassign 897427 to src:linux

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 897588 src:linux 3.16.56-1
Bug #897588 [linux-image-3.16.0-6-amd64] Automatic assignment of TUN device 
broken after (security) kernel upgrade
Warning: Unknown package 'linux-image-3.16.0-6-amd64'
Bug reassigned from package 'linux-image-3.16.0-6-amd64' to 'src:linux'.
No longer marked as found in versions linux/3.16.56-1.
Ignoring request to alter fixed versions of bug #897588 to the same values 
previously set
Bug #897588 [src:linux] Automatic assignment of TUN device broken after 
(security) kernel upgrade
Marked as found in versions linux/3.16.56-1.
> reassign 897427 src:linux 3.16.56-1
Bug #897427 [linux-image-3.16.0-6-amd64] linux-image-3.16.0-6-amd64 breaks KVM 
guests in libvirt
Warning: Unknown package 'linux-image-3.16.0-6-amd64'
Bug reassigned from package 'linux-image-3.16.0-6-amd64' to 'src:linux'.
No longer marked as found in versions linux/3.16.56-1.
Ignoring request to alter fixed versions of bug #897427 to the same values 
previously set
Bug #897427 [src:linux] linux-image-3.16.0-6-amd64 breaks KVM guests in libvirt
Marked as found in versions linux/3.16.56-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897427
897588: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897588
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: closing 897204

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> close 897204 4.16.5-2
Bug #897204 [src:linux] linux-image-4.15.0-3-armmp: Please enable 
CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and CONFIG_DRM_DW_HDMI_CEC=m
The source 'linux' and version '4.16.5-2' do not appear to match any binary 
packages
Marked as fixed in versions linux/4.16.5-2.
Bug #897204 [src:linux] linux-image-4.15.0-3-armmp: Please enable 
CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and CONFIG_DRM_DW_HDMI_CEC=m
Marked Bug as done
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897204: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897204
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: owner 897590

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> owner 897590 !
Bug #897590 [src:linux] linux-image-4.9.0-6-armmp: Missing CONFIG_MFD_TPS65217 
may cause hardware damage
Owner recorded as romain.per...@gmail.com.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897590: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897590
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#897590: linux-image-4.9.0-6-armmp: Missing CONFIG_MFD_TPS65217 may cause hardware damage

2018-05-03 Thread Romain Perier
Hello,

I have proposed a merge request for this at
https://salsa.debian.org/kernel-team/linux/merge_requests/12

Thanks,
Regards,
Romain

On Thu, May 03, 2018 at 10:03:14AM +, PA Nilsson wrote:
> Package: src:linux
> Version: 4.9.82-1+deb9u3
> Severity: grave 
> 
> Dear Maintainer,
> 
> When shutting down BeagleBoneBlack, running Debian 9.3, it was
> discovered that the system still draws excessive power and puts the
> system out of spec with possible hardware damage as a result.
> 
> This is due to the PMIC not shutting down correctly, as described by the
> referenced posts:
> http://bugs.elinux.org/issues/143
> https://groups.google.com/forum/#%21msg/beagleboard/7sxPePT7wkM/V1Ft-xxh0agJ
> 
> This in turn is due to the driver for the PMIC is not avaialble since
> CONFIG_MFD_TPS65217 is missing.
> 
> Setting CONFIG_MFD_TPS65217 will enable the correct shutdown procedure.
> 
> 
> 
> -- Package-specific info:
> ** Version:
> Linux version 4.9.0-6-armmp (debian-kernel@lists.debian.org) (gcc version 
> 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
> 
> ** Command line:
> console=ttyO0,115200n8 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait
> 
> ** Not tainted
> 
> ** Kernel log:
> Unable to read kernel log; any relevant messages should be attached
> 
> ** Model information
> Hardware  : Generic AM33XX (Flattened Device Tree)
> Revision  : 
> Device Tree model: TI AM335x BeagleBone Black
> 
> ** Loaded modules:
> dm_crypt
> dm_mod
> xts
> gf128mul
> algif_skcipher
> af_alg
> sd_mod
> sg
> uas
> usb_storage
> scsi_mod
> fuse
> snd_soc_simple_card
> snd_soc_simple_card_utils
> omap_aes
> omap_sham
> crypto_engine
> omap_rng
> rng_core
> tilcdc
> snd_soc_davinci_mcasp
> snd_soc_omap
> ledtrig_heartbeat
> omap_hwspinlock
> ledtrig_timer
> tda998x
> hwspinlock_core
> snd_soc_core
> snd_pcm_dmaengine
> snd_pcm
> drm_kms_helper
> snd_timer
> snd
> soundcore
> at24
> cppi41
> omap_wdt
> drm
> leds_gpio
> cpufreq_dt
> nvmem_core
> nf_conntrack_ipv4
> nf_defrag_ipv4
> xt_tcpudp
> xt_conntrack
> nf_conntrack
> iptable_filter
> ip_tables
> x_tables
> autofs4
> ext4
> crc16
> jbd2
> crc32c_generic
> fscrypto
> ecb
> mbcache
> smsc
> musb_dsps
> musb_hdrc
> udc_core
> davinci_mdio
> usbcore
> phy_am335x
> phy_generic
> usb_common
> phy_am335x_control
> ti_cpsw
> cpsw_ale
> cpsw_common
> davinci_cpdma
> omap_hsmmc
> musb_am335x
> 
> ** PCI devices:
> not available
> 
> ** USB devices:
> not available
> 
> 
> -- System Information:
> Debian Release: 9.4
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: armhf (armv7l)
> 
> Kernel: Linux 4.9.0-6-armmp (SMP w/1 CPU core)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
> (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages linux-image-4.9.0-6-armmp depends on:
> ii  initramfs-tools [linux-initramfs-tool]  0.130
> ii  kmod23-2
> ii  linux-base  4.5
> 
> Versions of packages linux-image-4.9.0-6-armmp recommends:
> pn  firmware-linux-free  
> pn  irqbalance   
> 
> Versions of packages linux-image-4.9.0-6-armmp suggests:
> pn  debian-kernel-handbook  
> pn  linux-doc-4.9   
> 
> Versions of packages linux-image-4.9.0-6-armmp is related to:
> pn  firmware-amd-graphics 
> pn  firmware-atheros  
> pn  firmware-bnx2 
> pn  firmware-bnx2x
> pn  firmware-brcm80211
> pn  firmware-cavium   
> pn  firmware-intel-sound  
> pn  firmware-intelwimax   
> pn  firmware-ipw2x00  
> pn  firmware-ivtv 
> pn  firmware-iwlwifi  
> pn  firmware-libertas 
> pn  firmware-linux-nonfree
> pn  firmware-misc-nonfree 
> pn  firmware-myricom  
> pn  firmware-netxen   
> pn  firmware-qlogic   
> pn  firmware-realtek  
> pn  firmware-samsung  
> pn  firmware-siano
> pn  firmware-ti-connectivity  
> pn  xen-hypervisor
> 
> -- no debconf information



[PATCH] kbuild: deb-pkg improve maintainer address generation

2018-05-03 Thread riku . voipio
From: Riku Voipio 

There is multiple issues with the genaration of maintainer string

It uses DEBEMAIL and EMAIL enviroment variables, which may contain angle 
brackets,
creating invalid maintainer strings. The documented KBUILD_BUILD_USER and
KBUILD_BUILD_HOST variables are not used. Undocumented and uncommon NAME
variable is used. Refactor the Maintainer string to:

- use EMAIL or DEBEMAIL directly if they are in form "name "
- use KBUILD_BUILD_USER and KBUILD_BUILD_HOST if set before falling
  back to autodetection
- no longer use NAME variable or the useless Anonymous string

The logic is switched from multiline if/then/fi statements to compact
shell variable substition commands.

Reported-by: Mathieu Malaterre 
Signed-off-by: Riku Voipio 
---
 scripts/package/mkdebian | 29 +++--
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index 6adb3a16ba3b..a70f20eb877a 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -71,22 +71,23 @@ if [ "$ARCH" = "um" ] ; then
packagename=user-mode-linux-$version
 fi
 
-# Try to determine maintainer and email values
-if [ -n "$DEBEMAIL" ]; then
-   email=$DEBEMAIL
-elif [ -n "$EMAIL" ]; then
-   email=$EMAIL
-else
-   email=$(id -nu)@$(hostname -f 2>/dev/null || hostname)
-fi
-if [ -n "$DEBFULLNAME" ]; then
-   name=$DEBFULLNAME
-elif [ -n "$NAME" ]; then
-   name=$NAME
+email=${DEBEMAIL-$EMAIL}
+
+# use email string directly if it contains 
+if echo $email|grep -q '<.*>';
+then
+   maintainer=$email
 else
-   name="Anonymous"
+   # or construct the maintainer string
+   user=${KBUILD_BUILD_USER-$(id -nu)}
+   name=${DEBFULLNAME-$user}
+   if [ -n "$email" ]; then
+   maintainer="$name <$email>"
+   else
+   buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || 
hostname)}
+   maintainer="$name <$user@$buildhost>"
+   fi
 fi
-maintainer="$name <$email>"
 
 # Try to determine distribution
 if [ -n "$KDEB_CHANGELOG_DIST" ]; then
-- 
2.14.2



Bug#897599: regression in userspace on linux-image-4.9.0-6-amd64

2018-05-03 Thread rolnas
Package: linux
Version: 4.9.88-1

After linux kernel upgrade from linux-image-4.9.0-5-amd64
(4.9.65-3+deb9u2) to linux-image-4.9.0-6-amd64 (4.9.88-1) there we found
some regression in userspace.

1) rpc.gssd cannot start at boot, but starts later manually. No error
message, only systemd is complaining about timeout. I found a workaround
to start with -f (we need change Type=forking to Type=simple).

2) sssd don't work at boot, service shuts on first error, but later it
works. "getent passwd username" is hanging on boot time, but later,
after first failure, starts to work. No workaround found.

All those are working fine with older kernel. No idea what change could
cause this.

All of them are in Ubuntu 16.04 and Debian 9 based KVM VMs (up to date).

Regards
Rolandas



Bug#897599: A mistake in old kernel package version

2018-05-03 Thread rolnas
Hi

I made small mistake in old kernel version.
Previous working properly kernel is of linux-image-4.9.0-6-amd64 with
version 4.9.82-1+deb9u3.

Sorry,
Rolandas



Bug#897618: linux-image-4.17.0-rc3-amd64-unsigned: xrandr gives a black screen for some resolutions

2018-05-03 Thread Reinhard Karcher
Package: src:linux
Version: 4.17~rc3-1~exp1
Severity: normal

My laptop has a resolution of 1920x1080.
xrandr -s 800x600 results in a black screen.
Using KDE, I can leave the session by typing ctrl-alt-delete
while the screen is black.
A resolution of 1360x768 is working.
/sys/kernel/debug/dri/0/framebuffer contains:
framebuffer[82]:
allocated by = Xorg
refcount=1
format=XR24 little-endian (0x34325258)
modifier=0x101
size=800x600
layers:
size[0]=800x600
pitch[0]=3584
offset[0]=0
obj[0]:(null)



Bug#897631: Kernel update breaks GDM

2018-05-03 Thread silvio . sabo
Package: linux-image-4.9.0-6-amd64

The update for package linux-image-4.9.0-6-amd64 from 4.9.82-1+deb9u3
to the newest 4.9.88-1 breaks the autostart of GDM. This was on a fresh
install of Debian 9 (stable).

When I did the update after installing I couldn't login with GDM after
reboot, the boot would freeze. And I know that the NVIDIA drivers
(version 375.82-1~deb9u1) weren't loaded because the fan on my graphics
card are ramped up when the NVIDIA driver is not loaded (so when the
driver loads the fan will go silent).

I actually reinstalled the system a couple of times and the error would
occur every single time. Only installing the NVIDIA drivers after
install and not updating works just fine so it's not the NVIDIA drivers
that are erroneous. I found the error by installing updates one by one.
And after updating the kernel the error would appear.

Anyway the system refused to load GDM and the only way I could log in
was by switching to another TTY and log in from the command line.

However soon after logging in (usually by the time I had written a
couple of commands) GDM would start and I could then log in from the
GUI and from then on everything would work just fine. GDM would however
not start if I didn't log in from the command line, instead the system
would just hang indefinetly (I actually left it on for about 30 min
while going on lunch).

I ran 'systemctl status gdm3' right after logging in on TTY2 in and it
stated that it was indeed running but it wouldn't show the login screen
or load the NVIDIA drivers (since my graphics cards fans were going
full blast).

There also was no errors in any logs from what I could see. The gdm3
folder in /var/log was completely empty.

Rolling back to kernel version 4.9.82-1+deb9u3 resolved the problem.



Re: [PATCH] kbuild: deb-pkg improve maintainer address generation

2018-05-03 Thread Mathieu Malaterre
Hi,

On Thu, May 3, 2018 at 1:46 PM,   wrote:
> From: Riku Voipio 
>
> There is multiple issues with the genaration of maintainer string
>
> It uses DEBEMAIL and EMAIL enviroment variables, which may contain angle 
> brackets,
> creating invalid maintainer strings. The documented KBUILD_BUILD_USER and
> KBUILD_BUILD_HOST variables are not used. Undocumented and uncommon NAME
> variable is used. Refactor the Maintainer string to:
>
> - use EMAIL or DEBEMAIL directly if they are in form "name "
> - use KBUILD_BUILD_USER and KBUILD_BUILD_HOST if set before falling
>   back to autodetection
> - no longer use NAME variable or the useless Anonymous string
>
> The logic is switched from multiline if/then/fi statements to compact
> shell variable substition commands.

Much more elegant indeed.

Acked-by: Mathieu Malaterre 

> Reported-by: Mathieu Malaterre 
> Signed-off-by: Riku Voipio 
> ---
>  scripts/package/mkdebian | 29 +++--
>  1 file changed, 15 insertions(+), 14 deletions(-)
>
> diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
> index 6adb3a16ba3b..a70f20eb877a 100755
> --- a/scripts/package/mkdebian
> +++ b/scripts/package/mkdebian
> @@ -71,22 +71,23 @@ if [ "$ARCH" = "um" ] ; then
> packagename=user-mode-linux-$version
>  fi
>
> -# Try to determine maintainer and email values
> -if [ -n "$DEBEMAIL" ]; then
> -   email=$DEBEMAIL
> -elif [ -n "$EMAIL" ]; then
> -   email=$EMAIL
> -else
> -   email=$(id -nu)@$(hostname -f 2>/dev/null || hostname)
> -fi
> -if [ -n "$DEBFULLNAME" ]; then
> -   name=$DEBFULLNAME
> -elif [ -n "$NAME" ]; then
> -   name=$NAME
> +email=${DEBEMAIL-$EMAIL}
> +
> +# use email string directly if it contains 
> +if echo $email|grep -q '<.*>';
> +then
> +   maintainer=$email
>  else
> -   name="Anonymous"
> +   # or construct the maintainer string
> +   user=${KBUILD_BUILD_USER-$(id -nu)}
> +   name=${DEBFULLNAME-$user}
> +   if [ -n "$email" ]; then
> +   maintainer="$name <$email>"
> +   else
> +   buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || 
> hostname)}
> +   maintainer="$name <$user@$buildhost>"
> +   fi
>  fi
> -maintainer="$name <$email>"
>
>  # Try to determine distribution
>  if [ -n "$KDEB_CHANGELOG_DIST" ]; then
> --
> 2.14.2
>



Bug#897632: Boot timeout after latest security update

2018-05-03 Thread Miroslav Kure
Package: linux-image-4.9.0-6-amd64
Version: 4.9.88-1

Hi,

after the last security update of linux kernel, the boot on my Intel
Core i3-4330 hangs for about half a minute. I believe the culprint
might be waiting for the following line:

May 03 18:31:06 tux kernel: random: crng init done

as reported by journalctl -b:

May 03 18:30:09 tux kernel: clocksource: Switched to clocksource tsc
May 03 18:30:11 tux systemd-networkd[249]: eth0: Gained carrier
May 03 18:30:11 tux kernel: r8169 :02:00.0 eth0: link up
May 03 18:30:11 tux kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes 
ready
May 03 18:30:12 tux avahi-daemon[380]: Joining mDNS multicast group on 
interface eth0.IPv6 with address fe80::76d4:35ff:fef4:9ab3.
May 03 18:30:12 tux avahi-daemon[380]: New relevant interface eth0.IPv6 for 
mDNS.
May 03 18:30:12 tux systemd-networkd[249]: eth0: Gained IPv6LL
May 03 18:30:12 tux avahi-daemon[380]: Registering new address record for 
fe80::76d4:35ff:fef4:9ab3 on eth0.*.
May 03 18:30:20 tux systemd-networkd[249]: eth0: DHCPv4 address 
192.168.88.220/24 via 192.168.88.1
May 03 18:30:20 tux avahi-daemon[380]: Joining mDNS multicast group on 
interface eth0.IPv4 with address 192.168.88.220.
May 03 18:30:20 tux avahi-daemon[380]: New relevant interface eth0.IPv4 for 
mDNS.
May 03 18:30:20 tux avahi-daemon[380]: Registering new address record for 
192.168.88.220 on eth0.IPv4.
May 03 18:30:24 tux systemd-networkd[249]: eth0: Configured
May 03 18:31:06 tux kernel: random: crng init done
May 03 18:31:06 tux gnome-session[453]: gnome-session-binary[453]: WARNING: 
Could not parse desktop file orca-autostart.desktop or it references a not 
found TryExec binary
May 03 18:31:06 tux gnome-session-binary[453]: WARNING: Could not parse desktop 
file orca-autostart.desktop or it references a not found TryExec binary
May 03 18:31:06 tux dbus[367]: [system] Activating via systemd: service 
name='org.freedesktop.UPower' unit='upower.service'
May 03 18:31:06 tux systemd[1]: Starting Daemon for power management...
May 03 18:31:06 tux dbus[367]: [system] Successfully activated service 
'org.freedesktop.UPower'
May 03 18:31:06 tux systemd[1]: Started Daemon for power management.


It could be related to this bit from the changelog:

CVE-2018-1108

Jann Horn reported that crng_ready() does not properly handle the
crng_init variable states and the RNG could be treated as
cryptographically safe too early after system boot.


-- 
Miroslav Kure



Processed: reassign 897631 to src:linux

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 897631 src:linux 4.9.88-1
Bug #897631 [4.9.88-1] Kernel update breaks GDM
Warning: Unknown package '4.9.88-1'
Bug reassigned from package '4.9.88-1' to 'src:linux'.
Ignoring request to alter found versions of bug #897631 to the same values 
previously set
Ignoring request to alter fixed versions of bug #897631 to the same values 
previously set
Bug #897631 [src:linux] Kernel update breaks GDM
Marked as found in versions linux/4.9.88-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897631: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897631
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: reassign 897631 to 4.9.88-1

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 897631 4.9.88-1
Bug #897631 [linux-image-4.9.0-6-amd64] Kernel update breaks GDM
Bug reassigned from package 'linux-image-4.9.0-6-amd64' to '4.9.88-1'.
Warning: Unknown package '4.9.88-1'
Warning: Unknown package '4.9.88-1'
Ignoring request to alter found versions of bug #897631 to the same values 
previously set
Warning: Unknown package '4.9.88-1'
Warning: Unknown package '4.9.88-1'
Ignoring request to alter fixed versions of bug #897631 to the same values 
previously set
Warning: Unknown package '4.9.88-1'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897631: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897631
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: reassign 897632 to src:linux

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 897632 src:linux 4.9.88-1
Bug #897632 [4.9.88-1] Boot timeout after latest security update
Warning: Unknown package '4.9.88-1'
Bug reassigned from package '4.9.88-1' to 'src:linux'.
Ignoring request to alter found versions of bug #897632 to the same values 
previously set
Ignoring request to alter fixed versions of bug #897632 to the same values 
previously set
Bug #897632 [src:linux] Boot timeout after latest security update
Marked as found in versions linux/4.9.88-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897632
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: reassign 897632 to 4.9.88-1

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 897632 4.9.88-1
Bug #897632 [linux-image-4.9.0-6-amd64] Boot timeout after latest security 
update
Bug reassigned from package 'linux-image-4.9.0-6-amd64' to '4.9.88-1'.
Warning: Unknown package '4.9.88-1'
Warning: Unknown package '4.9.88-1'
No longer marked as found in versions linux/4.9.88-1.
Warning: Unknown package '4.9.88-1'
Warning: Unknown package '4.9.88-1'
Ignoring request to alter fixed versions of bug #897632 to the same values 
previously set
Warning: Unknown package '4.9.88-1'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897632
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: reassign 897632 to src:linux

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 897632 src:linux 4.9.88-1
Bug #897632 [src:linux] Boot timeout after latest security update
Ignoring request to reassign bug #897632 to the same package
Bug #897632 [src:linux] Boot timeout after latest security update
Ignoring request to alter found versions of bug #897632 to the same values 
previously set
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897632
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: reopening 897204, found 897204 in 4.15.17-1, tagging 897204

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reopen 897204
Bug #897204 {Done: romain.per...@gmail.com} [src:linux] 
linux-image-4.15.0-3-armmp: Please enable CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and 
CONFIG_DRM_DW_HDMI_CEC=m
'reopen' may be inappropriate when a bug has been closed with a version;
all fixed versions will be cleared, and you may need to re-add them.
Bug reopened
No longer marked as fixed in versions linux/4.16.5-2.
> found 897204 4.15.17-1
Bug #897204 [src:linux] linux-image-4.15.0-3-armmp: Please enable 
CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and CONFIG_DRM_DW_HDMI_CEC=m
Ignoring request to alter found versions of bug #897204 to the same values 
previously set
> tags 897204 + pending
Bug #897204 [src:linux] linux-image-4.15.0-3-armmp: Please enable 
CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and CONFIG_DRM_DW_HDMI_CEC=m
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897204: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897204
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#887106: Bug#886630: linux-image-3.2.0-5-amd64 Kernel panic after upgrading when use hidepid Debian wheezy

2018-05-03 Thread Stefan Benter

Hello Ben,

I can confirm that #886630 is fixed in linux-image-3.2.0-6-amd64. The 
parameter hidepid=2 is working as expected.


Thanks a lot!

Best regards,
Stefan Benter



Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt

2018-05-03 Thread Ben Caradoc-Davies

On 03/05/18 17:37, Ben Caradoc-Davies wrote:
And I should mention that my plymouth LUKS screen was working fine with 
kernels up to and including linux-image-4.15.0-3-amd64 4.15.17-1.


And to eliminate any other change on the system as a cause, I rebuilt 
initrd.img for both packages and the plymouth LUKS screen failure was 
seen *only* for linux-image-4.16.0-1-amd64:


update-initramfs -u -k 4.15.0-3-amd64
update-initramfs -u -k 4.16.0-1-amd64

Installed kernel packages are:

linux-image-4.15.0-3-amd64 4.15.17-1
linux-image-4.16.0-1-amd64 4.16.5-1

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Bug#897572: linux-image-4.16.0-1-amd64 breaks plymouth LUKS prompt

2018-05-03 Thread Ben Caradoc-Davies

More findings:

- Adding i915 to /etc/initramfs-tools/modules as described in #803658 
("boot hangs before cryptsetup passphrase prompt if i915 drm driver is 
not in initramfs") has no effect.


- Pressing *any* key repeatedly is enough to eventually wake up the 
plymouth LUKS screen. For example, pressing Backspace many times.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Processed: found 897590 in 4.16.5-1

2018-05-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> found 897590 4.16.5-1
Bug #897590 [src:linux] linux-image-4.9.0-6-armmp: Missing CONFIG_MFD_TPS65217 
may cause hardware damage
Marked as found in versions linux/4.16.5-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
897590: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897590
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Re: Processed: reopening 897204, found 897204 in 4.15.17-1, tagging 897204

2018-05-03 Thread Romain Perier
Hello,

Whoops, I did something wrong apparently, sorry.
So I only fixed the issue in sid (4.16), I have to wait that the
package is in buster before closing this bug, I guess, right ?

Romain

2018-05-03 22:18 GMT+02:00 Debian Bug Tracking System :
> Processing commands for cont...@bugs.debian.org:
>
>> reopen 897204
> Bug #897204 {Done: romain.per...@gmail.com} [src:linux] 
> linux-image-4.15.0-3-armmp: Please enable CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and 
> CONFIG_DRM_DW_HDMI_CEC=m
> 'reopen' may be inappropriate when a bug has been closed with a version;
> all fixed versions will be cleared, and you may need to re-add them.
> Bug reopened
> No longer marked as fixed in versions linux/4.16.5-2.
>> found 897204 4.15.17-1
> Bug #897204 [src:linux] linux-image-4.15.0-3-armmp: Please enable 
> CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and CONFIG_DRM_DW_HDMI_CEC=m
> Ignoring request to alter found versions of bug #897204 to the same values 
> previously set
>> tags 897204 + pending
> Bug #897204 [src:linux] linux-image-4.15.0-3-armmp: Please enable 
> CONFIG_DRM_DW_HDMI_AHB_AUDIO=m and CONFIG_DRM_DW_HDMI_CEC=m
> Added tag(s) pending.
>> thanks
> Stopping processing here.
>
> Please contact me if you need assistance.
> --
> 897204: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897204
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>