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 11-02-2020, 09:36 AM   #16
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled

Quote:
Originally Posted by larrybpsu View Post
Seems the system crashes after about 10 minutes of runtime...I boot it up and then open some web pages and then go do some other things around the house...come back to the pi and it's locked solid. No display, but the heartbeat is still blinking. No IP reply from any pings. Need to power cycle to recover. Logs don't show any issues. Crashed in the middle of creating this post!
I built a new installer with the latest edition of images_build_kit, and I did not encounter the crash after 10 minutes.
I have to add though I was using the base image (not the xfce one).
 
Old 11-03-2020, 11:09 AM   #17
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 66

Rep: Reputation: 17
Follow up:

Still crashes with init 3. Actually locked up solid while doing a 'slackpkg upgrade-all'. Heartbeat led stopped, screen went blank...no IP activity.

Probably a kernel issue. logs aren't much help, dmesg shows lots of errors for bluetooth.

I'll check out the new build this week.
 
Old 11-04-2020, 08:48 AM   #18
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by larrybpsu View Post
Still crashes with init 3. Actually locked up solid while doing a 'slackpkg upgrade-all'. Heartbeat led stopped, screen went blank...no IP activity.
Hi,

I built an image for RPi3 for you. You can download it from here. Also tested it on my own Pi3, and it has been running for 40 minutes with X and XFCE running.
 
Old 11-04-2020, 06:23 PM   #19
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 66

Rep: Reputation: 17
The 5.9.2 build is working MUCH better! No crashes so far, using the XFCE build. This makes me happy.

Issues:

I want the 'heartbeat' gone. The stated method in an earlier reply didn't work. I was hoping to use a config.txt line to change it. The sarpi install leaves the LED's alone.

WHY is the ethernet MAC address randomized? I create dhcp reservations for all of my 'known' devices.

The ntp.conf file has servers already setup. Don't do that. It's not the Slackware way.

No support for RTC's. I have a DS3231 RTC that works fine with sarpi. I just include these lines in config.txt.
Code:
dtparam=i2c_arm=on
dtcoverlay=i2c-rtc,ds3231
Doesn't work in slarm64

Naive question: How can I complete a FULL install of more packages since it's running? I've tried slackpkg install-new; slackpkg upgrade-all. Not catching everything. Is there an equivalent to the original 'setup' that goes through all the different sections (a, ap, d. e, f, etc.)??
 
