Welcome! Log In Create A New Profile

Advanced

Problem with Kernel linux-6.10.11 install

Posted by dhargens 
Problem with Kernel linux-6.10.11 install
September 28, 2024 12:05AM
Hi bodhi.
Thanks for providing us this new kernel!

I tried installing on my Kace M300, and I get an 'Illegal instruction' error in Step 3 (installing it with dpkg):

root@kace:~# uname -r
6.9.6-kirkwood-tld-1
root@kace:~# mkdir Kirkwood_files/
root@kace:~# wget -O Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2 'https://bit.ly/3zACDIe';
--2024-09-27 23:41:02--  https://bit.ly/3zACDIe
Resolving bit.ly (bit.ly)... 67.199.248.10, 67.199.248.11
Connecting to bit.ly (bit.ly)|67.199.248.10|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.dropbox.com/scl/fi/cqjvei8t6b32wwm7rj6y6/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2?rlkey=slzy6vvsyb48f1hbs20nenlc7&dl=0 [following]
--2024-09-27 23:41:02--  https://www.dropbox.com/scl/fi/cqjvei8t6b32wwm7rj6y6/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2?rlkey=slzy6vvsyb48f1hbs20nenlc7&dl=0
Resolving www.dropbox.com (www.dropbox.com)... 2620:100:6018:18::a27d:312, 162.125.3.18
Connecting to www.dropbox.com (www.dropbox.com)|2620:100:6018:18::a27d:312|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com/cd/0/inline/CbbiOTZ2v_SDKEiXr_jj7gV6SuaOrOhotNz4j7mn_DdvUbEx2qOBpJjKOYf2bT4MqwyNx0JVD0k7l2eQJYbTaVK2ec1mTsMtish_OrtI6uQYH4T_3lgSmxUrKB1XonqVIYM/file# [following]
--2024-09-27 23:41:03--  https://ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com/cd/0/inline/CbbiOTZ2v_SDKEiXr_jj7gV6SuaOrOhotNz4j7mn_DdvUbEx2qOBpJjKOYf2bT4MqwyNx0JVD0k7l2eQJYbTaVK2ec1mTsMtish_OrtI6uQYH4T_3lgSmxUrKB1XonqVIYM/file
Resolving ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com (ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com)... 2620:100:6018:15::a27d:30f, 162.125.3.15
Connecting to ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com (ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com)|2620:100:6018:15::a27d:30f|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /cd/0/inline2/Cba3kI_95Dg4lDtg3BpHCpIn3U4d8T0KaBviWhUFU4b6ONbtG6nE5hQwQrSAEwGMJMyPhFtt7YHg-WwI2P_FMhl1QtE09EJadgHwYsL0Pa5mrSltEZMTzYzlorpgurOkgDxuKDRjJJ1Sgx5WmcZ50gYUzx0zeJtc_AgABwd_OjT7iHtzR3wT7teaG3J0P2cylSP5xI8PHMbw4ElHh2FHxFoP9JqjlCt3CHd15UkbiMnCuC-zN7F9b_w8anJBzeioIYlav92nhAtaFe1PMlanYkQozpY3HRBax1-oPFataNe2dDQMQjZ0C-I0vnN1wk4-v2RbRMR6WxIuU_me9ncqrvotk_JnPyTI1cBuvuh6fNbP2A/file [following]
--2024-09-27 23:41:03--  https://ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com/cd/0/inline2/Cba3kI_95Dg4lDtg3BpHCpIn3U4d8T0KaBviWhUFU4b6ONbtG6nE5hQwQrSAEwGMJMyPhFtt7YHg-WwI2P_FMhl1QtE09EJadgHwYsL0Pa5mrSltEZMTzYzlorpgurOkgDxuKDRjJJ1Sgx5WmcZ50gYUzx0zeJtc_AgABwd_OjT7iHtzR3wT7teaG3J0P2cylSP5xI8PHMbw4ElHh2FHxFoP9JqjlCt3CHd15UkbiMnCuC-zN7F9b_w8anJBzeioIYlav92nhAtaFe1PMlanYkQozpY3HRBax1-oPFataNe2dDQMQjZ0C-I0vnN1wk4-v2RbRMR6WxIuU_me9ncqrvotk_JnPyTI1cBuvuh6fNbP2A/file
Reusing existing connection to [ucd4fa282e173e0c6ce53bc7ef8a.dl.dropboxusercontent.com]:443.
HTTP request sent, awaiting response... 200 OK
Length: 40933273 (39M) [application/octet-stream]
Saving to: 'Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2'

Kirkwood_files/linux-6.1 100%[==================================>]  39.04M  3.18MB/s    in 12s

2024-09-27 23:41:15 (3.34 MB/s) - 'Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2' saved [40933273/40933273]

root@kace:~# md5sum Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2
4917e5714126e518b703402a9d0c7109  Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2
root@kace:~# sha256sum Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2
cba6abc78993ccdcb1e5cb3f705925005c172d3545db118021dfad406c4a2b1d  Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2
root@kace:~# cd /boot
root@kace:/boot# cp uImage uImage-6.10.11
root@kace:/boot# cp uInitrd uInitrd-6.10.11
root@kace:/boot# ls -1
.
..
System.map-6.10.11-kirkwood-tld-1
System.map-6.5.7-kirkwood-tld-1
System.map-6.9.6-kirkwood-tld-1
config-6.10.11-kirkwood-tld-1
config-6.5.7-kirkwood-tld-1
config-6.9.6-kirkwood-tld-1
dts
initrd.img-6.10.11-kirkwood-tld-1
initrd.img-6.5.7-kirkwood-tld-1
initrd.img-6.9.6-kirkwood-tld-1
linux-6.10.11-kirkwood-tld-1.patch
linux-6.9.6-kirkwood-tld-1.patch
linux-dtb-6.10.11-kirkwood-tld-1.tar
linux-dtb-6.9.6-kirkwood-tld-1.tar
linux-headers-6.10.11-kirkwood-tld-1_1_armel.deb
linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb
linux-headers-6.9.6-kirkwood-tld-1_1_armel.deb
linux-image-6.10.11-kirkwood-tld-1_1_armel.deb
linux-image-6.9.6-kirkwood-tld-1_1_armel.deb
uEnv.txt
uImage
uImage-6.5.7
uImage-6.9.6
uInitrd
uInitrd-6.5.7
uInitrd-6.9.6
vmlinuz-6.10.11-kirkwood-tld-1
vmlinuz-6.5.7-kirkwood-tld-1
vmlinuz-6.9.6-kirkwood-tld-1
zImage-6.10.11-kirkwood-tld-1
zImage-6.5.7-kirkwood-tld-1
zImage-6.9.6-kirkwood-tld-1
root@kace:/boot# tar -xjf ~/Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2 ; echo
root@kace:/boot# tar -xf  linux-dtb-6.10.11-kirkwood-tld-1.tar
root@kace:/boot# dpkg -i linux-image-6.10.11-kirkwood-tld-1_1_armel.deb
Selecting previously unselected package linux-image-6.10.11-kirkwood-tld-1.
(Reading database ... 26811 files and directories currently installed.)
Preparing to unpack linux-image-6.10.11-kirkwood-tld-1_1_armel.deb ...
Unpacking linux-image-6.10.11-kirkwood-tld-1 (1) ...
Setting up linux-image-6.10.11-kirkwood-tld-1 (1) ...
update-initramfs: Generating /boot/initrd.img-6.10.11-kirkwood-tld-1
Illegal instruction
root@kace:/boot#

I stopped there. Let me know what I've done wrong (that's common), or tell me what to check and I'll get back to you.
Thank you!!
Re: Problem with Kernel linux-6.10.11 install
September 28, 2024 01:35PM
Hi dhargens,

It looks normal. I think the "Illegal instruction" error came from other problem. Let's see more info

cd /boot
ls -lart
mount
df -h
free -h
cat /etc/debian_version

And run the checksum this way:

