peak-pci non-functional in Debian Testing 4.7.5-1 kernel
Posted: Fri 30. Sep 2016, 22:15
Hello,
I'm trying to get my PEAK-PCI cards working with netdev with 4.7 amd64 kernel in Debian Testing.
output of `uname -a`
Linux xk910228 4.7.0-1-amd64 #1 SMP Debian 4.7.5-1 (2016-09-26) x86_64 GNU/Linux
output of `lsmod|grep peak`
output of `lsmod|grep pcan`
(for that result i had to build the 8.1 driver, which wouldn't build until i put a symbolic link from /usr/src/linux-headers-4.7.0-1-amd64/include/config/can/peak/ (where pci.h is located) to /lib/modules/4.7.0-1-amd64/build/include/linux (where the build scripts are looking for all the header files, a location that doesn't exist in this distribution)
content of /etc/network/interfaces:
output of `ifconfig can0 up`
This procedure was easy in debian 8 with 3.x kernel. It appears as though there was a regression. The manual says the netdev driver functionality should already be included in the kernel, and yet i can't get basic functionality even after installing the latest 8.1 driver.
I'd like to not go back to an earlier kernel. What is the procedure to get peak-pci working with 4.x on Debian?
Thanks,
Brian
I'm trying to get my PEAK-PCI cards working with netdev with 4.7 amd64 kernel in Debian Testing.
output of `uname -a`
Linux xk910228 4.7.0-1-amd64 #1 SMP Debian 4.7.5-1 (2016-09-26) x86_64 GNU/Linux
output of `lsmod|grep peak`
Code: Select all
peak_pci 16384 0
sja1000 16384 1 peak_pci
i2c_algo_bit 16384 2 i915,peak_pci
Code: Select all
pcan 126976 0
parport 49152 1 pcan
pcmcia 61440 1 pcan
i2c_algo_bit 16384 3 i915,pcan,peak_pci
usbcore 241664 6 pcan,usbserial,ehci_hcd,ehci_pci,pl2303,usbhid
content of /etc/network/interfaces:
Code: Select all
allow-hotplug can0
iface can0 inet manual
pre-up /sbin/ip link set $IFACE txqlen 512 type can bitrate 500000 sample-point 0.75
up /sbin/ifconfig $IFACE up
down /sbin/ifconfig $IFACE down
allow-hotplug can1
iface can1 inet manual
pre-up /sbin/ip link set $IFACE txqlen 512 type can bitrate 500000 sample-point 0.75
up /sbin/ifconfig $IFACE up
down /sbin/ifconfig $IFACE down
Code: Select all
can0: ERROR while getting interface flags: No such device
I'd like to not go back to an earlier kernel. What is the procedure to get peak-pci working with 4.x on Debian?
Thanks,
Brian