Re: X11 crashing

2023-10-05 Thread Theo de Raadt
Maria Morisot  wrote:

> I installed the patch for X11 (October 3rd), then rebooted,
> now X is crashing every time I log in on xenodm,
> sometimes I get a blue screen with debug messages,
> other times I get a square on my screen with a black background,
> and it is otherwise completely frozen, and I can't ctrl-alt-Fn
> into a terminal. I can do this before I try logging in though,
> and I tried reverting the patch but to no avail.
> 
> My wm is xfce, and when I remove my .xsession
> everything works normal without crashing.
> 
> I'm far from a novice user but I don't know much about
> how to properly report issues or what steps I need to take
> to isolate where the problem is.

Your bug report is too precise and detailed.

For example you say "blue screen with debug messages".

Amazing.  By not providing information, it's like you don't want
any help!  OK. In that case, I'm replying to give you no help.



Re: X11 crashing

2023-10-05 Thread Thomas Frohwein
On Thu, Oct 05, 2023 at 06:23:36AM +, Maria Morisot wrote:
> I installed the patch for X11 (October 3rd), then rebooted,
> now X is crashing every time I log in on xenodm,
> sometimes I get a blue screen with debug messages,
> other times I get a square on my screen with a black background,
> and it is otherwise completely frozen, and I can't ctrl-alt-Fn
> into a terminal. I can do this before I try logging in though,
> and I tried reverting the patch but to no avail.
> 
> My wm is xfce, and when I remove my .xsession
> everything works normal without crashing.

The obvious question that I have right off the bat is what is in your
.xsession... Sharing that file or clarifying if anything other than
xfce is in there would be a start.

> 
> I'm far from a novice user but I don't know much about
> how to properly report issues or what steps I need to take
> to isolate where the problem is.

There is some useful information on making useful bug reports here:
https://www.openbsd.org/report.html



Re: X11 crashing

2023-10-05 Thread Ampie Niemand
On Thu, Oct 05, 2023 at 10:58:31AM -, Stuart Henderson wrote:
> On 2023-10-05, Maria Morisot  wrote:
> > I installed the patch for X11 (October 3rd), then rebooted,
> > now X is crashing every time I log in on xenodm,
> > sometimes I get a blue screen with debug messages,

Were you on the 7.3 Release? And did you patch with syspatch?

>
> If you show what those debug messages are (copy them down and type into
> an email), also collect dmesg - obviously you'll need to run without
> xfce to do that - that might give some clues. As things stand there is
> no information in this report that will help anyone figure it out.
>
> > other times I get a square on my screen with a black background,
> > and it is otherwise completely frozen, and I can't ctrl-alt-Fn
> > into a terminal. I can do this before I try logging in though,
> > and I tried reverting the patch but to no avail.
>
> At that point you're probably in ddb (kernel debugger).
> You can try blindly typing "boot r" and see if the system reboots.
> If so, you can try booting without X and see if the dmesg shows anything
> from the previous boot (which might include kernel error messages) above
> your normal boot dmesg.
>
>
> --
> Please keep replies on the mailing list.
>

At the bootprompt do "boot -s"
Enter on the "Enter pathname of shell or RETURN for sh" prompt
mount /
mount -a
swapon -a
rcctl disable xenodm
exit

Now log in and get the dmesg and the error that happens when you "rcctl -f 
start xenodm"

Regards
Ampie



Re: X11 crashing

2023-10-05 Thread Stuart Henderson
On 2023-10-05, Maria Morisot  wrote:
> I installed the patch for X11 (October 3rd), then rebooted,
> now X is crashing every time I log in on xenodm,
> sometimes I get a blue screen with debug messages,

If you show what those debug messages are (copy them down and type into
an email), also collect dmesg - obviously you'll need to run without
xfce to do that - that might give some clues. As things stand there is
no information in this report that will help anyone figure it out.

> other times I get a square on my screen with a black background,
> and it is otherwise completely frozen, and I can't ctrl-alt-Fn
> into a terminal. I can do this before I try logging in though,
> and I tried reverting the patch but to no avail.

At that point you're probably in ddb (kernel debugger).
You can try blindly typing "boot r" and see if the system reboots.
If so, you can try booting without X and see if the dmesg shows anything
from the previous boot (which might include kernel error messages) above
your normal boot dmesg.


-- 
Please keep replies on the mailing list.



X11 crashing

2023-10-04 Thread Maria Morisot
I installed the patch for X11 (October 3rd), then rebooted,
now X is crashing every time I log in on xenodm,
sometimes I get a blue screen with debug messages,
other times I get a square on my screen with a black background,
and it is otherwise completely frozen, and I can't ctrl-alt-Fn
into a terminal. I can do this before I try logging in though,
and I tried reverting the patch but to no avail.

My wm is xfce, and when I remove my .xsession
everything works normal without crashing.

I'm far from a novice user but I don't know much about
how to properly report issues or what steps I need to take
to isolate where the problem is.