2022-11-07 16:52:11

by Paul Menzel

[permalink] [raw]
Subject: Warning at drivers/iommu/dma-iommu.c:1037 iommu_dma_unmap_page+0x79/0x90

Dear Linux folks,


Using Debian sid/unstable with Linux 6.0.6 on an old Intel Haswell Haier
laptop, Linux showed the trace below:

```
[ 2188.034942] ------------[ cut here ]------------
[ 2188.034949] WARNING: CPU: 3 PID: 948 at
drivers/iommu/dma-iommu.c:1037 iommu_dma_unmap_page+0x79/0x90
[ 2188.034962] Modules linked in: cpuid l2tp_ppp xfrm_user l2tp_netlink
xfrm_algo l2tp_core ip6_udp_tunnel udp_tunnel pppox ppp_generic slhc
snd_seq_dummy snd_hrtimer snd_seq snd_seq_device qrtr binfmt_misc
intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp
rtl8188ee coretemp snd_hda_codec_realtek kvm_intel rtl_pci
snd_hda_codec_generic nls_ascii snd_hda_codec_hdmi ledtrig_audio rtlwifi
nls_cp437 snd_hda_intel snd_intel_dspcfg vfat kvm uvcvideo
snd_intel_sdw_acpi fat mac80211 snd_hda_codec irqbypass
videobuf2_vmalloc libarc4 videobuf2_memops rapl snd_hda_core
videobuf2_v4l2 mei_hdcp iTCO_wdt videobuf2_common snd_hwdep intel_cstate
intel_pmc_bxt snd_pcm cfg80211 iTCO_vendor_support snd_timer videodev
mei_me intel_uncore wmi_bmof snd pcspkr at24 watchdog mc rfkill mei
soundcore intel_rst ac joydev evdev sg serio_raw msr parport_pc ppdev lp
parport fuse efi_pstore configfs efivarfs ip_tables x_tables autofs4
ext4 crc16 mbcache jbd2 crc32c_generic dm_crypt dm_mod sd_mod
[ 2188.035119] t10_pi crc64_rocksoft_generic crc64_rocksoft crc_t10dif
crct10dif_generic hid_generic crc64 usbhid hid i915 crct10dif_pclmul
crct10dif_common ahci crc32_pclmul crc32c_intel libahci
ghash_clmulni_intel libata rtsx_pci_sdmmc xhci_pci drm_buddy
i2c_algo_bit scsi_mod xhci_hcd r8169 drm_display_helper mmc_core cec
realtek rc_core ehci_pci ehci_hcd ttm psmouse drm_kms_helper aesni_intel
crypto_simd usbcore i2c_i801 mdio_devres drm i2c_smbus cryptd
scsi_common libphy rtsx_pci lpc_ich wmi usb_common battery video button
[ 2188.035204] CPU: 3 PID: 948 Comm: NetworkManager Not tainted
6.0.0-2-amd64 #1 Debian 6.0.6-2
[ 2188.035211] Hardware name: HaierComputer 7G-Series/JWU, BIOS KQ122
05/08/2014
[ 2188.035214] RIP: 0010:iommu_dma_unmap_page+0x79/0x90
[ 2188.035224] Code: 2b 48 3b 28 72 26 48 3b 68 08 73 20 4d 89 f8 44 89
f1 4c 89 ea 48 89 ee 48 89 df 5b 5d 41 5c 41 5d 41 5e 41 5f e9 d7 eb a7
ff <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 66 0f 1f 44 00
[ 2188.035229] RSP: 0018:ffffb38d80a2b668 EFLAGS: 00010046
[ 2188.035236] RAX: 0000000000000000 RBX: ffff9449010c90d0 RCX:
0000000000000012
[ 2188.035240] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
0000000000000003
[ 2188.035243] RBP: ffff9449040408e0 R08: 0000000000000002 R09:
0000000000000000
[ 2188.035247] R10: ffff94490b9e6000 R11: 0000000000000000 R12:
0000000000000000
[ 2188.035250] R13: 0000000000000300 R14: 0000000000000001 R15:
0000000000000000
[ 2188.035254] FS: 00007f35bf0824c0(0000) GS:ffff94495f2c0000(0000)
knlGS:0000000000000000
[ 2188.035260] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2188.035263] CR2: 0000556434565ce0 CR3: 000000011010e005 CR4:
00000000001706e0
[ 2188.035267] Call Trace:
[ 2188.035271] <TASK>
[ 2188.035278] rtl_pci_reset_trx_ring+0x184/0x390 [rtl_pci]
[ 2188.035291] rtl_pci_start+0x1c/0x140 [rtl_pci]
[ 2188.035299] rtl_op_start+0x56/0x90 [rtlwifi]
[ 2188.035320] drv_start+0x3e/0x100 [mac80211]
[ 2188.035414] ieee80211_do_open+0x36b/0x920 [mac80211]
[ 2188.035519] ieee80211_open+0x66/0x90 [mac80211]
[ 2188.035607] __dev_open+0xf4/0x1a0
[ 2188.035616] __dev_change_flags+0x1d1/0x240
[ 2188.035624] dev_change_flags+0x22/0x60
[ 2188.035630] do_setlink+0x802/0x12b0
[ 2188.035639] ? __nla_validate_parse+0x5f/0xbc0
[ 2188.035648] __rtnl_newlink+0x61d/0x9b0
[ 2188.035654] ? __legitimize_path+0x27/0x60
[ 2188.035660] ? try_to_unlazy+0x5a/0xc0
[ 2188.035667] rtnl_newlink+0x43/0x70
[ 2188.035673] rtnetlink_rcv_msg+0x14e/0x3b0
[ 2188.035678] ? rtnl_calcit.isra.0+0x140/0x140
[ 2188.035684] netlink_rcv_skb+0x51/0x100
[ 2188.035690] netlink_unicast+0x242/0x390
[ 2188.035696] netlink_sendmsg+0x250/0x4c0
[ 2188.035702] sock_sendmsg+0x5f/0x70
[ 2188.035709] ____sys_sendmsg+0x267/0x2b0
[ 2188.035715] ? copy_msghdr_from_user+0x7d/0xc0
[ 2188.035723] ___sys_sendmsg+0x9a/0xe0
[ 2188.035736] __sys_sendmsg+0x76/0xc0
[ 2188.035745] do_syscall_64+0x3a/0xc0
[ 2188.035754] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 2188.035762] RIP: 0033:0x7f35bfc348fd
[ 2188.035767] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 5a ad
f7 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f
05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 ae ad f7 ff 48
[ 2188.035770] RSP: 002b:00007ffca52e3fc0 EFLAGS: 00000293 ORIG_RAX:
000000000000002e
[ 2188.035776] RAX: ffffffffffffffda RBX: 0000561db4e0d980 RCX:
00007f35bfc348fd
[ 2188.035779] RDX: 0000000000000000 RSI: 00007ffca52e4010 RDI:
000000000000000d
[ 2188.035782] RBP: 00007ffca52e4010 R08: 0000000000000000 R09:
0000000000000000
[ 2188.035784] R10: 0000000000000000 R11: 0000000000000293 R12:
0000000000000078
[ 2188.035787] R13: 00007ffca52e41c8 R14: 00007ffca52e41bc R15:
0000000000000000
[ 2188.035793] </TASK>
[ 2188.035795] ---[ end trace 0000000000000000 ]---
```


Kind regards,

Paul


Attachments:
linux-6.0.6-messages.txt (81.52 kB)