Date: Sun, 13 Jun 2010 05:41:07 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: hiroshi@soupacific.com Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org> Subject: Re: FreeBSD 8.1 and HAST Message-ID: <20100613124107.GA77002@icarus.home.lan> In-Reply-To: <4C14C066.7050505@soupacific.com> References: <4C1372E0.1000903@soupacific.com> <20100612142311.GF2253@garage.freebsd.pl> <4C139F9C.2090305@soupacific.com> <86iq5oc82y.fsf@kopusha.home.net> <4C14215D.9090304@soupacific.com> <20100613003635.GA60012@icarus.home.lan> <20100613074921.GB1320@garage.freebsd.pl> <4C149A5C.3070401@soupacific.com> <20100613102401.GE1320@garage.freebsd.pl> <4C14C066.7050505@soupacific.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 13, 2010 at 08:26:30PM +0900, hiroshi@soupacific.com wrote: > > > > >>Jun 13 16:25:37 sv01A hastd: [zfshast] (primary) Header contains no 'seq' field. > > > >This is the most important bit from the primary node. > > > >The header either does not contain 'seq' field or this field is 0. It > >can only be 0 if you have old kernel. With recent kernel geom_gate.ko > >was modified to start seq at 1, so this should not happen. > > > >Can verify that your kernel is in sync with your userland? > > > > I did csup, builworld buildkernel and instalkernel . > geom_gate.ko and uanme -a are same date! This is not verifying that the kernel and userland are in sync. geom_gate.ko is installed via "installkernel". You should never just buildkernel/installkernel/reboot; you should do everything, including world. The procedure to follow is described in /usr/src/Makefile. I've included it below, just for posterity. # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) Please do not skip/avoid the reboot-into-single-user-mode step. If you don't have physical access the machine or OOB (out-of-band, e.g. serial console, IPMI, LOM, etc.) access, you can "live dangerously" by doing the installworld step after installkernel then rebooting. But be aware there are situations where some files in /libexec or /usr/libexec may not get updated, which can be immediately devastating. I've seen this happen on a couple of occasions. Considered yourself warned. :-) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100613124107.GA77002>