From owner-freebsd-stable@FreeBSD.ORG Sat Mar 12 00:19:52 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AAEE16A4CE for ; Sat, 12 Mar 2005 00:19:52 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A3443D1D for ; Sat, 12 Mar 2005 00:19:52 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Fri, 11 Mar 2005 16:19:51 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 655765D07; Fri, 11 Mar 2005 16:19:51 -0800 (PST) To: Bashar In-reply-to: Your message of "Sat, 12 Mar 2005 00:57:00 +0300." <4232142C.40407@kuwaitnet.net> Date: Fri, 11 Mar 2005 16:19:51 -0800 From: "Kevin Oberman" Message-Id: <20050312001951.655765D07@ptavv.es.net> cc: freebsd-stable@freebsd.org Subject: Re: from 5.4-PRERELEASE -> 5.3-RELEASE-p5 error? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 00:19:52 -0000 > Date: Sat, 12 Mar 2005 00:57:00 +0300 > From: Bashar > Sender: owner-freebsd-stable@freebsd.org > > Jon Noack wrote: > > > Bashar wrote: > > > >> Doug White wrote: > >> > >>> On Thu, 10 Mar 2005, Bashar wrote: > >>> > >>>> Doug White wrote: > >>>> > >>>>> On Wed, 9 Mar 2005, Bashar wrote: > >>>>> > >>>>>> Hello, > >>>>>> i was wondering just right after the downgrade been facing some > >>>>>> issues > >>>>>> such as: > >>>>>> 1. server# /usr/local/bin/strace -f ps > >>>>>> PIOCSFL: Inappropriate ioctl for device > >>>>>> trouble opening proc file > >>>>>> 2. mounting ext2fs partition doesn't work unless i specify -ro or it > >>>>>> will give operation not permitted. > >>>>>> > >>>>>> any idea what might be causing this? > >>>>> > >>>>> > >>>>> How did you perform the downgrade? The strace error looks like you're > >>>>> still running the 5.3-STABLE binary. > >>>> > >>>> > >>>> first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which > >>>> incompatible with cPanel.net software) i had to run cvsup with > >>>> RELENG_5_3 > >>>> after than i started getting those errors > >>> > >>> > >>> You're leaving out important details, like what you did after you > >>> cvsup'd. > >> > >> > >> the usual ,cvsup'ed then cd /usr/src && make buildworld && make > >> installworld && cd /sys/i386/conf && config mykernel && cd > >> ../compile/mykernel && make depend && make && make install && reboot > > > > > > This is the usual? You should read > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 > > and /usr/src/UPDATING. > > > > The Canonical Way to Update Your System (for 5.x): > > 1) make buildworld > > 2) make buildkernel KERNCONF=YOUR_KERNEL_HERE > > 3) make installkernel KERNCONF=YOUR_KERNEL_HERE > > 4) > > 5) /etc/rc.d/preseedrandom > > 6) mergemaster -p > > 7) make installworld > > 8) mergemaster > > 9) > > > > Jon > > Jon, > Can't do this for remote system as you know True, you can't always reboot to single user (and that is dangerous, but often unavoidable), but you can "make kernel" (or make buildkernel && make installkernel) which is the only officially supported way of building a kernel. The way you did it usually works, but is not officially supported and may fail in some cases. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634