🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.os.linux.slackware
4 messages
4 total messages Started by Robert Komar Sun, 01 Nov 2026 18:35
Re: GCC 16.2 ICE
#20
Author: Robert Komar
Date: Sun, 01 Nov 2026 18:35
54 lines
3939 bytes
Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:
> On Wed, 30 Sep 2026 21:25:51 -0400, jayjwa wrote:
>> All I can think of is that the USB stick I used for the image is
>> getting "holes" in it. One of the packages I knew to be good was not
>> installing and I had to fetch a new copy of it (same stick) and it
>> worked.
> 
> If you can't trust your ways to transfer Slackware packages, all stock 
> Slackware packages come with a .asc file which can be used together with 
> gpg to check that the packages is OK and from the right source. Even 
> easier is to use the CHECKSUMS.md5 file to check all the packages at once.
> 
> Speaking of being able to trust hardware... Last weeks I have had some 
> machines compressing data with xz, on one of those machines xz sometimes 
> segfaults. Sometimes that machine also hangs hard, requiring a reboot. At 
> reboot, the machine tells me that its ECC RAM has been able to find 
> correctable memory errors in one of two DIMMS. Most likely, the machine 
> has also suffered from some non correctable errors causing those 
> segfaults and hangs.
> 
> Bying machines and memory supporting ECC is more expensive than memory 
> without ECC, but it is really nice to have those days when the memory 
> starts to go bad. In this case, I can say that this 15 year old machine 
> has a bad memory. There is nothing wrong with the software installation, 
> no point in trying to do a reinstall of the OS. The choices are to 
> identiyfy the bad DIMM and replace it or simply remove it and let the 
> machine continue its life with less RAM, or to simply retire that 15 year 
> old hardware.
> 
> Without ECC, I might have spent days or weeks trying to reinstall  
> software, and maybe taking the machine offline for some day to run 
> memtest. Now, with ECC, the machine itself has pinpointed the problem.
> 
> regards Henrik

There is another way to deal with bad RAM.  If you run memtest86+ on the
system and find only a few bad regions, you can add some arguments to
the kernel command-line to mark those regions as reserved.  I had this
problem on a thinkcentre running ubuntu, so I modified the kernel
parameters in /etc/default/grub, adding the "memmap" argument to reserve
the bad pages of RAM.  The machine has been stable since I did that.

Here was the parameter I added to reserve two bad 4K pages of RAM:

memmap=4K\\\$0x1a750a000,4K\\\$0x1af50a000

The '$' means "Reserve", and the triple escaping was necessary for grub.
Maybe it isn't necessary for other boot loaders.  The bad memory addresses
were rounded down to 4K (0x1000) page boundaries.  If the memmap was
successful, you should see the reserved regions in /proc/iomem when you
look as root.

Cheers,
Rob Komar
Re: GCC 16.2 ICE
#28
Author: jayjwa
Date: Tue, 03 Nov 2026 18:24
22 lines
2108 bytes
Robert Komar <robk@robpc4.robk-home.org> writes:

> There is another way to deal with bad RAM.  If you run memtest86+ on the
> system and find only a few bad regions, you can add some arguments to
> the kernel command-line to mark those regions as reserved.
I saw options for Grub, but thankfully system76 has asked for the bad
module to be shipped back (and only the bad one). Right now I'm running
with half memory. Hopefully they ship the new replacement shortly.

In all these years, I never saw a system so badly "off" - and all
because of a bad stick of ram. That was a very hard problem to track
down. In the past, I've taken ram modules from old machines, put them
into new ones, and kept on going with that much more memory. This was
the first time I've seen bad ram out of the box. 

Not an issue since:
uptime                                                
 13:20:54 up 14 days,  1:54,  2 users,  load average: 1.09, 1.36, 1.57

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"
Re: GCC 16.2 ICE
#31
Author: Robert Komar
Date: Fri, 06 Nov 2026 18:57
26 lines
2406 bytes
jayjwa <jayjwa@atr2.ath.cx.invalid> wrote:
> I saw options for Grub, but thankfully system76 has asked for the bad
> module to be shipped back (and only the bad one). Right now I'm running
> with half memory. Hopefully they ship the new replacement shortly.
> 
> In all these years, I never saw a system so badly "off" - and all
> because of a bad stick of ram. That was a very hard problem to track
> down. In the past, I've taken ram modules from old machines, put them
> into new ones, and kept on going with that much more memory. This was
> the first time I've seen bad ram out of the box. 
> 
> Not an issue since:
> uptime                                                
>  13:20:54 up 14 days,  1:54,  2 users,  load average: 1.09, 1.36, 1.57
> 

My bad RAM was new, as well.  I upgraded the memory from two 4GB sticks
to two 8GB sticks a year or two ago, and one had the small bad regions.
It's disappointing, but I'm not going to make a fuss over losing 8kB of
RAM.

With prices as they are today, I'm kicking myself for not getting 32GB
of RAM back then.  That much costs as much today as the whole box was
worth back when I got it.  

Rob Komar
Re: GCC 16.2 ICE
#32
Author: jayjwa
Date: Sun, 08 Nov 2026 01:18
29 lines
2319 bytes
Robert Komar <robk@robpc4.robk-home.org> writes:

> My bad RAM was new, as well.  I upgraded the memory from two 4GB sticks
> to two 8GB sticks a year or two ago, and one had the small bad regions.
> It's disappointing, but I'm not going to make a fuss over losing 8kB of
> RAM.

In my estimation, bad RAM seems more prevalent now. Do you see this as
being due to the demand caused by LLM/AI?

> With prices as they are today, I'm kicking myself for not getting 32GB
> of RAM back then.  That much costs as much today as the whole box was
> worth back when I got it.  

system76 has shipped the module and I replaced it today.
inxi --memory-modules             
Memory:
  System RAM: total: 64 GiB available: 60.46 GiB used: 3.99 GiB (6.6%)
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
  Device-1: Channel-A DIMM 1 type: DDR5 size: 32 GiB speed: 5600 MT/s
  Device-2: Channel-B DIMM 1 type: DDR5 size: 32 GiB speed: 5600 MT/s

It's not a good time to buy new memory but I think the foreseeable
future is going to be worse. Following that, I chose to replace my 9 yro
system now with room to spare.

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads