LinuxQuestions.org
Visit Jeremy's Blog.
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 09-01-2019, 10:56 PM   #1
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 766

Rep: Reputation: 164Reputation: 164
sysrq: SysRq : HELP ?


PRETTY_NAME="Slackware 14.2 arm (post 14.2 -current)"
Linux bananapro.example.net 4.19.66-armv7 #2 SMP Sat Aug 10 20:35:48 BST 2019 armv7l Allwinner sun7i (A20) Family GNU/Linux

Installed slackwarearm to bananapro last February and have been applying all the regular updates.

This weekend I noticed these messages in /var/log/messages, lots of them, 580.

Quote:
Sep 1 18:55:37 bananapro kernel: [1329293.874742] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e)
memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m)
nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u)
show-blocked-tasks(w) dump-ftrace-buffer(z)
There were 20 "Changing Loglevel".

System fell into hard lock, had to pull the plug, not seen any of the errors since powering back up. Have not had any trouble with anything since install, this is first major problem, what does this mean? Is something failing?

I found this post SysRq warnings and shut down by itself I am not doing anything serial port. Thanks
 
Old 09-02-2019, 12:43 PM   #2
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 766

Original Poster
Rep: Reputation: 164Reputation: 164
My banana pro seems to have died. Was off when I checked on it and won't power back up.

robotshop doesn't handle warranties but might work with their suppliers.

Lasted about 6 months, my first SARPi rpi3 has been steady since October '16.

I really want to do soc nas, would rpi4 with large enough usb drives offer suitable throughput?

I was doing sata with banana pro, kind of like a back up for my aging shuttle server.
 
Old 09-03-2019, 03:13 AM   #3
Exaga
Member
 
Registered: Nov 2012
Posts: 188

Rep: Reputation: 89
Quote:
Originally Posted by glorsplitz View Post
My banana pro seems to have died. Was off when I checked on it and won't power back up.

robotshop doesn't handle warranties but might work with their suppliers.

Lasted about 6 months, my first SARPi rpi3 has been steady since October '16.

I really want to do soc nas, would rpi4 with large enough usb drives offer suitable throughput?

I was doing sata with banana pro, kind of like a back up for my aging shuttle server.
The thing about the RPi devices is; you're very much limited to the USB interface when considering additional storage solutions. No eSATA, eMMC, or otherwise. The RPi4 has USB3 so it boasts slightly faster data speeds than the RPi3 but it's still "USB". I would not use or trust USB memory sticks as anything more than temporary (backup) storage devices. HDDs (which consume a lot of power) and SSDs is what I'd use. If you're planning to use multiple storage drives then a self-powered USB hub or add-on board is what I'd suggest.

Perhaps this Geekworm URL may give you some alternative ideas: https://geekworm.com/collections/ras...rage-solutions

There are better designed and more suitable ARM devices out there on the market for NAS/SAN purposes than the Raspberry Pi.

[EDIT] for example, the Orange Pi which is officially supported by Slackware ARM.

Last edited by Exaga; 09-03-2019 at 03:15 AM.
 
1 members found this post helpful.
Old 09-03-2019, 03:23 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 850

Rep: Reputation: 639Reputation: 639Reputation: 639Reputation: 639Reputation: 639Reputation: 639
Quote:
Originally Posted by glorsplitz View Post
My banana pro seems to have died. Was off when I checked on it and won't power back up.

robotshop doesn't handle warranties but might work with their suppliers.

Lasted about 6 months, my first SARPi rpi3 has been steady since October '16.

I really want to do soc nas, would rpi4 with large enough usb drives offer suitable throughput?

I was doing sata with banana pro, kind of like a back up for my aging shuttle server.
Have you tried changing power adapter? I had some with the Banana Pi and they broke after a few years. One of them would continue to power the device, but it'd crash when loading U-Boot. Changing to a new adapter fixed it.
 
1 members found this post helpful.
Old 09-03-2019, 07:49 PM   #5
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 766

Original Poster
Rep: Reputation: 164Reputation: 164
Thanks Exaga, drmozes.

I'm checking into things you've mentioned, will report back.
 
Old 09-07-2019, 10:02 AM   #6
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 766

Original Poster
Rep: Reputation: 164Reputation: 164
update

Original power adapter I got for my setup is this one EasyAcc 5V 2A Micro USB, sounded good.

I tried 5V 2A power adapter I got with rpi3 canakit, red light on the banana pro came on for a few seconds then turned off.

I emailed robotshop place I got banana pro from, they issued RMA! and will send a replacement after I send the one I have back.

I disconnected everything, including SD card and tried both power adapters one last time.

Red light stayed on? I reconnected everything and got it to boot.

However, now it keeps spitting out "sysrq: SysRq : HELP" message like from my first post.

I think I'll send it back indicating the "sysrq: SysRq : HELP" messages.

EDIT:
It was up while I was doing this reply, just checked on it and it was off.
It's going back.

Last edited by glorsplitz; 09-07-2019 at 04:45 PM.
 
Old 09-07-2019, 09:41 PM   #7
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 766

Original Poster
Rep: Reputation: 164Reputation: 164
additional information

I was reading about Magic SysRq key.

There's this file
Quote:
ls -la /proc/sys/kernel/sysrq
-rw-r--r-- 1 root root 0 Sep 7 18:45 /proc/sys/kernel/sysrq
I didn't know about, which can contain whatever values echoed to it as in what I read here Ubuntu + PrtSc + AltGr = CRASH.

I tried Alt+SysRq h and space and got
Quote:
Sep 7 22:10:51 hal kernel: [545763.230808] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(V) show-blocked-tasks(w) dump-ftrace-buffer(z)
to appear in /var/log/messages.

In /proc/sys/kernel/sysrq all my slackware computers have the same value, 1, "Enable all SysRq commands".

I have this mini usb keyboard I use for various things that has never given me any trouble. I heard about "Magic SysRq key" but never investigated it, didn't know why or how to use it until now. It was like a ghost was pressing the keys in front of me, the log levels were changing, that "Print a summary of available magic SysRq keys" kept popping up over and over until it shutdown.

I now have that keyboard connected to one of my rpi3 and got the summary to print. I'm going to leave it connected to see if any "sysrq: SysRq : HELP :..." appear.

Last edited by glorsplitz; 09-07-2019 at 10:20 PM.
 
  


Reply


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
Help with SysRq registering Linux - General 1 01-03-2007 08:28 AM
magic sysrq with minicom angelo1234 Linux - General 0 08-16-2005 10:07 PM
How to disable Ctrl and Alt keys? (and maybe sysrq) bigperk420 Slackware 13 12-07-2004 05:53 PM
Uart serial port + SysRq flook Linux - Hardware 0 11-30-2004 08:57 AM
Magic sysrq key + Framebuffer console jspenguin Linux - Software 0 04-14-2003 08:10 AM

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

All times are GMT -5. The time now is 12:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration