Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)

Liste des GroupesRevenir à cubf misc 
Sujet : Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)
De : sgk (at) *nospam* REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Groupes : comp.unix.bsd.freebsd.misc
Date : 14. Mar 2024, 19:56:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <usvdns$1oga4$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2)
On Thu, 14 Mar 2024 14:19:04 +0000, Louis Epstein wrote:

Louis Epstein <le@main.lekno.ws> wrote:
 
...in any case my failure to launch X successfully
since the flirtation with removing llvm12 and putting
it back has NOT been solved by upgrading 13.2->3.
 
The problem started when I deleted LLVM12 and did not go
away when I reinstalled it...and deleting and reinstalling
xinit has made no difference.
 
Either nothing at all starts,
or it starts and aborts,
or the windows come up in the
window manager and either
attempting to launch an application
crashes it or the keyboard and mouse
are no longer able to make inputs
and I have to restart.
 
What needs to be redone to again
have a working X?

If I get in your situtation, I typically rebuild everything
from source.  So, first created a backup, then do

% cd /usr/src
% git stash
% git pull -ff
% git stash pop
% rm -rf /usr/obj/*
% make -j8 buildworld  <-- I have 8 cores.
% make -j8 buildkernel
% make installkernel
<reboot in single user>
% mount -a
% etcupdate -p
% cd /usr/src
% make installworld
% etcupdate -B
% make delete-old
% make delete-old-lib <-- Only if I want a very clean world
<reboot without X11, so remove kld_load in rc.conf>

Now, the ports.

% cd /usr/ports
% git stash
% git pull -ff
% git stash pop
% make fetchindex
% pkg info | awk '{ print $1}' > pkg.txt
% pkg delete -f <all installed ports>ports-mgmt/pkg
<Inspect /usr/local for leftover junk>

The last command might complain about deleting port ports-mgmt/pkg,
delete it anyway.

% cd /usr/ports/ports-mgmt/pkg
% make clean && make -j8 && make install && make clean
% cd /usr/ports/ports-mgmt/portmaster
% make clean && make -j8 && make install && make clean
% rehash
% portmaster -Byd graphics/drm-515-kmod
% portmaster -Byd graphics/gpu-firmware-radeon-kmod

Choose the one from pkg.txt or use graphics/drm-kmod.  The latter
will grab whatever FreeBSD thinks is required for your hardware.
You can now restore kld_load in rc.conf and reboot.

% portmaster -Byd x11-wm/fvwm3 x11/xauth x11/xinit x11/xterm

This is sufficient for me to use startx to fireup a fvwm3

Now, iterate over pkg.txt to install other packages, e.g.,

% portmaster -Byd math/octave <-- This installs 200+ ports

--
steve



Date Sujet#  Auteur
11 Mar 24 * Re: Proliferating LLVMs17Louis Epstein
13 Mar 24 `* Catastrophe Re: Proliferating LLVMs16Louis Epstein
13 Mar 24  `* Re: Catastrophe Re: Proliferating LLVMs15Steven G. Kargl
13 Mar 24   +- Re: Catastrophe Re: Proliferating LLVMs1John D Groenveld
13 Mar 24   `* Re: Catastrophe Re: Proliferating LLVMs13Louis Epstein
14 Mar 24    +* Re: Catastrophe Re: Proliferating LLVMs11Louis Epstein
14 Mar 24    i`* Still No X (Re: Catastrophe Re: Proliferating LLVMs)10Louis Epstein
14 Mar 24    i `* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)9Steven G. Kargl
14 Mar 24    i  +* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)6John D Groenveld
14 Mar 24    i  i`* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)5Steven G. Kargl
15 Mar 24    i  i `* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)4John D Groenveld
15 Mar 24    i  i  `* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)3Steven G. Kargl
15 Mar 24    i  i   `* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)2John D Groenveld
16 Mar 24    i  i    `- Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)1John D Groenveld
15 Mar 24    i  `* Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)2Louis Epstein
15 Mar 24    i   `- Re: Still No X (Re: Catastrophe Re: Proliferating LLVMs)1Steven G. Kargl
14 Mar 24    `- Re: Catastrophe Re: Proliferating LLVMs1Steven G. Kargl

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal