Search This Blog

Showing posts with label Kernel Patching. Show all posts
Showing posts with label Kernel Patching. Show all posts

07 August 2008

Upgrading to 2008.11 snv_94 X86

I followed those instructions to do the update. The only exception to the instructions was that 2008.05 already had SUNWipkg@0.5.11,5.11-0.86 but I went ahead and updated it to -0.94 via the gnome System|Administration|Package Manager before doing the steps below that.

One weird thing on boot though is that I now have:
OpenSolaris 2008.05 snv_86_rc3 X86
opensolaris-1
Solaris 2008.11 snv_94 X86

I booted into the last one... even though the 2nd one that shows as active with beadm list. Seems to be working OK, but I should figure out what exactly is supposed to be there.

12 December 2006

nve0: device timeout (1)

Besides just seeing the message, the jail lost ping, and died during ssh...

nve0: device timeout (1)
nve0: link state changed to DOWN
nve0: link state changed to UP


Problem reported and patch available here, but instead...
cd /usr/src/sys/dev/nve
ftp sources.freebsd.org (anonymous,email,etc)
cd /pub/FreeBSD/sources/RELENG_6/src/sys/dev/nve/
mget *

cd /usr/src
make -DNOCLEAN buildkernel KERNCONF=CUSTOM
make installkernel KERNCONF=CUSTOM

unionfs-- panic: lockmgr: locking against myself

Error looks like this:
panic: lockmgr: locking against myself
cpuid = 0
KBD: enter: panic
[thread pid 74167 tid 100077]
Stopped at kdb_enter+02f: nop
db>

I found this problem related to kern/84107: unionfs related panic.
Solution:
# patch < /anywhere/unionfs-p8.diff
# cp /usr/src/sys/fs/unionfs/union.h /usr/include/fs/unionfs
# cd /usr/src/sbin/mount_unionfs/
# make obj
# make depend
# make all
# make install
# make clean
# cd /usr/src
# make buildkernel KERNCONF=CUSTOM
# make installkernel KERNCONF=CUSTOM
# shutdown -r now
* Note: SERVERIS: /root/patches/unionfs/unionfs-p8.diff

* Note: SERVERIS: /root/patches/unionfs/unionfs-p8.diff