开云体育


Re: RPi Kernel Panic on Bookworm

 

开云体育


Hey Chris,

Well if the cause is/was bad patches, I am wondering if a frankenstein
kernel would work with the old AX.25 code "grafted in" to the new
kernel.  I am wondering what kind of mess that would make.  Not a kernel
programmer, so I am not sure what all would be involved.  I think
compiling an old slackware distro for a R-Pi 3 would be interesting too.

If you read the linux-ham@... archives ( ), you can see how various patches have been submitted and accepted in w/o any testing or validation.? These patches have been "fixing" potential race conditions found by automated tools, security issues, and also changing out various legacy kernel data structures for new ones.? What that has created is a moving target where we cannot just backout the changes as the AX.25 and surrounding kernel code has moved forward and is now incompatible.? <sigh>

--David
KI6ZHD


Re: RPi Kernel Panic on Bookworm

 

On Wed, Feb 07, 2024 at 08:33:04AM -0800, David Ranch wrote:

Hey Jon,

I saw both of your emails and I think this great work and your observation
of the missing AX.25 device like "ax0" from the output of "netstat -A ax25
-an" is an interesting one. I'll look for that as well.

Beyond that, if you're looking for a solid AX.25 stack for your Raspberry Pi
1 or Raspberry Pi 2 hardware, I'd have to recommend using a VERY old release
like Jessie with the 4.14 kernel. Making that recommendation really pains
me as it's EOL, known insecure, etc. but bad patches started getting
integrated into the Linux kernel around the 4.17 time frame.

You can see some of this hardware compatibility vs. OS version detail
captured here:



--David
KI6ZHD




Well if the cause is/was bad patches, I am wondering if a frankenstein
kernel would work with the old AX.25 code "grafted in" to the new
kernel. I am wondering what kind of mess that would make. Not a kernel
programmer, so I am not sure what all would be involved. I think
compiling an old slackware distro for a R-Pi 3 would be interesting too.

73 de Chris KQ6UP


Intro - newbie

 

Hi, G8NXD here, been running RPi since the first board release and have a box full of old RPi's sitting waiting for Godot.
Been using RPi for local and remote QRSS and? WSPR reporting for ages., also GP desktop applications.
I've just aquired a couple of RPi5 8Gb but hate the OS for it so staying on Bullseye and RPi4 until Bookworm returns to sanity.

I've just joined looking for help on why certain distros, Ubuntu and DV as examples, dont recognise my Monitor but Raspbian of all colours seem quite happy with it.
It does'nt appear to be video drive level, #hdmi_drive=2 and dmi_force_hotplug=1, may be depreciated in modern Config.txt configurations, it does'nt seem to work these days.
The monitor is an ASUS VE247.
I have a feeling that the problematic distros assume a 4k monitor when first booting, but not sure about that and have no idea how to reject that option and default to a more antique resolution.

Ideas on a ?5 note please :-) 73 Mike


Re: RPi Kernel Panic on Bookworm

 

开云体育


Hey Jon,

I saw both of your emails and I think this great work and your observation of the missing AX.25 device like "ax0" from the output of "netstat -A ax25 -an" is an interesting one.? I'll look for that as well.?

Beyond that, if you're looking for a solid AX.25 stack for your Raspberry Pi 1 or Raspberry Pi 2 hardware, I'd have to recommend using a VERY old release like Jessie with the 4.14 kernel.? Making that recommendation really pains me as it's EOL, known insecure, etc. but bad patches started getting integrated into the Linux kernel around the 4.17 time frame.

You can see some of this hardware compatibility vs. OS version detail captured here:

??

--David
KI6ZHD



On 01/31/2024 09:43 PM, Jon Bousselot KK6VLO wrote:

Mike and David,? all great input and I didn't consider 32/64 for application stability.? I chose 32 because if anyone in our club has a Pi-1 or Pi-2, they will be choosing the 32 bit release and rmsgw is such a light weight app and compiles from source...? I started with the most compatible release.???
The Pi-1 is a pilot project for our club, and the gateway and client radios are all within my house.? I've told others to finish soldering their TNC kit and connect, but so far I'm the only one.? I will attempt to monitor the number of ax25 packets that travel through the host.? I am usually checking winmail twice a day, and don't always have a lot of mail to get/send.? The quantity of packets on that interface are probably small, even for 1200 baud.