echo "4917e5714126e518b703402a9d0c7109  Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2" | md5sum -c
echo "cba6abc78993ccdcb1e5cb3f705925005c172d3545db118021dfad406c4a2b1d  Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2" | sha256sum -c

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 09/28/2024 01:44PM by bodhi.
Re: Problem with Kernel linux-6.10.11 install
September 28, 2024 05:48PM
bodhi Wrote:
-------------------------------------------------------
> Hi dhargens,
>
> It looks normal. I think the "Illegal instruction"
> error came from other problem. Let's see more info
> cd /boot
> ls -lart
> mount
> df -h
> free -h
> cat /etc/debian_version
> And run the checksum this way:
echo "4917e5714126e518b703402a9d0c7109 
> Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2"
> | md5sum -c
> echo
> "cba6abc78993ccdcb1e5cb3f705925005c172d3545db118021dfad406c4a2b1d
>  Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2"
> | sha256sum -c

Here's my output.
root@kace:~# cd /boot
root@kace:/boot# ls -lart
total 181372
-rwxr-xr-x  1 root root  6223880 Oct 18  2023 vmlinuz-6.5.7-kirkwood-tld-1
-rw-r--r--  1 root root   198312 Oct 18  2023 config-6.5.7-kirkwood-tld-1
-rw-r--r--  1 root root  4543778 Oct 18  2023 System.map-6.5.7-kirkwood-tld-1
-rwxr-xr-x  1 root root  6223880 Oct 18  2023 zImage-6.5.7-kirkwood-tld-1
-rw-r--r--  1 root root  8557164 Oct 18  2023 linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb
drwxr-xr-x 18 root root     4096 Oct 31  2023 ..
-rwxr-xr-x  1 root root  6220080 Jun 21 16:33 vmlinuz-6.9.6-kirkwood-tld-1
-rw-r--r--  1 root root   200898 Jun 21 16:33 config-6.9.6-kirkwood-tld-1
-rw-r--r--  1 root root  4587214 Jun 21 16:33 System.map-6.9.6-kirkwood-tld-1
-rwxr-xr-x  1 root root  6220080 Jun 21 18:48 zImage-6.9.6-kirkwood-tld-1
-rw-r--r--  1 root root  8768864 Jun 21 19:00 linux-headers-6.9.6-kirkwood-tld-1_1_armel.deb
-rw-r--r--  1 root root 25414288 Jun 21 19:01 linux-image-6.9.6-kirkwood-tld-1_1_armel.deb
-rw-r--r--  1 root root  1423360 Jun 21 19:13 linux-dtb-6.9.6-kirkwood-tld-1.tar
-rw-r--r--  1 root root   167810 Jun 25 17:00 linux-6.9.6-kirkwood-tld-1.patch
-rw-r--r--  1 root root        0 Aug 23 18:17 uEnv.txt
-rw-r--r--  1 root root  5792223 Aug 23 18:26 initrd.img-6.5.7-kirkwood-tld-1
-rw-r--r--  1 root root  6223944 Aug 29 02:25 uImage-6.5.7
-rw-r--r--  1 root root  5792287 Aug 29 02:25 uInitrd-6.5.7
-rw-r--r--  1 root root  5781638 Aug 29 02:26 initrd.img-6.9.6-kirkwood-tld-1
-rw-r--r--  1 root root  6220144 Aug 29 02:26 uImage
-rw-r--r--  1 root root  5781702 Aug 29 02:26 uInitrd
drwxr-xr-x  2 root root     4096 Sep 20 21:34 dts
-rwxr-xr-x  1 root root  6174896 Sep 22 15:28 vmlinuz-6.10.11-kirkwood-tld-1
-rw-r--r--  1 root root   200051 Sep 22 15:28 config-6.10.11-kirkwood-tld-1
-rw-r--r--  1 root root  4572061 Sep 22 15:28 System.map-6.10.11-kirkwood-tld-1
-rwxr-xr-x  1 root root  6174896 Sep 22 17:43 zImage-6.10.11-kirkwood-tld-1
-rw-r--r--  1 root root  8828476 Sep 22 17:56 linux-headers-6.10.11-kirkwood-tld-1_1_armel.deb
-rw-r--r--  1 root root 25617508 Sep 22 17:57 linux-image-6.10.11-kirkwood-tld-1_1_armel.deb
-rw-r--r--  1 root root  1423360 Sep 23 22:58 linux-dtb-6.10.11-kirkwood-tld-1.tar
-rw-r--r--  1 root root   168492 Sep 24 21:25 linux-6.10.11-kirkwood-tld-1.patch
-rw-r--r--  1 root root  6220144 Sep 27 23:42 uImage-6.9.6
-rw-r--r--  1 root root  5781702 Sep 27 23:42 uInitrd-6.9.6
-rw-r--r--  1 root root  5782049 Sep 27 23:48 initrd.img-6.10.11-kirkwood-tld-1
drwxr-xr-x  3 root root     4096 Sep 27 23:48 .
root@kace:/boot#
root@kace:/boot# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=894964k,nr_inodes=223741,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=179664k,mode=755)
/dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
tmpfs on /tmp type tmpfs (rw,relatime)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/sda2 on /mnt type ext4 (rw,relatime)
root@kace:/boot#
root@kace:/boot# lsblk -f
NAME   FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
|-sda1 ext3   1.0   rootfs 5653a60d-d90e-459d-8815-34a9035f387a   16.9G     8% /
`-sda2 ext4   1.0   data   795a3c65-c36e-47db-b27c-7a8e7a512b1b    397G     0% /mnt
root@kace:/boot#
root@kace:/boot# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            874M     0  874M   0% /dev
tmpfs           176M  360K  176M   1% /run
/dev/sda1        20G  1.6G   17G   9% /
tmpfs           878M     0  878M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           878M     0  878M   0% /tmp
/dev/sda2       420G 1017M  397G   1% /mnt
root@kace:/boot# free -h
               total        used        free      shared  buff/cache   available
Mem:           1.7Gi        77Mi       1.5Gi       5.5Mi       193Mi       1.6Gi
Swap:             0B          0B          0B
root@kace:/boot# cat /etc/debian_version
12.6
root@kace:/boot# echo "4917e5714126e518b703402a9d0c7109  /root/Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2" | md5sum -c
/root/Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2: OK
root@kace:/boot# echo "cba6abc78993ccdcb1e5cb3f705925005c172d3545db118021dfad406c4a2b1d  /root/Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2" | sha256sum -c
/root/Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2: OK
root@kace:/boot#
Re: Problem with Kernel linux-6.10.11 install
September 28, 2024 08:49PM
dhargens,

My suggestion:

1. Create a swap file

See here for the tutorial. Even though you might not need to use swap, during kernel upgrade and Debian upgrade, swap is a must-have to make things go smoothly.

2. When you copy files, use the -a option so the timestamp is preserved (ls -lart /boot output will look a lot more organized and you can see the last kernel files in one list).

cp -a uImage uImage-6.10.11
cp -a uInitrd uInitrd-6.10.11

3. Now that the kernel installation was unsuccessful, remove all files first before reinstall (after creating swap).

dpkg --purge linux-image-6.10.11-kirkwood-tld-1

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem with Kernel linux-6.10.11 install
September 29, 2024 04:51AM
Last time I had a problem with this in an M300 some months ago, it was a flaky SSD. My suggestion would be to look into your SSD health with smartmontools and verify it's still good.

I'm also assuming the SSD has been replaced, as the stock 16GB Transcend SSD is *very* unstable being 13 years old at this point and the Silicon Motion controller chip on it runs excessively hot... it is also cacheless and is more like a glorified CF card tacked onto a SATA bus, and it has problems with DMA on newer versions of Debian than what shipped with the KACE... especially if you make it chug.

While not a Sandforce product, remember that this SSD is from a time when Sandforce existed and SSD firmware among any brand wasn't always the best. more mature products came to market a few years later. one of the SanDisk SSDs in one of my M300s is doing just fine, for instance, despite being 10 years old with TLC NAND chips + DRAM cache, and little in the way for wear.

a flaky SSD can cause very weird things to happen in the way of illegal instruction errors and segfaults, because it's receiving garbage data. looking at the end of your dmesg file with 'dmesg | tail' with a root account or with sudo, can also shed some light on what's happening in that department.
Re: Problem with Kernel linux-6.10.11 install
September 29, 2024 12:49PM
Quote
sudos
> a flaky SSD can cause very weird things to happen
> in the way of illegal instruction errors and
> segfaults, because it's receiving garbage data.

Yes, dpkg thinks there is garbage data. That could be result of a bad disk.

Also could be a dpkg bug where weird things happen when there is no swap (I've seen this many times). Using a swap file and set swapiness to 1 (if you want no swap) eliminates this issue.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem with Kernel linux-6.10.11 install
September 30, 2024 06:29PM
bodhi Wrote:
> 1. Create a swap file
Done.

> 2. When you copy files, use the -a option...
Thanks for the pointer, I'll do that in the future.

>3. Now that the kernel installation was unsuccessful,
> remove all files first before reinstall (after creating swap).
>dpkg --purge linux-image-6.10.11-kirkwood-tld-1
Well, I guess that fixed it!
root@kace:~# free -h
               total        used        free      shared  buff/cache   available
Mem:           1.7Gi        90Mi       100Mi       5.5Mi       1.6Gi       1.6Gi
Swap:          2.0Gi          0B       2.0Gi
root@kace:~# dpkg --purge linux-image-6.10.11-kirkwood-tld-1
root@kace:~# cd /boot
root@kace:/boot# cp -a uImage uImage-6.9.6
root@kace:/boot# cp -a uInitrd uInitrd-6.9.6
root@kace:/boot# tar -xjf ~/Kirkwood_files/linux-6.10.11-kirkwood-tld-1-bodhi.tar.bz2
root@kace:/boot# tar -xf  linux-dtb-6.10.11-kirkwood-tld-1.tar
root@kace:/boot# dpkg -i linux-image-6.10.11-kirkwood-tld-1_1_armel.deb
Selecting previously unselected package linux-image-6.10.11-kirkwood-tld-1.
(Reading database ... 26890 files and directories currently installed.)
Preparing to unpack linux-image-6.10.11-kirkwood-tld-1_1_armel.deb ...
Unpacking linux-image-6.10.11-kirkwood-tld-1 (1) ...
Setting up linux-image-6.10.11-kirkwood-tld-1 (1) ...
update-initramfs: Generating /boot/initrd.img-6.10.11-kirkwood-tld-1
root@kace:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.10.11-kirkwood-tld-1 -d vmlinuz-6.10.11-kirkwood-tld-1 uImage
Image Name:   Linux-6.10.11-kirkwood-tld-1
Created:      Mon Sep 30 17:42:24 2024
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    6174896 Bytes = 6030.17 KiB = 5.89 MiB
Load Address: 00008000
Entry Point:  00008000
root@kace:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.10.11-kirkwood-tld-1 -d initrd.img-6.10.11-kirkwood-tld-1 uInitrd
Image Name:   initramfs-6.10.11-kirkwood-tld-1
Created:      Mon Sep 30 17:42:35 2024
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    5781676 Bytes = 5646.17 KiB = 5.51 MiB
Load Address: 00000000
Entry Point:  00000000
root@kace:/boot# sync
root@kace:/boot# sync
root@kace:/boot# sync
After reboot:
root@kace:~# uname -a
Linux something3 6.10.11-kirkwood-tld-1 #1 PREEMPT Sun Sep 22 15:40:38 PDT 2024 armv5tel GNU/Linux
Success!

and then, sudos Wrote:
> Last time I had a problem with this in
> an M300 some months ago, it was a flaky SSD.
> My suggestion would be to look into your SSD
> health with smartmontools and verify it's still good.

> I'm also assuming the SSD has been replaced. . .

Yes, after reading warnings earlier in the M300 thread, a new Crucial SSD replaced the stock SSD a few months ago. It's reporting that SMART support is active on it, though I haven't tested it because I didn't think I had to test a brand new drive.

That said, I ran short & long tests on it anyway. I think the parts you're interested in are:
=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT480BX500SSD1
Serial Number:    2249E6908F6D
LU WWN Device Id: 5 00a075 1e6908f6D
Firmware Version: M6CR056
User Capacity:    480,103,981,056 bytes [480 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-3 T13/2161-D revision 4
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Sep 30 17:13:44 2024 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
. . .
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      6731         -
# 2  Short offline       Completed without error       00%      6731         -
> looking at the end of your dmesg file with
> 'dmesg | tail' with a root account can also shed
> some light on what's happening in that department.

This is the only thing that shows in the dmesg output:
[169584.932507] BUG: Bad page state in process store  pfn:15eed
[169584.938919] page: refcount:0 mapcount:0 mapping:cf5b7b92 index:0x1 pfn:0x15eed
[169584.946973] invalid mapping:00008000
[169584.951349] flags: 0x0(zone=0)
[169584.955203] page_type: 0xffffffff()
[169584.959501] raw: 00000000 00000100 00000122 00008000 00000001 00000000 ffffffff 00000000
[169584.968415] raw: 00000000
[169584.971832] page dumped because: non-NULL mapping
[169584.977343] Modules linked in: marvell_cesa orion_wdt kirkwood_thermal sg binfmt_misc configfs ip_tables x_tables autofs4 uio_pdrv_genirq uio
[169584.990922] CPU: 0 PID: 7710 Comm: store Not tainted 6.9.6-kirkwood-tld-1 #1 69eb1abd9c11879803241fd49e3d9ff0b2fc2048
[169585.002370] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[169585.009451] Call trace:
[169585.009462]  unwind_backtrace from show_stack+0x10/0x14
[169585.018852]  show_stack from dump_stack_lvl+0x54/0x5c
[169585.024738]  dump_stack_lvl from bad_page+0xd0/0x104
[169585.030528]  bad_page from check_new_pages+0x9c/0xa8
[169585.036309]  check_new_pages from __rmqueue_pcplist+0xb4/0x42c
[169585.042963]  __rmqueue_pcplist from get_page_from_freelist+0x260/0x7cc
[169585.050313]  get_page_from_freelist from __alloc_pages+0x170/0xa9c
[169585.057315]  __alloc_pages from __filemap_get_folio+0x124/0x1a0
[169585.064065]  __filemap_get_folio from ext4_write_begin+0x128/0x358
[169585.071077]  ext4_write_begin from generic_perform_write+0xd0/0x204
[169585.078165]  generic_perform_write from ext4_buffered_write_iter+0x78/0x104
[169585.085961]  ext4_buffered_write_iter from vfs_write+0x14c/0x1d4
[169585.092798]  vfs_write from ksys_write+0x74/0xc8
[169585.098230]  ksys_write from ret_fast_syscall+0x0/0x44
[169585.104184] Exception stack(0xf0b81fa8 to 0xf0b81ff0)
[169585.110049] 1fa0:                   00001000 7ea00920 00000004 7ea00a34 00001000 00000001
[169585.119057] 1fc0: 00001000 7ea00920 00000000 00000004 76ea6908 76bf4264 7ea00a34 7ea007d8
[169585.128054] 1fe0: 76f96704 7ea00760 76ea0db0 76b2694c
[169585.133912] Disabling lock debugging due to kernel taint
But I don't know what to make of it.

Regardless, things are working now. Thanks for the help, bodhi & sudos!
Re: Problem with Kernel linux-6.10.11 install
September 30, 2024 08:50PM
Cool!

Model Family:     Crucial/Micron Client SSDs
Device Model:     CT480BX500SSD1
....
TRIM Command:     Available

With this SSD, you can set up fstrim to run periodically (weekly or bi-weekly) to keep it in shape longer.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: