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-ker...@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



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-ker...@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