Discussion:
Bug#934304: linux-image-5.2.0-2-amd64: powertop aborts on version 5.2
(too old to reply)
Reinhard Karcher
2019-08-09 10:40:01 UTC
Permalink
Package: src:linux
Version: 5.2.7-1
Severity: normal

Dear Maintainer,

starting with version 5.2.0-2, powertop aborts, version 4.19.0-5 is OK




-- Package-specific info:
** Version:
Linux version 5.2.0-2-amd64 (debian-***@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-19)) #1 SMP Debian 5.2.7-1 (2019-08-07)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-5.2.0-2-amd64 root=UUID=62878f00-afec-4500-affc-1e8ecd1c996e ro resume=/dev/disk/by-label/swap quiet nohz_full=1,2,3,4,5,6,7

** Not tainted

** Kernel log:
[ 20.627518] AVX version of gcm_enc/dec engaged.
[ 20.627518] AES CTR mode by8 optimization enabled
[ 21.042236] media: Linux media interface: v0.10
[ 21.067768] Console: switching to colour frame buffer device 240x67
[ 21.072152] videodev: Linux video capture interface: v2.00
[ 21.089373] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 21.091896] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[ 21.092045] nouveau 0000:01:00.0: NVIDIA GF108 (0c1400a1)
[ 21.126179] nouveau 0000:01:00.0: bios: version 70.08.a9.00.01
[ 21.233964] nouveau 0000:01:00.0: fb: 1024 MiB DDR3
[ 21.251083] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 21.251084] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[ 21.251085] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[ 21.251086] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0
[ 21.263890] iwlwifi 0000:03:00.0: reporting RF_KILL (radio disabled)
[ 21.263910] iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio.
[ 21.296811] vga_switcheroo: enabled
[ 21.296902] [TTM] Zone kernel: Available graphics memory: 4031184 KiB
[ 21.296903] [TTM] Zone dma32: Available graphics memory: 2097152 KiB
[ 21.296904] [TTM] Initializing pool allocator
[ 21.296907] [TTM] Initializing DMA pool allocator
[ 21.296929] nouveau 0000:01:00.0: DRM: VRAM: 1024 MiB
[ 21.296930] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[ 21.296933] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[ 21.296934] nouveau 0000:01:00.0: DRM: DCB version 4.0
[ 21.296935] nouveau 0000:01:00.0: DRM: DCB outp 00: 02000300 00000000
[ 21.296937] nouveau 0000:01:00.0: DRM: DCB conn 00: 00000000
[ 21.297651] nouveau 0000:01:00.0: DRM: MM: using COPY0 for buffer copies
[ 21.298157] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 21.298158] [drm] Driver supports precise vblank timestamp query.
[ 21.326637] snd_hda_codec_realtek hdaudioC0D0: ALC269VC: SKU not ready 0x909701f0
[ 21.326958] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 21.326959] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 21.326960] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[ 21.326961] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 21.326961] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 21.326962] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 21.326963] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
[ 21.326964] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 21.334017] nouveau 0000:01:00.0: DRM: allocated 1024x768 fb: 0x60000, bo 00000000292cc6e2
[ 21.334071] nouveau 0000:01:00.0: fb1: nouveaudrmfb frame buffer device
[ 21.334182] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
[ 21.346638] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 21.388017] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[ 21.388100] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[ 21.388168] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[ 21.388252] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[ 21.400578] uvcvideo: Found UVC 1.00 device FJ Camera (04f2:b302)
[ 21.438250] uvcvideo 1-1.1:1.0: Entity type for entity Extension 3 was not initialized!
[ 21.438254] uvcvideo 1-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 21.438256] uvcvideo 1-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 21.438368] input: FJ Camera: FJ Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input19
[ 21.438478] usbcore: registered new interface driver uvcvideo
[ 21.438480] USB Video Class driver (1.1.1)
[ 22.369780] intel_rapl: Found RAPL domain package
[ 22.369783] intel_rapl: Found RAPL domain core
[ 22.369785] intel_rapl: Found RAPL domain uncore
[ 22.369795] intel_rapl: RAPL package 0 domain package locked by BIOS
[ 24.971080] Adding 16383996k swap on /dev/sda7. Priority:-2 extents:1 across:16383996k FS
[ 26.379748] ACPI: \_SB_.PCI0.RP00.VGA_: failed to evaluate _DSM
[ 27.546099] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 28.592035] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 29.835283] audit: type=1400 audit(1565334287.017:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=775 comm="apparmor_parser"
[ 29.909516] audit: type=1400 audit(1565334287.089:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="traceroute" pid=774 comm="apparmor_parser"
[ 29.910784] audit: type=1400 audit(1565334287.089:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/dnsmasq" pid=772 comm="apparmor_parser"
[ 29.910797] audit: type=1400 audit(1565334287.089:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/dnsmasq//libvirt_leaseshelper" pid=772 comm="apparmor_parser"
[ 29.941857] audit: type=1400 audit(1565334287.121:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="identd" pid=780 comm="apparmor_parser"
[ 29.978174] audit: type=1400 audit(1565334287.157:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ping" pid=781 comm="apparmor_parser"
[ 29.982985] audit: type=1400 audit(1565334287.161:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nscd" pid=783 comm="apparmor_parser"
[ 30.010744] audit: type=1400 audit(1565334287.189:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=779 comm="apparmor_parser"
[ 30.046525] audit: type=1400 audit(1565334287.225:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/mysqld-akonadi" pid=769 comm="apparmor_parser"
[ 30.046538] audit: type=1400 audit(1565334287.225:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/mysqld-akonadi///usr/sbin/mysqld" pid=769 comm="apparmor_parser"
[ 34.512559] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 34.515701] br0: port 1(tap0) entered blocking state
[ 34.515702] br0: port 1(tap0) entered disabled state
[ 34.515737] device tap0 entered promiscuous mode
[ 34.518063] br0: port 2(tap1) entered blocking state
[ 34.518064] br0: port 2(tap1) entered disabled state
[ 34.518101] device tap1 entered promiscuous mode
[ 34.520746] br0: port 3(tap2) entered blocking state
[ 34.520748] br0: port 3(tap2) entered disabled state
[ 34.520814] device tap2 entered promiscuous mode
[ 39.904045] kauditd_printk_skb: 34 callbacks suppressed
[ 39.904048] audit: type=1400 audit(1565334297.085:46): apparmor="DENIED" operation="open" profile="/usr/sbin/apt-cacher-ng" name="/etc/ssl/openssl.cnf" pid=1135 comm="apt-cacher-ng" requested_mask="r" denied_mask="r" fsuid=138 ouid=0
[ 41.398558] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 41.474534] NFSD: Using legacy client tracking operations.
[ 41.474541] NFSD: starting 90-second grace period (net f0000098)
[ 47.734272] r8169 0000:05:00.0: firmware: direct-loading firmware rtl_nic/rtl8168e-3.fw
[ 47.734515] RTL8211E Gigabit Ethernet r8169-500:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-500:00, irq=IGNORE)
[ 47.916357] r8169 0000:05:00.0 eth0: Link is Down
[ 50.347564] r8169 0000:05:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 50.347581] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 93.127684] ACPI: \_SB_.PCI0.RP00.VGA_: failed to evaluate _DSM
[ 367.735150] device-mapper: uevent: version 1.0.3
[ 367.735316] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-***@redhat.com
[ 400.553575] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 400.588011] JFS: nTxBlock = 8192, nTxLock = 65536
[ 400.731198] QNX4 filesystem 0.2.3 registered.
[ 400.864578] fuse: init (API version 7.31)
[11583.596061] sr 2:0:0:0: [sr0] CDROM not ready. Make sure there is a disc in the drive.

** Model information
sys_vendor: FUJITSU
product_name: LIFEBOOK N532
product_version:
chassis_vendor: FUJITSU
chassis_version:
bios_vendor: FUJITSU // American Megatrends Inc.
bios_version: 1.14
board_vendor: FUJITSU
board_name: FJNBB21
board_version:

** Loaded modules:
fuse
ufs
qnx4
hfsplus
hfs
minix
vfat
msdos
fat
jfs
xfs
dm_mod
cpufreq_userspace
cpufreq_powersave
cpufreq_conservative
nft_counter
nft_chain_nat
xt_MASQUERADE
nf_nat
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
nft_compat
nf_tables
nfnetlink
bridge
stp
llc
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
coretemp
kvm_intel
kvm
uvcvideo
snd_hda_codec_hdmi
arc4
snd_hda_codec_realtek
snd_hda_codec_generic
ledtrig_audio
iwldvm
irqbypass
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
videobuf2_common
snd_hda_intel
videodev
snd_hda_codec
media
crct10dif_pclmul
crc32_pclmul
ghash_clmulni_intel
mac80211
aesni_intel
snd_hda_core
nouveau
aes_x86_64
snd_hwdep
i915
crypto_simd
snd_pcm
cryptd
ttm
iwlwifi
snd_timer
glue_helper
drm_kms_helper
snd
pcc_cpufreq
intel_cstate
drm
cfg80211
sg
iTCO_wdt
intel_uncore
joydev
iTCO_vendor_support
watchdog
rfkill
serio_raw
i2c_algo_bit
soundcore
evdev
button
battery
wmi_bmof
mxm_wmi
fujitsu_laptop
sparse_keymap
pcspkr
ac
intel_rapl_perf
nfsd
auth_rpcgss
nfs_acl
lockd
grace
sunrpc
binfmt_misc
tun
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
btrfs
zstd_decompress
zstd_compress
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_xor
async_tx
xor
raid6_pq
libcrc32c
crc32c_generic
raid1
raid0
multipath
linear
md_mod
sd_mod
sr_mod
cdrom
ahci
libahci
xhci_pci
libata
xhci_hcd
ehci_pci
ehci_hcd
crc32c_intel
r8169
scsi_mod
usbcore
psmouse
realtek
libphy
lpc_ich
i2c_i801
mfd_core
usb_common
video
wmi

** Network interface configuration:

auto lo
iface lo inet loopback


iface tap0 inet manual
pre-up tunctl -u reinhard -t tap0
postdown tunctl -d tap0

iface tap1 inet manual
pre-up tunctl -u reinhard -t tap1
postdown tunctl -d tap1

iface tap2 inet manual
pre-up tunctl -u reinhard -t tap2
postdown tunctl -d tap2

auto tap0 tap1 tap2 br0

iface br0 inet static
bridge_ports tap0 tap1 tap2
bridge_fd 0
up iptables -t nat -A POSTROUTING -s 172.16.99.0/24 -j MASQUERADE
down iptables -t nat -D POSTROUTING -s 172.16.99.0/24 -j MASQUERADE
address 172.16.99.1
netmask 255.255.255.0



** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 50:26:90:18:0b:4d brd ff:ff:ff:ff:ff:ff
inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
valid_lft 851820sec preferred_lft 851820sec
inet6 2001:16b8:457a:e300:29d6:9ba2:d1dd:3d26/128 scope global dynamic noprefixroute
valid_lft 5734sec preferred_lft 2134sec
inet6 2001:16b8:457a:e300:de5c:2164:a8bd:4044/64 scope global dynamic noprefixroute
valid_lft 7167sec preferred_lft 3567sec
inet6 fe80::29d6:9ba2:d1dd:3d26/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 76:41:5d:49:21:39 brd ff:ff:ff:ff:ff:ff
4: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN group default qlen 1000
link/ether d2:84:be:5a:c7:ff brd ff:ff:ff:ff:ff:ff
5: tap1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN group default qlen 1000
link/ether ca:5d:19:56:ed:8f brd ff:ff:ff:ff:ff:ff
6: tap2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN group default qlen 1000
link/ether 52:7a:78:1c:bd:50 brd ff:ff:ff:ff:ff:ff
7: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:7a:78:1c:bd:50 brd ff:ff:ff:ff:ff:ff
inet 172.16.99.1/24 brd 172.16.99.255 scope global br0
valid_lft forever preferred_lft forever

*** Device statistics:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 20400435 245811 0 0 0 0 0 0 20400435 245811 0 0 0 0 0 0
tap2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
tap0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wlan0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0: 53269547 88466 0 24440 0 0 0 1312 9901529 56307 0 0 0 0 0 0
tap1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
br0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

*** Protocol statistics:
Ip:
Forwarding: 1
282580 total packets received
0 forwarded
0 incoming packets discarded
282552 incoming packets delivered
280800 requests sent out
1 dropped because of missing route
Icmp:
0 ICMP messages received
0 input ICMP message failed
ICMP input histogram:
15 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 15
IcmpMsg:
OutType3: 15
Tcp:
1449 active connection openings
7 passive connection openings
2 failed connection attempts
259 connection resets received
14 connections established
299186 segments received
295397 segments sent out
273 segments retransmitted
0 bad segments received
787 resets sent
Udp:
8741 packets received
15 packets to unknown port received
0 packet receive errors
5228 packets sent
0 receive buffer errors
0 send buffer errors
IgnoredMulti: 47
UdpLite:
TcpExt:
673 TCP sockets finished time wait in fast timer
580 delayed acks sent
Quick ack mode was activated 10 times
157221 packet headers predicted
5908 acknowledgments not containing data payload received
119371 predicted acknowledgments
TCPSackRecovery: 1
Detected reordering 134 times using SACK
1 congestion windows fully recovered without slow start
TCPLostRetransmit: 203
1 fast retransmits
TCPTimeouts: 259
TCPLossProbes: 40
TCPBacklogCoalesce: 20
TCPDSACKOldSent: 10
TCPDSACKRecv: 13
103 connections reset due to unexpected data
185 connections reset due to early user close
27 connections aborted due to timeout
TCPDSACKIgnoredNoUndo: 12
TCPSackMerged: 6
TCPSackShiftFallback: 137
TCPRcvCoalesce: 14865
TCPOFOQueue: 31
TCPAutoCorking: 249
TCPFromZeroWindowAdv: 1
TCPToZeroWindowAdv: 1
TCPOrigDataSent: 135592
TCPHystartTrainDetect: 4
TCPHystartTrainCwnd: 212
TCPHystartDelayDetect: 1
TCPHystartDelayCwnd: 58
TCPKeepAlive: 1330
TCPDelivered: 136839
IpExt:
InNoRoutes: 2
InMcastPkts: 1404
OutMcastPkts: 299
InBcastPkts: 50
OutBcastPkts: 15
InOctets: 42886263
OutOctets: 27556430
InMcastOctets: 349365
OutMcastOctets: 28364
InBcastOctets: 11343
OutBcastOctets: 2787
InNoECTPkts: 284429


** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
Subsystem: Fujitsu Limited. 3rd Gen Core processor DRAM Controller [10cf:16bf]
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: ivb_uncore

00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) (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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 24
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: f5000000-f60fffff [size=17M]
Prefetchable memory behind bridge: 00000000e0000000-00000000f1ffffff [size=288M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

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: Fujitsu Limited. 3rd Gen Core processor Graphics Controller [10cf:16c2]
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 33
Region 0: Memory at f6400000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at f000 [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 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
Subsystem: Fujitsu Limited. 7 Series/C210 Series Chipset Family USB xHCI Host Controller [10cf:16ee]
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 31
Region 0: Memory at f7300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
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: Fujitsu Limited. 7 Series/C216 Chipset Family MEI Controller [10cf:16ea]
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 11
Region 0: Memory at f731b000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel modules: mei_me

00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) (prog-if 20 [EHCI])
Subsystem: Fujitsu Limited. 7 Series/C216 Chipset Family USB Enhanced Host Controller [10cf:16e8]
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 f7318000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: Fujitsu Limited. 7 Series/C216 Chipset Family High Definition Audio Controller [10cf:1757]
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 34
Region 0: Memory at f7310000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) (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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 25
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff [size=4K]
Memory behind bridge: cfb00000-cfcfffff [size=2M]
Prefetchable memory behind bridge: 000000022f600000-000000022f7fffff [size=2M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4) (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, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 26
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: None
Memory behind bridge: f7200000-f72fffff [size=1M]
Prefetchable memory behind bridge: None
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4) (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, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 27
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000d000-0000dfff [size=4K]
Memory behind bridge: f6800000-f71fffff [size=10M]
Prefetchable memory behind bridge: 00000000f2100000-00000000f2afffff [size=10M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.5 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 [8086:1e1a] (rev c4) (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, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 28
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 0000c000-0000cfff [size=4K]
Memory behind bridge: None
Prefetchable memory behind bridge: 00000000f2b00000-00000000f2bfffff [size=1M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) (prog-if 20 [EHCI])
Subsystem: Fujitsu Limited. 7 Series/C216 Chipset Family USB Enhanced Host Controller [10cf:16e8]
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 23
Region 0: Memory at f7317000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1f.0 ISA bridge [0601]: Intel Corporation HM77 Express Chipset LPC Controller [8086:1e57] (rev 04)
Subsystem: Fujitsu Limited. HM77 Express Chipset LPC Controller [10cf:16e0]
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
Capabilities: <access denied>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Fujitsu Limited. 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [10cf:16e2]
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 B routed to IRQ 30
Region 0: I/O ports at f0b0 [size=8]
Region 1: I/O ports at f0a0 [size=4]
Region 2: I/O ports at f090 [size=8]
Region 3: I/O ports at f080 [size=4]
Region 4: I/O ports at f060 [size=32]
Region 5: Memory at f7316000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller [8086:1e22] (rev 04)
Subsystem: Fujitsu Limited. 7 Series/C216 Chipset Family SMBus Controller [10cf:16e6]
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 C routed to IRQ 18
Region 0: Memory at f7315000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at f040 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M] [10de:0de8] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Fujitsu Limited. GF108M [GeForce GT 620M] [10cf:1769]
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 35
Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at e000 [size=128]
Expansion ROM at f6000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau

03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0082] (rev 34)
Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1301]
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 32
Region 0: Memory at f7200000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
Subsystem: Fujitsu Limited. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10cf:175a]
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at c000 [size=256]
Region 2: Memory at f2b04000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at f2b00000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169


** USB devices:
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b302 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-5.2.0-2-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.134
ii kmod 26-1
ii linux-base 4.6

Versions of packages linux-image-5.2.0-2-amd64 recommends:
ii apparmor 2.13.3-4
ii firmware-linux-free 3.4

Versions of packages linux-image-5.2.0-2-amd64 suggests:
ii debian-kernel-handbook 1.0.19
ii grub-pc 2.04-2
pn linux-doc-5.2 <none>

Versions of packages linux-image-5.2.0-2-amd64 is related to:
pn firmware-amd-graphics <none>
ii firmware-atheros 20190717-1
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-cavium <none>
ii firmware-intel-sound 20190717-1
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
ii firmware-iwlwifi 20190717-1
pn firmware-libertas <none>
pn firmware-linux-nonfree <none>
ii firmware-misc-nonfree 20190717-1
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
ii firmware-realtek 20190717-1
pn firmware-samsung <none>
pn firmware-siano <none>
pn firmware-ti-connectivity <none>
pn xen-hypervisor <none>

-- no debconf information
Reinhard Karcher
2019-08-09 10:50:02 UTC
Permalink
As I rebooted the system after the abort, the abort is not seen in the log.
Attached is the relevant part of the log on the system, where the abort
happened.

Reinhard
Bernhard Übelacker
2019-08-09 13:10:02 UTC
Permalink
Control: found -1 linux/5.2.6-1


Dear Maintainer,
the bugreport https://bugs.debian.org/934292
seems about the same issue.

The issue can be reproduced by just accessing the file below.


***@debian:~# strace -f powertop
execve("/usr/sbin/powertop", ["powertop"], 0x7fff5df92d08 /* 11 vars */) = 0
brk(NULL) = 0x56055fbf3000
...
openat(AT_FDCWD, "/sys/kernel/debug/tracing/events/power/cpu_idle/id", O_RDONLY) = ?
+++ killed by SIGKILL +++
Getötet

***@debian:~# cat /sys/kernel/debug/tracing/events/power/cpu_idle/id
Getötet


Issue can not be seen in 5.0.2-1~exp1, appeared in 5.2.6-1.

Kind regards,
Bernhard
Reinhard Karcher
2019-08-09 13:50:02 UTC
Permalink
A selfcompiled kernel from git (version 5.3-rc3) does not show that error.
Bernhard Übelacker
2019-08-10 14:30:01 UTC
Permalink
Dear Maintainer,
this issue seems to start since patch:
features/all/lockdown/0031-tracefs-Restrict-tracefs-when-the-kernel-is-locked-d.patch

Therefore a vanialla build does not show this issue.

With either of the following changes on top of all
debian patches, the exception does not happen.

But the first does also prevent opening the file
when not locked down.

The second allows to open the file, but cannot say
if the intended effect of the patch for lockdowned
kernels is still given.

Kind regards,
Bernhard



diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index 338c791c9a0e..f446977bf9c8 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -41,6 +41,8 @@ static int default_open_file(struct inode *inode, struct file *filp)
return -EPERM;

real_fops = dentry->d_fsdata;
+ if (!real_fops->open)
+ return -EINVAL;
return real_fops->open(inode, filp);
}




diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index 338c791c9a0e..d37c959291ab 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -438,7 +438,7 @@ struct dentry *tracefs_create_file(const char *name, umode_t mode,

dentry->d_fsdata = (void *)fops;
memcpy(proxy_fops, fops, sizeof(*proxy_fops));
- proxy_fops->open = default_open_file;
+ proxy_fops->open = fops->open ? default_open_file : NULL;
inode->i_mode = mode;
inode->i_fop = proxy_fops;
inode->i_private = data;
Salvatore Bonaccorso
2019-08-11 10:00:01 UTC
Permalink
Hi

Related thread on kernel mailinglist: https://lkml.org/lkml/2019/8/11/9

Regards,
Salvatore
Ben Hutchings
2019-08-12 00:40:02 UTC
Permalink
The "open" operation in struct file_operations is optional, and
ftrace_event_id_fops does not set it. In default_file_open(), after
all other checks have passed, return 0 if the underlying struct
file_operations does not implement open.

Fixes: 757ff7244358 ("tracefs: Restrict tracefs when the kernel is 
")
References: https://bugs.debian.org/934304
Signed-off-by: Ben Hutchings <***@decadent.org.uk>
---
fs/tracefs/inode.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index 34da48036e08..761af8ce4015 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -42,6 +42,8 @@ static int default_open_file(struct inode *inode, struct file *filp)
return ret;

real_fops = dentry->d_fsdata;
+ if (!real_fops->open)
+ return 0;
return real_fops->open(inode, filp);
}

Loading...