wakeup from suspend creates error with ata RIP: 0010:ata_eh_handle_port_resume+0x12f/0x140

Bug #1961470 reported by MichaelE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Found this crash log after resume from suspend. The system only has a nvme SSD, no sata device is connected

[ 3365.249391] ACPI: EC: interrupt blocked
[ 3365.296812] ACPI: EC: interrupt unblocked
[ 3365.338793] ------------[ cut here ]------------
[ 3365.338799] WARNING: CPU: 13 PID: 295 at drivers/ata/libata-eh.c:3958 ata_eh_handle_port_resume+0x12f/0x140
[ 3365.338824] Modules linked in: tls rfcomm ccm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_ctl_led bnep snd_hda_codec_realtek intel_rapl_msr snd_hda_codec_generic intel_rapl_common ledtrig_audio snd_hda_codec_hdmi edac_mce_amd snd_hda_intel snd_intel_dspcfg snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_intel_sdw_acpi snd_soc_core snd_hda_codec snd_compress snd_hda_core ac97_bus snd_pcm_dmaengine snd_hwdep kvm_amd amdgpu snd_pcm
[ 3365.338872] ------------[ cut here ]------------
[ 3365.338873] nls_iso8859_1 kvm mt7921e snd_seq_midi mt76_connac_lib uvcvideo snd_seq_midi_event
[ 3365.338876] WARNING: CPU: 0 PID: 301 at drivers/ata/libata-eh.c:3958 ata_eh_handle_port_resume+0x12f/0x140
[ 3365.338883] crct10dif_pclmul mt76
[ 3365.338887] Modules linked in: tls rfcomm ccm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_ctl_led bnep snd_hda_codec_realtek intel_rapl_msr snd_hda_codec_generic intel_rapl_common ledtrig_audio snd_hda_codec_hdmi edac_mce_amd snd_hda_intel snd_intel_dspcfg snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_intel_sdw_acpi snd_soc_core
[ 3365.338927] btusb
[ 3365.338930] snd_hda_codec
[ 3365.338929] iommu_v2 videobuf2_vmalloc
[ 3365.338932] snd_compress
[ 3365.338933] ghash_clmulni_intel
[ 3365.338934] snd_hda_core
[ 3365.338934] input_leds btrtl
[ 3365.338937] ac97_bus
[ 3365.338939] snd_rawmidi
[ 3365.338940] snd_pcm_dmaengine snd_hwdep
[ 3365.338943] hid_sensor_accel_3d hid_sensor_als
[ 3365.338946] kvm_amd
[ 3365.338947] gpu_sched videobuf2_memops
[ 3365.338951] amdgpu
[ 3365.338951] aesni_intel
[ 3365.338953] snd_pcm
[ 3365.338952] btbcm mac80211
[ 3365.338955] nls_iso8859_1 kvm
[ 3365.338958] drm_ttm_helper
[ 3365.338960] mt7921e
[ 3365.338959] hid_sensor_trigger btintel
[ 3365.338962] snd_seq_midi
[ 3365.338962] crypto_simd
[ 3365.338964] mt76_connac_lib
[ 3365.338963] videobuf2_v4l2
[ 3365.338967] uvcvideo
[ 3365.338965] industrialio_triggered_buffer snd_seq
[ 3365.338970] snd_seq_midi_event
[ 3365.338972] cryptd
[ 3365.338976] crct10dif_pclmul
[ 3365.338975] bluetooth ttm
[ 3365.338979] mt76 btusb
[ 3365.338983] videobuf2_common
[ 3365.338987] iommu_v2
[ 3365.338987] kfifo_buf
[ 3365.338990] videobuf2_vmalloc
[ 3365.338989] hid_sensor_iio_common ecdh_generic
[ 3365.338992] ghash_clmulni_intel
[ 3365.338992] rapl
[ 3365.338994] input_leds
[ 3365.338993] serio_raw
[ 3365.338995] btrtl
[ 3365.338994] efi_pstore
[ 3365.338997] snd_rawmidi
[ 3365.338996] wmi_bmof
[ 3365.338999] hid_sensor_accel_3d
[ 3365.338997] hid_multitouch snd_seq_device
[ 3365.339000] hid_sensor_als
[ 3365.339000] joydev
[ 3365.339002] gpu_sched
[ 3365.339002] industrialio
[ 3365.339004] videobuf2_memops
[ 3365.339003] ecc
[ 3365.339005] aesni_intel
[ 3365.339005] videodev drm_kms_helper
[ 3365.339007] btbcm
[ 3365.339007] snd_timer
[ 3365.339009] mac80211
[ 3365.339008] mc
[ 3365.339010] drm_ttm_helper
[ 3365.339009] cfg80211
[ 3365.339012] hid_sensor_trigger
[ 3365.339011] cec
[ 3365.339013] btintel
[ 3365.339012] snd_pci_acp5x
[ 3365.339015] crypto_simd
[ 3365.339014] rc_core k10temp
[ 3365.339017] videobuf2_v4l2
[ 3365.339017] i2c_algo_bit
[ 3365.339018] industrialio_triggered_buffer
[ 3365.339018] snd
[ 3365.339020] snd_seq
[ 3365.339019] snd_rn_pci_acp3x fb_sys_fops
[ 3365.339022] cryptd
[ 3365.339024] syscopyarea sysfillrect
[ 3365.339027] bluetooth
[ 3365.339027] snd_pci_acp3x ucsi_acpi sysimgblt
[ 3365.339031] ttm
[ 3365.339031] libarc4 ccp
[ 3365.339035] videobuf2_common
[ 3365.339038] typec_ucsi
[ 3365.339039] kfifo_buf
[ 3365.339039] soundcore
[ 3365.339041] hid_sensor_iio_common
[ 3365.339040] typec ideapad_laptop
[ 3365.339043] ecdh_generic
[ 3365.339043] sparse_keymap platform_profile
[ 3365.339045] rapl
[ 3365.339046] mac_hid
[ 3365.339049] serio_raw
[ 3365.339049] amd_pmc
[ 3365.339051] efi_pstore
[ 3365.339050] sch_fq_codel
[ 3365.339053] wmi_bmof
[ 3365.339052] ipmi_devintf ipmi_msghandler
[ 3365.339054] hid_multitouch
[ 3365.339055] msr
[ 3365.339056] snd_seq_device
[ 3365.339056] parport_pc
[ 3365.339058] joydev
[ 3365.339057] ppdev lp
[ 3365.339059] industrialio ecc
[ 3365.339060] parport
[ 3365.339063] videodev
[ 3365.339062] drm
[ 3365.339065] drm_kms_helper
[ 3365.339064] ip_tables
[ 3365.339067] snd_timer
[ 3365.339066] x_tables
[ 3365.339069] mc
[ 3365.339068] autofs4
[ 3365.339070] cfg80211
[ 3365.339069] btrfs
[ 3365.339073] cec
[ 3365.339072] blake2b_generic xor
[ 3365.339075] snd_pci_acp5x
[ 3365.339075] zstd_compress
[ 3365.339076] rc_core
[ 3365.339077] raid6_pq
[ 3365.339079] k10temp
[ 3365.339078] libcrc32c
[ 3365.339080] i2c_algo_bit
[ 3365.339079] hid_sensor_custom hid_sensor_hub
[ 3365.339082] snd
[ 3365.339082] wacom
[ 3365.339084] snd_rn_pci_acp3x
[ 3365.339083] usbhid
[ 3365.339085] fb_sys_fops
[ 3365.339084] hid_generic
[ 3365.339087] syscopyarea
[ 3365.339086] crc32_pclmul nvme
[ 3365.339089] sysfillrect
[ 3365.339089] i2c_hid_acpi
[ 3365.339090] snd_pci_acp3x
[ 3365.339091] ahci
[ 3365.339093] ucsi_acpi
[ 3365.339092] i2c_hid
[ 3365.339094] sysimgblt
[ 3365.339094] xhci_pci
[ 3365.339096] libarc4
[ 3365.339095] i2c_piix4
[ 3365.339097] ccp
[ 3365.339096] libahci nvme_core
[ 3365.339101] typec_ucsi
[ 3365.339100] xhci_pci_renesas
[ 3365.339102] soundcore
[ 3365.339102] wmi
[ 3365.339106] typec
[ 3365.339105] video hid
[ 3365.339108] ideapad_laptop

[ 3365.339111] sparse_keymap platform_profile mac_hid amd_pmc
[ 3365.339112] CPU: 13 PID: 295 Comm: scsi_eh_0 Not tainted 5.15.0-18-generic #18-Ubuntu
[ 3365.339118] sch_fq_codel ipmi_devintf ipmi_msghandler
[ 3365.339119] Hardware name: LENOVO 82N7/LNVNB161216, BIOS H9CN25WW 11/12/2021
[ 3365.339122] msr parport_pc ppdev lp
[ 3365.339122] RIP: 0010:ata_eh_handle_port_resume+0x12f/0x140
[ 3365.339127] parport drm ip_tables x_tables
[ 3365.339129] Code: 00 48 89 df e8 a2 e1 00 00 48 8b 7b 10 e8 89 34 47 00 81 63 20 ff ff f9 ff 48 8b 7b 10 48 89 c6 e8 46 33 47 00 5b 41 5c 5d c3 <0f> 0b e9 15 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
[ 3365.339132] autofs4 btrfs
[ 3365.339132] RSP: 0018:ffffae9980ca7e20 EFLAGS: 00010246
[ 3365.339134] blake2b_generic xor

[ 3365.339138] zstd_compress
[ 3365.339136] RAX: 0000000000000286 RBX: ffff894207618000 RCX: ffffae9980ca7e98
[ 3365.339139] raid6_pq
[ 3365.339139] RDX: 0000000000000001 RSI: 0000000000000286 RDI: ffff8942013c8380
[ 3365.339141] libcrc32c
[ 3365.339141] RBP: ffffae9980ca7e30 R08: ffffae9980ca7e98 R09: ffff894207618140
[ 3365.339142] hid_sensor_custom hid_sensor_hub
[ 3365.339143] R10: 0000000000000000 R11: ffff89420761b8d0 R12: 0000000000000001
[ 3365.339146] wacom
[ 3365.339145] R13: 0000000000000000 R14: ffff894207695290 R15: 0000000000000000
[ 3365.339147] usbhid hid_generic
[ 3365.339147] FS: 0000000000000000(0000) GS:ffff8944a0140000(0000) knlGS:0000000000000000
[ 3365.339150] crc32_pclmul
[ 3365.339149] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3365.339151] nvme i2c_hid_acpi
[ 3365.339152] CR2: 00005613cb860740 CR3: 000000038e410000 CR4: 0000000000750ee0
[ 3365.339154] ahci i2c_hid
[ 3365.339154] PKRU: 55555554
[ 3365.339157] xhci_pci
[ 3365.339156] Call Trace:
[ 3365.339159] i2c_piix4 libahci
[ 3365.339159] <TASK>
[ 3365.339161] nvme_core xhci_pci_renesas wmi video hid
[ 3365.339165] ata_scsi_port_error_handler+0x80/0x620
[ 3365.339169] CPU: 0 PID: 301 Comm: scsi_eh_1 Not tainted 5.15.0-18-generic #18-Ubuntu
[ 3365.339171] ata_scsi_error+0x9c/0xd0
[ 3365.339174] Hardware name: LENOVO 82N7/LNVNB161216, BIOS H9CN25WW 11/12/2021
[ 3365.339175] scsi_error_handler+0xa1/0x180
[ 3365.339178] RIP: 0010:ata_eh_handle_port_resume+0x12f/0x140
[ 3365.339186] Code: 00 48 89 df e8 a2 e1 00 00 48 8b 7b 10 e8 89 34 47 00 81 63 20 ff ff f9 ff 48 8b 7b 10 48 89 c6 e8 46 33 47 00 5b 41 5c 5d c3 <0f> 0b e9 15 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
[ 3365.339183] kthread+0x11e/0x140
[ 3365.339190] RSP: 0018:ffffae9980dcfe20 EFLAGS: 00010246
[ 3365.339191] ? scsi_unjam_host+0x1c0/0x1c0
[ 3365.339195] RAX: 0000000000000286 RBX: ffff894210f7c000 RCX: ffffae9980dcfe98
[ 3365.339195] ? set_kthread_struct+0x50/0x50
[ 3365.339198] RDX: 0000000000000001 RSI: 0000000000000286 RDI: ffff894201389600
[ 3365.339201] RBP: ffffae9980dcfe30 R08: ffffae9980dcfe98 R09: ffff894210f7c140
[ 3365.339203] R10: 0000000000000000 R11: ffff894210f7f8d0 R12: 0000000000000001
[ 3365.339199] ret_from_fork+0x22/0x30
[ 3365.339206] R13: 0000000000000000 R14: ffff894200f57290 R15: 0000000000000000
[ 3365.339207] </TASK>
[ 3365.339208] ---[ end trace 6c3b319ed79a86ce ]---
[ 3365.339209] FS: 0000000000000000(0000) GS:ffff89449fe00000(0000) knlGS:0000000000000000
[ 3365.339212] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3365.339215] CR2: 000055e7ef917cb6 CR3: 000000038e410000 CR4: 0000000000750ef0
[ 3365.339218] PKRU: 55555554
[ 3365.339220] Call Trace:
[ 3365.339221] <TASK>
[ 3365.339225] ata_scsi_port_error_handler+0x80/0x620
[ 3365.339231] ata_scsi_error+0x9c/0xd0
[ 3365.339236] scsi_error_handler+0xa1/0x180
[ 3365.339240] kthread+0x11e/0x140
[ 3365.339245] ? scsi_unjam_host+0x1c0/0x1c0
[ 3365.339249] ? set_kthread_struct+0x50/0x50
[ 3365.339254] ret_from_fork+0x22/0x30
[ 3365.339262] </TASK>
[ 3365.339264] ---[ end trace 6c3b319ed79a86cf ]---