Old 11-04-2020, 06:49 PM   #20
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,151

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by larrybpsu View Post
I want the 'heartbeat' gone. The stated method in an earlier reply didn't work. I was hoping to use a config.txt line to change it. The sarpi install leaves the LED's alone.
this is the default kernel configuration behavior.
let's check:
Code:
ls /sys/class/leds/*/
disabled:
Code:
#Power LED off
sudo sh -c 'echo 0 > /sys/class/leds/led1/brightness'
sudo sh -c 'echo none > /sys/class/leds/led1/trigger'
#Activity LED off
sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness'
Quote:
Originally Posted by larrybpsu View Post
WHY is the ethernet MAC address randomized? I create dhcp reservations for all of my 'known' devices.
also the default kernel setting
Code:
sudo nano /boot/config.txt
Add the following line if it does not already exist:
Code:
smsc95xx.macaddr=B8:AA:BC:DE:F0:12
fixed

Quote:
Originally Posted by larrybpsu View Post
The ntp.conf file has servers already setup. Don't do that. It's not the Slackware way.
this is not a default installation, but a minimal setting of the finished system.

Quote:
Originally Posted by larrybpsu View Post
No support for RTC's. I have a DS3231 RTC that works fine with sarpi. I just include these lines in config.txt.
no way to check. watch dmesg.

Quote:
Originally Posted by larrybpsu View Post
Naive question: How can I complete a FULL install of more packages since it's running? I've tried slackpkg install-new; slackpkg upgrade-all. Not catching everything. Is there an equivalent to the original 'setup' that goes through all the different sections (a, ap, d. e, f, etc.)??
you can install everything in the series for example:
Code:
slackpkg install d xap

Last edited by sndwvs; 11-04-2020 at 10:03 PM.
 
1 members found this post helpful.
Old 11-05-2020, 04:01 AM   #21
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
Code:
smsc95xx.macaddr=B8:AA:BC:DE:F0:12
fixed
Sorry, but is it a good idea to hard-code the MAC address for all installations on all the RPi3 boards?
 
Old 11-05-2020, 07:26 AM   #22
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Hi Mara,

Could you also please add the kernel config to the kernel (at least as a module)?
I would also kindly ask you to add support for the Dallas/Maxim DS1307 RTC to the kernel config.

I also have a separate question. Obviously kernel images for the different devices are not part of the Slarm64 package repository. Then what is the recommended way of keeping up to date with new kernel versions? Am I supposed to build it myself? (I personally have no problems with that.) If yes, then what is the recommended way to do it? (I'm avare of the general process on x86 and x86_64, but AFAIK there are some extra steps that one needs to do when compiling a kernel for ARM or ARM64, like generating the device tree files (dtbs). That's why I'm asking.)
 
Old 11-05-2020, 08:57 AM   #23
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,151

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wowbaggerHU View Post
Sorry, but is it a good idea to hard-code the MAC address for all installations on all the RPi3 boards?
for network access it makes sense, and it can always be easily configured by removing this setting uEnv.txt

Quote:
Originally Posted by wowbaggerHU View Post
Could you also please add the kernel config to the kernel (at least as a module)?
I would also kindly ask you to add support for the Dallas/Maxim DS1307 RTC to the kernel config.
the module is present in the kernel
Code:
modprobe rtc-ds1307
Quote:
Originally Posted by wowbaggerHU View Post
I also have a separate question. Obviously kernel images for the different devices are not part of the Slarm64 package repository. Then what is the recommended way of keeping up to date with new kernel versions? Am I supposed to build it myself? (I personally have no problems with that.) If yes, then what is the recommended way to do it? (I'm avare of the general process on x86 and x86_64, but AFAIK there are some extra steps that one needs to do when compiling a kernel for ARM or ARM64, like generating the device tree files (dtbs). That's why I'm asking.)
to install a separate kernel, everything is the same installpkg, having downloaded a separate kernel for a specific board.

Last edited by sndwvs; 11-05-2020 at 09:02 AM.
 
Old 11-05-2020, 09:44 AM   #24
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
to install a separate kernel, everything is the same installpkg, having downloaded a separate kernel for a specific board.
The kernel packages are not part of the slarm64 package repository. At least I could not find them at http://mirrors.slackware.bg/slarm64/slarm64-current/
Where do you upload/share them?

Of course I know I could build a new kernel with images-build-kit as well, and then use the kernel packages generated as an upgrade source.
 
Old 11-05-2020, 09:47 AM   #25
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by larrybpsu View Post
I want the 'heartbeat' gone.
In /boot/config.txt just remove the line
Code:
dtparam=act_led_trigger=heartbeat
 
Old 11-05-2020, 10:02 AM   #26
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,151

Original Poster
Rep: Reputation: Disabled
in slarm64, the kernel is not modified for general use (you can also try to use it), kernel packages are located according to the board http://dl.fail.pp.ua/slackware/packages/aarch64/k/
 
1 members found this post helpful.
Old 11-05-2020, 10:08 AM   #27
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
the module is present in the kernel
Code:
modprobe rtc-ds1307
Yes, I can confirm it. RTC support works.
Could you still add the configuration at least as a loadable module, please?
 
Old 11-05-2020, 10:12 AM   #28
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
in slarm64, the kernel is not modified for general use (you can also try to use it), kernel packages are located according to the board http://dl.fail.pp.ua/slackware/packages/aarch64/k/
Thank you Mara!
 
Old 11-05-2020, 10:14 AM   #29
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,151

Original Poster
Rep: Reputation: Disabled
automatically load the module:
Code:
sudo sh -c 'echo "/sbin/modprobe rtc-ds1307" >> /etc/rc.d/rc.modules.local'
 
Old 11-05-2020, 04:09 PM   #30
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,151

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by larrybpsu View Post
The ntp.conf file has servers already setup. Don't do that. It's not the Slackware way.
added the ability to disable the NTP server settings at the stage of building the image
 
  


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
[SOLVED] Raspberry Pi 4 bcm2711 (aarch64) sndwvs Slackware - ARM 90 12-17-2021 04:37 AM
LXer: Raspberry Pi: Combine a Raspberry Pi with up to 4 Raspberry Pi Zeros for less than US$50 with the Cluster HAT LXer Syndicated Linux News 0 07-05-2019 12:03 PM
LXer: AArch64 Called For Merging To GCC Trunk LXer Syndicated Linux News 0 10-23-2012 05:42 PM
LXer: ARM64/AArch64 Support Going Into Linux 3.7 Kernel LXer Syndicated Linux News 0 10-02-2012 06:20 AM

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

All times are GMT -5. The time now is 02:18 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
Open Source Consulting | Domain Registration