Bug#947819: regression: iwlwifi hangs kernel completely sometimes

2019-12-30 Thread Stefan Tauner
Package: src:linux
Version: 4.19.67-2+deb10u2
Severity: important

Dear Maintainer,

my Intel Centrino 6205 in my Thinkpad T430 sometimes hangs the hole
system with Linux 4.19. I *think* it always related to the hardware
kill switch and reloading the driver afterwards, but I am not
completely sure since my "analysis" was done on several lock up
occasions over the period of a few months. I cannot reproduce it
effectively but it has incurred data loss thus I have set the elevated
importance in this bug report.

The reason why I tinker with the kill switch and/or the module at all
is that auto-reconnecting (with nm-manager) does not work consistently.
Both, the non-working reconnect and the lock ups, are a regression to
Debian 9 stretch where everything worked flawlessly.

I have attached some kernel log snippets that I was able to gather that
show some warnings related to iwlwifi but I am not 100% sure they are
actually related to the lock ups.

Since it's very hard to reproduce and it is quite annoying I will now switch to
Buster's backport kernel (5.3) and see if that helps.

KR



-- Package-specific info:
** Version:
Linux version 4.19.0-6-amd64 (debian-kernel@lists.debian.org) (gcc version
8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 root=/dev/mapper/vg-root ro quiet

** Tainted: OE (12288)
 * Out-of-tree module has been loaded.
 * Unsigned module has been loaded.

** Model information
sys_vendor: LENOVO
product_name: 2349PT4
product_version: ThinkPad T430
chassis_vendor: LENOVO
chassis_version: Not Available
bios_vendor: LENOVO
bios_version: G1ETB7WW (2.77 )
board_vendor: LENOVO
board_name: 2349PT4
board_version: No DPK

** Loaded modules:
iwldvm
mac80211
iwlwifi
cfg80211
btrfs
zstd_compress
zstd_decompress
xxhash
ufs
qnx4
hfsplus
hfs
minix
vfat
msdos
fat
jfs
xfs
ctr
ccm
rfcomm
fuse
pci_stub
vboxpci(OE)
vboxnetadp(OE)
vboxnetflt(OE)
cmac
cpufreq_userspace
vboxdrv(OE)
cpufreq_conservative
cpufreq_powersave
bnep
binfmt_misc
btusb
btrtl
btbcm
btintel
uvcvideo
bluetooth
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
videobuf2_common
videodev
drbg
ansi_cprng
ecdh_generic
media
intel_rapl
msr
arc4
snd_hda_codec_hdmi
x86_pkg_temp_thermal
intel_powerclamp
coretemp
kvm_intel
mei_wdt
snd_hda_codec_realtek
snd_hda_codec_generic
kvm
snd_hda_intel
irqbypass
intel_cstate
snd_hda_codec
intel_uncore
snd_hda_core
snd_hwdep
intel_rapl_perf
pcspkr
serio_raw
wmi_bmof
sg
snd_pcm
iTCO_wdt
iTCO_vendor_support
thinkpad_acpi
snd_timer
nvram
tpm_tis
tpm_tis_core
snd
mei_me
tpm
mei
pcc_cpufreq
soundcore
rfkill
ac
battery
rng_core
evdev
parport_pc
ppdev
lp
parport
sunrpc
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
fscrypto
ecb
algif_skcipher
af_alg
dm_crypt
dm_mod
raid10
raid1
raid0
multipath
linear
raid456
async_raid6_recov
async_memcpy
async_pq
async_xor
async_tx
xor
raid6_pq
libcrc32c
crc32c_generic
md_mod
sd_mod
crct10dif_pclmul
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
pcbc
i915
ahci
libahci
aesni_intel
libata
aes_x86_64
crypto_simd
cryptd
glue_helper
psmouse
scsi_mod
i2c_i801
sdhci_pci
xhci_pci
i2c_algo_bit
cqhci
xhci_hcd
drm_kms_helper
sdhci
lpc_ich
mmc_core
ehci_pci
ehci_hcd
drm
e1000e
usbcore
thermal
usb_common
wmi
video
button

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM
Controller [8086:0154] (rev 09)
Subsystem: Lenovo 3rd Gen Core processor DRAM Controller [17aa:21f3]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: ivb_uncore

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core
processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA
controller])
Subsystem: Lenovo 3rd Gen Core processor Graphics Controller
[17aa:21f3]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: i915
Kernel modules: i915

