You are not logged in.

#1 2022-07-31 10:05:59

Morta
Member
Registered: 2019-07-07
Posts: 660

Failed switiching console mode at boot and Kernel freeze

Hi!

I have again the same problem like here and not possible to switching console mode

https://bbs.archlinux.org/viewtopic.php?id=278350

after Upgrade from 5.18.14-1.1 to 5.18.15

sudo journalctl -b  | curl -F 'file=@-' 0x0.st

http://0x0.st/oe8M.txt

Can anyone help me?

Last edited by Morta (2022-07-31 10:14:16)

Offline

#2 2022-07-31 10:35:54

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

I do

git clone https://github.com/archlinux/linux.git
cd linux

git bisect start

git bisect bad v5.18.15
git bisect good v5.18.12

It's this correct?

Offline

#3 2022-07-31 10:46:09

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

clone https://github.com/archlinux/linux.git

git bisect start

git checkout 0ed04dea93b6bcb06d67bd3e5e2728365ccb78a8

git bisect good v5.18.12-arch1

git checkout 848b2b6b5a582418eccf9c757594a51dab2b30d0

git bisect bad v5.18.15-arch1

Last edited by Morta (2022-07-31 11:06:42)

Offline

#4 2022-07-31 11:02:14

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

Cloud someone adjust the git upstream that I haven't rebuild the kernel after every update? Would be very nice and for other users also!

Offline

#5 2022-07-31 11:04:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,858

Re: Failed switiching console mode at boot and Kernel freeze

you can use "git tag" to figure out which tags can be used to designate good and bad.

Don't use git checkout after you started bisecting , it messes things up .

Check https://wiki.archlinux.org/title/Bisect … s_with_Git .
I do think git bisecting may not be very helpful / work badly with this issue.

Assuming 5.18.12 is good and 5.18.15 fails, there are only 2 versions between them :
5.18.13.arch1-1 and 5.18.14.arch1-1 .

Much easier to get those versions from pacman cache or arch linux archive to test them then building the kernel yourself.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2022-07-31 11:09:49

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

Lone_Wolf wrote:

you can use "git tag" to figure out which tags can be used to designate good and bad.

Don't use git checkout after you started bisecting , it messes things up .

Check https://wiki.archlinux.org/title/Bisect … s_with_Git .
I do think git bisecting may not be very helpful / work badly with this issue.

Assuming 5.18.12 is good and 5.18.15 fails, there are only 2 versions between them :
5.18.13.arch1-1 and 5.18.14.arch1-1 .

Much easier to get those versions from pacman cache or arch linux archive to test them then building the kernel yourself.

I have a kernel version 5.18.14.arch1-1.1 from loqs which works.

https://drive.google.com/file/d/14NucKt … sp=sharing linux-5.18.14.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1maVrEG … sp=sharing linux-headers-5.18.14.arch1-1.1-x86_64.pkg.tar.zst

How do I get now a working Kernel 5.18.15 from this two Kernel? (5.18.14.arch1-1.1 and 5.18.15.arch1)

I not very common with this issue never done self.

Last edited by Morta (2022-07-31 11:13:43)

Offline

#7 2022-07-31 11:41:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,858

Re: Failed switiching console mode at boot and Kernel freeze

Is this the same issue as in https://bbs.archlinux.org/viewforum.php?id=18 ?

Doesn't look like that was reported upstream yet. so hard to predict if 5.18.15 has it.

Bisecting an issue is rarely easy, and kernel bisecting tends to be harder then bisecting user software.
I suggest you take a step back and clarify what you want to achieve.

Last edited by Lone_Wolf (2022-07-31 11:42:35)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2022-07-31 12:05:39

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

I want a 5.18.15 kernel which is running with my nvida geforce graphic card like the kernel from loqs in my posted thread

Last edited by Morta (2022-07-31 12:09:21)

Offline

#9 2022-07-31 13:14:30

seth
Member
Registered: 2012-09-03
Posts: 64,921

Re: Failed switiching console mode at boot and Kernel freeze

.YOu can just checkout the 5.18.15 kernel and revert the offendign commit? There's no need to bisect stuff again.

Offline

#10 2022-07-31 13:23:03

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

seth wrote:

.YOu can just checkout the 5.18.15 kernel and revert the offendign commit? There's no need to bisect stuff again.

Sorry... How I do exactly I do that?

git clone https://github.com/archlinux/linux.git

git checkout 848b2b6b5a582418eccf9c757594a51dab2b30d0 #5.18.15 kernel

And then?

Offline

#11 2022-07-31 13:38:12

seth
Member
Registered: 2012-09-03
Posts: 64,921

Re: Failed switiching console mode at boot and Kernel freeze

Try using "git revert 07186778cf645cc79e6913a28dadf445cd3e2439" …

Offline

#12 2022-08-01 13:41:07

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

seth wrote:

Try using "git revert 07186778cf645cc79e6913a28dadf445cd3e2439" …

Thx

Offline

#13 2022-08-01 14:14:44

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

Where can I fill up a case for this bug?

Offline

#14 2022-08-01 14:24:12

seth
Member
Registered: 2012-09-03
Posts: 64,921

Re: Failed switiching console mode at boot and Kernel freeze

https://bugzilla.kernel.org/show_bug.cgi?id=216303
Fair warning: If you over there ask questions that you could have googled yourself, you'll get eaten alive.

Offline

#15 2022-08-01 14:47:41

loqs
Member
Registered: 2014-03-06
Posts: 18,463

Re: Failed switiching console mode at boot and Kernel freeze

Report the issue on https://github.com/NVIDIA/open-gpu-kern … les/issues link to https://bugzilla.kernel.org/show_bug.cgi?id=216303
Edit:
Until Nvidia address the issue you will have to keep building custom kernels with 07186778cf645cc79e6913a28dadf445cd3e2439 reverted

Last edited by loqs (2022-08-01 14:49:38)

Offline

#16 2022-08-01 15:01:12

seth
Member
Registered: 2012-09-03
Posts: 64,921

Re: Failed switiching console mode at boot and Kernel freeze

GP108 isn't supported by nvidia-open, is it?
=> https://forums.developer.nvidia.com/c/g … /linux/148

Offline

#17 2022-08-01 15:33:50

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

Ok I did it!

How I have to build the kernel with the module nvidia? I installed nvidia-dkms but generating with mkinitcpio -p linux515 fails because of missing nvidia kernel module. How I have to compile the kernel with nvidia modules?

Offline

#18 2022-08-01 15:40:33

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

Oh it works!

Offline

#19 2022-08-01 15:43:32

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Failed switiching console mode at boot and Kernel freeze

Thanks a lot to seth and loqs!!!

Linux 5erver 5.18.15-arch1-dirty #1 SMP PREEMPT_DYNAMIC Mon Aug 1 16:05:52 CEST 2022 x86_64 GNU/Linux

cool

Last edited by Morta (2022-08-01 15:46:11)

Offline

Board footer

Powered by FluxBB