From owner-freebsd-current@FreeBSD.ORG Mon Mar 31 05:27:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89CB537B401 for ; Mon, 31 Mar 2003 05:27:27 -0800 (PST) Received: from mail.cordis.lu (mail.cordis.lu [212.190.217.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27FD743FD7 for ; Mon, 31 Mar 2003 05:27:26 -0800 (PST) (envelope-from a.carter@cordis.lu) Received: from mailsvr.intrasoft.lu (mail.intrasoft.lu [212.190.217.251]) by mail.cordis.lu (8.12.8/8.12.8) with ESMTP id h2VDTxqE010100; Mon, 31 Mar 2003 15:29:59 +0200 Received: by mail.intrasoft.lu with Internet Mail Service (5.5.2656.59) id ; Mon, 31 Mar 2003 15:24:54 +0200 Received: from intra241.intrasoft.lu (212.190.217.170 [212.190.217.170]) by mailsvr.intrasoft.lu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id HXZK8PL9; Mon, 31 Mar 2003 15:24:50 +0200 From: CARTER Anthony To: Ventsislav Velkov , CARTER Anthony Organization: Intrasoft Date: Mon, 31 Mar 2003 15:32:41 +0200 User-Agent: KMail/1.5 References: <006401c2f776$d16f0230$23f00ad9@beatle> <200303311415.27166.a.carter@intrasoft.lu> <00ad01c2f785$fe095250$23f00ad9@beatle> In-Reply-To: <00ad01c2f785$fe095250$23f00ad9@beatle> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303311532.41300.a.carter@intrasoft.lu> X-Spam-Status: No, hits=-126.1 required=4.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT,USER_IN_WHITELIST version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-current@FreeBSD.ORG Subject: Re: problem updating from 4.7 Stable do 5.0 Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 13:27:30 -0000 Process: Boot up normally with 4.7 kernel. DO THIS: rm -rf /usr/obj/* (removes compiled files) rm -rf /tmp/* Add COMPAT_FREEBSD4 to your kernel configuration file. make buildworld make buildkernel KERNCONF=YOURKERNELFILE cp /usr/src/sys/${MACHINE}/conf/GENERIC.hints /boot/device.hints (MACHINE = i386, powerpc, ia64 etc depending on architecture. check out the directory first) make installkernel KERNCONF=YOURKERNELFILE #The next line installs the 5.x boot loader. cd /usr/src/sys/boot; make install reboot. Hit a key at boot (other than Enter) Type: boot -s This will boot into single user mode with your new kernel. fsck -p mount -u / mount -a mergemaster -p rm -rf /usr/include/g++ make installworld mergemaster PLEASE NOTE: Your should REALLY REALLY read the /usr/src/UPDATING file. All the information given here is taken from that file...You should read that file to find out if there are any particular entries that are relevent to your platform. The first few pages are updates to versions of FreeBSD, you can ignore these really and scroll to the bottom where the upgrade processes are described. Good Luck, Anthony Carter Yeah. When booting the computer and it tells you to press Enter to boot or any other blah blah, hit any key (not enter ;)) and type boot -s name_of_4.7_kernel this will boot into single usermode. Then, do this: fsck -p mount -u / On Monday 31 March 2003 15:03, Ventsislav Velkov wrote: > I could not boot in single user mode with the 5.0 kernel because it > brokes. > Do you mean I should boot in single user with the 4.7 kernel in there > installworld and to mergemaster ? > > regards, > Veno > > ----- Original Message ----- > From: CARTER Anthony > To: freebsd-current@freebsd.org > Sent: Monday, March 31, 2003 3:15 PM > Subject: Re: problem updating from 4.7 Stable do 5.0 Current > > Have you installed the world? I don't know if just rebuilding it is > sufficient.... > > To install the world you have to go to single user mode and run > mergemaster to > update any changes in configuration files (take a backup of your current > > files as it overwrites them). > > Anthony > > On Monday 31 March 2003 13:15, Ventsislav Velkov wrote: > > Hello all, > > > > I have a problem updating one of our servers from 4.7Stable to > > 5.0Current. > > > It is a Compaq Proliant 7000 Server with 4 Xeons @500Mhz with 2MB L2 > > cache > > > each. I has a 4200 Compaq Smart Raid Controler with attached 3 U1 > > Storages. > > > I update the src rebuild the world from updated src to 5.0Current, > > build a > > > GENERIC kernel and installed it. But after I boot it brokes up during > > the > > > booting process with the following error: > > > > //strip > > > > Fatal trap 12: page fault while in kernel mode cpuid=0; lapic.id= > > 01000000 > > > fault virtual address = 0x54 > > fault code = supervisor read, page not present > > .... > > .... > > .... > > process eflags = interrupt enabled, resume, IOPL=0 > > current process = 4(g_down) > > kernel: type12trap, code=0 > > Stopped at ida_construct_qcb+0xe3: movzbl 0x54(%eax),%eax > > > > //strip > > > > It may have some punctual mistakes because it is not a copy/paste. > > > > Will appreciate any advices where could be the problem. > > > > Best regards, > > > > Veno > > _______________________________________________ > > freebsd-current@freebsd.org > > mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > > To unsubscribe, send any mail to " > > freebsd-current-unsubscribe@freebsd.org > " > _______________________________________________ > freebsd-current@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org > "