From owner-freebsd-questions Fri Aug 2 0:39: 9 2002 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 66E2137B400 for ; Fri, 2 Aug 2002 00:39:06 -0700 (PDT) Received: from pogo.caustic.org (caustic.org [64.163.147.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E7B543E42 for ; Fri, 2 Aug 2002 00:39:06 -0700 (PDT) (envelope-from jan@caustic.org) Received: from localhost (jan@localhost) by pogo.caustic.org (8.11.6/8.11.6) with ESMTP id g727d3372279; Fri, 2 Aug 2002 00:39:03 -0700 (PDT) (envelope-from jan@caustic.org) Date: Fri, 2 Aug 2002 00:39:03 -0700 (PDT) From: "f.johan.beisser" To: Charlie ROOT Cc: questions@FreeBSD.ORG Subject: Re: MAKEDEV Error In-Reply-To: Message-ID: <20020802003020.B45362-100000@pogo.caustic.org> 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 On Fri, 2 Aug 2002, Charlie ROOT wrote: > I got the following error: > > cd /dev && /bin/sh MAKEDEV all > MAKEDEV: arith: syntax error: "" ok. > Any ideas, I'm affraid to restart in fear that not all DEVS were created > and the machine wont come back up. It is a production server at a remote > location. as root: cp /usr/src/etc/MAKEDEV /usr/src/etc/MAKEDEV.local /dev sh /dev/MAKEDEV all if that doesn't work, you have other problems. generally, for a remote machine you should upgrade the kernel, then buildworld, installworld, then makedev. most character devices will recover just fine if they're not really upgraded untill after the new kernel's installed. this gives you the opertunity to back out of your changes before they're permanent. so, basically: cd /usr/src/sys/$ARCH/conf config GENERIC cd ../../compile/GENERIC make depend make make install make clean reboot cd /usr/src make buildworld make installworld reboot mergemaster reboot you don't have to follow this exactly; for example, i do the buildworld first, then compile and install the new kernel. i also avoid that amount of reboots out of habit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message