View Single Post
  #1   (View Single Post)  
Old 5th October 2009
jb_daefo jb_daefo is offline
Spam Deminer
 
Join Date: May 2008
Posts: 289
Default Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia"

[Maybe not a second-draft-proper GUIDE, no time, but the commands below maybe
help someone ]
(ignoring typos...)
Code:
# mkdir /save
# copy old GENERIC to /save/old.GENERIC
# /bin/rm -rf /usr/obj
# {cvsup _8 sources}
.................... # read /usr/src/UPDATING  (IIRC)
#cd /usr/src
................# copy new GENERIC to /save/new.GENERIC
# env -i -DNO_PROFILE buildworld | tee -a log...  #edit per preference
# sdiff /save/old.GENERIC /save/new.GENERIC
.................# note differences if one has a custom kernel to add/subtract 
.................# from. also check New (release Notes (online)
# edit YOUR_CUSTOM_KERNEL  # if applicable
# ..........copy it somewhere. also to /conf/i386/... or wherever it is/was
# mmv (move and rename, is /mmv/) /etc/make.conf /etc/make.conf.BAK
#...........online, check the STABLE (or) mailing list form current problems
#........... backup the system
# env -i make installkernel KERNCONF=(YOUR_CUSTOM_KERNEL if exists)
# shutdown -p now
#.............reboot "boot prompt loader"
# boot -s
# fsck -p
# mount -u /
# mount -a -t UFS
# swapon -a
# cd /usr/src
# adjkerntz -i
# cd /usr/src/usr.sbin/mergemaster
# sh ./mergemaster.sh -piPcvU
#.............write down differences, etc ("services" "device.hints" 
#.............and another file (one of the two .cshrc-something) were installed overwrite rather than default install new
#.............or skip, here, on _7 > _8
Code:
# cd /usr/src
# env -i -DNO_PROFILE installworld | tee -a log... # edited
# mergemaster -iPcvU   # l -- merge old r -- merge new  (left,right) etc
# ...........writing down differences (1/2 hour maybe)
# ........... mergemaster ended by rebuilding two databases...
# ln -s aj /etc/malloc.conf
# shutdown -p now
# ............reboot
# install /usr/ports/misc/compat7x
# tzsetup #per Release Notes.
NOW the reason for this post...
I found xinit did not work. I only! had to rebuild...
dri,
libGL, (both at once)
.........
then /nvidia-driver/
..........
3 ports and everything works so far!
...
You want to keep your kernel sources to build several ports, probably, UNCHANGED,
until your next kernel build, among them,
lsof, fusefs-kmod, nvidia-driver, (3 others here,)
__________________
FreeBSD 12.0-CURRENT

Last edited by jb_daefo; 6th October 2009 at 01:36 AM. Reason: 2-3 more details, #tzsetup especially.
Reply With Quote