-
January 8th, 2003, 04:59 PM
#1
Member
UNIX kernel screwed up
hey guys,
I rebuilt my kernel after some patching on my FreeBSD 4.7 box and am now getting really wierd stuff like
Jan 8 10:34:05 UNIXbox sshd[2076]: getting vmemoryuse resource limit: Invalid argument
this netstat display is wierd too. I've got port 22 (SSH) open but look at this:
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
udp4 0 0 *.1052 *.*
udp4 0 0 *.518 *.*
udp4 0 0 *.514 *.*
udp6 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c3574e00 #0 -1009725952 0 0 c3e39fc0 0 c3e39f40
c3574e00 #0 -1009725952 0 0 c3e39fc0 0 c3e39f80
c3574e00 #0 -1009725952 -1064547008 0 c3e39fc0 0 0
c3574e00 #0 512 0 c3e530c0 0 c3e39e00 0 £À`Ä<ÀpêÃ
UNIXbox#
suggestions?
-
January 8th, 2003, 05:09 PM
#2
Did you just patch or you updated to -stable with cvs, in which case you might want to try rebuilding userland also...
Ammo
Credit travels up, blame travels down -- The Boss
-
January 8th, 2003, 05:11 PM
#3
Member
Originally posted here by ammo
Did you just patch or you updated to -stable with cvs, in which case you might want to try rebuilding userland also...
Ammo
I just applied some patches
-
January 8th, 2003, 05:59 PM
#4
Here's what I do:
cvsup mysupfile
cd /usr/src
make buildkernel KERNCONF=MYKERNEL
make buildworld
make installkernel KERNCONF=MYKERNEL
make installworld
mergemaster
With cvs you can track:
RELENG_4 (Which will turn 4.7-stable, 4.8-prerelease, 4.8-stable etc.)
RELENG_4_7 (which will track 4.7-stable including sec. fixes)
RELENG_4_6 (which will track 4.6-stable incl. sec. fixes)
For more tags see the FreeBSD handbook CVS Tags section.
Anyway. Always do the whole thing (except when you're just recompiling your kernel because you tweaked it, after a comlete build).
A good thing(tm) to do if you run into trouble is to compile the GENERIC kernel and give that a try.
Everything that's not build into the kernel will be dynamically loaded anyway.
-
January 8th, 2003, 06:04 PM
#5
hi,
I rebuilt my kernel after some patching on my FreeBSD 4.7 box
You need to reboot to single user mode to test your new kernel you just built..when reboot the system at the boot prompt enter -s flag.
At the shell prompt you should then run:
#fsck -p
#mount -u /
#mount -a -t ufs
#swapon -a
This command will checks the filesystems,remounts / read/write, mounts all the other UFS file systems referenced in etc/fstab and then turns swapping on.
Not an image or image does not exist!
Not an image or image does not exist!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|