The Pi-1 crashed on its own today without the beacon app, after 1d 3h 47m uptime.? Here is what it cried out when going down.
[100075.375841] CPU: 0 PID: 3001 Comm: netstat Tainted: G???????? C???????? 6.1.0-rpi7-rpi-v6 #1? Raspbian 1:6.1.63-1+rpt1

Netstat, while not part of the ax25 tools, does query the ax25 interface statistics.? You might be onto something with the ax25 packet count theory.? I wasn't home when it crashed so I did not run netstat.
The rmsgw_aci is set to run on cron and it does call the netstat command several times, one specifically for the ax25 protocol.??? See for yourself.??? The -o is the output log file.
strace -ormsgw_aci.strace-log -fvtTq -s1024 /usr/local/bin/rmsgw_aci

I'm going to downgrade the Pi-1 to Bullseye, patch it thoroughly, and drop this config on it again and include beacon running every 35 minutes.?

I'll re-image my Pi-3 and load a 64bit Bookworm release and get it queued up for a second round of tests.? The two Pi's will swap roles for monitoring the serial console to catch the panic strings when the other goes crazy

We're collecting quite a few variables to test here.? This could take a while if crashes only happen every few days.
32 or 64 bit?
Bullseye or Bookworm?
How many ax25 packets until the system becomes unstable?
Beacon or no-beacon?


Re: RPi Kernel Panic on Bookworm

 

On 2/6/2024 9:28 AM, David Ranch wrote:



?? Bookworm / Debian 12 based:? kernel: 6.1.73
?? Bullseye / Debian 11 based:? kernel: 6.1.21
?? Stretch? / Debian 9 based:?? kernel: 4.19.66
?? Jessie?? / Debian 8 based:?? kernel: 4.14.71
?? Wheezy?? / Debian 7 based:?? kernel: 3.18.0


Per Brian N1URO (sk), he thought the last rock solid version of AX.25 was Wheezy but I had found Jessie to have a reliable AX.25 stack.? I have been trying to solicit help from various people to see if we can get some known Ax.25 fixes applied to both the upstream Linus tree kernel as well as the Raspberry Pi's versions of their kernels but so far, no bites.? I you know of anyone in the inner-circles of Linux kernel development that you think can help, please let me (or them) know we need some help!

--David
KI6ZHD

I managed to get a patch back ported by issuing a bug report. The whole thread is in the build-a-pi email group.? People were having issues with the socket not releasing using PAT, so I told them how to patch and recompile the kernel for a Pi.? For giggles I decided to report the lack of a patch that fixes the socket release problem as a bug, and it got put in for version 5.15.* at some point.? I forget the exact version, but it the thread should still be there if you are interested in the details.


-Chris KQ6UP


Re: Update from SparkFun regarding Rpi5 order

 

开云体育


Hello John,

When I sent an email to support@... on Friday 1/26, I receive an almost immediate automated response.? I then received a human response on Tuesday 1/30.?
If you didn't get one of those automated responses, maybe your original email didn't make it.? I would try emailing them again and make sure you give your order number.

--David
KI6ZHD


On 02/06/2024 09:29 AM, John wrote:

Very strange indeed.? I pre-ordered a different kit (KIT-23617) as a guest and my order was acknowledged 9-29-2023 at 6:01:59 PM.? It was my understanding at the time that the Pi-5 was the only item that could cause a delay.

The only items not included in the kit you received that are listed in KIT-23617 are the SD card, the SparkFun wedge, and the HDMI cable.

I sent another Email to SparkFun last week, but it has so far been unacknowledged.

Best regards, John WoGN??

?


Re: RPi Kernel Panic on Bookworm

 

Thanks, and good info to know.? The first release of Slack for ARM started at the 3.x kernel, so I don't think there is a realistic path to getting a 2.6 on bare metal Pi hardware.
My Pi-3 running the 2019 image of Buster kernel 4.19.50-v7+ is still running.? Plenty of ax25 packets through it, and no weird system messages.? So far, this looks good.

All the repos for ancient distros I work with are still out there.? The URL has changed, but the content is there.

I think I need to deploy this RMS Gateway on the 4.x kernel and patiently wait for the ax25 code to catch up, or someone writes it in userspace.? I just learned about JNOS2 which sounds like userspace ax25.? More research needed.


Re: RPi Kernel Panic on Bookworm

 

开云体育


On 2/4/2024 6:03 PM, Jon Bousselot KK6VLO wrote:
When I pick this up again, I'm looking at the 2022-04-04 release of Bullseye, which should have the 5.15.xx kernel.? Buster has a release of 4.19 kernel I'll test also.
Describe "works okay" for your environment.? Where does it fall apart and what are you using?
I used to run 64 bit only Slackware 13.


That is funny you mention that. I have settled on Slackware 13.37 as my AX.25 distro. I also have a R-Pi 3 that I could play with old distros. What R-Pi version would be the

equivalent of Slack 13.37? And how would you do repositories since I am sure they are all dried up by now. That is one of the cool things about Slackware is that no matter

what the distro, you can always get at least the latest updates before EOL. And almost all the software is available for what you need on the DVD when you do a full install.

I had thoughts of trying to compile 13.37 for a Raspberry Pi, but I am thinking that would be a ton of work to even get a bootable system. I know there are projects to run

RISK processor versions of Slackware on other flavors of that platform like the Orange (or Banana) hardware. But those are newer releases of Slackware. I think the earliest

is 14.2, and it is now EOL. 14.2 is not too bad. I always had issues with it when I was shutting down the system. It would be fine running, but always kernel panic on system

shutdown. David Ranch had a fix with bringing the AX.25 stuff down before system shutdown, but think I was just happy with running 13.37 and not having to mess with it.

- VY 73 es GL de Chris KQ6UP SK ..


Received pi5 from Sparkfun today

 

Hello,
Received Pi5 8Gb?this morning (02/06/2024) via FedEx.
Ordered from Sparkfun 09/29/2023

Maybe this will provide/help with a time frame for those who still have units on order.

DaveL


Re: Update from SparkFun regarding Rpi5 order

 

开云体育

Very strange indeed.? I pre-ordered a different kit (KIT-23617) as a guest and my order was acknowledged 9-29-2023 at 6:01:59 PM.? It was my understanding at the time that the Pi-5 was the only item that could cause a delay.

The only items not included in the kit you received that are listed in KIT-23617 are the SD card, the SparkFun wedge, and the HDMI cable.

I sent another Email to SparkFun last week, but it has so far been unacknowledged.

Best regards, John WoGN??

?


Re: RPi Kernel Panic on Bookworm

 

开云体育




?? Bookworm / Debian 12 based:? kernel: 6.1.73
?? Bullseye / Debian 11 based:? kernel: 6.1.21
?? Stretch? / Debian 9 based:?? kernel: 4.19.66
?? Jessie?? / Debian 8 based:?? kernel: 4.14.71
?? Wheezy?? / Debian 7 based:?? kernel: 3.18.0


Per Brian N1URO (sk), he thought the last rock solid version of AX.25 was Wheezy but I had found Jessie to have a reliable AX.25 stack.? I have been trying to solicit help from various people to see if we can get some known Ax.25 fixes applied to both the upstream Linus tree kernel as well as the Raspberry Pi's versions of their kernels but so far, no bites.? I you know of anyone in the inner-circles of Linux kernel development that you think can help, please let me (or them) know we need some help!

--David
KI6ZHD


On 02/04/2024 09:57 PM, Jon Bousselot KK6VLO wrote:

2019-06-20-raspbian-buster-lite.img, Pi-3, did not "apt update;apt upgrade", the system is 32bit, will investigate what kernel versions live in the repos later.

Linux Pi3-2019 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux

Needed this to allow "oldoldstable" repositories.
apt-get update --allow-releaseinfo-change

The dependency packages to compile rmsgw install cleanly, and the app builds without any issues.
the rmsgw_aci python script runs and updates just fine.? Send/Get over VHF works.? The timer is started.




Re: Update from SparkFun regarding Rpi5 order

 

开云体育


Hello John,

I ordered the Rpi5 "essential" kit ( ) on November 9th.? That's basically three months later which is NOT great.? I chose this kit as I have all the other required SD cards, cables, etc but I really need the very special Rpi power brick (5.1v @ 5A [very unusual]).? It's worth nothing that I wanted a case but also bought the better performing aluminum heatsink+fan ( ) as well as the RTC battery ( ).

--David
KI6ZHD



On 02/06/2024 05:25 AM, John wrote:

Hi David,

I'm glad to see SparkFun is shipping 8gb Pi-5's.

I am very curious to know when you placed your order and, if you ordered a kit, which kit you ordered.

Best regards,

John,? WoGN


On 2024-02-05 22:03, David Ranch wrote:


I'm happy to report my Raspberry Pi 5 8GB kit (Rpi board, case w/ fan, and power brick) showed up today so that goes to prove that Sparkfun *is* shipping stuff.

--David
KI6ZHD



On 01/30/2024 01:33 PM, Patrick Ouellette wrote:
Meanwhile, DigiKey shows 697 Pi5 8GB in stock right now ...
?
?

On Tue, Jan 30, 2024, 3:50?PM Edward Seeliger <eseeliger@...> wrote:

[Edited Message Follows]

Good afternoon Terry. Try here and pick?
?


That package will install on RPI5 Raspian but will not run.
The raspios_bullseye package will not install
JTDX and WSJTX can be installed (on Bookworm / X11 desktop) with sudo apt install.
FLDigi / FLRig and MSHV can be built from source.

Edd - KD5M


Re: Pi5 12v supply

 

will check that out?Spence M0STO,

do they power the pi via test point pins? The manual shows no other connectors?
====================

Geekworm have detailed Wikis for their products. The Wiki for the X1202 says the connection from the Pi to the hat is made via “pogo pins”, not the GPIO pins.



Rob
KK6JNI


Re: Update from SparkFun regarding Rpi5 order

 

开云体育

Hi David,

I'm glad to see SparkFun is shipping 8gb Pi-5's.

I am very curious to know when you placed your order and, if you ordered a kit, which kit you ordered.

Best regards,

John,? WoGN


On 2024-02-05 22:03, David Ranch wrote:


I'm happy to report my Raspberry Pi 5 8GB kit (Rpi board, case w/ fan, and power brick) showed up today so that goes to prove that Sparkfun *is* shipping stuff.

--David
KI6ZHD



On 01/30/2024 01:33 PM, Patrick Ouellette wrote:
Meanwhile, DigiKey shows 697 Pi5 8GB in stock right now ...
?
?

On Tue, Jan 30, 2024, 3:50?PM Edward Seeliger <eseeliger@...> wrote:

[Edited Message Follows]

Good afternoon Terry. Try here and pick?
?


That package will install on RPI5 Raspian but will not run.
The raspios_bullseye package will not install
JTDX and WSJTX can be installed (on Bookworm / X11 desktop) with sudo apt install.
FLDigi / FLRig and MSHV can be built from source.

Edd - KD5M


Re: Update from SparkFun regarding Rpi5 order

 

开云体育


I'm happy to report my Raspberry Pi 5 8GB kit (Rpi board, case w/ fan, and power brick) showed up today so that goes to prove that Sparkfun *is* shipping stuff.

--David
KI6ZHD



On 01/30/2024 01:33 PM, Patrick Ouellette wrote:

Meanwhile, DigiKey shows 697 Pi5 8GB in stock right now ...



On Tue, Jan 30, 2024, 3:50?PM Edward Seeliger <eseeliger@...> wrote:

[Edited Message Follows]

Good afternoon Terry. Try here and pick?
?


That package will install on RPI5 Raspian but will not run.
The raspios_bullseye package will not install
JTDX and WSJTX can be installed (on Bookworm / X11 desktop) with sudo apt install.
FLDigi / FLRig and MSHV can be built from source.

Edd - KD5M


Re: RPi Kernel Panic on Bookworm

 

Absolutely! That's called out in the release notes for the images available on rapsberrypi.org site.?
Pi-2 added January 2015, Pi-3B+ added in March 2018,? Pi-4 added in June 2019,? Pi-5 added in October 2023.


Re: RPi Kernel Panic on Bookworm

 

开云体育


Hello Jon,

Beware of the major caveat that you must use older Raspberry Pi hardware that's compatible with those older OS versions (bootloader / firmware support).? Using a Raspberry Pi 3 should be ok for very old releases.

--David
KI6ZHD
?

On 02/04/2024 06:03 PM, Jon Bousselot KK6VLO wrote:

When I pick this up again, I'm looking at the 2022-04-04 release of Bullseye, which should have the 5.15.xx kernel.? Buster has a release of 4.19 kernel I'll test also.
Describe "works okay" for your environment.? Where does it fall apart and what are you using?
I used to run 64 bit only Slackware 13.?


Re: RPi Kernel Panic on Bookworm

 

Be sure to use all the CPU cores... like I did.


Re: RPi Kernel Panic on Bookworm

 

I may have to try it on a Pi5 and see what the difference is

Get
On Feb 5, 2024, at 12:36, Jon Bousselot KK6VLO <jon-bousselot@...> wrote:

FYI... it takes 2851 minutes to compile the linux kernel on a Raspberry Pi-1.
47.5 hours.


Re: RPi Kernel Panic on Bookworm

 

FYI... it takes 2851 minutes to compile the linux kernel on a Raspberry Pi-1.
47.5 hours.