v4.19-rc3 on thinkpad x220: kernel BUG at kernel/dma/swiotlb.c:521 when enabling radios
From: Pavel Machek
Date: Sun Sep 16 2018 - 02:47:12 EST
Hi!
I was running X220 with wireless disabled for long long time. Now I
needed to enable it, and got...
Full dmesg attached.
Any ideas?
Pavel
[ 3142.376039] ata1.00: configured for UDMA/133
[ 3142.400941] PM: resume devices took 2.060 seconds
[ 3142.401994] OOM killer enabled.
[ 3142.402006] Restarting tasks ... done.
[ 3142.411927] PM: suspend exit
[ 3142.547158] e1000e: eth2 NIC Link is Down
[ 3144.320064] e1000e: eth2 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[ 3144.320087] e1000e 0000:00:19.0 eth2: 10/100 speed: disabling TSO
[ 5339.173291] perf: interrupt took too long (2519 > 2500), lowering kernel.perf_event_max_sample_rate to 79250
[ 6573.453378] iwlwifi 0000:03:00.0: RF_KILL bit toggled to enable radio.
[ 6573.453399] iwlwifi 0000:03:00.0: reporting RF_KILL (radio enabled)
[ 6573.477360] iwlwifi 0000:03:00.0: Radio type=0x0-0x0-0x3
[ 6573.477959] ------------[ cut here ]------------
[ 6573.477963] kernel BUG at kernel/dma/swiotlb.c:521!
[ 6573.477970] invalid opcode: 0000 [#1] SMP PTI
[ 6573.477972] CPU: 2 PID: 3127 Comm: NetworkManager Not tainted 4.19.0-rc3 #5
[ 6573.477974] Hardware name: LENOVO 42872WU/42872WU, BIOS 8DET74WW (1.44 ) 03/13/2018
[ 6573.477980] RIP: 0010:swiotlb_tbl_map_single+0x17f/0x2c0
[ 6573.477982] Code: 21 c6 49 89 f5 49 81 c5 ff 07 00 00 49 c1 ed 0b 48 83 f8 ff 0f 84 f2 fe ff ff 48 8d 90 00 08 00 00 48 c1 ea 0b e9 e2 fe ff ff <0f> 0b 42 8d 0c 3b 89 d8 39 cb 7d 12 48 63 d0 83 c0 01 39 c8 41 c7
[ 6573.477984] RSP: 0000:ffffc90000977070 EFLAGS: 00010246
[ 6573.477986] RAX: 00000000ffffffff RBX: 0000000000000000 RCX: 0000000000000000
[ 6573.477987] RDX: 0000000000200000 RSI: 00000000d699f000 RDI: ffff88019708c0a8
[ 6573.477989] RBP: ffffc900009770c8 R08: 0000000000000002 R09: 0000000000000000
[ 6573.477990] R10: 0000000000000034 R11: 0000000000000000 R12: 0000000000000001
[ 6573.477991] R13: 00000000001ad33e R14: 0000000000000000 R15: 0000000000000000
[ 6573.477993] FS: 0000000000000000(0000) GS:ffff88019e280000(0063) knlGS:00000000f70407c0
[ 6573.477995] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 6573.477996] CR2: 00000000f7ee4000 CR3: 00000001925ea002 CR4: 00000000000606a0
[ 6573.477999] Call Trace:
[ 6573.478002] ? dma_direct_alloc+0x6f/0x140
[ 6573.478005] swiotlb_alloc+0x88/0x170
[ 6573.478008] iwl_pcie_txq_alloc+0x205/0x420
[ 6573.478010] ? iwl_pcie_tx_init+0x28d/0x390
[ 6573.478012] iwl_pcie_tx_init+0x325/0x390
[ 6573.478015] iwl_trans_pcie_start_fw+0x267/0x590
[ 6573.478017] iwl_load_ucode_wait_alive+0xde/0x1b0
[ 6573.478019] ? iwl_init_notification_wait+0x78/0x90
[ 6573.478021] ? iwl_alloc_all+0x30/0x30
[ 6573.478023] iwl_run_init_ucode+0xa3/0x130
[ 6573.478025] ? iwl_run_init_ucode+0xa3/0x130
[ 6573.478027] ? iwl_alive_notify+0x1b0/0x1b0
[ 6573.478030] ? mutex_unlock+0xd/0x10
[ 6573.478032] iwlagn_mac_start+0x112/0x200
[ 6573.478033] ? iwlagn_mac_start+0x112/0x200
[ 6573.478037] drv_start+0x2e/0x50
[ 6573.478041] ieee80211_do_open+0x356/0x920
[ 6573.478042] ? mutex_unlock+0xd/0x10
[ 6573.478045] ieee80211_open+0x4e/0x60
[ 6573.478048] __dev_open+0xba/0x130
[ 6573.478050] __dev_change_flags+0x19c/0x200
[ 6573.478052] dev_change_flags+0x24/0x60
[ 6573.478055] do_setlink+0x2f4/0xce0
[ 6573.478058] ? _raw_spin_unlock_irq+0x22/0x30
[ 6573.478061] ? __lock_acquire.isra.25+0x39e/0xa50
[ 6573.478065] ? nla_parse+0x36/0x130
[ 6573.478067] rtnl_newlink+0x483/0x770
[ 6573.478070] ? update_group_capacity+0x27/0x1c0
[ 6573.478072] ? find_busiest_group+0x141/0xab0
[ 6573.478075] ? cpumask_next_and+0x1d/0x20
[ 6573.478077] ? load_balance+0x204/0xb80
[ 6573.478079] ? find_held_lock+0x39/0xb0
[ 6573.478082] ? find_held_lock+0x39/0xb0
[ 6573.478084] ? __lock_acquire.isra.25+0x39e/0xa50
[ 6573.478087] rtnetlink_rcv_msg+0x316/0x3e0
[ 6573.478089] ? rtnl_calcit.isra.40+0x140/0x140
[ 6573.478092] netlink_rcv_skb+0xcd/0x100
[ 6573.478094] rtnetlink_rcv+0x10/0x20
[ 6573.478096] netlink_unicast+0x179/0x210
[ 6573.478098] netlink_sendmsg+0x307/0x3a0
[ 6573.478101] sock_sendmsg+0x18/0x30
[ 6573.478102] ___sys_sendmsg+0x2a5/0x2c0
[ 6573.478105] ? sock_def_readable+0xce/0xe0
[ 6573.478108] ? unix_dgram_sendmsg+0x46b/0x6a0
[ 6573.478110] ? find_held_lock+0x39/0xb0
[ 6573.478114] ? __fget+0x8a/0xd0
[ 6573.478116] ? __fget+0xa2/0xd0
[ 6573.478118] __sys_sendmsg+0x63/0xa0
[ 6573.478120] ? __sys_sendmsg+0x63/0xa0
[ 6573.478122] __ia32_compat_sys_socketcall+0xde/0x220
[ 6573.478124] ? __ia32_compat_sys_time+0x10/0x40
[ 6573.478127] do_int80_syscall_32+0x50/0x100
[ 6573.478129] entry_INT80_compat+0x7d/0x82
[ 6573.478131] RIP: 0023:0xf7f95c42
[ 6573.478133] Code: 65 8b 15 04 00 00 00 8b 0e 8b 0c ca 83 f9 ff 75 0c 89 04 24 89 f0 e8 b3 fe ff ff eb 05 8b 46 04 01 c8 83 c4 14 5b 5e c3 cd 80 <c3> 8d b6 00 00 00 00 8d bc 27 00 00 00 00 8b 1c 24 c3 8d b6 00 00
[ 6573.478135] RSP: 002b:00000000ff833284 EFLAGS: 00200293 ORIG_RAX: 0000000000000066
[ 6573.478137] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00000000ff833290
[ 6573.478138] RDX: 00000000f7c06000 RSI: 0000000000000000 RDI: 00000000081ae170
[ 6573.478140] RBP: 0000000008228d30 R08: 0000000000000000 R09: 0000000000000000
[ 6573.478141] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 6573.478142] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 6573.478144] Modules linked in:
[ 6573.478147] ---[ end trace 9d43a92dfd042821 ]---
[ 6573.478149] RIP: 0010:swiotlb_tbl_map_single+0x17f/0x2c0
[ 6573.478151] Code: 21 c6 49 89 f5 49 81 c5 ff 07 00 00 49 c1 ed 0b 48 83 f8 ff 0f 84 f2 fe ff ff 48 8d 90 00 08 00 00 48 c1 ea 0b e9 e2 fe ff ff <0f> 0b 42 8d 0c 3b 89 d8 39 cb 7d 12 48 63 d0 83 c0 01 39 c8 41 c7
[ 6573.478152] RSP: 0000:ffffc90000977070 EFLAGS: 00010246
[ 6573.478154] RAX: 00000000ffffffff RBX: 0000000000000000 RCX: 0000000000000000
[ 6573.478156] RDX: 0000000000200000 RSI: 00000000d699f000 RDI: ffff88019708c0a8
[ 6573.478157] RBP: ffffc900009770c8 R08: 0000000000000002 R09: 0000000000000000
[ 6573.478158] R10: 0000000000000034 R11: 0000000000000000 R12: 0000000000000001
[ 6573.478159] R13: 00000000001ad33e R14: 0000000000000000 R15: 0000000000000000
[ 6573.478161] FS: 0000000000000000(0000) GS:ffff88019e280000(0063) knlGS:00000000f70407c0
[ 6573.478163] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 6573.478164] CR2: 00000000f7ee4000 CR3: 00000001925ea002 CR4: 00000000000606a0
[ 6574.013888] usb 1-1.4: new full-speed USB device number 5 using ehci-pci
[ 6574.128610] usb 1-1.4: New USB device found, idVendor=0a5c, idProduct=217f, bcdDevice= 7.48
[ 6574.128624] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6574.128631] usb 1-1.4: Product: Broadcom Bluetooth Device
[ 6574.128638] usb 1-1.4: Manufacturer: Broadcom Corp
[ 6574.128644] usb 1-1.4: SerialNumber: 7CE9D3B855AA
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
delme.gz
Description: application/gzip
Attachment:
signature.asc
Description: Digital signature