--- Begin Message ---
Package: src:linux
Version: 4.17.8-1
Severity: normal
fwupd is unable to update the firmware on my Lenovo P50.
lstat("/sys/firmware/efi/efivars/fwupd-ddc0ee61-e7f0-4e7d-acc5-c070a398838e-0-0abba7dc-e516-4167-bbf5-4d9d1c739416", {st_mode=S_IFREG|0644, st_size=230, ...}) = 0
openat(AT_FDCWD, "/sys/firmware/efi/efivars/fwupd-ddc0ee61-e7f0-4e7d-acc5-c070a398838e-0-0abba7dc-e516-4167-bbf5-4d9d1c739416", O_RDONLY) = 22
lseek(22, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(22, FS_IOC_GETFLAGS, 0x7ffd48365c14) = 0
close(22) = 0
openat(AT_FDCWD, "/sys/firmware/efi/efivars/fwupd-ddc0ee61-e7f0-4e7d-acc5-c070a398838e-0-0abba7dc-e516-4167-bbf5-4d9d1c739416", O_WRONLY) = 22
lseek(22, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
poll([{fd=22, events=POLLOUT}], 1, -1) = 1 ([{fd=22, revents=POLLOUT}])
write(22, "\7\0\0\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 230) = -1 ENOSPC (No space left on device)
While searching for a solution I came across
<https://bugzilla.redhat.com/show_bug.cgi?id=919485>. Sure enough, I
have 151 "dmesg-efi-$timestamp.enc.z" files in /sys/fs/pstore. I think
it would be a good idea to follow Red Hat's lead here and disable the
use of efi_pstore by default. We simply can't rely on bargain-basement
EFI firmware and the flash that it uses for storage to behave sensibly
once it fills up and/or past a certain number of writes.
-- Package-specific info:
** Version:
Linux version 4.17.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-24)) #1 SMP Debian 4.17.3-1 (2018-07-02)
** Command line:
BOOT_IMAGE=/vmlinuz-4.17.0-1-amd64 root=/dev/mapper/joyeux-root ro quiet cgroup_enable=memory swapaccount=1 zswap.enabled=1 splash
** Tainted: W (512)
* Taint on warning.
** Kernel log:
Unable to read kernel log; any relevant messages should be attached
** Model information
sys_vendor: LENOVO
product_name: 20EQA063UK
product_version: ThinkPad P50
chassis_vendor: LENOVO
chassis_version: None
bios_vendor: LENOVO
bios_version: N1EET77W (1.50 )
board_vendor: LENOVO
board_name: 20EQA063UK
board_version: SDK0J40697 WIN
** Loaded modules:
nfnetlink_queue
nfnetlink_log
ctr
twofish_generic
twofish_avx_x86_64
twofish_x86_64_3way
twofish_x86_64
twofish_common
camellia_generic
camellia_aesni_avx2
camellia_aesni_avx_x86_64
camellia_x86_64
serpent_avx2
serpent_avx_x86_64
serpent_sse2_x86_64
serpent_generic
blowfish_generic
blowfish_x86_64
blowfish_common
cast5_avx_x86_64
cast5_generic
cast_common
des_generic
cbc
xcbc
rmd160
sha512_ssse3
sha512_generic
af_key
snd_seq_dummy
snd_seq
tcp_diag
inet_diag
cpuid
nls_ascii
nls_cp437
vfat
fat
rfcomm
fuse
nf_conntrack_netlink
nfnetlink
xfrm_user
xfrm_algo
xt_addrtype
xt_conntrack
devlink
br_netfilter
ebtable_filter
ebtables
overlay
ip6table_filter
ip6_tables
cmac
iptable_filter
bnep
sd_mod
sg
ipt_MASQUERADE
nf_nat_masquerade_ipv4
iptable_nat
nf_conntrack_ipv4
nf_defrag_ipv4
nf_nat_ipv4
nf_nat
nf_conntrack
bridge
stp
llc
tun
arc4
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
coretemp
kvm_intel
kvm
binfmt_misc
irqbypass
crct10dif_pclmul
crc32_pclmul
snd_hda_codec_realtek
snd_hda_codec_generic
ghash_clmulni_intel
intel_cstate
rtsx_pci_sdmmc
mmc_core
rtsx_pci_ms
memstick
iTCO_wdt
iTCO_vendor_support
iwlmvm
mac80211
btusb
btrtl
btbcm
btintel
intel_uncore
uvcvideo
intel_rapl_perf
efi_pstore
ahci
bluetooth
snd_hda_intel
iwlwifi
snd_usb_audio
libahci
videobuf2_vmalloc
snd_hda_codec
pcspkr
psmouse
efivars
videobuf2_memops
videobuf2_v4l2
snd_usbmidi_lib
snd_hda_core
snd_rawmidi
videobuf2_common
snd_seq_device
snd_hwdep
drbg
thinkpad_acpi
nvram
snd_pcm
ansi_cprng
videodev
snd_timer
tpm_crb
hid_plantronics
joydev
libata
wmi_bmof
snd
media
mei_me
e1000e
mei
i2c_i801
intel_pch_thermal
scsi_mod
rtsx_pci
soundcore
ecdh_generic
cfg80211
tpm_tis
rfkill
tpm_tis_core
battery
ac
tpm
rng_core
parport_pc
ppdev
lp
parport
bfq
efivarfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
fscrypto
ecb
dm_crypt
dm_mod
raid10
raid456
libcrc32c
crc32c_generic
async_raid6_recov
async_memcpy
async_pq
async_xor
xor
async_tx
raid6_pq
raid1
raid0
multipath
linear
md_mod
hid_generic
usbhid
hid
crc32c_intel
nouveau
nvme
mxm_wmi
i915
aesni_intel
aes_x86_64
ttm
i2c_algo_bit
crypto_simd
xhci_pci
drm_kms_helper
xhci_hcd
cryptd
glue_helper
nvme_core
evdev
serio_raw
usbcore
drm
usb_common
shpchp
thermal
wmi
video
button
** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1910] (rev 07)
Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [17aa:222e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: d3000000-d40fffff
Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller])
Subsystem: Lenovo HD Graphics 530 [17aa:222e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 129
Region 0: Memory at d2000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at 60000000 (64-bit, prefetchable) [size=512M]
Region 4: I/O ports at 6000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31) (prog-if 30 [XHCI])
Subsystem: Lenovo Sunrise Point-H USB 3.0 xHCI Controller [17aa:222e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 127
Region 0: Memory at d5820000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
Subsystem: Lenovo Sunrise Point-H Thermal subsystem [17aa:222e]
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 19
Region 0: Memory at d584a000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
Subsystem: Lenovo Sunrise Point-H CSME HECI [17aa:222e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 128
Region 0: Memory at d584b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31) (prog-if 01 [AHCI 1.0])
Subsystem: Lenovo Sunrise Point-H SATA controller [AHCI mode] [17aa:222e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 143
Region 0: Memory at d5848000 (32-bit, non-prefetchable) [size=8K]
Region 1: Memory at d584e000 (32-bit, non-prefetchable) [size=256]
Region 2: I/O ports at 6080 [size=8]
Region 3: I/O ports at 6088 [size=4]
Region 4: I/O ports at 6060 [size=32]
Region 5: Memory at d584c000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 122
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: d4e00000-d57fffff
Prefetchable memory behind bridge: 00000000d4100000-00000000d4afffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #3 [8086:a112] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 123
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Memory behind bridge: d4d00000-d4dfffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 124
Bus: primary=00, secondary=05, subordinate=3d, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: a4000000-ba0fffff
Prefetchable memory behind bridge: 0000000080000000-00000000a1ffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 125
Bus: primary=00, secondary=3e, subordinate=3e, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d4c00000-d4cfffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #13 [8086:a11c] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 126
Bus: primary=00, secondary=3f, subordinate=3f, sec-latency=0
Memory behind bridge: d4b00000-d4bfffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a150] (rev 31)
Subsystem: Lenovo Sunrise Point-H LPC Controller [17aa:222e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
Subsystem: Lenovo Sunrise Point-H PMC [17aa:222e]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: Memory at d5844000 (32-bit, non-prefetchable) [disabled] [size=16K]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
Subsystem: Lenovo Sunrise Point-H HD Audio [17aa:222e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 131
Region 0: Memory at d5840000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at d5830000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
Subsystem: Lenovo Sunrise Point-H SMBus [17aa:222e]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at d584d000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-LM [8086:15b7] (rev 31)
Subsystem: Lenovo Ethernet Connection (2) I219-LM [17aa:2233]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 133
Region 0: Memory at d5800000 (32-bit, non-prefetchable) [size=128K]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro M2000M] [10de:13b0] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Lenovo GM107GLM [Quadro M2000M] [17aa:222e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 130
Region 0: Memory at d3000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 5000 [size=128]
Expansion ROM at d4000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau
04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Wireless 8260 [8086:0130]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 141
Region 0: Memory at d4d00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
3e:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 [144d:a802] (rev 01) (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 [144d:a801]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
NUMA node: 0
Region 0: Memory at d4c00000 (64-bit, non-prefetchable) [size=16K]
Region 2: I/O ports at 3000 [size=256]
Capabilities: <access denied>
Kernel driver in use: nvme
Kernel modules: nvme
3f:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
Subsystem: Lenovo RTS525A PCI Express Card Reader [17aa:222e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 139
Region 1: Memory at d4b00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
** USB devices:
Bus 002 Device 007: ID 17ef:305b Lenovo
Bus 002 Device 006: ID 17ef:305a Lenovo
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 138a:0090 Validity Sensors, Inc. VFS7500 Touch Fingerprint Sensor
Bus 001 Device 003: ID 04f2:b52c Chicony Electronics Co., Ltd
Bus 001 Device 026: ID 047f:c03a Plantronics, Inc.
Bus 001 Device 020: ID 17ef:305b Lenovo
Bus 001 Device 056: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 055: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 017: ID 17ef:305a Lenovo
Bus 001 Device 009: ID 8087:0a2b Intel Corp.
Bus 001 Device 007: ID 0765:5010 X-Rite, Inc. X-Rite Pantone Color Sensor
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (570, 'testing-debug'), (570, 'testing'), (540, 'unstable-debug'), (540, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-image-4.17.0-1-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.132
ii kmod 25-1
ii linux-base 4.5
Versions of packages linux-image-4.17.0-1-amd64 recommends:
ii apparmor 2.13-8
ii firmware-linux-free 3.4
ii irqbalance 1.3.0-0.1+b1
Versions of packages linux-image-4.17.0-1-amd64 suggests:
pn debian-kernel-handbook <none>
ii extlinux 3:6.03+dfsg1-2
ii grub-efi-amd64 2.02+dfsg1-4
ii linux-doc-4.17 4.17.8-1
Versions of packages linux-image-4.17.0-1-amd64 is related to:
ii firmware-amd-graphics 20180518-1
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>
ii firmware-iwlwifi 20180518-1
pn firmware-libertas <none>
ii firmware-linux-nonfree 20180518-1
ii firmware-misc-nonfree 20180518-1
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
--- End Message ---
--- Begin Message ---
On Mon, Aug 06, 2018 at 11:41:56PM +0800, Ben Hutchings wrote:
> On Mon, 2018-08-06 at 10:51 +0100, Sam Morris wrote:
> > Package: src:linux
> > Version: 4.17.8-1
> > Severity: normal
> >
> > fwupd is unable to update the firmware on my Lenovo P50.
> >
> > lstat("/sys/firmware/efi/efivars/fwupd-ddc0ee61-e7f0-4e7d-acc5-c070a398838e-0-0abba7dc-e516-4167-bbf5-4d9d1c739416", {st_mode=S_IFREG|0644, st_size=230, ...}) = 0
> > openat(AT_FDCWD, "/sys/firmware/efi/efivars/fwupd-ddc0ee61-e7f0-4e7d-acc5-c070a398838e-0-0abba7dc-e516-4167-bbf5-4d9d1c739416", O_RDONLY) = 22
> > lseek(22, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> > ioctl(22, FS_IOC_GETFLAGS, 0x7ffd48365c14) = 0
> > close(22) = 0
> > openat(AT_FDCWD, "/sys/firmware/efi/efivars/fwupd-ddc0ee61-e7f0-4e7d-acc5-c070a398838e-0-0abba7dc-e516-4167-bbf5-4d9d1c739416", O_WRONLY) = 22
> > lseek(22, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> > poll([{fd=22, events=POLLOUT}], 1, -1) = 1 ([{fd=22, revents=POLLOUT}])
> > write(22, "\7\0\0\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 230) = -1 ENOSPC (No space left on device)
> >
> > While searching for a solution I came across
> > <https://bugzilla.redhat.com/show_bug.cgi?id=919485>.[...]
>
> That is from 2013. The EFI variable support code was subsequently
> changed to work around common bugs in EFI implementations. If you
> still don't want efi-pstore, you can put efi-pstore.pstore_disable=Y on
> the kernel command line. But I don't think we're likely to change the
> default again.
>
> Older messages logged to EFI variables will be deleted automatically.
Ok--I was being overly paranoid, thanks for the info. I was able to
remove the variables and after a couple of reboots fwupd was able to
create new variables again.
> However I notice that your report says:
>
> [...]
> > ** Tainted: W (512)
> > * Taint on warning.
>
> If this warning, or warnings, are logged at every boot, that might mean
> that the variable space always gets filled up again before fwupd can
> run.
>
> Can you look back through the system log (dmesg or /var/log/messages)
> to find the warning message? We would need to see everything from
> "WARNING" down to "end trace".
Yeah, I get a *lot* of these:
Jul 11 20:54:26 kernel: WARNING: CPU: 1 PID: 25085 at /build/linux-w6OyHc/linux-4.17.3/drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h:170 nouveau_dp_detect+0x9b/0x360 [nouveau]
Jul 11 20:54:26 kernel: Modules linked in: tcp_diag inet_diag cpuid nls_ascii nls_cp437 vfat fat rfcomm fuse nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype xt_conntrack devlink br_netfilter ebtable_filter ebtables overlay
Jul 11 20:54:26 kernel: snd_hda_intel iwlwifi snd_usb_audio libahci videobuf2_vmalloc snd_hda_codec pcspkr psmouse efivars videobuf2_memops videobuf2_v4l2 snd_usbmidi_lib snd_hda_core snd_rawmidi videobuf2_common snd_seq_device snd_hwdep
Jul 11 20:54:26 kernel: nvme mxm_wmi i915 aesni_intel aes_x86_64 ttm i2c_algo_bit crypto_simd xhci_pci drm_kms_helper xhci_hcd cryptd glue_helper nvme_core evdev serio_raw usbcore drm usb_common shpchp thermal wmi video button
Jul 11 20:54:26 kernel: CPU: 1 PID: 25085 Comm: Xorg Tainted: G W 4.17.0-1-amd64 #1 Debian 4.17.3-1
Jul 11 20:54:26 kernel: Hardware name: LENOVO 20EQA063UK/20EQA063UK, BIOS N1EET77W (1.50 ) 03/28/2018
Jul 11 20:54:26 kernel: RIP: 0010:nouveau_dp_detect+0x9b/0x360 [nouveau]
Jul 11 20:54:26 kernel: RSP: 0018:ffffb7a403c97ac0 EFLAGS: 00010293
Jul 11 20:54:26 kernel: RAX: 0000000000000000 RBX: ffff8c45b4b3d200 RCX: 0000000000000000
Jul 11 20:54:26 kernel: RDX: ffffb7a40600e584 RSI: ffffb7a40600e584 RDI: 0000000001009007
Jul 11 20:54:26 kernel: RBP: ffff8c45b3d9c000 R08: ffffb7a403c97ad0 R09: ffffb7a403c97aca
Jul 11 20:54:26 kernel: R10: 0000000000000000 R11: 0000000000000010 R12: ffff8c45b3d99000
Jul 11 20:54:26 kernel: R13: ffff8c45b3aae000 R14: ffff8c45ba354340 R15: ffff8c45b4b3d218
Jul 11 20:54:26 kernel: FS: 00007f5a932336c0(0000) GS:ffff8c45df440000(0000) knlGS:0000000000000000
Jul 11 20:54:26 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 11 20:54:26 kernel: CR2: 00007ffb7104a000 CR3: 0000000879dda001 CR4: 00000000003606e0
Jul 11 20:54:26 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jul 11 20:54:26 kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jul 11 20:54:26 kernel: Call Trace:
Jul 11 20:54:26 kernel: ? _cond_resched+0x15/0x40
Jul 11 20:54:26 kernel: nouveau_connector_detect+0x2ea/0x4f0 [nouveau]
Jul 11 20:54:26 kernel: ? drm_modeset_lock+0x40/0xf0 [drm]
Jul 11 20:54:26 kernel: ? drm_modeset_lock+0x40/0xf0 [drm]
Jul 11 20:54:26 kernel: ? drm_helper_probe_single_connector_modes+0xd1/0x6c0 [drm_kms_helper]
Jul 11 20:54:26 kernel: drm_helper_probe_single_connector_modes+0xd1/0x6c0 [drm_kms_helper]
Jul 11 20:54:26 kernel: ? __slab_free+0x15a/0x300
Jul 11 20:54:26 kernel: drm_mode_getconnector+0x156/0x320 [drm]
Jul 11 20:54:26 kernel: ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm]
Jul 11 20:54:26 kernel: drm_ioctl_kernel+0x5b/0xb0 [drm]
Jul 11 20:54:26 kernel: drm_ioctl+0x2c3/0x360 [drm]
Jul 11 20:54:26 kernel: ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm]
Jul 11 20:54:26 kernel: nouveau_drm_ioctl+0x64/0xc0 [nouveau]
Jul 11 20:54:26 kernel: do_vfs_ioctl+0xa4/0x630
Jul 11 20:54:26 kernel: ? _crng_backtrack_protect+0x32/0x70
Jul 11 20:54:26 kernel: ? memzero_explicit+0xa/0x10
Jul 11 20:54:26 kernel: ? urandom_read+0x110/0x260
Jul 11 20:54:26 kernel: ksys_ioctl+0x70/0x80
Jul 11 20:54:26 kernel: __x64_sys_ioctl+0x16/0x20
Jul 11 20:54:26 kernel: do_syscall_64+0x55/0x110
Jul 11 20:54:26 kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul 11 20:54:26 kernel: RIP: 0033:0x7f5a9089ff07
Jul 11 20:54:26 kernel: RSP: 002b:00007ffd73377e38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jul 11 20:54:26 kernel: RAX: ffffffffffffffda RBX: 00005583db834c90 RCX: 00007f5a9089ff07
Jul 11 20:54:26 kernel: RDX: 00007ffd73377e70 RSI: 00000000c05064a7 RDI: 000000000000000c
Jul 11 20:54:26 kernel: RBP: 00007ffd73377e70 R08: 00005583e0d99d60 R09: 0000000000000000
Jul 11 20:54:26 kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c05064a7
Jul 11 20:54:26 kernel: R13: 000000000000000c R14: 000000000000000c R15: 00007ffd73377e70
Jul 11 20:54:26 kernel: Code: 4c 24 0a 4c 8d 44 24 10 31 c9 ba 09 00 00 00 be 01 00 00 00 48 89 ef e8 c4 c1 f7 ff 85 c0 0f 85 8f 00 00 00 80 7c 24 0a 08 74 02 <0f> 0b 48 89 ef e8 9b bf f7 ff 44 0f b6 44 24 11 0f b6 4c 24 12
Jul 11 20:54:26 kernel: ---[ end trace 7a1b1ab6b92d73f3 ]---
Jul 11 20:54:26 kernel: nouveau 0000:01:00.0: DRM: DDC responded, but no EDID for DP-2
According to grep, about 5000 a month. I've reported that issue separately
<https://bugs.freedesktop.org/show_bug.cgi?id=107167>.
Thanks again :)
--
Sam Morris <https://robots.org.uk/>
CAAA AA1A CA69 A83A 892B 1855 D20B 4202 5CDA 27B9
--- End Message ---