System hangs

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Van_Vinkle
Donor
Posts: 200
Joined: 25. Oct 2012, 17:39

Re: System hangs

Post by Van_Vinkle »

Nothing happens.
The installer also freezes.
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: System hangs

Post by gapan »

OK, so that does not make much sense. There is nothing at that point that has to do with the new kernels. It should have worked exactly as the original iso.

Can you try the original iso, without the updated kernels? Does it go past that point?
Image
Image
User avatar
Van_Vinkle
Donor
Posts: 200
Joined: 25. Oct 2012, 17:39

Re: System hangs

Post by Van_Vinkle »

The original salix64-xfce-15.0.iso runs well. It starts the installation, but I aborted it. And, on second thought, it would be easier and faster to install the original iso. When installed, I could change the kernel.
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: System hangs

Post by gapan »

This is so weird. Did you change any of these files you mentioned earler?
/kernel
huge.s
bzImage
config
system.map.gz
Image
Image
User avatar
Van_Vinkle
Donor
Posts: 200
Joined: 25. Oct 2012, 17:39

Re: System hangs

Post by Van_Vinkle »

gapan wrote: 16. Jul 2025, 22:11 This is so weird. Did you change any of these files you mentioned earler?
/kernel
huge.s
bzImage
config
system.map.gz
No.
I haven't intentionally modified any other files.

The directory tree is organized as follows:

Code: Select all

salix64-xfce-15.0.iso
	EFI
		BOOT
			tools.cfg
			osdetect.cfg
			initrd.img
			huge.s
			grub-embedded.cfg
			grub.cfg
			bootx64.efi
	isolinux
		ter-i16b.psf
		message.txt
		menu.c32
		isolinux.cfg
		isolinux.bin
		iso.sort
		initrd.img
		f1.txt
		efiboot.img
		boot.cat
	kernels
		usr
			doc
				kernel-firmware-20250708_99d64b4
		lib
			modules	
				6.12.37
			firmware
		install
			slack-desc
			doinst.sh		
		boot
			vmlinuz-6.12.37
			System.map-6.12.37
			config-6.12.37
		kernel-firmware-20250708_99d64b4-noarch-1slint.meta
		kernel-firmware-20250708_99d64b4-noarch-1slint.md5
		kernel-firmware-20250708_99d64b4-noarch-1slint.dep
		kernel-6.12.37-x86_64-1slint.meta
		kernel-6.12.37-x86_64-1slint.md5
		kernel-6.12.37-x86_64-1slint.dep
	salix
		aaa
		basic
		core
		efi
		efi-gui
		full
		kernels
			kernel-6.12.37-x86_64-1slint.dep
			kernel-6.12.37-x86_64-1slint.md5
			kernel-6.12.37-x86_64-1slint.meta
			kernel-firmware-20250708_99d64b4-noarch-1slint.dep
			kernel-firmware-20250708_99d64b4-noarch-1slint.md5
			kernel-firmware-20250708_99d64b4-noarch-1slint.meta
		settings
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: System hangs

Post by gapan »

Wait, but you did change the files in the /boot directory?
Image
Image
User avatar
Van_Vinkle
Donor
Posts: 200
Joined: 25. Oct 2012, 17:39

Re: System hangs

Post by Van_Vinkle »

I'm confused a bit. Well, I'm confused a lot.

As said in past posts, I've got a minor problem (sometimes the system freezed) to another bigger: I could not enter Salix.

Now I can go to Salix. Don't ask me what I did. I touched a lot of configurations and something was well.

Then we have returned to the first step. The solution seems to change the kernel. But, please, tell me what exactly I must do.
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: System hangs

Post by gapan »

I was trying to give you instructions on how to create an iso with the new kernel packages included, but forget about it. If you have a salix 15.0 system with the default kernel already, it is simpler to just manually update the kernel.

OK, so slackware current right now has a slightly newer version than slint, so we can use those packages. So, go to the slackware current repo:
http://slackware.uk/slackware/slackware ... ackware64/

and get the kernel packages. They are in different directories, so make sure you download all of them.

Code: Select all

./a/kernel-firmware-20250717_6fc20e0-noarch-1.txz
./a/kernel-generic-6.12.39-x86_64-1.txz
./d/kernel-headers-6.12.39-x86-1.txz
./k/kernel-source-6.12.39-noarch-1.txz
Put them all together in one place.

Code: Select all

$ $ ls -1 kernel*.txz
kernel-firmware-20250717_6fc20e0-noarch-1.txz
kernel-generic-6.12.39-x86_64-1.txz
kernel-headers-6.12.39-x86-1.txz
kernel-source-6.12.39-noarch-1.txz
Remove all previous kernel packages:

Code: Select all

sudo spkg -d /var/lib/pkgtools/packages/kernel-*
Install the new kernel packages (run from inside the directory you downloaded them to):

Code: Select all

sudo spkg kernel-*.txz
Make sure that everything is installed:

Code: Select all

$ ls -1 /var/lib/pkgtools/packages/kernel-*
/var/lib/pkgtools/packages/kernel-firmware-20250717_6fc20e0-noarch-1
/var/lib/pkgtools/packages/kernel-generic-6.12.39-x86_64-1
/var/lib/pkgtools/packages/kernel-headers-6.12.39-x86-1
/var/lib/pkgtools/packages/kernel-source-6.12.39-noarch-1
Create an initrd. This will create a /boot/initrd.gz file which is needed for your system to boot as the only kernel in current is the generic one.

Code: Select all

sudo geninitrd
I assume your system uses EFI and your using elilo to boot. So, copy the kernel and initrd in the EFI directory:

Code: Select all

cd /boot/efi/EFI/Salix-Xfce-15.0
sudo cp /boot/vmlinuz ./
sudo cp /boot/initrd.gz ./
And finally make sure that the elilo.conf file in the same place mentions the initrd. Among others, it should have these lines:

Code: Select all

image=vmlinuz
        label=vmlinuz
        read-only
        initrd=initrd.gz
there should also be an append line (don't touch that) and a few lines above the image section (also don't touch these).

And that's it. You should be able to boot into your new kernel now.
Image
Image
User avatar
Van_Vinkle
Donor
Posts: 200
Joined: 25. Oct 2012, 17:39

Re: System hangs

Post by Van_Vinkle »

Thank you very much.

I'll do it. But before put my hands in the flour, I should tell you that my system starts with Grub, not Elilo. Probably here is where I lost the door entrance to Salix. Then, give me, please, the tip.

I must say that Salix is not the only Linux in my system, despite it is the first and principal. There is also a derivative of Debian.
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: System hangs

Post by gapan »

I'm writing these from memory as I don't have grub here. You still need to copy the new kernel and initrd to the EFI directories. Only at the last step, you should run

Code: Select all

sudo update-grub
instead.

Also make sure the initrd.gz file is mentioned in the /boot/grub/grub.cfg file.

Oh, and since you mentioned it, does your debian derivative freeze too?
Image
Image
Post Reply