Saw also the following errors when booting, which might be related:

[ 0.284716] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GP18.SATA], AE_NOT_FOUND (20210730/dswload2-162)
[ 0.284723] fbcon: Taking over console
[ 0.284731] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210730/psobject-220)
[ 0.284734] ACPI: Skipping parse of AML opcode: Scope (0x0010)

[...]

[ 3.416403] MCE: In-kernel MCE decoding enabled.
[ 3.416682] ACPI Error: No handler for Region [ECSI] (00000000e39d2608) [EmbeddedControl] (20210730/evregion-130)
[ 3.416691] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20210730/exfldio-261)

[ 3.416701] No Local Variables are initialized for Method [ECRD]

[ 3.416703] No Arguments are initialized for method [ECRD]

[ 3.416707] ACPI Error: Aborting method \_SB.UBTC.ECRD due to previous error (AE_NOT_EXIST) (20210730/psparse-529)
[ 3.416716] ACPI Error: Aborting method \_SB.UBTC._DSM due to previous error (AE_NOT_EXIST) (20210730/psparse-529)
[ 3.416732] ACPI: \_SB_.UBTC: failed to evaluate _DSM (0x6)
[ 3.416735] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2

[...]

[ 2298.177415] ata2: failed stop FIS RX (-16)
[ 2298.177480] ata1: failed stop FIS RX (-16)
[ 2298.489230] ata2: SATA link down (SStatus 0 SControl 300)
[ 2298.489228] ata1: SATA link down (SStatus 0 SControl 300)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-18-generic 5.15.0-18.18
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu77
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 19 10:12:37 2022
InstallationDate: Installed on 2022-02-11 (7 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: LENOVO 82N7
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-18-generic root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet splash resume=UUID=34078276-40b3-44a8-95d9-2d9ff2caa568 mem_sleep_default=deep vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-18-generic N/A
 linux-backports-modules-5.15.0-18-generic N/A
 linux-firmware 20220217.git6342082c-0ubuntu1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/12/2021
dmi.bios.release: 1.25
dmi.bios.vendor: LENOVO
dmi.bios.version: H9CN25WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76463 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Yoga 7 14ACN6
dmi.ec.firmware.release: 1.25
dmi.modalias: dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
dmi.product.family: Yoga 7 14ACN6
dmi.product.name: 82N7
dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
dmi.product.version: Yoga 7 14ACN6
dmi.sys.vendor: LENOVO

Revision history for this message
MichaelE (michael-eitelwein) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
ein halb (einhalb) wrote :

I have a very similar issue with AMD Ryzen 7 2700U CPU, Samsung NVME-HD and Intel AX210 wifi card:
RIP: 0010:ata_eh_handle_port_resume+0x14b/0x160
...
ata1: failed stop FIS RX (-16)
...
Bluetooth: hci0: Malformed MSFT vendor event: 0x02

lscpu
AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx

lsusb
Bus 001 Device 002: ID 8087:0032 Intel Corp. AX210 Bluetooth

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

uname -a
Linux NB-1 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

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.