From owner-freebsd-questions Tue Feb 13 11:44:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA02195 for questions-outgoing; Tue, 13 Feb 1996 11:44:40 -0800 (PST) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA02186 for ; Tue, 13 Feb 1996 11:44:32 -0800 (PST) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.7.1/8.7.1) with SMTP id OAA16027 for ; Tue, 13 Feb 1996 14:44:16 -0500 (EST) Received: from shbuck.async.vt.edu (shbuck.async.vt.edu [128.173.22.61]) by sable.cc.vt.edu (8.6.12/8.6.12) with SMTP id OAA13565 for ; Tue, 13 Feb 1996 14:44:14 -0500 Message-ID: <3120A37E.41C67EA6@csugrad.cs.vt.edu> Date: Tue, 13 Feb 1996 14:43:10 +0000 From: Shawn Buck X-Mailer: Mozilla 2.0 (X11; I; BSD/386 uname failed) MIME-Version: 1.0 To: questions@freebsd.org Subject: Kernel recompile question X-URL: http://www.freebsd.org/handbook/handbook55.html#57 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk When I attempt to recompile my kernel under FreeBSD 2.0.5 I get a strange message when I run the config command on the new configuration file (which is called GATEWAY) I created it gives me a message saying: config: wd: unknown device config: line 23: no root device specified I looked where it said that the problem was and had a friend look at it. The configuration file had nothing wrong with it. I eventually found, after hours of searching, that config required the file devices.i386 to run correctly. I did an ls -l in the /sys/i386/conf directory and it said: ls: GENERIC: Bad file descriptor ls: LINT: Bad file descriptor ls: VTCSPC: Bad file descriptor ls: config.core: Bad file descriptor ls: devices.i386:ad file descriptor along with other normal things. I have a backup copy of devices.i386 called devices.i386.orig and tried to copy it to the name devices.i386 so I could recompile my kernel; however, it would not let me. It said "devices.i386: Bad file descriptor". How can I get my system able to recompile my custom kernel. Any help would be appreciated. Thank You. Shawn Buck shbuck@mail.vt.edu sbuck@csugrad.cs.vt.edu Virginia Tech