Josephus
Posts: 6
Joined: Wed Dec 03, 2014 2:48 pm

module spi-dev

Sun Mar 22, 2015 10:09 am

During start-up, I receive the message :

fatal : module spi-dev not found

Afterwords the Pi1 will stop !!!!

:roll: :roll: :roll:

User avatar
joan
Posts: 14473
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: module spi-dev

Sun Mar 22, 2015 10:16 am

Which operating system? Where did you get it? Have you made changes?

User avatar
DougieLawson
Posts: 36557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: module spi-dev

Sun Mar 22, 2015 10:55 am

spi-dev doesn't exist in the 3.18 kernel.
modprobe spi-bcm2708

Failing to load an optional kernel module is probably not the reason your RPi stopped.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Josephus
Posts: 6
Joined: Wed Dec 03, 2014 2:48 pm

Re: module spi-dev

Sun Mar 22, 2015 11:15 am

DougieLawson wrote:spi-dev doesn't exist in the 3.18 kernel.
modprobe spi-bcm2708

Failing to load an optional kernel module is probably not the reason your RPi stopped.
I use Rasbian on the Pi1 with the Dexter GoPiGo. It functions perfect during half a year.(Terminal, Python and scratch).
After a apt-get upgrade, the system stopped. Since that event I got this message on spi-dev.

I do not know how to proceed .......

DirkS
Posts: 10017
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: module spi-dev

Sun Mar 22, 2015 11:39 am

Josephus wrote:I do not know how to proceed .......
If the upgrade installed the latest kernel 3.18 (you can check this with 'uname -r') then you probably have to add

Code: Select all

dtparam=spi
to /boot/config.txt

But maybe it's best to post your problem on the Dexter forum (http://www.dexterindustries.com/forum/)

User avatar
DougieLawson
Posts: 36557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: module spi-dev

Sun Mar 22, 2015 11:45 am

1. Buy a new 8GB SDCard
2. Buy a USB SDCard reader (costs £1 in Poundland)
3. Build a new version of Raspbian on the new card
4. Boot from the new card
5. Insert the "broken" card in the USB reader
6. Mount the /dev/sda2 (non-NOOBS) or /dev/sda6 (NOOBS) filesystem
7. Inspect the logs and stuff in /var/log to see if you can determine the cause of the failure
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Romey-Rome
Posts: 13
Joined: Sun Mar 22, 2015 10:34 am

Re: module spi-dev

Fri Apr 17, 2015 1:06 am

Hello -

So how do you permanently increase the buffer size with spi-bcm2708? I don't see it having any parameters.

User avatar
joan
Posts: 14473
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: module spi-dev

Fri Apr 17, 2015 8:09 am

Romey-Rome wrote:Hello -

So how do you permanently increase the buffer size with spi-bcm2708? I don't see it having any parameters.
It's probably best to create a new post for a new question. It gets its own title so people know to look at the post if they are interested or can help.

That said, I didn't realise the SPI module had a configurable buffer. The user supplies a buffer of an appropriate size for the data to be read/written.

Return to “Troubleshooting”