I just purchased gopigo3 and pi 3, and followed the steps to install and connect to it. After I install the raspian for robots to a sd card (per instruction at: https://www.dexterindustries.com/howto/install-raspbian-for-robots-image-on-an-sd-card/) and found this error message “failed to start load kernel modules” (see pic attached). And after I get to the desktop main interface, there’s no wifi interface found. Can you please help? Thank you.
I mount the Raspberry Pi to the gopigo and power it up by the power adapter. I have a wifi dongle plugged in, but don’t have any ethernet cable connected.
Yes, I jused the image found in this page. I’m new to this, what is “MD5”? How can I tell if it matches?
MD5 is an algorithm used for determining if a file has downloaded correctly from a source on the web.
An iso image that had “mutations” during the download process, might not run as intended on the RaspberryPi.
What we need to do is check if the MD5 code found in our zip file matches with yours.
Step I
To find our MD5 code, take a look inside the zip file (link here) that’s in 2017.06.21_Dexter_Industries_jessie.zip and see that there’s a text document which contains an MD5 string in its name. Open it up and put it some place to compare it with the other one.
Step II
After you extract the image from the archive, open Win32 Disk Imager and open up the image you’ve just extracted. Then, check you have MD5 selected in the Hash section and then press Generate. It’s going to take a little bit until the code is generated.
You should see something like this.
Step III
Compare those 2 codes. If they match, then it means you have the right image.
If they don’t, then you need to redownload the zip file that contains our Raspbian For Robots image.
Fun fact: it seems like in my case, I have the right image as both codes 2ac3f4643720e51336cc7ebf2ccc143e match.
This is how I can help you.
If it still doesn’t work, then I suggest you remove the GoPiGo from the RaspberryPi and try to boot Raspian For Robots this way.
I followed your step I thru III and found the same error. Then I also physically removed GoPiGo from the RaspberryPi and boot the Raspian for Robots with RaspberryPi only, but this error still remains.
FYI, I don’t see any issue when I boot with NOOBS from the RaspberryPi official website.
Could you think of any other ways to resolve this?
The WiFi LED is only functional for DexterOS. So the link you’ve posted here is for DexterOS and not for Raspbian For Robots.
Now, I’m not sure why your Raspbian For Robots doesn’t successfully boot. We haven’t met this issue so far, so it’s hard for us to figure out something (at this point).
Alternative
We could try another approach. Get yourself a fresh Jessie image (don’t use Stretch), boot it up and then run the following command in a terminal: sudo curl https://raw.githubusercontent.com/DexterInd/Raspbian_For_Robots/master/update_master.sh | bash
Running this command will get you (in 30-60 seconds) a GUI image like the following one:
Press on Update Dexter Software and let the update do its job. Afterward, reboot and update your appropriate robot in order to use it.
I don’t see this error (“failed to start load kernel modules”) with this latest Jessie OS that @cleoqc pointed out . With the OS of Raspbian for Robots installed, I tried all different ways that @RobertLucian suggested but couldn’t resolve this error. Do you know what might go wrong here? Could the gopigo board be defective?
FYI, with the Raspbian for Robots OS installed, I tried the following simple test code after I fully assembled all hardware, but the gopigo wheels are not spinning at all.
Can I use the Jesse OS instead of the Raspbian for Robots OS to program the gopigo? What additional packages/ files/ libraries do I need to program this gopigo with python?
I also want to make sure you’ve burned your micro SD Card with a Jessie image from the archives@cleoqc pinpointed and then you ran the suggestion I wrote in my previous reply.
Can you confirm this and also take @cleoqc suggestions into account?
After the GUI pops up, I pressed on update dexter software and update the gopigo3 and reboot
When I reboot, I still see this same failure of loading kernel (same as the error image I attached in the very first thread)
I wrote the following simple python test code to test the communication to the hardware. The terminal executed the command, but the wheels are not moving at all:
I have tried the steps above twice with 2 fresh micro SD card, but this failure still exists. I’m a little frustrated, could this be a hardware issue on my gopigo3 board?
Now, I think there may be a software issue with the Raspberry Pi. It isn’t the first time I encountered this kernel issue, but when I did have this problem, all I needed to do was to reburn the micro SD Card.
It “feels” as if the installation went wrong somewhere. Then again, even with our Raspbian For Robots image it didn’t work for you, which may also indicate an issue with the hardware because on my RaspberryPis it works.
Do you have a spare RaspberryPi around? It doesn’t have to be a Pi3, you can also use a Pi2 or even a Pi1. I just want to exclude the possibility of having a faulty hardware.
I’m also tagging this post with the pending label, which means our team is going to take a better look at this issue.
I don’t have any other Raspberry Pi board. I just re-burned a new micro SD card and used my raspberry pi 3 with other projects/ functions. The PI works fine. I agree with you that it might be a hardware issue. Since my Pi works perfectly by itself without the gopigo board mounted to it, I think the hardware issue should be at the gopigo board. What would you think? Would it be possible for you to send me another gopigo board to test and verify?
Hello @shuaiyue29
My apologies for not having looked into this earlier. I made it my priority this morning.
I downloaded the file from the link I gave you, just like you did
Then I did sudo curl -L -k dexterindustries.com/update_gopigo3 | bash
The only difference here is the -k which is needed when a secure connection is expected but we want to bypass it. This should have no bearing on the end result.
After a couple of minutes I was asked to reboot and I saw the error.
I am baffled though. Doing the installation this way does not change anything at all related to kernel or systemd. Plus everything works regardless. I was able to run the GoPiGo3 examples without issues.
Does this error cause your GoPiGo3 to fail? Are the examples under /home/pi/Dexter/GoPiGo3/Software/Python/Examples work for you? (They do for me)
Note that the wheels only move when connected to batteries, usb power is not sufficient)
Sidenote: to connect to the distance sensor, you also need to run sudo curl -L -k dexterindustries.com/update_sensors | bash
so the sensors library will get installed.