From owner-freebsd-current@FreeBSD.ORG Sun Mar 20 19:43:38 2005 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 C680916A4CE; Sun, 20 Mar 2005 19:43:38 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78B943D62; Sun, 20 Mar 2005 19:43:37 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j2KJhX3E067927; Sun, 20 Mar 2005 21:43:33 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 25361-03; Sun, 20 Mar 2005 21:43:35 +0200 (EET) 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 j2KJhWt5067924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Mar 2005 21:43:32 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j2KJhp2j092601; Sun, 20 Mar 2005 21:43:51 +0200 (EET) (envelope-from ru) Date: Sun, 20 Mar 2005 21:43:50 +0200 From: Ruslan Ermilov To: Chuck Robey Message-ID: <20050320194350.GA92555@ip.net.ua> References: <423DCAA0.9020104@chuckr.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <423DCAA0.9020104@chuckr.org> User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: Robert Watson cc: current@freebsd.org Subject: Re: aic7xxx/aicasm manpage 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: Sun, 20 Mar 2005 19:43:39 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 20, 2005 at 07:10:24PM +0000, Chuck Robey wrote: > Robert Watson wrote: > >On Sun, 20 Mar 2005, Chuck Robey wrote: > > > > > >>My kernel build is busted, it can't find: > >> > >>cd ../../../modules;=20 > >>MAKEOBJDIRPREFIX=3D/usr/src/sys/amd64/compile/JULY/modules=20 > >>KMODDIR=3D/boot/kernel DEBUG_FLAGS=3D"-g" MACHINE=3Damd64=20 > >>KERNBUILDDIR=3D"/usr/src/sys/amd64/compile/JULY" make all > >>=3D=3D=3D> aac (all) > >>=3D=3D=3D> accf_data (all) > >>=3D=3D=3D> accf_http (all) > >>=3D=3D=3D> agp (all) > >>=3D=3D=3D> aha (all) > >>=3D=3D=3D> aic7xxx (all) > >>=3D=3D=3D> aic7xxx/aicasm (all) > >>make: don't know how to make aicasm.1. Stop > >>*** Error code 2 > >> > >>Stop in /usr/src/sys/modules/aic7xxx. > >>*** Error code 1 > >> > >>Stop in /usr/src/sys/modules. > >>*** Error code 1 > >> > >>I know that to fix this, the simplest way is to merely stick a NOMAN=3D > >> > >> > >>into the Makefile at /sys/modules/aic7xxx/aicasm. I don't know if > >>that's the way you'd want to fix it, but it seems to break the build for > >>me, so a prompt fix is in order, I think.=20 > > > > > >Are you building a 6.x kernel from a 5.x userspace? You can work around > >it the documented way by using buildworld and the buildkernel, or the ea= sy > >way, by forcing NOMAN during the kernel build (or changing NO_MAN in the > >aicasm Makefile to NOMAN). There was discussion of adding compatibility > >bits to 5.x so it could build makefiles that use NO_MAN, but I've yet to > >see that work. Of course, my 5.x boxes where I build 6.x kernels aren't > >all that up-to-date... > > >=20 > This is a system that's having it's first new kernel being compiled, but= =20 > uname reports a 6.0 current, so I don';t think I've made any gross=20 > mistake, and the branch is HEAD, so I'm doing nothing at all with 5.x, I= =20 > think. I'm not using Make INSTALLKERNEL although I used to do that. >=20 > I already got past it by patching my Makefile, which I know is wrong,=20 > because I'm gonna have to take it out once it gets fixed. >=20 But your world (including /usr/share/mk/) is 5.x. If you had followed the src/UPDATING instructions closely, you wouldn't hit this problem: : To build a kernel : ----------------- : If you are updating from a prior version of FreeBSD (even one just : a few days old), you should follow this procedure. With a : /usr/obj tree with a fresh buildworld, : make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=3DYOUR_KERNEL_HERE : make -DALWAYS_CHECK_MAKE installkernel KERNCONF=3DYOUR_KERNEL_HERE The buildworld takes care of updating make(1), and src/Makefile takes care of using fresh share/mk files. And so on. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCPdJ2qRfpzJluFF4RAomWAKCC9nkJ8JVKrrOBdMyFzH7SVPdulQCdGz6m eVlw3W82l+SQL1xF52Rg22g= =8HBv -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--