Page 1 of 6 123 ... LastLast
Results 1 to 10 of 57

Thread: Random kernel panic.

  1. #1
    Join Date
    May 2024
    Beans
    25

    Random kernel panic.

    Fairly new, but know a bit.
    I got a home server in the garage running different things , Home Assistant, a family tree and different things. Been going fine, could Google the stuff I didn't know. But now I'm in deep water.

    I've upgraded from 18 I think, to 22. Everything seemed to work fine, but I get some kernel panic errors.
    They come regularly, maybe once a day or every other day.

    See error: https://ibb.co/1d3jt6m

    It doesn't really tell me much. I don't really have anything to go on. I don't know what to do, to get closer to s solution.

    I've cleaned up some stuff, run a RAM and HDD check without any problems.

    Restarting the machine daily is driving me nuts. Any pointers and any help is greatly appreciated.

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Random kernel panic.

    Is it server edition?

    Please Run the UbuntuForums 'system-info' script in my signature line, and post the URL of where it uploads to.

    That will tell us what your hardare is, and something about how it is installed, including the kernel boot line.

    It appears to be power, pstate, and apci related. Need more info to suggest a solution.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    May 2024
    Beans
    25

    Re: Random kernel panic.

    Yes it is.

    I've run the script:
    https://paste.ubuntu.com/p/Yxwpz3KTkk/
    It said my system is missing some utilities, but it didn't state which ones. So I hope this is fine.

    Got a new error earlier, maybe it's different: https://ibb.co/9WxSKWd

    The help is much appreciated

  4. #4
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Random kernel panic.

    File a Bug Report with LaunchPad.

    Why am I saying this so early (in the 4th Post)?

    Because look at this, in line #41 of the report:
    Code:
     *-processor UNCLAIMED
    I have "never" seen that before. Nor can I find that kind of error on a CPU reported anywhere on the internet. Usually devices going unclaimed are GPU's, network devices,etc. Not processors.

    Let me ask a friend with an AMD CPU if he can run something and what his says...

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  5. #5
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,534
    Distro
    Ubuntu Development Release

    Re: Random kernel panic.

    The kernel taint code codes are also a worry. Out of tree and unsigned module.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  6. #6
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Random kernel panic.

    Been diving into some things with this "kernel stack corrupted" error...

    Before blaming it on the kernel in relation to your hardware, we need to rule a few things out first.

    That error often comes up when the image is corrupted due to filesystem errors or mount errors (which also points back to filesystem errors).

    Is this a ext4 filesystem? Does it get this if booted from on an older kernel?

    What I would try first is, if ext4, then boot from a rescue mode boot option under Grub2 > Advanced Options and do an fsck on the filesystems. If that checks out okay, then do 'network', which will remount the filesystem as r/w, then drop to a root prompt using 'root' > <Enter>, then do a reinstall of the current latest kernel... This will reinstall the latest installed kernel of releases still in support
    Code:
    VERSION=$(apt list linux-image-{5,6}* --installed 2>/dev/null | tail -n 1 | awk -F "-" '// {print $3 "-" $4}')
    sudo apt install --reinstall -y linux-image-$VERSION-generic linux-headers-$VERSION-generic Linux-modules*-$VERSION-generic
    Then test again.

    If it still gets errors, then report as a Bug Report.
    Last edited by MAFoElffen; 3 Weeks Ago at 01:32 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  7. #7
    Join Date
    May 2024
    Beans
    25

    Re: Random kernel panic.

    Before the update, the kernel was 4-something, does that sound right?
    I didn't get this error. Once a month or maybe every other, I lost contact to the server and had to restart. Never investigated it.

    When doing fsck, I got the following:
    https://ibb.co/TbtBCFg

    When trying the update I get:
    https://paste.ubuntu.com/p/45tPWW2xF8/

  8. #8
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Random kernel panic.

    Please also show this:
    Code:
     apt list nvidia* --installed
    Your failed upgrade looks to be installing all drivers ie:
    Code:
    The following packages have unmet dependencies:
     linux-modules-nvidia-450-server-5.15.0-106-generic : Depends: nvidia-kernel-common-450-server (>= 450.248.02) but it is not installable
     linux-modules-nvidia-470-5.15.0-106-generic : Depends: nvidia-kernel-common-470 (>= 470.239.06) but it is not installable
     linux-modules-nvidia-470-server-5.15.0-106-generic : Depends: nvidia-kernel-common-470-server (>= 470.239.06) but it is not installable
     linux-modules-nvidia-535-5.15.0-106-generic : Depends: nvidia-kernel-common-535 (>= 535.171.04) but it is not installable
     linux-modules-nvidia-535-open-5.15.0-106-generic : Depends: nvidia-kernel-common-535 (<= 535.171.04-1) but it is not installable
                                                        Depends: nvidia-kernel-common-535 (>= 535.171.04) but it is not installable
     linux-modules-nvidia-535-server-5.15.0-106-generic : Depends: nvidia-kernel-common-535-server (>= 535.161.08) but it is not installable
     linux-modules-nvidia-535-server-open-5.15.0-106-generic : Depends: nvidia-kernel-common-535-server (<= 535.161.08-1) but it is not installable
                                                               Depends: nvidia-kernel-common-535-server (>= 535.161.08) but it is not installable
     linux-modules-nvidia-550-5.15.0-106-generic : Depends: nvidia-kernel-common-550 (>= 550.67) but it is not installable
     linux-modules-nvidia-550-open-5.15.0-106-generic : Depends: nvidia-kernel-common-550 (<= 550.67-1) but it is not installable
                                                        Depends: nvidia-kernel-common-550 (>= 550.67) but it is not installable
     linux-modules-nvidia-550-server-5.15.0-106-generic : Depends: nvidia-kernel-common-550-server (>= 550.54.15) but it is not installable
     linux-modules-nvidia-550-server-open-5.15.0-106-generic : Depends: nvidia-kernel-common-550-server (<= 550.54.15-1) but it is not installable
                                                               Depends: nvidia-kernel-common-550-server (>= 550.54.15) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    That could and will cause corruption.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  9. #9
    Join Date
    May 2024
    Beans
    25

    Re: Random kernel panic.

    Doesn't look like I have any.
    I'm just getting
    Code:
    Listing... Done
    But if thats the cause, how come the system can run fine in sometimes over a day?

  10. #10
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Random kernel panic.

    I don't see how it would run period. I've not seen any Nvidia card run all drivers.
    EDIT: And your system-info return MAFoElffen had you run don't even show you have an Nvidia card at all.
    What recent changes have you made
    Please now show this:
    Code:
    sudo apt autoremove --purge nvidia*
    Last edited by 1fallen; 2 Weeks Ago at 09:02 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •