System was stuttering during intensive IO on SD card

Bug #1783643 reported by Ilya V. Yesin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

dmesg output follows:
[476712.748600] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[476712.750392] mmcblk0: mmc0:aaaa SP64G 59.5 GiB
[476712.761168] mmcblk0: p1
[477821.312742] BUG: unable to handle kernel paging request at 0000000000003858
[477821.312771] IP: page_vma_mapped_walk+0x1e7/0x5a0
[477821.312782] PGD 0
[477821.312783] P4D 0

[477821.312800] Oops: 0000 [#1] SMP NOPTI
[477821.312810] Modules linked in: cdc_acm unix_diag af_packet_diag netlink_diag uas usb_storage mmc_block xfrm_user xfrm_algo xt_addrtype br_netfilter aufs sctp_diag sctp dccp_diag dccp tcp_diag udp_diag inet_diag ccm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp joydev bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter rtsx_pci_ms snd_hda_codec_hdmi snd_soc_skl snd_soc_skl_ipc memstick rtsx_pci_sdmmc snd_hda_codec_conexant snd_hda_codec_generic snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi
[477821.312971] snd_seq_midi_event arc4 snd_rawmidi intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_seq kvm_intel binfmt_misc uvcvideo kvm videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 irqbypass nls_iso8859_1 videobuf2_core crct10dif_pclmul videodev crc32_pclmul media ghash_clmulni_intel intel_cstate intel_rapl_perf snd_seq_device snd_timer iwlmvm mac80211 snd psmouse hp_wmi sparse_keymap e1000e ptp pps_core wmi_bmof iwlwifi soundcore cfg80211 idma64 virt_dma ahci mei_me rtsx_pci mei libahci intel_lpss_pci intel_pch_thermal i2c_hid hid intel_lpss_acpi intel_lpss hp_accel lis3lv02d input_polldev hp_wireless acpi_pad coretemp parport_pc ppdev lp parport ip_tables x_tables autofs4 dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio af_alg dm_crypt raid10 raid456 libcrc32c async_raid6_recov
[477821.313150] async_memcpy async_pq async_xor xor async_tx raid6_pq raid1 raid0 multipath linear amdgpu amdkfd i915 amd_iommu_v2 radeon aesni_intel aes_x86_64 crypto_simd cryptd glue_helper ttm i2c_algo_bit drm_kms_helper input_leds nvme serio_raw syscopyarea sysfillrect sysimgblt nvme_core fb_sys_fops drm shpchp wmi pinctrl_sunrisepoint video pinctrl_intel mac_hid
[477821.313225] CPU: 1 PID: 54 Comm: kswapd0 Not tainted 4.13.0-46-generic #51-Ubuntu
[477821.313241] Hardware name: HP HP ZBook 14u G4/828C, BIOS P78 Ver. 01.18 05/16/2018
[477821.313258] task: ffff977d1ba65f00 task.stack: ffffb97b01a9c000
[477821.313274] RIP: 0010:page_vma_mapped_walk+0x1e7/0x5a0
[477821.313287] RSP: 0018:ffffb97b01a9fa70 EFLAGS: 00010246
[477821.313300] RAX: 0000000000000000 RBX: ffffb97b01a9fab8 RCX: ffffb97b01a9fb98
[477821.313315] RDX: 0000000100003808 RSI: 0000000000003808 RDI: ffffebab8ff50980
[477821.313331] RBP: ffffb97b01a9faa0 R08: 000000000000000a R09: 0000000000008ac4
[477821.313356] R10: 0000000000000000 R11: 0000000000000010 R12: ffffebab8ff50980
[477821.313384] R13: 0000000000000000 R14: 0000000100003808 R15: ffff977d01cfcec0
[477821.313402] FS: 0000000000000000(0000) GS:ffff977d2f480000(0000) knlGS:0000000000000000
[477821.313419] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[477821.313434] CR2: 0000000000003858 CR3: 000000010340a002 CR4: 00000000003606e0
[477821.313450] Call Trace:
[477821.313460] page_referenced_one+0xa1/0x1a0
[477821.313471] rmap_walk_anon+0xfa/0x270
[477821.313482] rmap_walk+0x48/0x60
[477821.313491] page_referenced+0xdc/0x170
[477821.313501] ? rmap_walk_anon+0x270/0x270
[477821.313512] ? page_get_anon_vma+0x90/0x90
[477821.313527] shrink_active_list+0x1d4/0x410
[477821.313539] shrink_node_memcg+0x225/0x770
[477821.313550] shrink_node+0xf7/0x300
[477821.313559] ? shrink_node+0xf7/0x300
[477821.313569] kswapd+0x2b4/0x730
[477821.313578] kthread+0x128/0x140
[477821.313587] ? mem_cgroup_shrink_node+0x190/0x190
[477821.313599] ? kthread_create_on_node+0x70/0x70
[477821.313611] ret_from_fork+0x1f/0x40
[477821.313620] Code: c3 48 85 c0 0f 85 7d fe ff ff e8 15 1f 01 00 85 c0 0f 85 4c ff ff ff 4c 8b 73 10 48 8b 75 d0 4c 89 f0 48 c1 e8 27 25 ff 01 00 00 <48> 8b 56 50 48 8b 3c c2 48 ba ff 0f 00 00 00 c0 ff ff 40 f6 c7
[477821.313677] RIP: page_vma_mapped_walk+0x1e7/0x5a0 RSP: ffffb97b01a9fa70
[477821.313692] CR2: 0000000000003858
[477821.319563] ---[ end trace 5fdf55adc9c23577 ]---

Attempt to umount sdcard said: umount: /media/user/sdcard: target is busy.
Attempt to use sudo fuser -k -m /media/user/sdcard gave a reply: Killed
New lines appeared in dmesg:
[478635.472515] BUG: unable to handle kernel paging request at 000000000000822a
[478635.475689] IP: show_map_vma.isra.18+0x4f/0x200
[478635.478576] PGD 0
[478635.478576] P4D 0

[478635.485284] Oops: 0000 [#5] SMP NOPTI
[478635.487162] Modules linked in: cdc_acm unix_diag af_packet_diag netlink_diag uas usb_storage mmc_block xfrm_user xfrm_algo xt_addrtype br_netfilter aufs sctp_diag sctp dccp_diag dccp tcp_diag udp_diag inet_diag ccm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp joydev bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter rtsx_pci_ms snd_hda_codec_hdmi snd_soc_skl snd_soc_skl_ipc memstick rtsx_pci_sdmmc snd_hda_codec_conexant snd_hda_codec_generic snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi
[478635.494035] snd_seq_midi_event arc4 snd_rawmidi intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_seq kvm_intel binfmt_misc uvcvideo kvm videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 irqbypass nls_iso8859_1 videobuf2_core crct10dif_pclmul videodev crc32_pclmul media ghash_clmulni_intel intel_cstate intel_rapl_perf snd_seq_device snd_timer iwlmvm mac80211 snd psmouse hp_wmi sparse_keymap e1000e ptp pps_core wmi_bmof iwlwifi soundcore cfg80211 idma64 virt_dma ahci mei_me rtsx_pci mei libahci intel_lpss_pci intel_pch_thermal i2c_hid hid intel_lpss_acpi intel_lpss hp_accel lis3lv02d input_polldev hp_wireless acpi_pad coretemp parport_pc ppdev lp parport ip_tables x_tables autofs4 dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio af_alg dm_crypt raid10 raid456 libcrc32c async_raid6_recov
[478635.500222] async_memcpy async_pq async_xor xor async_tx raid6_pq raid1 raid0 multipath linear amdgpu amdkfd i915 amd_iommu_v2 radeon aesni_intel aes_x86_64 crypto_simd cryptd glue_helper ttm i2c_algo_bit drm_kms_helper input_leds nvme serio_raw syscopyarea sysfillrect sysimgblt nvme_core fb_sys_fops drm shpchp wmi pinctrl_sunrisepoint video pinctrl_intel mac_hid
[478635.503483] CPU: 2 PID: 392 Comm: fuser Tainted: G D 4.13.0-46-generic #51-Ubuntu
[478635.505081] Hardware name: HP HP ZBook 14u G4/828C, BIOS P78 Ver. 01.18 05/16/2018
[478635.506718] task: ffff977c8bc117c0 task.stack: ffffb97b0a3a4000
[478635.508361] RIP: 0010:show_map_vma.isra.18+0x4f/0x200
[478635.510008] RSP: 0018:ffffb97b0a3a7df8 EFLAGS: 00010246
[478635.511667] RAX: 000000000000820a RBX: ffff977d1837f4b0 RCX: 00000000000001b7
[478635.513284] RDX: 000000000000820a RSI: ffffffff9ba44c00 RDI: ffff977d1837f4b0
[478635.514880] RBP: ffffb97b0a3a7e28 R08: 0000000000001000 R09: 00000000000001b7
[478635.516470] R10: 0000000000000000 R11: ffff977cbb3ad1b5 R12: 0000000008000070
[478635.518005] R13: ffff977cdd36ae00 R14: 000000000000820a R15: ffff977cdd36ae00
[478635.519512] FS: 00007f7b7af2e500(0000) GS:ffff977d2f500000(0000) knlGS:0000000000000000
[478635.520987] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[478635.522432] CR2: 000000000000822a CR3: 000000016ff64004 CR4: 00000000003606e0
[478635.523845] Call Trace:
[478635.525237] show_pid_map+0x17/0x40
[478635.526594] seq_read+0x316/0x420
[478635.527908] __vfs_read+0x1b/0x40
[478635.529260] vfs_read+0x8e/0x130
[478635.530556] SyS_read+0x55/0xc0
[478635.531899] entry_SYSCALL_64_fastpath+0x24/0xab
[478635.533196] RIP: 0033:0x7f7b7aa68021
[478635.534515] RSP: 002b:00007fff94ceef28 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[478635.535827] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f7b7aa68021
[478635.537148] RDX: 0000000000000400 RSI: 0000562e98d9f370 RDI: 0000000000000004
[478635.538441] RBP: 0000562e98db2500 R08: 0000000000000001 R09: 0000000000000000
[478635.539702] R10: 00007f7b7af2e500 R11: 0000000000000246 R12: 0000000000000000
[478635.540968] R13: 000000000000000c R14: 0000562e977eba89 R15: 0000562e977eba8c
[478635.542165] Code: 8b 46 40 4c 8b 66 50 4d 85 f6 48 89 45 d0 0f 84 7a 01 00 00 ba 2a 01 00 00 48 c7 c6 00 4c a4 9b 48 89 df e8 b4 73 f2 ff 49 89 c6 <48> 8b 40 20 4c 8b 93 98 00 00 00 48 8b 50 28 4c 8b 78 40 49 c1
[478635.543435] RIP: show_map_vma.isra.18+0x4f/0x200 RSP: ffffb97b0a3a7df8
[478635.544620] CR2: 000000000000822a
[478635.545783] ---[ end trace 5fdf55adc9c2357b ]---

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: xorg 1:7.7+19ubuntu3
ProcVersionSignature: Ubuntu 4.13.0-46.51-generic 4.13.16
Uname: Linux 4.13.0-46-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.9
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: KDE
Date: Wed Jul 25 23:14:25 2018
DistUpgraded: 2018-01-11 15:28:39,250 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
DistroCodename: artful
DistroVariant: kubuntu
ExtraDebuggingInterest: I just need to know a workaround
GraphicsCard:
 Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company HD Graphics 620 [103c:828c]
 Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265] [1002:6604] (rev 81) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Opal XT [Radeon R7 M265] [103c:8290]
InstallationDate: Installed on 2018-01-11 (195 days ago)
InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 04f2:b5ae Chicony Electronics Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP ZBook 14u G4
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-46-generic.efi.signed root=/dev/mapper/dell--vg-dell--root ro radeon.runpm=0 quiet splash nopti noibrs nospectre_v2 resume=/dev/dell-vg/dell-swap
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to artful on 2018-01-11 (195 days ago)
dmi.bios.date: 05/16/2018
dmi.bios.vendor: HP
dmi.bios.version: P78 Ver. 01.18
dmi.board.name: 828C
dmi.board.vendor: HP
dmi.board.version: KBC Version 45.41
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP78Ver.01.18:bd05/16/2018:svnHP:pnHPZBook14uG4:pvr:rvnHP:rn828C:rvrKBCVersion45.41:cvnHP:ct10:cvr:
dmi.product.family: 103C_5336AN HP EliteBook
dmi.product.name: HP ZBook 14u G4
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.83-1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.8-0ubuntu0~17.10.1
version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.8-0ubuntu0~17.10.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Ilya V. Yesin (yesin-iv) wrote :
Ilya V. Yesin (yesin-iv)
affects: xorg (Ubuntu) → linux-signed (Ubuntu)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.18 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc6

affects: linux-signed (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1783643

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.