Kernel panic on shutdown - old computer AMD 4400+

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
SprinterDriver
Level 4
Level 4
Posts: 260
Joined: Sun Jan 25, 2015 3:35 pm
Location: Norway

Kernel panic on shutdown - old computer AMD 4400+

Post by SprinterDriver »

Hi.

I'm currently writing this on another computer because the computer in question is currently running Memtest.

After I'm attempting shutting down Linux Mint XFCE from main menu, it goes into kernel panic.

This kernel panic message says:

Code: Select all

[24128.264353]  Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[24128.264380]  CPU: 0 PID: 1 Comm: shutdown not tainted 5.4.0-72-generic #80-Ubuntu
[24128.264388]  Hardware name:  /LP UT NF3 Ultra-D, BIOS 6.00 PG 07/11/2005
[24128.264397]  Call Trace:
[24128.264415]   dump_stack+0x6d/0x8b
[24128.264424]   panic+0x101/0x2e3
[24128.264431]   do_exit.cold+0x6c/0xa7
[24128.264440]   do_group_exit+0x47/0xb0
[24128.264450]   get_signal+0x169/0x890
[24128.264458]   do_signal+0x34/0x6c0
[24128.264466]   ? mm_fault_error+0xf2/0x150
[24128.264475]   exit_to_usermode_loop+0xbf/0x160
[24128.264483]   prepare_exit_to_usermode+0x77/0xa0
[24128.264492]   retint_user+0x8/0x8
[24128.264499]  RIP:  0033:0x7fd3841b15c3
[24128.264506]  Code_ 0f 7f 44 17 f0 f3 0f 7f 07 c3 48 83 fa 40 77 16 f3 0f 7f 47 10 f3 0f 7f 44 17 f0 f3 0f 7f 4 17 e0 c3 48 8d 4f 40 <f3>
[24128.264524]  RSP:  002b:00007ffce4fe1238 EFLAGS: 00010206
[24128.264531]  RAX:  00007fd38396ac98 RBX: 00007ffce4fe12d0 RCX: 00007fd38396acd8
[24128.264539]  RDX:  0000000000000368 RSI: 0000000000000000 RDI: 00007fd38396ac98
[24128.264547]  RBP:  00007ffce4fe15a0 R08: 00007fd38396ac98 R09: 0000000000065000
[24128.264555]  R10:  00007fd38396b000 R11: 0000000000000206 R12: 00007fd383998ca0
[24128.264562]  R13:  0000000000000003 R14: 00007ffce4fe1678 R15: 0000000000000004
[24128.264584]  Kernel Offset: 0x16200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[24128.264598]  ---[ end kernel panic - not syncing: Attempted to kill init! exitcode0x00000007 ]---
It's the same computer mention in this thread, exept - after that, I installed 3 500GB hdd's that contain extra swap space and storage partitions.

When Memtest have run, I'll edit this post to include partition list and fstab.


However I already have some thoughts on what might be the cause of this, so I'd like your input if that may be the case:
  • Something wrong with fstab file (but htop repport correct amount of swap space)
  • at the beginning of each 500GB drive, there are 1,5GB swap space, and two of those hdd have repported s.m.a.r.t. flag "Reported Uncorrectable Errors" to have 2 and 3 counts.
  • I've almost ran out of space on /var (2GB of 8GB left), and cannot rule out on a point it have being even more full (I'd use gparted to increase /var after memtest)
And - I almost forgot - what I think is maybe the most important point : I booted up Gparted live-iso just before I started Memtest. During the boot of Gparted live image, I had to do something else about an hour or so. When I came back to the computer, Gparted had also turned into a state of kernel panic (did not take a picture of that).
Also - if this is consistent, I don't think that there is a setting or something with Mint that cause kernel panic, but not sure.

Any thoughts ?

