spidev0 missing on raspberrypi5 on ubuntu 23.10 server and desktop version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
/dev/spidev0 not present.
[Fix]
Enable CONFIG_DW_AXI_DMAC.
[Test Case]
1) Add 'dtparam=spi=on' to /boot/firmware/
2) Boot fixed kernel.
3) Verify /dev/spidev0 is present.
[Where Problems Could Occur]
A new kernel modules is loaded at boot so we could see hangs, freezes, stack traces or any other buggy kernel code symptoms.
[Original Description]
While trying to access spidev0 on ubuntu 23.10 server version for raspberrypi model 5 did not find spidev0.
On further debugging with raspi team it was observed that DMA is not set.
Link to the discussion: https:/
ubuntu@ubuntu:~$ sudo modprobe configs
ubuntu@ubuntu:~$ zcat /proc/config.gz | grep DW_AXI_DMAC
# CONFIG_DW_AXI_DMAC is not set
Details of platform used
ubuntu@ubuntu:~$ ls -al /dev/spi*
crw------- 1 root root 153, 0 Dec 7 16:14 /dev/spidev10.0
ubuntu@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic
ubuntu@ubuntu:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
LOGO=ubuntu-logo
ubuntu@ubuntu:~$ cat /proc/cpuinfo | grep Model
Model : Raspberry Pi 5 Model B Rev 1.0
tags: | added: kern-8695 |
summary: |
- spidev0 missing on raspberrypi5 on ubuntu 23.10 server version + spidev0 missing on raspberrypi5 on ubuntu 23.10 server and desktop + version |
description: | updated |
description: | updated |
Changed in linux-raspi (Ubuntu Mantic): | |
status: | New → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.