Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #61665 > unrolled thread

Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17

Started byNicolas George <george@nsup.org>
First post2018-07-28 12:40 +0200
Last post2018-08-05 11:40 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17 Nicolas George <george@nsup.org> - 2018-07-28 12:40 +0200
    Processed: Re: Bug#904822: linux-image-4.17.0-1-amd64:  Freeze/timing/interrupt problems since 4.17 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-07-30 14:30 +0200
    Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17 Ben Hutchings <ben@decadent.org.uk> - 2018-07-30 14:30 +0200
      Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17 Nicolas George <george@nsup.org> - 2018-08-01 19:40 +0200
        Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17 Ben Hutchings <ben@decadent.org.uk> - 2018-08-02 06:50 +0200
          Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17 Nicolas George <george@nsup.org> - 2018-08-05 11:40 +0200

#61665 — Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17

FromNicolas George <george@nsup.org>
Date2018-07-28 12:40 +0200
SubjectBug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17
Message-ID<wguNH-40d-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: src:linux
Version: 4.17.8-1
Severity: normal

Dear Maintainer,

Since kernel 4.17.8-1 have migrated to testing, I have been experiencing the
two following issues, that I believe are related:

- Processes doing disk accesses sometimes go into D state, while the
  disk itself is idle and the kernel reports nothing spurious (in
  particular no hardware timeout nor bus reset), and stay there several
  seconds or many minutes.

- The audio device takes a noticeable time to open.

Both could be explained by some kind of interrupt problem.

For the audio device, I have the following strace output for "aplay -f
S16_LE -r 48000 -c 2 /dev/zero":

