On Fri, Apr 02, 2010 at 06:01:49PM +0100, Graeme Dargie thus spake:
Hello All



I have an issue with freebsd-update, I will back track a few steps to
give you some background as to what I was doing prior to using
freebsd-update.



I have been trying to get half-life dedicated server working on one of
my machines, seemed to install ok from games/linux-steam but on running
it would crash then hang the machine.



After a bit of digging about it was suggested that I needed to modify
the kernel to have the CPU_ENABLE_SSE option it seemed to go through #
make buildkernel KERNCONF=MYKERNEL ok but then went belly up make
installkernel KERNCONF=MYKERNEL failed. I re-read the man page, and
tried again today, for it to fail at the buildkernel stage saying
CPU_ENABLE_SSE was not an valid option. So I thought ok I will just
rebuild the generic kernel using the above steps. That worked fine,
system rebooted and from what I can tell works as it should.
Now on to the issue, doing freebsd-update fetch works ok, but the inital
run of the freebsd-update install complained about lack of disk space,
looking in to /boot there was a 230mb folder called GENERIC, I checked
my other two machines and this was not present of either, so I moved the
folder out of /boot and re-ran freebsd-update install now it complains
that /boot/GENERIC is missing.
I`ll freely confess to not knowing much about this kind of thing but to
me it looks like freebsd-update thinks my kernel is /boot/GENERIC and
not /boot/KERNEL

Your default is /boot/kernel, and you need to keep /boot/GENERIC in
place for freebsd-update to work. freebsd-update works off of knowing what
your running kernel is, and will continue to work on the GENERIC kernel.
If you run your own update server. Then you can update as many kernels as you would like to support.

This issue won't fix your problem, though, as if the GENERIC kernel doesn't
have the option you are looking for, as soon as you 'fetch install' that
option will be gone if it isn't in the distributed GENERIC kernel.

Try and figure out how to get it into a CUSTOM kernel and have that under
/boot/kernel, and your /boot/GENERIC kernel will continue to update with
freebsd-update, as well as world.

I hope this helps.


Anyone know what I have done wrong and how to fix this ? if anyone out
there knows how to get HLDS working that would be a great help as well
eris# uname -a
FreeBSD eris.galaxy.lan.lcl 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Apr
2 16:14:18 BST 2010
gra...@eris.galaxy.lan.lcl:/usr/obj/usr/src/sys/ERISGEN  amd64
eris# df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0s1a    496M    270M    186M    59%    /
devfs                 1.0K    1.0K      0B   100%    /dev

Regards
Graeme



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to