Open
Description
Recent Fedora (28, 29 & 30) running kernel 4.18 or newer fail to load applespi. Here's the output from 4.20.0-1.fc30.x86_64 after compiling and loading the module:
# dmesg
[ 604.776896] applespi: loading out-of-tree module taints kernel.
[ 604.776940] applespi: module verification failed: signature and/or required key missing - tainting kernel
[ 604.829319] input: Apple SPI Keyboard as /devices/pci0000:00/0000:00:15.4/pxa2xx-spi.0/spi_master/spi0/spi-APP000D:00/input/input14
[ 604.829879] input: Apple SPI Touchpad as /devices/pci0000:00/0000:00:15.4/pxa2xx-spi.0/spi_master/spi0/spi-APP000D:00/input/input15
[ 604.830130] applespi: spi-device probe done: spi-APP000D:00
[ 605.039209] applespi spi-APP000D:00: SPI transfer timed out
[ 605.039351] applespi: Error writing to device: -110
[ 605.247211] applespi spi-APP000D:00: SPI transfer timed out
[ 605.247346] applespi: Error reading from device: -110
[ 605.455247] applespi spi-APP000D:00: SPI transfer timed out
[ 605.455388] applespi: Error reading from device: -110
[ 605.627374] irq 21: nobody cared (try booting with the "irqpoll" option)
[ 605.627379] CPU: 3 PID: 4721 Comm: dracut Tainted: G OE 4.20.0-1.fc30.x86_64 #1
[ 605.627380] Hardware name: Apple Inc. MacBook8,1/Mac-BE0E8AC46FE800CC, BIOS 177.0.0.0.0 09/17/2018
[ 605.627381] Call Trace:
[ 605.627384] <IRQ>
[ 605.627393] dump_stack+0x5c/0x80
[ 605.627397] __report_bad_irq+0x37/0xae
[ 605.627401] note_interrupt.cold.9+0xa/0x69
[ 605.627403] handle_irq_event_percpu+0x6a/0x80
[ 605.627406] handle_irq_event+0x27/0x44
[ 605.627409] handle_fasteoi_irq+0x7f/0x120
[ 605.627413] handle_irq+0xbf/0x100
[ 605.627417] do_IRQ+0x49/0xd0
[ 605.627421] common_interrupt+0xf/0xf
[ 605.627422] </IRQ>
[ 605.627427] RIP: 0010:copy_page_range+0x774/0xec0
[ 605.627429] Code: 48 8d 94 24 f4 00 00 00 48 0f 45 c1 48 8b 00 a9 00 00 08 00 48 8d 84 24 e8 00 00 00 48 0f 44 d0 83 02 01 48 8b 3c 24 4c 89 e6 <48> 89 ea 48 89 d9 e8 c1 65 e2 ff 66 90 41 83 c5 08 45 31 c0 e9 ca
[ 605.627431] RSP: 0018:ffffae8202dd7c90 EFLAGS: 00000206 ORIG_RAX: ffffffffffffffdb
[ 605.627433] RAX: ffffdaa4870328c0 RBX: 80000001c0ca3845 RCX: ffffdaa4870328c0
[ 605.627435] RDX: ffffae8202dd7d7c RSI: 00005616a9a10000 RDI: ffff91d87004ea40
[ 605.627436] RBP: ffff91d81e241080 R08: 8000000000000845 R09: ffff91d7e1fc3320
[ 605.627437] R10: 000000000000010c R11: 0000000000027340 R12: 00005616a9a10000
[ 605.627439] R13: 0000000000000008 R14: ffff91d7e1fc3320 R15: ffff91d81e241058
[ 605.627445] ? anon_vma_chain_link+0x39/0x70
[ 605.627449] copy_process.part.35+0x17b4/0x1eb0
[ 605.627454] _do_fork+0xe2/0x390
[ 605.627457] ? __set_current_blocked+0x3d/0x60
[ 605.627460] ? sigprocmask+0x72/0xa0
[ 605.627464] do_syscall_64+0x5b/0x160
[ 605.627467] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 605.627469] RIP: 0033:0x7fb83af47942
[ 605.627471] Code: db 0f 85 01 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 a2 00 00 00 41 89 c4 85 c0 0f 85 af 00 00
[ 605.627473] RSP: 002b:00007ffdc726e100 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
[ 605.627475] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb83af47942
[ 605.627476] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
[ 605.627477] RBP: 0000000000000001 R08: 0000000000000000 R09: 00007fb83ae7c740
[ 605.627479] R10: 00007fb83ae7ca10 R11: 0000000000000246 R12: 00007ffdc726e140
[ 605.627480] R13: 00007ffdc726e1c0 R14: 00005616a99d5918 R15: 0000000000000000
[ 605.627482] handlers:
[ 605.627487] [<000000004f62a4ba>] ssp_int [spi_pxa2xx_platform]
[ 605.627489] Disabling IRQ #21
[ 644.007948] applespi spi-APP000D:00: SPI transfer timed out
[ 644.008093] applespi: Error reading from device: -110
[ 644.319955] applespi spi-APP000D:00: SPI transfer timed out
[ 644.320100] applespi: Error reading from device: -110
[ 644.631962] applespi spi-APP000D:00: SPI transfer timed out
[ 644.632107] applespi: Error reading from device: -110
# lspci -nnk | grep -i spi
00:15.4 Serial bus controller [0c80]: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1 [8086:9ce6] (rev 03)
Subsystem: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1 [8086:9ce6]
Kernel driver in use: pxa2xx_spi_pci
Kernel modules: spi_pxa2xx_pci
Btw, I had it working once.
And when booting with irqpoll
mouse and keyboard are working.
Metadata
Assignees
Labels
No labels