1532683807.044375 ioctl(3, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7fffbb82edcc) = 0 <0.000006>
1532683807.044393 openat(AT_FDCWD, "/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 4 <0.161654>
1532683807.206124 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 <0.000018>

Notice the 0.16 seconds to open pcmC0D0p. If the same command is run less
than a few seconds after the last use of the audio device, it goes down to:

1532683819.333547 ioctl(3, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7fffd28eadec) = 0 <0.000006>
1532683819.333565 openat(AT_FDCWD, "/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 4 <0.000022>
1532683819.333599 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 <0.000005>

With kernel 4.16.0-2-amd64, it is always fast:

1532770761.849012 ioctl(3, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7ffeb256f63c) = 0 <0.000006>
1532770761.849034 openat(AT_FDCWD, "/dev/snd/pcmC0D0p", O_RDWR|O_APPEND|O_NONBLOCK|O_CLOEXEC) = 4 <0.000012>
1532770761.849064 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 <0.000005>

For the problem with processes in D state, I have the following kernel
backtrace. The hard drive was behaving normally at the time, mostly idle (by
ear):

[32866.954230] INFO: task md0_raid1:200 blocked for more than 120 seconds.
[32866.954241]       Tainted: G          I       4.17.0-1-amd64 #1 Debian 4.17.8-1
[32866.954245] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[32866.954249] md0_raid1       D    0   200      2 0x80000000
[32866.954257] Call Trace:
[32866.954273]  ? __schedule+0x291/0x870
[32866.954280]  schedule+0x28/0x80
[32866.954299]  md_super_wait+0x6e/0xa0 [md_mod]
[32866.954312]  ? finish_wait+0x80/0x80
[32866.954326]  write_page+0x249/0x330 [md_mod]
[32866.954333]  ? __schedule+0x299/0x870
[32866.954347]  md_update_sb.part.62+0x367/0x840 [md_mod]
[32866.954361]  md_check_recovery+0x4ab/0x570 [md_mod]
[32866.954371]  raid1d+0x5c/0x880 [raid1]
[32866.954383]  ? lock_timer_base+0x67/0x80
[32866.954389]  ? try_to_del_timer_sync+0x4d/0x80
[32866.954396]  ? del_timer_sync+0x35/0x40
[32866.954403]  ? schedule_timeout+0x181/0x380
[32866.954415]  ? find_pers+0x70/0x70 [md_mod]
[32866.954426]  ? md_thread+0x122/0x160 [md_mod]
[32866.954434]  ? handle_read_error+0x4c0/0x4c0 [raid1]
[32866.954445]  md_thread+0x122/0x160 [md_mod]
[32866.954453]  ? finish_wait+0x80/0x80
[32866.954464]  kthread+0x113/0x130
[32866.954472]  ? kthread_create_worker_on_cpu+0x70/0x70
[32866.954480]  ret_from_fork+0x35/0x40
[32866.954490] INFO: task systemd-journal:339 blocked for more than 120 seconds.
[32866.954495]       Tainted: G          I       4.17.0-1-amd64 #1 Debian 4.17.8-1
[32866.954498] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[32866.954502] systemd-journal D    0   339      1 0x00000104
[32866.954508] Call Trace:
[32866.954515]  ? __schedule+0x291/0x870

Regards,

-- 
  Nicolas George


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: ZOTAC
product_name: ZBOX-ID91
product_version: XX
chassis_vendor: NA
chassis_version: NA
bios_vendor: American Megatrends Inc.
bios_version: B206P009
board_vendor: ZOTAC
board_name: ZBOX-ID91
board_version: XX

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
	Subsystem: ZOTAC International (MCO) Ltd. 4th Gen Core Processor DRAM Controller [19da:b206]
	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: hsw_uncore

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller [8086:041e] (rev 06) (prog-if 00 [VGA controller])
	Subsystem: ZOTAC International (MCO) Ltd. 4th Generation Core Processor Family Integrated Graphics Controller [19da:b206]
	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 30
	Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at e0000000 (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:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
	Subsystem: ZOTAC International (MCO) Ltd. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [19da:b206]
	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 f7d14000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05) (prog-if 30 [XHCI])
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset Family USB xHCI [19da:b206]
	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 26
	Region 0: Memory at f7d00000 (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 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset Family MEI Controller [19da:b206]
	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 28
	Region 0: Memory at f7d1e000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset Family USB EHCI [19da:b206]
	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 16
	Region 0: Memory at f7d1c000 (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 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset High Definition Audio Controller [19da:b206]
	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 31
	Region 0: Memory at f7d10000 (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 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5) (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 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: df200000-df3fffff
	Prefetchable memory behind bridge: 00000000df400000-00000000df5fffff
	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.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5) (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 D routed to IRQ 19
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Prefetchable memory behind bridge: 00000000f0100000-00000000f01fffff
	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 8 Series/C220 Series Chipset Family PCI Express Root Port #5 [8086:8c18] (rev d5) (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 16
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Prefetchable memory behind bridge: 00000000f0000000-00000000f00fffff
	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.5 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 [8086:8c1a] (rev d5) (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 17
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	Memory behind bridge: f7c00000-f7cfffff
	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 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset Family USB EHCI [19da:b206]
	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 23
	Region 0: Memory at f7d1b000 (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 C220 Series Chipset Family H81 Express LPC Controller [8086:8c5c] (rev 05)
	Subsystem: ZOTAC International (MCO) Ltd. C220 Series Chipset Family H81 Express LPC Controller [19da:b206]
	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 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [19da:b206]
	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 27
	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 f7d1a000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
	Subsystem: ZOTAC International (MCO) Ltd. 8 Series/C220 Series Chipset Family SMBus Controller [19da:b206]
	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 f7d19000 (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

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
	Subsystem: ZOTAC International (MCO) Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [19da:8168]
	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
	Region 0: I/O ports at e000 [size=256]
	Region 2: Memory at f0104000 (64-bit, prefetchable) [size=4K]
	Region 4: Memory at f0100000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
	Subsystem: ZOTAC International (MCO) Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [19da:8168]
	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
	Region 0: I/O ports at d000 [size=256]
	Region 2: Memory at f0004000 (64-bit, prefetchable) [size=4K]
	Region 4: Memory at f0000000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

04:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 83)
	Subsystem: Intel Corporation Dual Band Wireless-AC 3160 [8086:0070]
	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 29
	Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi


** USB devices:
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 8087:07dc Intel Corp. 
Bus 003 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 006: ID 0d3d:0001 Tangtop Technology Co., Ltd HID Keyboard
Bus 003 Device 004: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse (M-BT58)
Bus 003 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: buster/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.17.0-1-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.131
ii  kmod                                    25-1
ii  linux-base                              4.5

Versions of packages linux-image-4.17.0-1-amd64 recommends:
pn  apparmor             <none>
ii  firmware-linux-free  3.4
pn  irqbalance           <none>

Versions of packages linux-image-4.17.0-1-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 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     20170823-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          20170823-1
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20170823-1
ii  firmware-misc-nonfree     20170823-1
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
ii  firmware-realtek          20170823-1
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

[toc] | [next] | [standalone]


#61674 — Processed: Re: Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2018-07-30 14:30 +0200
SubjectProcessed: Re: Bug#904822: linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17
Message-ID<whftg-7Cs-17@gated-at.bofh.it>
In reply to#61665
Processing control commands:

> tag -1 moreinfo
Bug #904822 [src:linux] linux-image-4.17.0-1-amd64: Freeze/timing/interrupt problems since 4.17
Added tag(s) moreinfo.

-- 
904822: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904822
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#61675

FromBen Hutchings <ben@decadent.org.uk>
Date2018-07-30 14:30 +0200
Message-ID<whftg-7Cs-19@gated-at.bofh.it>
In reply to#61665

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo

On Sat, 2018-07-28 at 12:15 +0200, Nicolas George wrote:
> Package: src:linux
> Version: 4.17.8-1
> Severity: normal
> 
> Dear Maintainer,
> 
> Since kernel 4.17.8-1 have migrated to testing, I have been experiencing the
> two following issues, that I believe are related:
> 
> - Processes doing disk accesses sometimes go into D state, while the
>   disk itself is idle and the kernel reports nothing spurious (in
>   particular no hardware timeout nor bus reset), and stay there several
>   seconds or many minutes.
> 
> - The audio device takes a noticeable time to open.
> 
> Both could be explained by some kind of interrupt problem.
[...]

Or perhaps by these changes listed in the changelog:

  * Improve battery life on laptops (Closes: #898629)
    Thanks to Hans de Goede <hdegoede@redhat.com>
    - ATA: A new SATA link-powermanagement-policy will be the default on all
      Intel mobile chipsets. This can be reverted by passing 
      "ahci.mobile_lpm_policy=0" on the kernel commandline.
    - sound: Enable Intel HDA codec power-saving by default with a 1 second
      timeout. This can be overridden by passing "snd_hda_intel.power_save=0"
      on the kernel commandline (0 is previously default).

The hints there are meant as workarounds.  Let us know if they work for
you.  We can disable power-saving by default on specific hardware where
it doesn't work properly.

Ben.

-- 
Ben Hutchings
Tomorrow will be cancelled due to lack of interest.

[toc] | [prev] | [next] | [standalone]


#61687

FromNicolas George <george@nsup.org>
Date2018-08-01 19:40 +0200
Message-ID<wi3gm-4xK-17@gated-at.bofh.it>
In reply to#61675

[Multipart message — attachments visible in raw view] — view raw

Ben Hutchings (2018-07-30):
> Or perhaps by these changes listed in the changelog:
> 
>   * Improve battery life on laptops (Closes: #898629)
>     Thanks to Hans de Goede <hdegoede@redhat.com>
>     - ATA: A new SATA link-powermanagement-policy will be the default on all
>       Intel mobile chipsets. This can be reverted by passing 
>       "ahci.mobile_lpm_policy=0" on the kernel commandline.
>     - sound: Enable Intel HDA codec power-saving by default with a 1 second
>       timeout. This can be overridden by passing "snd_hda_intel.power_save=0"
>       on the kernel commandline (0 is previously default).
> 
> The hints there are meant as workarounds.  Let us know if they work for
> you.  We can disable power-saving by default on specific hardware where
> it doesn't work properly.

I had not thought the issues were direct consequences of intentional
changes. I should have, I am sorry for wasting your time that way.

The audio issue is indeed fixed with:

options snd-hda-intel power_save=0

in /etc/modprobe.d/snd_hda_intel.conf. Also, the 0.16 seconds delay is
probably only a problem with my very specific use case. It can be
forgotten.

The non-responsiveness of the hard drive is NOT fixed by:

options ahci mobile_lpm_policy=0

in /etc/modprobe.d/ahci.conf nor by by ahci.mobile_lpm_policy=0 on the
kernel command line (I checked, for both cases,
/sys/module/ahci/parameters/mobile_lpm_policy to see they were taken
into account). I still get:

[26825.694342] INFO: task md0_raid1:201 blocked for more than 120 seconds.
[26825.694351]       Tainted: G          I       4.17.0-1-amd64 #1 Debian 4.17.8-1
[26825.694353] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[26825.694356] md0_raid1       D    0   201      2 0x80000000
[26825.694362] Call Trace:
[26825.694374]  ? __schedule+0x291/0x870
[26825.694381]  schedule+0x28/0x80
[26825.694393]  md_super_wait+0x6e/0xa0 [md_mod]
[26825.694402]  ? finish_wait+0x80/0x80
[26825.694415]  write_page+0x249/0x330 [md_mod]
[26825.694420]  ? __schedule+0x299/0x870
[26825.694429]  md_update_sb.part.62+0x367/0x840 [md_mod]
[26825.694441]  md_check_recovery+0x4ab/0x570 [md_mod]
[26825.694451]  raid1d+0x5c/0x880 [raid1]
[26825.694461]  ? lock_timer_base+0x67/0x80
[26825.694466]  ? try_to_del_timer_sync+0x4d/0x80
[26825.694471]  ? del_timer_sync+0x35/0x40
[26825.694476]  ? schedule_timeout+0x181/0x380
[26825.694484]  ? find_pers+0x70/0x70 [md_mod]
[26825.694492]  ? md_thread+0x122/0x160 [md_mod]
[26825.694497]  ? handle_read_error+0x4c0/0x4c0 [raid1]
[26825.694504]  md_thread+0x122/0x160 [md_mod]
[26825.694510]  ? finish_wait+0x80/0x80
[26825.694518]  kthread+0x113/0x130
[26825.694523]  ? kthread_create_worker_on_cpu+0x70/0x70
[26825.694529]  ret_from_fork+0x35/0x40

And this is a rather serious bug.

Do you think of anything I should try to get more diagnostics?

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#61689

FromBen Hutchings <ben@decadent.org.uk>
Date2018-08-02 06:50 +0200
Message-ID<widIJ-2H2-13@gated-at.bofh.it>
In reply to#61687

[Multipart message — attachments visible in raw view] — view raw

On Wed, 2018-08-01 at 19:19 +0200, Nicolas George wrote:
> Ben Hutchings (2018-07-30):
> > Or perhaps by these changes listed in the changelog:
> > 
> >   * Improve battery life on laptops (Closes: #898629)
> >     Thanks to Hans de Goede <hdegoede@redhat.com>
> >     - ATA: A new SATA link-powermanagement-policy will be the default on all
> >       Intel mobile chipsets. This can be reverted by passing 
> >       "ahci.mobile_lpm_policy=0" on the kernel commandline.
> >     - sound: Enable Intel HDA codec power-saving by default with a 1 second
> >       timeout. This can be overridden by passing "snd_hda_intel.power_save=0"
> >       on the kernel commandline (0 is previously default).
> > 
> > The hints there are meant as workarounds.  Let us know if they work for
> > you.  We can disable power-saving by default on specific hardware where
> > it doesn't work properly.
> 
> I had not thought the issues were direct consequences of intentional
> changes. I should have, I am sorry for wasting your time that way.
> 
> The audio issue is indeed fixed with:
> 
> options snd-hda-intel power_save=0
> 
> in /etc/modprobe.d/snd_hda_intel.conf. Also, the 0.16 seconds delay is
> probably only a problem with my very specific use case. It can be
> forgotten.
> 
> The non-responsiveness of the hard drive is NOT fixed by:
> 
> options ahci mobile_lpm_policy=0
> 
> in /etc/modprobe.d/ahci.conf nor by by ahci.mobile_lpm_policy=0 on the
> kernel command line (I checked, for both cases,
> /sys/module/ahci/parameters/mobile_lpm_policy to see they were taken
> into account). I still get:
[...]
> Do you think of anything I should try to get more diagnostics?
[...]

Someone else suggested this might be related to using "blk-mq", so
could you try with these parameter:

dm_mod.use_blk_mq=0 scsi_mod.use_blk_mq=0

Also, do you have laptop-mode-tools installed?

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

[toc] | [prev] | [next] | [standalone]


#61720

FromNicolas George <george@nsup.org>
Date2018-08-05 11:40 +0200
Message-ID<wjnG1-4kO-11@gated-at.bofh.it>
In reply to#61689

[Multipart message — attachments visible in raw view] — view raw

Ben Hutchings (2018-08-02):
> Someone else suggested this might be related to using "blk-mq", so
> could you try with these parameter:
> 
> dm_mod.use_blk_mq=0 scsi_mod.use_blk_mq=0

The machine ran for two days withh these options, and no strange I/O
freeze happened. It is still a bit early to be sure, but it seems to be
the culprit. Thanks for your help.

If you need any extra information to bring the fix to other people who
might be affected, please let me know.

> Also, do you have laptop-mode-tools installed?

No. This machine is a mini-PC, not a laptop, it only runs on sector.

By the way, the hard drive is a 7200 RPM 2.5"; they are uncommon, it
could be related to the issue.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web