From owner-freebsd-alpha@FreeBSD.ORG Sun Aug 29 14:55:33 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8757C16A4CE; Sun, 29 Aug 2004 14:55:33 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C848543D31; Sun, 29 Aug 2004 14:55:32 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7TEtPVQ045870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Aug 2004 17:55:26 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7TEtU9W023599; Sun, 29 Aug 2004 17:55:30 +0300 (EEST) (envelope-from ru) Date: Sun, 29 Aug 2004 17:55:27 +0300 From: Ruslan Ermilov To: Sten Spans Message-ID: <20040829145526.GF23120@ip.net.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tvOENZuN7d6HfOWU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: Doug Barton cc: alpha@freebsd.org Subject: Re: 6.0 on Alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 14:55:33 -0000 --tvOENZuN7d6HfOWU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 29, 2004 at 11:45:30AM +0200, Sten Spans wrote: > On Fri, 27 Aug 2004, [iso-8859-1] Dag-Erling Sm?rgrav wrote: >=20 > > des@des.no (Dag-Erling Sm?rgrav) writes: > > > PWS 600au, yesterday's sources. The new loader runs fine, but the new > > > kernel won't boot with either the old or the new loader. > > > > For good measure, I tested a freshly-built GENERIC kernel as well. It > > just hangs: > > > > > OK boot GENERIC -s > > > /boot/GENERIC/kernel data=3D0x54cd70+0x4d140 syms=3D[0x8+0x62bb0+0x8+= 0x519c5] > > > Entering /boot/GENERIC/kernel at 0xfffffc0000347050... > > > > No "unexpected exception/interrupt", I had to power-cycle the box. >=20 > I experienced the same sympthoms when installkernel gave me a > new kernel, but no device.hints, which is required for the new > serial console code in 5.3. >=20 > You're probably fighting different daemons, but letting people > know that they need device.hinsts on alpha to get 5.3 booting > properly would be handy. >=20 > It's on the mailinglist now for starters :). >=20 You probably mean that you forgot to update your /boot/device.hints, because the existence of /boot/device.hints is already checked by the kernel-install ("installkernel" in the src/Makefile spelling) target: : if [ ! -f /boot/device.hints ] ; then echo "You must set up a /boot/devi= ce.hints file first." ; exit 1 ; fi : if [ x"`grep device.hints /boot/defaults/loader.conf /boot/loader.conf`" = =3D "x" ]; then echo "You must activate /boot/device.hints in loader.conf.= " ; exit 1 ; fi This is, by the way, is covered by the 20040710 UPDATING entry: : The console initialization on Alpha has been reworked and is now : identical to other platforms. This means that the hardcoding of : the serial console and the debug port has been removed. As such, : hints are now required for the sio(4) driver to become a console : or debug port. The NO_SIO option has been decommissioned because : of this. I don't use mergemaster(8) personally, I use the old way of updating /etc and other stuff: cd /usr/src/etc dir=3D/var/tmp/`date +%Y%m%d` mkdir -p $dir make distrib-dirs distribution DESTDIR=3D$dir and merging manually, using diff(1) with the saved output from the previous such run. But I specifically made the "distribution" target in src/etc/Makefile install the device.hints file, in a hope that mergemaster(8) will pick it up. Is it not the case? : revision 1.326 : date: 2004/03/14 17:18:39; author: ru; state: Exp; lines: +3 -3 : I believe most of /boot/device.hints out there are based (if not : identical) on GENERIC.hints, hence the following change: :=20 : Moved the creation of /boot/device.hints where it belongs. This : should aid in merging GENERIC.hints changes to /boot/device.hints, : using mergemaster(8) or a similar approach. Ah, it looks like mergemaster(8) only cares about updating /etc, which is bad. :-( This means that the following files will never be updated by mergemaster(8): /COPYRIGHT /boot/device.hints /root/.cshrc /root/.k5login /root/.login /root/.profile Doug, can you fix mergemaster(8) to care about updating at least /COPYRIGHT, /boot, and /root? That would be very handy. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --tvOENZuN7d6HfOWU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBMe5eqRfpzJluFF4RAjSfAJ9nmAdPhSSQswJPvxUae20f4QliJgCghSLI Ctj3GW+Q7XMTfhcbs8fHBec= =ZoYg -----END PGP SIGNATURE----- --tvOENZuN7d6HfOWU--