00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset
Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
Subsystem: Lenovo 7 Series/C210 Series Chipset Family USB xHCI Host
Controller (ThinkPad T430) [17aa:21f3]
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
SERR- 
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216
Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
Subsystem: Lenovo 7 Series/C216 Chipset Family MEI Controller
[17aa:21f3]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-

Bug#947801: linux-image-5.3.0-3-amd64: b44 module unable to dma to address

2019-12-30 Thread Jeffry J. Smith
Package: src:linux
Version: 5.3.15-1
Severity: normal

Dear Maintainer,


   * What led up to the situation?
   Had been having lockup with swiotlb getting overloaded, added
   iommu=force, intel_iommu=on, swiotlb=noforce to fix.  Have reduced
   the swiotlb lockup, but now get a freeze on system with the b44 DMA
   below
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 Attempting to figure out b44 parametrs to get DMA to work, searched
 with google on how to overcome DMA issues 
   * What was the outcome of this action? no luck
   * What outcome did you expect instead? Reduce DMA issues, stop
 freezes of system




-- Package-specific info:
** Version:
Linux version 5.3.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 9.2.1 
20191130 (Debian 9.2.1-21)) #1 SMP Debian 5.3.15-1 (2019-12-07)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-5.3.0-3-amd64 
root=UUID=f0a976b0-b2fa-418b-bdf5-d1666e3c05fb ro iommu=force intel_iommu=on 
swiotlb=noforce quiet

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[  321.030640] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  325.970842] swiotlb_map: 681 callbacks suppressed
[  325.970851] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  325.978046] b44 :03:00.0: Cannot do DMA to address 0xc3e78002
[  325.985252] b44 :03:00.0: Cannot do DMA to address 0xc3e78002
[  325.992504] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  325.999757] b44 :03:00.0: Cannot do DMA to address 0xc3e7c002
[  326.007003] b44 :03:00.0: Cannot do DMA to address 0xc3e7e002
[  326.014247] b44 :03:00.0: Cannot do DMA to address 0xc3e7b002
[  326.021437] b44 :03:00.0: Cannot do DMA to address 0xc3e79002
[  326.028655] b44 :03:00.0: Cannot do DMA to address 0xc3e7d002
[  326.035878] b44 :03:00.0: Cannot do DMA to address 0xc3e7e802
[  330.976083] swiotlb_map: 681 callbacks suppressed
[  330.976092] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  330.983295] b44 :03:00.0: Cannot do DMA to address 0xc3e7c002
[  330.990535] b44 :03:00.0: Cannot do DMA to address 0xc3e7e002
[  330.997751] b44 :03:00.0: Cannot do DMA to address 0xc3e7b002
[  331.005015] b44 :03:00.0: Cannot do DMA to address 0xc3e79002
[  331.012209] b44 :03:00.0: Cannot do DMA to address 0xc3e7d002
[  331.019415] b44 :03:00.0: Cannot do DMA to address 0xc3e7e802
[  331.026683] b44 :03:00.0: Cannot do DMA to address 0xc3e7c802
[  331.033945] b44 :03:00.0: Cannot do DMA to address 0xc3e7c802
[  331.041102] b44 :03:00.0: Cannot do DMA to address 0xc3e7e802
[  335.981437] swiotlb_map: 681 callbacks suppressed
[  335.981446] b44 :03:00.0: Cannot do DMA to address 0xc3e7d002
[  335.988568] b44 :03:00.0: Cannot do DMA to address 0xc3e7e802
[  335.995770] b44 :03:00.0: Cannot do DMA to address 0xc3e7c802
[  336.010229] b44 :03:00.0: Cannot do DMA to address 0xc3e7c802
[  336.017460] b44 :03:00.0: Cannot do DMA to address 0xc3e7e802
[  336.024678] b44 :03:00.0: Cannot do DMA to address 0xc3e7d002
[  336.031882] b44 :03:00.0: Cannot do DMA to address 0xc3e79002
[  336.039114] b44 :03:00.0: Cannot do DMA to address 0xc3e7b002
[  336.046375] b44 :03:00.0: Cannot do DMA to address 0xc3e7e002
[  336.053610] b44 :03:00.0: Cannot do DMA to address 0xc3e7c002
[  340.986518] swiotlb_map: 680 callbacks suppressed
[  340.986527] b44 :03:00.0: Cannot do DMA to address 0xc3e7d002
[  340.993788] b44 :03:00.0: Cannot do DMA to address 0xc3e79002
[  341.000963] b44 :03:00.0: Cannot do DMA to address 0xc3e7b002
[  341.008251] b44 :03:00.0: Cannot do DMA to address 0xc3e7e002
[  341.015466] b44 :03:00.0: Cannot do DMA to address 0xc3e7c002
[  341.022652] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  341.029887] b44 :03:00.0: Cannot do DMA to address 0xc3e78002
[  341.037124] b44 :03:00.0: Cannot do DMA to address 0xc3e78002
[  341.044388] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  341.051624] b44 :03:00.0: Cannot do DMA to address 0xc3e7c002
[  345.991870] swiotlb_map: 681 callbacks suppressed
[  345.991880] b44 :03:00.0: Cannot do DMA to address 0xc3e78002
[  345.999000] b44 :03:00.0: Cannot do DMA to address 0xc3e78002
[  346.006239] b44 :03:00.0: Cannot do DMA to address 0xc3e7f802
[  346.013465] b44 :03:00.0: Cannot do DMA to address 0xc3e7c002
[  346.020694] b44 :03:00.0: Cannot do DMA to address 0xc3e7e002
[  346.027896] b44 :03:00.0: Cannot do DMA to address 0xc3e7b002
[  346.035155] b44 :03:00.0: Cannot do 

