Page 1 of 1

CAN driver broken on revpi

Posted: 12 Mar 2024, 17:28
by jonaseng
Hi,

It seems that I have a RevpiConnect SE with a broken CAN driver.

Code: Select all

sudo ip link set can0 type can bitrate 500000
return:

Code: Select all

Cannot find device "can0"

Running

Code: Select all

dmesg
clearly shows something wrong with the initialisation of the hi3110 chip:

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.1.46-rt13-v8 (support@kunbus.com) (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_RT Mon, 5 Feb 2024 15:02:39 +0100
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi Compute Module 4S Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] On node 0, zone DMA: 19456 pages in unavailable ranges
[    0.000000] percpu: Embedded 28 pages/cpu s75968 r8192 d30528 u114688
[    0.000000] pcpu-alloc: s75968 r8192 d30528 u114688 alloc=28*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 238896
[    0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:B6:EC:DF vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 fsck.repair=yes rootwait nosplash plymouth.ignore-serial-consoles
[    0.000000] Unknown kernel command line parameters "nosplash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 861536K/970752K available (11840K kernel code, 2094K rwdata, 3924K rodata, 3968K init, 1072K bss, 43680K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 38102 entries in 149 pages
[    0.000000] ftrace: allocated 149 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
[    0.000000]  No expedited grace period (rcu_normal_after_boot).
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000340] Console: colour dummy device 80x25
[    0.000818] printk: console [tty1] enabled
[    0.000863] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000879] pid_max: default: 32768 minimum: 301
[    0.000981] LSM: Security Framework initializing
[    0.001182] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001208] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002622] cgroup: Disabling memory control group subsystem
[    0.004903] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005005] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005195] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005222] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005406] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005433] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.006238] rcu: Hierarchical SRCU implementation.
[    0.006245] rcu:     Max phase no-delay instances is 1000.
[    0.006378] printk: console [tty1] printing thread started
[    0.008178] EFI services will not be available.
[    0.008776] smp: Bringing up secondary CPUs ...
[    0.010255] Detected PIPT I-cache on CPU1
[    0.010417] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.012205] Detected PIPT I-cache on CPU2
[    0.012334] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.014006] Detected PIPT I-cache on CPU3
[    0.014139] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.014319] smp: Brought up 1 node, 4 CPUs
[    0.014331] SMP: Total of 4 processors activated.
[    0.014398] CPU features: detected: 32-bit EL0 Support
[    0.014406] CPU features: detected: CRC32 instructions
[    0.014529] CPU: All CPU(s) started at EL2
[    0.014534] alternatives: applying system-wide alternatives
[    0.015975] devtmpfs: initialized
[    0.055192] Enabled cp15_barrier support
[    0.055222] Enabled setend support
[    0.055710] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.055736] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.057851] pinctrl core: initialized pinctrl subsystem
[    0.059447] DMI not present or invalid.
[    0.060088] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.063447] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.063769] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.064394] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.064500] audit: initializing netlink subsys (disabled)
[    0.064774] audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1
[    0.066187] thermal_sys: Registered thermal governor 'step_wise'
[    0.066367] cpuidle: using governor menu
[    0.066979] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.067162] ASID allocator initialised with 32768 entries
[    0.067384] Serial: AMBA PL011 UART driver
[    0.080701] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.098660] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:50:39, variant start
[    0.102697] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
[    0.119244] KASLR enabled
[    0.218426] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.226396] SCSI subsystem initialized
[    0.226966] usbcore: registered new interface driver usbfs
[    0.227204] usbcore: registered new interface driver hub
[    0.227309] usbcore: registered new device driver usb
[    0.227643] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.227960] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.228456] pps_core: LinuxPPS API ver. 1 registered
[    0.228463] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.228495] PTP clock support registered
[    0.231027] vgaarb: loaded
[    0.231779] clocksource: Switched to clocksource arch_sys_counter
[    1.457754] VFS: Disk quotas dquot_6.6.0
[    1.457827] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.458055] FS-Cache: Loaded
[    1.458432] CacheFiles: Loaded
[    1.478530] NET: Registered PF_INET protocol family
[    1.478862] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.481393] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[    1.481437] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.481460] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.481615] TCP bind hash table entries: 8192 (order: 7, 655360 bytes, linear)
[    1.482269] TCP: Hash tables configured (established 8192 bind 8192)
[    1.482515] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    1.482594] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    1.482976] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.484061] RPC: Registered named UNIX socket transport module.
[    1.484074] RPC: Registered udp transport module.
[    1.484080] RPC: Registered tcp transport module.
[    1.484086] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.484102] PCI: CLS 0 bytes, default 64
[    1.486898] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.490892] Initialise system trusted keyrings
[    1.491231] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    1.529223] zbud: loaded
[    1.538325] NFS: Registering the id_resolver key type
[    1.538360] Key type id_resolver registered
[    1.538370] Key type id_legacy registered
[    1.538773] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.538785] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.542608] Key type asymmetric registered
[    1.542624] Asymmetric key parser 'x509' registered
[    1.542718] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.542988] io scheduler mq-deadline registered
[    1.542997] io scheduler kyber registered
[    1.554915] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.566034] Console: switching to colour frame buffer device 80x30
[    1.567958] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 640x480
[    1.577325] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.580876] iproc-rng200 fe104000.rng: hwrng registered
[    1.581308] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.613226] brd: module loaded
[    1.631700] loop: module loaded
[    1.632828] Loading iSCSI transport class v2.0-870.
[    1.642834] usbcore: registered new interface driver r8152
[    1.643009] usbcore: registered new interface driver lan78xx
[    1.643163] usbcore: registered new interface driver smsc95xx
[    1.643629] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.646914] dwc_otg: FIQ enabled
[    1.646922] dwc_otg: NAK holdoff enabled
[    1.646927] dwc_otg: FIQ split-transaction FSM enabled
[    1.646947] Module dwc_common_port init
[    1.673318] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
[    1.673708] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
[    1.726200] dwc2 fe980000.usb: DWC OTG Controller
[    1.726242] dwc2 fe980000.usb: new USB bus registered, assigned bus number 1
[    1.726512] dwc2 fe980000.usb: irq 30, io mem 0xfe980000
[    1.726910] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.726925] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.726936] usb usb1: Product: DWC OTG Controller
[    1.726945] usb usb1: Manufacturer: Linux 6.1.46-rt13-v8 dwc2_hsotg
[    1.726953] usb usb1: SerialNumber: fe980000.usb
[    1.732471] hub 1-0:1.0: USB hub found
[    1.732544] hub 1-0:1.0: 1 port detected
[    1.734657] usbcore: registered new interface driver uas
[    1.734826] usbcore: registered new interface driver usb-storage
[    1.735260] mousedev: PS/2 mouse device common for all mice
[    1.746158] sdhci: Secure Digital Host Controller Interface driver
[    1.746166] sdhci: Copyright(c) Pierre Ossman
[    1.746336] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.748046] hid: raw HID events driver (C) Jiri Kosina
[    1.748206] usbcore: registered new interface driver usbhid
[    1.748209] usbhid: USB HID core driver
[    1.748294] bcm2835_vchiq fe00b840.mailbox: there is not valid maps for state default
[    1.753076] NET: Registered PF_PACKET protocol family
[    1.753151] Key type dns_resolver registered
[    1.753858] registered taskstats version 1
[    1.753893] Loading compiled-in X.509 certificates
[    1.754313] Key type .fscrypt registered
[    1.754320] Key type fscrypt-provisioning registered
[    1.763874] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 32, base_baud = 0) is a PL011 rev2
[    1.764077] serial serial0: tty port ttyAMA0 registered
[    1.764444] uart-pl011 fe201000.serial: no DMA platform data
[    1.765362] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.765586] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.771180] rtc-pcf2127-i2c 1-0051: registered as rtc0
[    1.772283] rtc-pcf2127-i2c 1-0051: setting system clock to 2024-03-12T16:21:22 UTC (1710260482)
[    1.774322] of_cfs_init
[    1.774400] of_cfs_init: OK
[    1.804428] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.804634] Waiting for root device /dev/mmcblk0p2...
[    1.866476] mmc0: new DDR MMC card at address 0001
[    1.867198] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    1.869691]  mmcblk0: p1 p2
[    1.870162] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    1.870495] mmcblk0boot0: mmc0:0001 AJTD4R 4.00 MiB
[    1.873816] mmcblk0boot1: mmc0:0001 AJTD4R 4.00 MiB
[    1.875581] mmcblk0rpmb: mmc0:0001 AJTD4R 4.00 MiB, chardev (243:0)
[    1.888613] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[    1.888665] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.891233] devtmpfs: mounted
[    1.895915] Freeing unused kernel memory: 3968K
[    1.907844] Run /sbin/init as init process
[    1.907849]   with arguments:
[    1.907851]     /sbin/init
[    1.907853]     nosplash
[    1.907855]   with environment:
[    1.907857]     HOME=/
[    1.907859]     TERM=linux
[    2.031803] usb 1-1: new high-speed USB device number 2 using dwc2
[    2.196829] NET: Registered PF_INET6 protocol family
[    2.197859] Segment Routing with IPv6
[    2.197879] In-situ OAM (IOAM) with IPv6
[    2.225722] systemd[1]: systemd 247.3-7+deb11u4 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    2.226175] systemd[1]: Detected architecture arm64.
[    2.234882] systemd[1]: Set hostname to <RevPi25990>.
[    2.240044] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    2.240057] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.240691] hub 1-1:1.0: USB hub found
[    2.240768] hub 1-1:1.0: 5 ports detected
[    2.531806] usb 1-1.1: new high-speed USB device number 3 using dwc2
[    2.581426] systemd[1]: Configuration file /etc/systemd/system/octave-ibems-app.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[    2.632147] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    2.632160] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.632726] systemd[1]: Queued start job for default target Multi-User System.
[    2.634942] smsc95xx v2.0.0
[    2.661040] systemd[1]: Created slice system-getty.slice.
[    2.662686] systemd[1]: Created slice system-modprobe.slice.
[    2.664200] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    2.665521] systemd[1]: Created slice User and Session Slice.
[    2.666415] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.667243] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.668502] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    2.669213] systemd[1]: Reached target Local Encrypted Volumes.
[    2.669882] systemd[1]: Reached target Paths.
[    2.670504] systemd[1]: Reached target Slices.
[    2.671091] systemd[1]: Reached target Swap.
[    2.672280] systemd[1]: Listening on fsck to fsckd communication Socket.
[    2.673829] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    2.674925] systemd[1]: Listening on Journal Audit Socket.
[    2.675938] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.677774] systemd[1]: Listening on Journal Socket.
[    2.678849] systemd[1]: Listening on Network Service Netlink Socket.
[    2.680437] systemd[1]: Listening on udev Control Socket.
[    2.681695] systemd[1]: Listening on udev Kernel Socket.
[    2.682614] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    2.685736] systemd[1]: Mounting POSIX Message Queue File System...
[    2.690613] systemd[1]: Mounting RPC Pipe File System...
[    2.695990] systemd[1]: Mounting Kernel Debug File System...
[    2.700171] systemd[1]: Mounting Kernel Trace File System...
[    2.701651] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    2.706301] systemd[1]: Starting Set the console keyboard layout...
[    2.710661] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-001:003:01, irq=35)
[    2.711109] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    2.711900] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-fe980000.usb-1.1, smsc95xx USB 2.0 Ethernet, c8:3e:a7:10:5f:0f
[    2.716652] systemd[1]: Starting Load Kernel Module configfs...
[    2.721676] systemd[1]: Starting Load Kernel Module drm...
[    2.730340] systemd[1]: Starting Load Kernel Module fuse...
[    2.733281] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    2.738906] systemd[1]: Starting File System Check on Root Device...
[    2.748373] systemd[1]: Starting Load Kernel Modules...
[    2.757819] fuse: init (API version 7.37)
[    2.758366] systemd[1]: Starting Coldplug All udev Devices...
[    2.773761] systemd[1]: Mounted POSIX Message Queue File System.
[    2.775329] systemd[1]: Mounted RPC Pipe File System.
[    2.776696] systemd[1]: Mounted Kernel Debug File System.
[    2.778577] systemd[1]: Mounted Kernel Trace File System.
[    2.781446] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    2.788703] systemd[1]: modprobe@configfs.service: Succeeded.
[    2.789453] systemd[1]: Finished Load Kernel Module configfs.
[    2.791549] systemd[1]: modprobe@drm.service: Succeeded.
[    2.794334] systemd[1]: Finished Load Kernel Module drm.
[    2.796614] systemd[1]: modprobe@fuse.service: Succeeded.
[    2.797300] systemd[1]: Finished Load Kernel Module fuse.
[    2.799821] usb 1-1.2: new full-speed USB device number 4 using dwc2
[    2.808204] can: controller area network core
[    2.808328] NET: Registered PF_CAN protocol family
[    2.814536] can: raw protocol
[    2.817894] i2c_dev: i2c /dev entries driver
[    2.844357] systemd[1]: Mounting FUSE Control File System...
[    2.850224] systemd[1]: Mounting Kernel Configuration File System...
[    2.864866] systemd[1]: Started File System Check Daemon to report status.
[    2.871558] systemd[1]: Mounted FUSE Control File System.
[    2.884457] systemd[1]: Mounted Kernel Configuration File System.
[    2.895722] systemd[1]: Finished File System Check on Root Device.
[    2.900698] systemd[1]: Starting Remount Root and Kernel File Systems...
[    2.903977] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0043, bcdDevice= 0.01
[    2.903998] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[    2.904006] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)
[    2.904011] usb 1-1.2: SerialNumber: 24238313735351C0A0F1
[    2.956995] systemd[1]: Finished Set the console keyboard layout.
[    2.984711] usb 1-1.3: new full-speed USB device number 5 using dwc2
[    3.002921] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[    3.007224] systemd[1]: Finished Remount Root and Kernel File Systems.
[    3.008550] systemd[1]: Condition check resulted in First Boot Wizard being skipped.
[    3.011150] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    3.011307] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    3.036564] systemd[1]: Starting Load/Save Random Seed...
[    3.041084] systemd[1]: Starting Create System Users...
[    3.046929] systemd[1]: Starting Tmpfs-Backed Log Directory (Pre)...
[    3.065390] systemd[1]: Finished Coldplug All udev Devices.
[    3.071259] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[    3.082574] systemd[1]: Finished Create System Users.
[    3.085361] usb 1-1.3: New USB device found, idVendor=239a, idProduct=0001, bcdDevice= 1.00
[    3.085376] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.085381] usb 1-1.3: Product: Adafruit Industries
[    3.088359] systemd[1]: Starting Create Static Device Nodes in /dev...
[    3.101398] systemd[1]: Finished Load/Save Random Seed.
[    3.103394] systemd[1]: var-log-pre.service: Succeeded.
[    3.104367] systemd[1]: Finished Tmpfs-Backed Log Directory (Pre).
[    3.106585] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[    3.106847] systemd[1]: var-log.mount: Directory /var/log to mount over is not empty, mounting anyway.
[    3.111163] piControl: loading out-of-tree module taints kernel.
[    3.114406] piControl: built: Tue Feb 6 17:26:10 UTC 2024
[    3.114426] piControl: RevPi Connect SE
[    3.114431] piControl: MAJOR-No.  : 240
[    3.114651] piControl: MAJOR-No.  : 240  MINOR-No.  : 0
[    3.115694] systemd[1]: Mounting Tmpfs-Backed Log Directory...
[    3.124790] systemd[1]: Mounted Tmpfs-Backed Log Directory.
[    3.128533] piControl: read file finished, f_pos=6046
[    3.128582] piControl: 2 devices found
[    3.128586] piControl: 95 entries in total
[    3.128711] piControl: cl-comp:  0 addr 70  bit ff  len   8
[    3.128715] piControl: cl-comp:  1 addr 71  bit ff  len   8
[    3.128719] piControl: cl-comp:  2 addr 119  bit ff  len   8
[    3.130010] piControl: piIO thread started
[    3.130020] piControl: RevPiDevice_init()
[    3.130026] piControl: Enter Init State
[    3.130312] piControl: piControlInit done
[    3.130699] piControl: Enter PresentSignalling1 State
[    3.134556] systemd[1]: Starting Tmpfs-Backed Log Directory (Post)...
[    3.138098] systemd[1]: Finished Load Kernel Modules.
[    3.142587] systemd[1]: Starting Apply Kernel Variables...
[    3.147677] systemd[1]: Finished Create Static Device Nodes in /dev.
[    3.149713] systemd[1]: Reached target Local File Systems (Pre).
[    3.156360] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    3.158234] systemd[1]: var-log-post.service: Succeeded.
[    3.159111] systemd[1]: Finished Tmpfs-Backed Log Directory (Post).
[    3.161457] systemd[1]: Listening on Syslog Socket.
[    3.163822] usb 1-1.5: new high-speed USB device number 6 using dwc2
[    3.167963] systemd[1]: Starting Journal Service...
[    3.169831] piControl: Enter InitialSlaveDetectionLeft State
[    3.170383] piControl: Enter ConfigLeftStart State
[    3.175618] systemd[1]: Finished Apply Kernel Variables.
[    3.180681] piControl: Enter ConfigDialogueLeft State
[    3.195813] piControl: GetDeviceInfo: Id 96
[    3.207808] piControl: found 2. device on left side. Moduletype 96. Designated address 31
[    3.207829] piControl: input offset     11  len  70
[    3.207833] piControl: output offset    81  len  18
[    3.208367] piControl: Enter SlaveDetectionLeft State
[    3.218392] piControl: Enter EndOfConfig State

[    3.218402] piControl: Device  0: Addr  0 Type 105  Act 1  In   6 Out   5
[    3.218409] piControl:            input offset      0  len   6
[    3.218412] piControl:            output offset     6  len   5
[    3.218415] piControl:            serial number 1  version 1.0
[    3.218418] piControl: Device  1: Addr 31 Type  96  Act 1  In  70 Out  18
[    3.218423] piControl:            input offset     11  len  70
[    3.218425] piControl:            output offset    81  len  18
[    3.218428] piControl:            serial number 92568  version 1.5
[    3.218431] piControl:
[    3.218438] piControl: Adjust: base 113 in 113 out 119 conf 0
[    3.218442] piControl: Adjust: base 0 in 0 out 70 conf 88
[    3.218451] piControl: After Adjustment
[    3.218453] piControl: Device  0: Addr  0 Type 105  Act 1  In   6 Out   5
[    3.218457] piControl:            input offset    113  len   6
[    3.218459] piControl:            output offset   119  len   5
[    3.218462] piControl: Device  1: Addr 31 Type  96  Act 1  In  70 Out  18
[    3.218465] piControl:            input offset      0  len  70
[    3.218468] piControl:            output offset    70  len  18
[    3.218470] piControl:
[    3.264267] usb 1-1.5: New USB device found, idVendor=0424, idProduct=9512, bcdDevice= 2.00
[    3.264281] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.265029] hub 1-1.5:1.0: USB hub found
[    3.265132] hub 1-1.5:1.0: 3 ports detected
[    3.276438] systemd[1]: Started Rule-based Manager for Device Events and Files.
[    3.323829] piControl: start data exchange
[    3.336617] systemd[1]: Starting Network Service...
[    3.340107] systemd[1]: Started Journal Service.
[    3.393738] systemd-journald[202]: Received client request to flush runtime journal.
[    3.546285] piControl: piDIOComm_Init done 0
[    3.548165] piControl: set BridgeState to running
[    3.552030] usb 1-1.5.1: new high-speed USB device number 7 using dwc2
[    3.652657] usb 1-1.5.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    3.652672] usb 1-1.5.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.655654] smsc95xx v2.0.0
[    3.723152] SMSC LAN8700 usb-001:007:01: attached PHY driver (mii_bus:phy_addr=usb-001:007:01, irq=37)
[    3.726353] smsc95xx 1-1.5.1:1.0 eth1: register 'smsc95xx' at usb-fe980000.usb-1.5.1, smsc95xx USB 2.0 Ethernet, c8:3e:a7:10:5f:10
[    3.807990] usb 1-1.5.2: new full-speed USB device number 8 using dwc2
[    3.914690] usb 1-1.5.2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[    3.914705] usb 1-1.5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.914710] usb 1-1.5.2: Product: FT232R USB UART
[    3.914714] usb 1-1.5.2: Manufacturer: FTDI
[    3.914717] usb 1-1.5.2: SerialNumber: AU06I23M
[    3.999870] usb 1-1.5.3: new full-speed USB device number 9 using dwc2
[    4.106700] usb 1-1.5.3: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[    4.106716] usb 1-1.5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.106722] usb 1-1.5.3: Product: FT232R USB UART
[    4.106726] usb 1-1.5.3: Manufacturer: FTDI
[    4.106729] usb 1-1.5.3: SerialNumber: AU06IIR6
[    5.159373] CAN device driver interface
[    5.191189] hi3110 spi0.0: error -ENODEV: Cannot initialize 3110. Wrong wiring?
[    5.191257] hi3110 spi0.0: error -ENODEV: Probe failed
[    5.810898] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[    5.811756] cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device
[    5.812389] usbcore: registered new interface driver cdc_acm
[    5.812398] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.070402] mc: Linux media interface: v0.10
[    6.119708] videodev: Linux video capture interface: v2.00
[    6.178643] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    6.189554] rpivid feb10000.codec: Device registered as /dev/video19
[    6.314982] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    6.316145] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    6.316158] [vc_sm_connected_init]: start
[    6.316787] [vc_sm_connected_init]: installed successfully
[    6.319738] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.328367] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    6.333360] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    6.342482] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    6.342515] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.348187] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.348266] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.353283] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.353311] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.357261] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    6.357287] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    6.360427] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    6.360542] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    6.364754] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    6.372669] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    6.373016] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    6.373388] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    6.373663] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    6.373683] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.373692] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.373699] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.373704] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.377826] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    6.378157] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    6.378422] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    6.378660] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    6.378679] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.378690] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.378696] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.378702] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.378862] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    6.444877] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    6.605516] bcm2835_audio bcm2835_audio: card created with 8 channels
[    7.226712] 8021q: 802.1Q VLAN Support v1.8
[    7.426299] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.539213] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    7.539630] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    7.540311] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.884447] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    7.892800] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off
[    7.892854] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.893680] usbcore: registered new interface driver usbserial_generic
[    9.893855] usbserial: USB Serial support registered for generic
[    9.904917] usbcore: registered new interface driver ftdi_sio
[    9.904987] usbserial: USB Serial support registered for FTDI USB Serial Device
[    9.905112] ftdi_sio 1-1.5.2:1.0: FTDI USB Serial Device converter detected
[    9.905276] usb 1-1.5.2: Detected FT232R
[    9.909815] usb 1-1.5.2: FTDI USB Serial Device converter now attached to ttyUSB0
[    9.909988] ftdi_sio 1-1.5.3:1.0: FTDI USB Serial Device converter detected
[    9.910200] usb 1-1.5.3: Detected FT232R
[    9.912615] usb 1-1.5.3: FTDI USB Serial Device converter now attached to ttyUSB1
[   10.161882] smsc95xx 1-1.5.1:1.0 eth1: hardware isn't capable of remote wakeup
[   10.167574] smsc95xx 1-1.5.1:1.0 eth1: Link is Down
Can this be fixed?
If not, how is it possible that this has broken down?

Thanks for any help.

Jonas

Re: CAN driver broken on revpi

Posted: 12 Mar 2024, 19:13
by nicolaiB
Hi

Has the Con CAN overlay been enabled? There should be a line in /boot/config.txt of `dtoverlay=revpi-con-can` or check with `revpi-config status revpi-con-can`.

Enable overlay: revpi-config enable revpi-con-can
Disable overlay: revpi-config disable revpi-con-can

Nicolai