:: Re: [DNG] Boot hangs with new kerne…
Inizio della pagina
Delete this message
Reply to this message
Autore: Kilian eldre8 Hart
Data:  
To: Alessandro Vesely, Devuan users
Oggetto: Re: [DNG] Boot hangs with new kernel
Hi!

Le 2024/11/12 à 03:31, Ludovic Bellière via Dng écrit:
>
> On Mon, 11 Nov 2024, Alessandro Vesely via Dng wrote:
>
> > Do you think something went wrong much earlier than the hanging point?
>
> Maybe, you didn't post the whole log so all I can do is trust your investigation
> skills.
>

The traceback is almost sufficient as you already located where the issue is,
on the radeon part, r100.
One other log is the /var/log/Xorg.0.log that would contain interesting hints.
And lsmod to see which lkm is loaded although we can deduce those.

Just before r100_irq_set, we see radeon_enable_vblank_kms and drm,
I tried to grep on all Kconfig about vblank, or radeon or drm inside my 5.15.x
sources but got no hints; you should try on your kernel sources.


> >
> > Ctrl-Alt-F<n>, n=1, 2, 3, ... doesn't work. Ctrl-Alt-Delete does.
> >
> > X doesn't start automatically. I run startx after logging in on the
> > terminal. I have 2 as initdefault.
> >
>
> Just to be sure, you do have a monitor plugged in right? In case of kernel
> panic, you'd want to see what it is panicking about.
>
> >
> > Perhaps I should have started in single-user mode and then manually run
> > the scripts in /etc/rc2.d, in lexicographical order, with some checks
> > between one and the next. Would that work?
> >
>
> I don't know. Have you tried? I'm more in the dark than you are. You can handle
> machine, after all :)


You should disable the automatic Xorg start so you can investigate more easily.
On your /etc/inittab let the default init runlevel be 3 and you will stay on a
regular tty after boot.
Then you log and 'startx', once the Xorg crash, you will get back your control
on the tty.

On your /etc/X11/xorg.conf, that doesn't exists anymore but you can create one,
and play with different settings around the vblank maybe,
something on the video card block like:

Section "Device"
  Identifier     "Configured Video Device"
  Driver         "amdgpu"
  Option         "anoption" "avalue"
EndSection


For options, take a looking at:
- https://www.x.org/wiki/RadeonFeature/
- https://www.x.org/releases/X11R7.7/doc/man/man4/radeon.4.xhtml


Cheers!
Kilian