[SOLVED] Kernel Panic when booting SARPi installer on RPi 1b
Slackware - ARMThis forum is for the discussion of Slackware ARM.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kernel Panic when booting SARPi installer on RPi 1b
I am trying to install Slackware-arm 14.2 on a RPi 1b. I downloaded the SARPi installer from this link and wrote it to an SD card. When I boot, the kernel panics after about 10s:
Code:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
CPU: 0 PID: 1 Comm: init Not tainted 5.10.14-sarpi #3
Hardware name: BCM2835
Backtrace:
...
From what I gather, the exitcode indicates an illegal instruction error occurred. I double checked that I had the right installer image and verified the md5sum.
I am trying to install Slackware-arm 14.2 on a RPi 1b. I downloaded the SARPi installer from this link and wrote it to an SD card. When I boot, the kernel panics after about 10s:
Code:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
CPU: 0 PID: 1 Comm: init Not tainted 5.10.14-sarpi #3
Hardware name: BCM2835
Backtrace:
...
From what I gather, the exitcode indicates an illegal instruction error occurred. I double checked that I had the right installer image and verified the md5sum.
Any help would be appreciated!
At which point during the installation process does the kernel panic occur?
[EDIT] also... which revision of the RPi (1) are you installing on?
The output of 'cat /proc/cpuinfo | grep "Revision"' would be very helpful here. For example:
At which point during the installation process does the kernel panic occur?
While the installer image was booting, about 10s in. I wrote the installer image to the SD card, plugged it into the RPi, powered it on, then got a kernel panic as it was booting. I had no opportunity to run any commands or do anything.
Quote:
Originally Posted by Exaga
[EDIT] also... which revision of the RPi (1) are you installing on?
The output of 'cat /proc/cpuinfo | grep "Revision"' would be very helpful here. For example:
I often find music helps to sooth the troubled mind in times like these. So, I quote from one of Bob Dylan's "Slackware ARM renaissance" protest songs...
Quote:
Come gather round Slackers wherever you roam,
and admit the ABI waters around you have grown,
and accept it that soon you'll be drenched to the bone.
If Slackware ARM on the RPi is worth saving,
then you better start hacking or your kernel will moan.
For ARM times they are a-changing ...
In the meantime, I'm looking into things... with a beer and a "sing-along-a-Bob" mentality. Jaffa cakes are nowhere in sight.
Can you finish the maintenance on the SARPi64 Project site so I can download it
The day that MoZes announced to the world that Slackware Aarch64 is in development was the time when the SARPi64 Project became very much redundant and ultimately superfluous to requirements.
If your need is urgent then there is another, and much better, way than "downloading it". You can DIY and build it instead. Sure, it takes a little more time and effort, but the knowledge and experience that Slackware offers as a result is unparalleled and incomparable.
The only proviso is that you need to spend as much time as is required on reading instructions and asking questions. That's basically it.
The day that MoZes announced to the world that Slackware Aarch64 is in development was the time when the SARPi64 Project became very much redundant and ultimately superfluous to requirements.
If your need is urgent then there is another, and much better, way than "downloading it". You can DIY and build it instead. Sure, it takes a little more time and effort, but the knowledge and experience that Slackware offers as a result is unparalleled and incomparable.
The only proviso is that you need to spend as much time as is required on reading instructions and asking questions. That's basically it.
Sorry, was meaning download the sarpi64 installer, I was assuming same as the sarpi (32) installer. I've been away for a bit and trying to catch up and getting announcements out of order apparently.
I was able to get RaspberryPiOS running on it, and /proc/cpuinfo has
Code:
Revision : 000e
Model : Raspberry Pi Model B Rev 2
OK. Good info and thanks! You have a revision "000e" built by Sony (United Kingdom) and the RPi that I'm currently using for testing is revision "000f" built by Egoman (China) - both were manufactured in the last quarter of 2012. I can confirm that booting the SARPi installer (running kernel 5.10.14) for these devices results in a kernel panic, which you have previously highlighted. Thanks for bringing it to my attention.
I'm rebuilding the latest SARPi installer and pkgs for the RPi (1) on the "000f" revision model with a few minor changes, just for the hell of it. We'll see how this turns out but if it fails (as I'm expecting it to) then don't worry about it. This may indicate that the sun is setting for the final time (i.e. The End!) for any future SARPi installers and pkgs on the Raspberry Pi (1). For Slackware ARM 14.2 on the RPi2 and RPi3, SARPi installers and pkgs stopped being built at the end of February 2020. This was a result of MoZes apprising me, early last year, on trying to support > ARMv7 architecture with a hard-float ABI that's no longer compatible and it could be that his advice has now been realised. So be it, if that's the case!
Thankfully ARM continues to move forwards, but never backwards, as all progressive hardware does. Plus, we're anticipating the release of Slackware 15.0 with all the added bonuses and benefits that will bring. Not to mention Slackware Aarch64. The future looks very bright indeed.
Last edited by Exaga; 02-18-2021 at 05:40 PM.
Reason: A++
Sorry, was meaning download the sarpi64 installer, I was assuming same as the sarpi (32) installer. I've been away for a bit and trying to catch up and getting announcements out of order apparently.
Yes, I understood you perfectly.
Sorry to disappoint you but the SARPi64 installers and pkgs are not available for download. That's not to say they never will be again, but certainly while MoZes is developing Slackware Aarch64 then the SARPi64 Project website will remain in maintenance mode, and all previous downloadable content has been removed, for the time being.
Thanks Exaga, I downloaded that and was able to start the Slackware installer. Now to find a reliable USB drive....
No worries. I've built and tested the latest SARPi batch for the Raspberry pi (1) - running kernel 5.10.16. All working as expected. They're now available for download on https://sarpi.fatdog.eu
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.