You are not logged in.

#1 2019-02-15 13:33:57

tfcata
Member
Registered: 2013-02-04
Posts: 25

Kernel bug in intel_iommu with em10k1

I updated to kernel 4.20.7 a few days ago and encountered the following bug, which caused PulseAudio to not work. How to report this?

[   94.787730] ------------[ cut here ]------------
[   94.787736] kernel BUG at drivers/iommu/intel-iommu.c:3681!
[   94.787749] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[   94.787771] CPU: 3 PID: 852 Comm: alsa-sink-emu10 Not tainted 4.20.7-arch1-1-ARCH #1
[   94.787775] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B85M Pro4, BIOS P2.50 12/11/2015
[   94.787783] RIP: 0010:intel_unmap+0x122/0x130
[   94.787787] Code: 75 ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3 4c 89 e1 48 89 da 4c 89 fe 5b 4c 89 f7 5d 41 5c 41 5d 41 5e 41 5f e9 ce 0e ff ff <0f> 0b 49 8b 54 24 10 eb b3 0f 1f 44 00 00 0f 1f 44 00 00 41 56 41
[   94.787791] RSP: 0018:ffffb1fc43afbd30 EFLAGS: 00010246
[   94.787795] RAX: 0000000000000000 RBX: 00000000ffe40000 RCX: 00000000ffe40000
[   94.787799] RDX: 0000000000000000 RSI: 00000000ffe40000 RDI: ffff9c1fc279c0b0
[   94.787801] RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffffc057c9bf
[   94.787804] R10: fffff5190fc6a1c0 R11: 0000000000000001 R12: ffff9c1fc279c0b0
[   94.787807] R13: ffff9c1db1a87c00 R14: 0000000000011000 R15: ffff9c1db19c6df0
[   94.787812] FS:  00007f65abd46700(0000) GS:ffff9c1fc6580000(0000) knlGS:0000000000000000
[   94.787815] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   94.787818] CR2: 0000558a1f78f108 CR3: 00000003dbcfe005 CR4: 00000000001606e0
[   94.787821] Call Trace:
[   94.787830]  intel_free_coherent+0x58/0x70
[   94.787844]  snd_free_sgbuf_pages+0xc7/0x120 [snd_pcm]
[   94.787856]  snd_pcm_lib_free_pages+0x40/0xa0 [snd_pcm]
[   94.787868]  snd_emu10k1_playback_hw_free+0xa9/0xb0 [snd_emu10k1]
[   94.787879]  snd_pcm_common_ioctl+0x210/0xa20 [snd_pcm]
[   94.787889]  snd_pcm_ioctl+0x23/0x30 [snd_pcm]
[   94.787898]  do_vfs_ioctl+0xa4/0x630
[   94.787906]  ksys_ioctl+0x60/0x90
[   94.787912]  __x64_sys_ioctl+0x16/0x20
[   94.787919]  do_syscall_64+0x5b/0x170
[   94.787926]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   94.787930] RIP: 0033:0x7f65b37db80b
[   94.787934] Code: 0f 1e fa 48 8b 05 55 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 25 b6 0c 00 f7 d8 64 89 01 48
[   94.787937] RSP: 002b:00007f65abd45b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   94.787942] RAX: ffffffffffffffda RBX: 0000558a1f970910 RCX: 00007f65b37db80b
[   94.787944] RDX: 00007f65a4001590 RSI: 0000000000004112 RDI: 0000000000000015
[   94.787947] RBP: 0000558a1f970990 R08: 0000000000000006 R09: 0000000000000005
[   94.787950] R10: 0000558a1f78f090 R11: 0000000000000246 R12: 0000000000000015
[   94.787953] R13: 0000000000000000 R14: 0000000000000000 R15: 0000558a1f96fd40
[   94.787958] Modules linked in: nf_tables_set nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat_ipv6 nft_chain_nat_ipv4 nf_tables ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter cfg80211 rfkill 8021q garp mrp stp llc nct6775 hwmon_vid fuse i915 intel_rapl kvmgt x86_pkg_temp_thermal intel_powerclamp coretemp vfio_mdev mdev kvm_intel kvm ofpart snd_emu10k1 cmdlinepart intel_spi_platform intel_spi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel spi_nor snd_util_mem i2c_algo_bit mei_wdt mtd snd_ac97_codec ppdev drm_kms_helper iTCO_wdt iTCO_vendor_support snd_hwdep drm snd_rawmidi snd_seq_device ac97_bus aesni_intel joydev mousedev snd_pcm input_leds aes_x86_64 crypto_simd
[   94.788012]  cryptd glue_helper snd_timer snd soundcore e1000e emu10k1_gp gameport intel_cstate intel_gtt intel_uncore agpgart syscopyarea intel_rapl_perf sysfillrect sysimgblt parport_pc i2c_i801 fb_sys_fops pcspkr mei_me lpc_ich parport mei evdev mac_hid pcc_cpufreq sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto hid_generic usbhid hid sd_mod ahci libahci crc32c_intel xhci_pci libata xhci_hcd firewire_ohci scsi_mod ehci_pci firewire_core ehci_hcd crc_itu_t vhost_net tun tap vhost vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio
[   94.788058] ---[ end trace e67668d6197fa793 ]---
[   94.788064] RIP: 0010:intel_unmap+0x122/0x130
[   94.788068] Code: 75 ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3 4c 89 e1 48 89 da 4c 89 fe 5b 4c 89 f7 5d 41 5c 41 5d 41 5e 41 5f e9 ce 0e ff ff <0f> 0b 49 8b 54 24 10 eb b3 0f 1f 44 00 00 0f 1f 44 00 00 41 56 41
[   94.788071] RSP: 0018:ffffb1fc43afbd30 EFLAGS: 00010246
[   94.788074] RAX: 0000000000000000 RBX: 00000000ffe40000 RCX: 00000000ffe40000
[   94.788077] RDX: 0000000000000000 RSI: 00000000ffe40000 RDI: ffff9c1fc279c0b0
[   94.788080] RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffffc057c9bf
[   94.788083] R10: fffff5190fc6a1c0 R11: 0000000000000001 R12: ffff9c1fc279c0b0
[   94.788086] R13: ffff9c1db1a87c00 R14: 0000000000011000 R15: ffff9c1db19c6df0
[   94.788090] FS:  00007f65abd46700(0000) GS:ffff9c1fc6580000(0000) knlGS:0000000000000000
[   94.788093] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   94.788096] CR2: 0000558a1f78f108 CR3: 00000003dbcfe005 CR4: 00000000001606e0

Offline

#2 2019-02-15 13:55:11

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Kernel bug in intel_iommu with em10k1

What was the last kernel without the issue?  Can you check linux 5.0-rc6?

Offline

#3 2019-02-16 02:25:11

tfcata
Member
Registered: 2013-02-04
Posts: 25

Re: Kernel bug in intel_iommu with em10k1

loqs wrote:

What was the last kernel without the issue?  Can you check linux 5.0-rc6?

At this point, the kernel 4.20.3 I downgraded to does not have this problem. Is linux 5.0-rc-6 in pacman's repository, do I need to compile myself?

Offline

#4 2019-02-19 10:57:00

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Kernel bug in intel_iommu with em10k1

linux 5.0-rc7 (there was a new release candidate) is not available in the official repositories.  In the unofficial repositories miffie provides linux-mainline which is linux 5.0-rc7.
Otherwise you would need to build it from source.  You could also test linux 4.20.10.arch1-1 to see if the last three updates fixed the issued.

Offline

Board footer

Powered by FluxBB