LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-17-2021, 06:07 PM   #1
xp19375
LQ Newbie
 
Registered: Jan 2012
Distribution: Slackware 14.2
Posts: 22

Rep: Reputation: Disabled
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.

Any help would be appreciated!
 
Old 02-18-2021, 02:15 AM   #2
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by xp19375 View Post
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:

Code:
root@bone:~# cat /proc/cpuinfo | grep "Revision"
Revision        : 0010
root@bone:~#

Last edited by Exaga; 02-18-2021 at 02:23 AM. Reason: edit
 
Old 02-18-2021, 08:51 AM   #3
xp19375
LQ Newbie
 
Registered: Jan 2012
Distribution: Slackware 14.2
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thanks for the reply!

Quote:
Originally Posted by Exaga View Post
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 View Post
[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:

Code:
root@bone:~# cat /proc/cpuinfo | grep "Revision"
Revision        : 0010
root@bone:~#
I was able to get RaspberryPiOS running on it, and /proc/cpuinfo has
Code:
Revision     : 000e
Model        : Raspberry Pi Model B Rev 2
 
Old 02-18-2021, 11:51 AM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by xp19375 View Post
Any help would be appreciated!
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.
 
Old 02-18-2021, 11:58 AM   #5
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,303
Blog Entries: 4

Rep: Reputation: 193Reputation: 193
Where's the beer?

Can you finish the maintenance on the SARPi64 Project site so I can download it
 
Old 02-18-2021, 01:32 PM   #6
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by enine View Post
Where's the beer?

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.

So, if you're interested, head over to SlackDocs and read through this webpage, which includes the information you need to achieve the above - http://docs.slackware.com/howtos:har...cross-compiler

Last edited by Exaga; 02-18-2021 at 01:42 PM. Reason: i'm busy!
 
1 members found this post helpful.
Old 02-18-2021, 04:49 PM   #7
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,303
Blog Entries: 4

Rep: Reputation: 193Reputation: 193
Quote:
Originally Posted by Exaga View Post
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.

So, if you're interested, head over to SlackDocs and read through this webpage, which includes the information you need to achieve the above - http://docs.slackware.com/howtos:har...cross-compiler
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.
 
Old 02-18-2021, 05:36 PM   #8
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by xp19375 View Post
Thanks for the reply!

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!

Incidentally, I've uploaded the previous SARPi batch from 29 Jan 2021 (running kernel 5.10.11) which works as expected. See: https://sarpi.fatdog.nl/index.php?p=rpi1get142

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++
 
Old 02-18-2021, 06:02 PM   #9
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by enine View Post
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.
 
Old 02-18-2021, 06:23 PM   #10
xp19375
LQ Newbie
 
Registered: Jan 2012
Distribution: Slackware 14.2
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Incidentally, I've uploaded the previous SARPi batch from 29 Jan 2021 (running kernel 5.10.11) which works as expected. See: https://sarpi.fatdog.nl/index.php?p=rpi1get142
Thanks Exaga, I downloaded that and was able to start the Slackware installer. Now to find a reliable USB drive....
 
1 members found this post helpful.
Old 02-19-2021, 06:25 PM   #11
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by xp19375 View Post
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
 
  


Reply

Tags
kernel panic, sarpi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RPI not booting with SARPI installer Desiderius Slackware - ARM 10 11-10-2020 04:43 PM
[SOLVED] Sarpi / Raspberry (RPi 3) - touchscreen input not working since kernel 5.4.x eduardr Slackware - ARM 9 02-13-2020 12:08 AM
SARPi - installer and packages for RPi 4 Exaga Slackware - ARM 2 06-28-2019 05:49 PM
SARPi website new URL - sarpi.co.uk Exaga Slackware - ARM 4 01-28-2018 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration