Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 1999 00:40:01 -0700 (PDT)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/12468: reboot causes dumps core after a 2.2.X to 3.2 upgrade
Message-ID:  <199907010740.AAA35518@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/12468; it has been noted by GNATS.

From: Ruslan Ermilov <ru@ucb.crimea.ua>
To: joe@pavilion.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/12468: reboot causes dumps core after a 2.2.X to 3.2 upgrade
Date: Thu, 1 Jul 1999 10:27:25 +0300

 On Wed, Jun 30, 1999 at 09:46:26PM +0000, joe@tao.org.uk wrote:
 > 
 > >Description:
 > 
 > 	During the transition from a 2.2.X running operating
 > 	system to 3.2 using 'cvsup' and 'make world', eventually
 > 	one has to reboot the box onto the new kernel.  The
 > 	traditional way of doing this is to use a 'reboot' command.
 > 	Unfortunately it seems that the reboot functionality doesn't
 > 	survive during a upgrade and instead the operator is rewarded
 > 	with a 'dumped core' instead.  This isn't usually a problem
 > 	if the server is in the physical locality of the operator, but
 > 	is a 'right royal pain in the arse' if the server is located
 > 	on a remote desert island ;)
 > 
 > >How-To-Repeat:
 > 
 > 	Start with a 2.2.X machine.
 > 	Cvsup the source tree to 3.2-RELEASE, or 3.2-STABLE.
 > 	Make upgrade (or aout-to-elf-build, install, move, etc)
 > 	Use mergemaster to rebuild the /etc/ config, etc.
 > 	Rebuild the kernel and install.
 > 	Disklabel -B primarydrive - to install new boot blocks for elf kernel.
 > 	Reboot --- bus error!  Network is down.  Machine sits happily
 > 	in single user mode.
 
 As the first step of the install phase, ``upgrade'' saves the copies
 of /bin/sh and /sbin/reboot into /usr/obj, and displays the following
 message:
 +-------------------------------------------------------------+
 | Saving a copy of programs required to shut the system down. |
 +-------------------------------------------------------------+
 
 After it has finished populating your system with the new ELF stuff,
 ``upgrade'' will automatically install new boot blocks onto your root
 hard drive (you were asked for), build and install new ELF kernel,
 set the default obj format to ``ELF'' and ask you to reboot the system:
 
 +-------------------------------------------------------+
 | Your system has now been fully updated to elf!        |
 |                                                       |
 | It's now time to reboot from your new ELF kernel.     |
 | You can type Ctrl-C to abort this (at your own risk)  |
                                      ^^^^^^^^^^^^^^^^
 | or press return to reboot the system.                 |
 +-------------------------------------------------------+
 
 I assume that you pressed Ctrl-C at this point, so this is what
 "your own risk" mean -- you didn't knew how to reboot your system
 correctly.  The correct way is to execute /usr/obj/reboot.
 
 
 -- 
 Ruslan Ermilov		Sysadmin and DBA of the
 ru@ucb.crimea.ua	United Commercial Bank,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.247.647	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907010740.AAA35518>