Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.debian > #10597

Re: kernel 6.12.9+bpo-amd64 headache

From Martin Schöön <martin.schoon@gmail.com>
Newsgroups alt.os.linux.debian
Subject Re: kernel 6.12.9+bpo-amd64 headache
Date 2025-02-25 10:17 +0000
Organization @ Home
Message-ID <m25jl9FjftgU1@mid.individual.net> (permalink)
References <m22tq3F6t75U1@mid.individual.net> <wwvseo31l3u.fsf@LkoBDZeT.terraraq.uk>

Show all headers | View raw


Den 2025-02-24 skrev Richard Kettlewell <invalid@invalid.invalid>:
> Martin Schöön <martin.schoon@gmail.com> writes:
>> System:
>> Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
>> and 10+ years old. The former is a stationary computer, the
>> latter a Lenovo X230.
>>
>> I update regularly and fairly often using apt update, apt upgrade.
>> Backport repositories are used.
>>
>> Problem:
>> Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
>> January. Yet it shows up at the top of the GRUB menu and booting fails
>> unless I intervene and pick an older kernel.
>>
>> All attempts at repairing or removing this kernel using apt or Synaptic
>> have failed.
>
> What command did you use and what error did it show?
>
What I have tried is to identify a status before this issue appeared
and then rolling back the system to that state before trying to
repair or remove the offending kernel.

"sudo snapper-rollback 224"

reboot

Now the grub menu does not show the 6.12.9 kernel and booting is
painless. After this I have tried various combinations of:

"sudo apt-get check"
"sudo apt autoclean"
"sudo apt --fix-broken install"
"sudo apt autoremove"
"sudo apt autoremove linux-image-6.12.9+bpo-amd64"

I have also tried autopurge instead of autoremove. The only clear
error message I get is the one about failing to configure the 6.12.9
kernel due to some dependency issue (see previous post for details).

I have tried this more than once in case I missed something but I
always end where I started -- with a system needing manual intervention
to boot.

At least once I tried
"sudo apt-mark hold linux-image-amd64 linux-headers-amd64"
but that made no difference.

In my best documented attempt the sequence of actions was:

"sudo snapper-rollback 224"

reboot

"sudo apt-get check"
"sudo apt autoclean"
"sudo apt --fix-broken install"

Followed by the abovementioned error message and finding I was back
at square one again when rebooting.

Last time around I only did the rollback + reboot followed by the
kernel hold commands before calling it a day. I ran my laptop in
this state for a while and found out:

1) In this rolled back state it will not mount USB flash drives.
2) After rebooting it's again back in the will-not-boot-by-itself state.

I am thoroughly puzzled by the second observation as I had not touched
apt or Synaptic apart from the kernel hold thing.

/Martin

Back to alt.os.linux.debian | Previous | NextPrevious in thread | Find similar


Thread

kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-02-24 09:52 +0000
  Re: kernel 6.12.9+bpo-amd64 headache Dan Purgert <dan@djph.net> - 2025-02-24 10:00 +0000
    Re: kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-02-25 09:38 +0000
      Re: kernel 6.12.9+bpo-amd64 headache Dan Purgert <dan@djph.net> - 2025-02-25 09:56 +0000
        Re: kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-02-25 21:54 +0000
          Re: kernel 6.12.9+bpo-amd64 headache Dan Purgert <dan@djph.net> - 2025-02-26 10:21 +0000
            Re: kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-02-27 10:01 +0000
              Re: kernel 6.12.9+bpo-amd64 headache Dan Purgert <dan@djph.net> - 2025-02-28 11:36 +0000
                Re: kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-03-03 16:25 +0000
                Re: kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-03-04 16:17 +0000
                Re: kernel 6.12.9+bpo-amd64 headache Dan Purgert <dan@djph.net> - 2025-03-04 16:43 +0000
  Re: kernel 6.12.9+bpo-amd64 headache Richard Kettlewell <invalid@invalid.invalid> - 2025-02-24 14:19 +0000
    Re: kernel 6.12.9+bpo-amd64 headache Martin Schöön <martin.schoon@gmail.com> - 2025-02-25 10:17 +0000

csiph-web