Newbie Question about the SJA1000_Platform Driver
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 001501ccf722$4ff38590$efda90b0$@com
Hi Frederic,
first, I switch the discussion to our new mailing list...
Quoted 8 lines · Fredric J. Einstein
Hi Wolfgang,
Thanks for answering my question. I loaded the latest version of Debian (yesterday) from their website (using the "live" version and then installing from that image). I searched the installation and didn't find
sja1000_isaat all, only sja1000 andsja1000_platform. I have a 32 bit Atom board and the Debian installation went normally. Did I perhaps install the wrong thing? Thanks again for your patience!
I have in my Ubuntu distribution:
~$ ls -l /lib/modules/2.6.38-8-generic/kernel/drivers/net/can/sja1000/ total 72
-rw-r--r-- 1 root root 7468 2011-04-11 11:16 ems_pci.ko -rw-r--r-- 1 root root 7796 2011-04-11 11:16 kvaser_pci.ko -rw-r--r-- 1 root root 10876 2011-04-11 11:16 plx_pci.ko -rw-r--r-- 1 root root 10436 2011-04-11 11:16 sja1000_isa.ko -rw-r--r-- 1 root root 12392 2011-04-11 11:16 sja1000.ko -rw-r--r-- 1 root root 6516 2011-04-11 11:16 sja1000_platform.ko -rw-r--r-- 1 root root 5936 2011-04-11 11:16 tscan1.ko
If you just find sja1000 and sja1000_platform, your distro/kernel is most probably broken.
Wolfgang.
Quoted 30 lines
Fred E.
-----Original Message-----
From: Wolfgang Grandegger [mailto:[email protected]]
Sent: Wednesday, February 29, 2012 3:22 PM
To: FredEi
Cc: [email protected]
Subject: Re: [Socketcan-users] Newbie Question about theSJA1000_PlatformDriverQuoted 8 lines · FredEi
Please excuse my ignorance, but I'm very new to compiling Linux kernels,
setting parameters for Platform type drivers etc. Our Intel Atom based
board has an SJA1000 controller on it that worked in older versions of Linux (such as Ubuntu 10.04) with theSJA1000_ISAdriver that was included with Ubuntu. Unfortunately, with Debian Squeeze (the latest version), it seems that this driver has been replaced withSJA1000_PLATFORM. However, unlikeWhy do you think that? The
sja1000_isais still available in the mainline kernel. And thesja1000_platformdriver is not replacing it? It serves a different bus. Is it possible that you switched to 64bit Linux at the same time? Older kernel versions do not supportsja1000_isaonx86_64but the issue has been fixed in the meantime.Wolfgang.