From owner-freebsd-questions Mon Feb 24 12:17:33 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0D7C37B401 for ; Mon, 24 Feb 2003 12:17:31 -0800 (PST) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CEF243F75 for ; Mon, 24 Feb 2003 12:17:31 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.7/8.12.6) with ESMTP id h1OKHS4l015038; Mon, 24 Feb 2003 15:17:28 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.7/8.12.6/Submit) id h1OKHSAJ015035; Mon, 24 Feb 2003 15:17:28 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: taxman Cc: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: Installkernel fails on 4.7Rel p2 References: <200302231310.56276.taxman@acd.net> From: Lowell Gilbert Date: 24 Feb 2003 15:17:28 -0500 In-Reply-To: <200302231310.56276.taxman@acd.net> Message-ID: <44fzqd1lif.fsf@be-well.ilk.org> Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG taxman writes: > Hi, I can't figure this one out, I have already installed a custom kernel on > this sytem and now I'm trying to make a new one. It build fine, but > intallkernel fails with: > install -o root -g wheel -m 555 joy.ko /modules > install -o root -g wheel -m 444 joy.8.gz /usr/share/man/man8 > install -o root -g wheel -m 555 /usr/src/sys/modules/joy/joy.sh /usr/bin/joy > install: /usr/src/sys/modules/joy/joy.sh: No such file or directory > *** Error code 71 > > I look and I see that joy.sh is not on my system. ok where did it go? If I had to guess, you updated the sources but were only building the kernel. Don't do that. > I dl'd it and i hope it will work if I just put it in it's place. Eek. Depends on how good your aim is when pointing at the other end of your leg. > Alright, so in investigating this it brought up two more questions. > > 1) someone mentioned make.conf and > MODULES_OVERRIDE it seems this requires a list of modules *to* build, but > it's not possible to just exclude one. How would I build this list, and what > syntax? Let's see. The manual says: MODULES_OVERRIDE (str) Set to a list of modules to build instead of all of them. so I assume it would be something like MODULES_OVERRIDE="amr ccd vinum" > 2) if I use NO_MODULES instead, are there any critical modules I'll be > missing? I have everything I think I want in my kernel config file so I > shouldn't need any modules right? In theory, sure. In practice, I don't think it's worth the effort to avoid building them all. [Well, I do it occasionally, but those are cases where I know the source hasn't changed, and I am using config(8) directly anyway.] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message