Bug#867067: nfs-kernel-server: nfsdcltrack fails to init database

2019-12-30 Thread Sergio Gelato
I have empirical reasons to believe that the fix for CVE-2019-3689 (cf. #940848)
will take care of this bug as well.



Bug#947759: Configuration optimizations for the cloud variant

2019-12-30 Thread Josh Triplett
Source: linux
Severity: wishlist

A few requests for changes to the cloud configuration:

- Please disable CONFIG_ACPI_BGRT; a cloud kernel doesn't need to spend
  time or code space looking for a boot logo that won't exist.

- Please disable the CONFIG_CPU_SUP_* options for CPUs that no cloud
  provider uses.

- Please disable CONFIG_GNSS_*, which won't be hooked up to a cloud
  server.

- Please disable CONFIG_GTP for the same reason.

- Please configure CONFIG_INPUT_MOUSEDEV as a module, not built-in, as
  most cloud servers won't have a mouse and probing for one takes time.

- Please consider changing the default kernel compression to GZIP, which
  decompresses faster and thus boots faster.

- Please change CONFIG_NET_MPLS_GSO from y to m (and consider doing this
  for the non-cloud kernel too); it doesn't need to be built into the
  kernel.

- Please change CONFIG_NF_NAT_* and CONFIG_NF_MASQUERADE_* from y to m,
  as many systems won't need those modules and shouldn't need to load
  their code.

- Please compile in the NVME driver and the EXT4 filesystem; this will
  allow many cloud systems to avoid using an initramfs at all, which
  substantially improves boot time.

- Please disable CONFIG_NUMA_EMU, only used to create fake-NUMA systems
  for debugging.

- Please disable CONFIG_PCIPCWATCHDOG, CONFIG_PPS, and CONFIG_RMI4_*,
  which won't appear on a cloud server.

- Please enable CONFIG_SCHED_MC_PRIO (on both cloud and non-cloud
  kernels).

- Please disable CONFIG_VFIO_PCI_VGA and CONFIG_VGA_SWITCHEROO, which
  won't appear on cloud.