[edit]
Now back on the Mint computer (Memtest ran without repporting any errors, I still haven't make more space on /var)

lsblk

Code: Select all

kaffelars@lanparty:~$ sudo lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465,8G  0 disk 
├─sda1   8:1    0   1,5G  0 part [SWAP]
└─sda2   8:2    0 464,3G  0 part /lager
sdb      8:16   0 465,8G  0 disk 
├─sdb1   8:17   0   1,5G  0 part [SWAP]
└─sdb2   8:18   0 464,3G  0 part 
sdc      8:32   0    28G  0 disk 
├─sdc1   8:33   0     1K  0 part 
├─sdc5   8:37   0   8,2G  0 part /var
├─sdc6   8:38   0     4G  0 part [SWAP]
└─sdc7   8:39   0   2,8G  0 part /tmp
sdi      8:128  0  55,9G  0 disk 
├─sdi1   8:129  0  23,3G  0 part /
├─sdi2   8:130  0     1K  0 part 
└─sdi5   8:133  0  32,6G  0 part /home
sdj      8:144  0 465,8G  0 disk 
├─sdj1   8:145  0   1,5G  0 part [SWAP]
└─sdj2   8:146  0 464,3G  0 part 
sr0     11:0    1  1024M  0 rom  
fdisk -l

Code: Select all

kaffelars@lanparty:~$ sudo fdisk -l
Disk /dev/sda: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HGST HCC545050A7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x2e104f50

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1          2048   3074047   3072000   1,5G 82 Linux swap / Solaris
/dev/sda2       3074048 976773119 973699072 464,3G 83 Linux


Disk /dev/sdb: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HGST HCC545050A7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xa01d3d3b

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sdb1          2048   3074047   3072000   1,5G 82 Linux swap / Solaris
/dev/sdb2       3074048 976773119 973699072 464,3G 83 Linux


Disk /dev/sdc: 27,97 GiB, 30005821440 bytes, 58605120 sectors
Disk model: IC25N030ATCS04-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf2cef2ce

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sdc1           2048 58603519 58601472   28G  5 Extended
/dev/sdc5        8443904 25556991 17113088  8,2G 83 Linux
/dev/sdc6           4096  8443903  8439808    4G 82 Linux swap / Solaris
/dev/sdc7       25559040 31440895  5881856  2,8G 83 Linux

Partition table entries are not in disk order.


Disk /dev/sdi: 55,92 GiB, 60022480896 bytes, 117231408 sectors
Disk model: ST360021A       
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x49de70f3

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sdi1  *        2048  48871423 48869376 23,3G 83 Linux
/dev/sdi2       48873470 117229567 68356098 32,6G  5 Extended
/dev/sdi5       48873472 117229567 68356096 32,6G 83 Linux


Disk /dev/sdj: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HGST HCC545050A7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x1b2ee5e1

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sdj1          2048   3074047   3072000   1,5G 82 Linux swap / Solaris
/dev/sdj2       3074048 976773119 973699072 464,3G 83 Linux
inxi -Fxmz

Code: Select all

kaffelars@lanparty:~$ sudo inxi -Fxmz
System:    Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Xfce 4.14.2 
           Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: DFI model: LP UT NF3 Utral-D serial: N/A BIOS: Phoenix v: 6.00 PG date: 07/11/2005 
Memory:    RAM: total: 1.94 GiB used: 969.0 MiB (48.8%) 
           Array-1: capacity: 16 GiB slots: 4 EC: None max module size: 4 GiB 
           Device-1: A0 size: 512 MiB speed: type: Unknown 
           Device-2: A1 size: 512 MiB speed: type: Unknown 
           Device-3: A2 size: 512 MiB speed: type: Unknown 
           Device-4: A3 size: 512 MiB speed: type: Unknown 
CPU:       Topology: Dual Core model: AMD Athlon 64 X2 4400+ bits: 64 type: MCP arch: K8 rev.E rev: 2 
           L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 bogomips: 8842 
           Speed: 2211 MHz min/max: N/A Core speeds (MHz): 1: 2211 2: 2211 
Graphics:  Device-1: NVIDIA G71 [GeForce 7800 GS] driver: nouveau v: kernel bus ID: 02:00.0 
           Display: server: X.Org 1.20.9 driver: nouveau unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: NV47 v: 2.1 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: NVIDIA nForce3 250Gb AC97 Audio vendor: DFI driver: snd_intel8x0 v: kernel bus ID: 00:06.0 
           Sound Server: ALSA v: k5.4.0-72-generic 
Network:   Device-1: NVIDIA CK8S Ethernet type: network bridge driver: forcedeth v: kernel port: e600 bus ID: 00:05.0 
           IF: enp0s5 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.45 TiB used: 224.46 GiB (15.2%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HCC545050A7E380 size: 465.76 GiB temp: 40 C 
           ID-2: /dev/sdb vendor: HGST (Hitachi) model: HCC545050A7E380 size: 465.76 GiB temp: 40 C 
           ID-3: /dev/sdc vendor: Hitachi model: IC25N030ATCS04-0 size: 27.95 GiB temp: 39 C 
           ID-4: /dev/sdi vendor: Seagate model: ST360021A size: 55.90 GiB temp: 47 C 
           ID-5: /dev/sdj vendor: HGST (Hitachi) model: HCC545050A7E380 size: 465.76 GiB temp: 36 C 
Partition: ID-1: / size: 22.81 GiB used: 6.37 GiB (27.9%) fs: ext4 dev: /dev/sdi1 
           ID-2: /home size: 32.59 GiB used: 386.6 MiB (1.2%) fs: btrfs dev: /dev/sdi5 
           ID-3: /tmp size: 2.76 GiB used: 4.3 MiB (0.2%) fs: ext2 dev: /dev/sdc7 
           ID-4: /var size: 7.97 GiB used: 6.78 GiB (85.0%) fs: ext4 dev: /dev/sdc5 
           ID-5: swap-1 size: 1.46 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdj1 
           ID-6: swap-2 size: 1.46 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb1 
           ID-7: swap-3 size: 1.46 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda1 
           ID-8: swap-4 size: 4.02 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdc6 
Sensors:   System Temperatures: cpu: 40.0 C mobo: N/A gpu: nouveau temp: 64 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 216 Uptime: 11m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
           inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
So I got this bright idea. But when I tried to grab the light bulb, I did not hurt my hands as expected from a warm bulb, because it turned out to be one of those LED bulbs.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Kernel panic on shutdown - old computer AMD 4400+

Post by Larry78723 »

With a 2005 bios, I would be running LM19.2 with the 4.15 kernel instead of LM20 with the 5.4 kernel.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
pinballfan
Level 2
Level 2
Posts: 74
Joined: Thu Apr 29, 2021 6:43 pm

Re: Kernel panic on shutdown - old computer AMD 4400+

Post by pinballfan »

Larry78723 wrote: Wed May 05, 2021 5:57 pm With a 2005 bios, I would be running LM19.2 with the 4.15 kernel instead of LM20 with the 5.4 kernel.
I noticed that Mint has a Debian version, and apparently Debian 10 Buster which is the current version comes with kernel 4.19. I wonder if that would be an option? I mean, it is supported until 2024 which is a year longer than the Ubuntu Mint 19.2 which ends support in 2023.

I could have tried that myself, but I've done enough re-installs of various OS on multiple PCs recently, I'm a bit burnt out, so it would be good to hear if someone else tries the Debian release and sees how it runs on older hardware.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Kernel panic on shutdown - old computer AMD 4400+

Post by Larry78723 »

What works on someone else's old machine won't necessarily work on your old machine due to hardware differences. The only way to tell is to install it on your machine and test or run from a Live ISO.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
SprinterDriver
Level 4
Level 4
Posts: 260
Joined: Sun Jan 25, 2015 3:35 pm
Location: Norway

Re: Kernel panic on shutdown - old computer AMD 4400+

Post by SprinterDriver »

Ok, I can try the Debian - IF I can get it to run.

Previously (not long, just like two weeks ago) I had a go with a Ventoy usb stick packed with several distros, just to see what distro would run smooth and which ones might not run at all.

So after a brief test, I figured that most distros was not able to boot to desktop at all, either it hangs up "forever" or the display was totally garbled.
However - most distros that have XFCE desktop was indeed able to run, and did run pretty well. Including LM that I chooses this time (I'm a distro hopper having a hard time to settle to one specific distro, but Mint always make me happy and it was my first permanent distro several years back).

Therefore since the Debian edition of Mint use Mate desktop, I suspect it won't be able to boot - but I must test that to verify.
So I got this bright idea. But when I tried to grab the light bulb, I did not hurt my hands as expected from a warm bulb, because it turned out to be one of those LED bulbs.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Kernel panic on shutdown - old computer AMD 4400+

Post by Larry78723 »

Before you do that, I just noticed that you have 3 different swap partitions in your lsblk output. Please boot into LM and post the results of the following command:

Code: Select all

cat /etc/fstab
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
SprinterDriver
Level 4
Level 4
Posts: 260
Joined: Sun Jan 25, 2015 3:35 pm
Location: Norway

content of fstab file

Post by SprinterDriver »

Hi.

Ok, I have to admit I got a supprise - a positive one,I'll say. I put LMDE4 x64 on a Ventoy usb drive, and it booted to live desktop just fine :o :D

I was supprised because of so many distros with Gnome desktop and Mate have not being able to boot on that computer - and then comes LMDE, wins on walk over right here :D

The only "issue" is that it consume more ram than the XFCE edition, LMDE4 settle on just below 800MB on that computer when terminal/htop is the only running process started by user.

I can also tell that the computer have being booted and used twice (not counting boot from usb) after resized the /var partition. I know two runs without kernel panic isn't enough to draw any conclusions.

[edit 2]
Ok, I was almost about to post after edit and then - dead lock, no response from either keyboard or mouse. This is the sacond attempt - after hard reboot.

Code: Select all

kaffelars@lanparty:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=e1af6edf-7f84-49fa-a8b7-d7b77510e05e /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdb5 during installation
UUID=27e48482-a49a-4833-9ff9-1ce1791b57ce /home           btrfs   defaults,subvol=@home 0       2
# /tmp was on /dev/sda7 during installation
UUID=406780d9-750c-4b69-8325-4a28f4e3fc76 /tmp            ext2    defaults        0       2
# /var was on /dev/sda5 during installation
UUID=da096f53-da7b-4efe-9e6c-9afc09f19235 /var            ext4    defaults        0       2
#
# swap was on /dev/sda6 during installation  (OLD SETTINGS)
# UUID=6de9ffd9-af1a-467e-a31c-5f83f18f1546 none            swap    sw              0       0
#
# More storage space - 3 partition on 3 hdd merged in a single non-raid BTRFS volume.
UUID=9b03a82a-47f3-40ae-aea6-35acee382cc6 /lager          btrfs   defaults        0       0
#
#
# NEW SWAP SETTINGS : 2021.05.04
# swap was on /dev/sda6 during installation
UUID=6de9ffd9-af1a-467e-a31c-5f83f18f1546 none            swap    sw,pri=2        0       0
#/dev/sda1
UUID=f1705931-3d6c-46d7-93e7-7409c2aaea55 none            swap    sw,pri=1        0       0
#/dev/sdb1
UUID=814403ca-ff0c-4a1e-947c-1f45d4890d61 none            swap    sw,pri=1        0       0
#/dev/sde1
UUID=22ccaec4-cd0a-4821-99c0-22ca644d7345 none            swap    sw,pri=1        0       0
# Just some random leftower space I decided to be used as the download location (can use the slowest disk space for that)
# 2021.05.06
UUID=f5506419-71a3-437d-a715-fabb30267303 /home/kaffelars/Downloads  btrfs  defaults  0  0
So I got this bright idea. But when I tried to grab the light bulb, I did not hurt my hands as expected from a warm bulb, because it turned out to be one of those LED bulbs.
Locked

Return to “Hardware Support”