Debian Stretch: Inserting SocketCAN ISA driver returns errorcode -19

0

I'm using the following commands to load the SocketCAN driver:

  modprobe can_dev
  modprobe cc770 i82527_compat=1
  modprobe cc770_isa port=0x220 irq=11,0 indirect=1
  ip link set can0 type can bitrate 307000
  ifconfig can0 up

Which used to work on Debian 5 and Debian 8. However on Debian 9 I get the following error from dmesg:

cc770: CAN netdevice driver
cc770_isa cc770_isa.0 (unnamed net_device) (uninitialized) probing @0x00000220 failed (pattern)
cc770_isa cc770_isa.0: couldn't register device (err=-19)
cc770_isa: driver for max. 8 devices registered

Since it is a pattern error I assume that the device is found but the kernel can't communicate with it. The kernel modules do load but the can device doesn't show in ifconfig.

Tried updating to a newer Linux kernel (currently on 4.9.210), applying the real-time patch and switching between 32 and 64 bit. On 64 bit it worked once, but no longer after.

debian
can-bus
debian-stretch
socketcan
isa-bus
asked on Stack Overflow Feb 14, 2020 by Bas Jansen • edited Jan 6, 2021 by Cody Gray

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0