Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2004 17:55:27 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Sten Spans <sten@blinkenlights.nl>
Cc:        alpha@freebsd.org
Subject:   Re: 6.0 on Alpha
Message-ID:  <20040829145526.GF23120@ip.net.ua>
In-Reply-To: <Pine.SOL.4.58-Blink.0408291140270.10811@tea.blinkenlights.nl>
References:  <xzp8yc3wllz.fsf@dwp.des.no> <xzpy8k07ffy.fsf@dwp.des.no> <Pine.SOL.4.58-Blink.0408291140270.10811@tea.blinkenlights.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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