Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 14:09:17 +0100 (CET)
From:      Jan Conrad <conrad@th.physik.uni-bonn.de>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Ralph Schreyer <schreyer@th.physik.uni-bonn.de>, freebsd-alpha@FreeBSD.ORG, Matthew Jacob <mjacob@feral.com>
Subject:   Re: Compiled kernel does not work
Message-ID:  <Pine.BSF.4.21.0010291314110.18743-100000@merlin.th.physik.uni-bonn.de>
In-Reply-To: <14843.3939.843103.250590@grasshopper.cs.duke.edu>

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

well, indeed, the tag in GENERIC says

# $FreeBSD: src/sys/alpha/conf/GENERIC,v 1.97 2000/09/20 17:30:20 wpaul
Exp $

seems like current :-) (not intentional)
uname -a, however, outputs

FreeBSD mach.th.physik.uni-bonn.de 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE
#0: Sat Oct 28 18:06:33 CEST 2000
admin@mach.th.physik.uni-bonn.de:/usr/src/sys/compile/MACH  alpha

We got the sources by running /stand/sysinstall -> post installation -->
distributions (all sources...) we fetched by ftp from ftp6.de.freebsd.org

This is also the place where we installed 411-R from...

But we didn't want to do that in the first place because we allready had
4.4.1-R sources:

now comes the really strange stuff
----------------------------------

We run i386/FreeBSD-4.1.1-R on our i386s. So we do have 4.1.1-R sources
available.

So if I do the following (/freebsd/misc is mounted in per NFS from the
i386 server):

	Reboot the machine with
	boot kernel.GENERIC
	ll kernel.GENERIC
-r-xr-xr-x   1 admin  wheel  5797595 Sep 28 02:21 kernel.GENERIC

	uname -a
FreeBSD mach.th.physik.uni-bonn.de 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE
#0: Thu Sep 28 00:21:50 GMT 2000
root@axp411.osd.bsdi.com:/usr/src/sys/compile/GENERIC  alpha

	cd /freebsd/misc/src/sys/alpha/conf
	# GENERIC tag is:
# $FreeBSD: src/sys/alpha/conf/GENERIC,v 1.71.2.9 2000/09/04 21:04:56
wilko Exp $

	ll /usr/sbin/config
-r-xr-xr-x  1 admin  wheel  52392 Sep 28 01:42 /usr/sbin/config

	config GENERIC
	# and get the following:
---------------------------------------------
Removing old directory ../../compile/GENERIC:  Done.
config: line 76: devices with zero units are not likely to be correct
config: line 77: syntax error
config: line 77: devices with zero units are not likely to be correct
config: line 78: syntax error
config: line 105: devices with zero units are not likely to be correct
config: line 106: syntax error
config: line 106: devices with zero units are not likely to be correct
config: line 107: syntax error
config: line 107: devices with zero units are not likely to be correct
config: line 108: syntax error
config: line 109: devices with zero units are not likely to be correct
config: line 110: syntax error
config: line 113: syntax error
config: line 115: devices with zero units are not likely to be correct
config: line 116: syntax error
config: line 118: devices with zero units are not likely to be correct
config: line 119: syntax error
config: line 121: devices with zero units are not likely to be correct
config: line 122: syntax error
config: line 123: syntax error
config: line 125: devices with zero units are not likely to be correct
config: line 126: syntax error
config: line 152: syntax error
config: line 164: syntax error
WARNING: version of config(8) does not match kernel!
config version = 500003, version required = 400018

Make sure that /usr/src/usr.sbin/config is in sync
with your /usr/src/sys and install a new config binary
before trying this again.

If running the new config fails check your config
file against the GENERIC or LINT config files for
changes in config syntax, or option/device naming
conventions

Don't forget to do a ``make depend''
Kernel build directory is ../../compile/GENERIC
-----------------------------------------------

This is why we fetched the srcs :-)
(Now it's clear to me that config version 500003 means current - I am
sorry for this, but why did sysinstall fetch current sources?)

any ideas what is going on?
(we have boot1 and loader from 4.1 installed...)

I just fetched bin.?? from
ftp://ftp6.de.FreeBSD.org/pub/FreeBSD/releases/alpha/4.1.1-RELEASE/bin/
and extracted usr/sbin/config it is version 500003!

regards
	Jan


On Sat, 28 Oct 2000, Andrew Gallatin wrote:

> 
> Jan Conrad writes:
>  > Hi folks,
>  > 
>  > ok - I think I found out what the problem was, but I don't understand it
>  > fully...
>  > 
>  > The config file looked like (taken from GENERIC):
>  > 
>  > #To statically compile in device wiring instead of /boot/device.hints
>  > #hints          "GENERIC.hints"
> 
> This line doesn't appear in any config file in RELENG_4.
> You're somehow running -current.  If this is intentional, please read
> the UPDATING file and you'll see how to deal with hints files.
> 
> However, I have the feeling that you don't want to be running current.
> What does the $FreeBSD tag in your makefile say?  Where did you get
> your sources?
> 
> Drew
> 

-- 
Physikalisches Institut der Universitaet Bonn
Nussallee 12
D-53115 Bonn
GERMANY



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010291314110.18743-100000>