Date: Fri, 2 Aug 2002 00:39:03 -0700 (PDT) From: "f.johan.beisser" <jan@caustic.org> To: Charlie ROOT <root@asuka.naviservers.net> Cc: questions@FreeBSD.ORG Subject: Re: MAKEDEV Error Message-ID: <20020802003020.B45362-100000@pogo.caustic.org> In-Reply-To: <Pine.BSF.4.33.0208020558440.66832-100000@asuka.naviservers.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Aug 2002, Charlie ROOT wrote: > I got the following error: > > cd /dev && /bin/sh MAKEDEV all > MAKEDEV: arith: syntax error: "<garbage text I cant copy and paste>" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020802003020.B45362-100000>