From owner-freebsd-stable Tue Sep 18 14:16:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tensor.xs4all.nl (tensor.xs4all.nl [213.84.53.200]) by hub.freebsd.org (Postfix) with ESMTP id A5D4F37B413; Tue, 18 Sep 2001 14:16:17 -0700 (PDT) Received: from matrix.xs4all.nl (matrix.xs4all.nl [192.168.1.2]) by tensor.xs4all.nl (Postfix) with ESMTP id 7893D3C1EF; Tue, 18 Sep 2001 23:16:12 +0200 (CEST) Date: Tue, 18 Sep 2001 23:16:03 +0200 From: Dimitry Andric X-Mailer: The Bat! (v1.54 Beta/8) Business Reply-To: Dimitry Andric X-Priority: 3 (Normal) Message-ID: <10350278416.20010918231603@xs4all.nl> To: "Hartmann, O." Cc: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re[2]: MAKEDEV 4.4-STABLE still offering problems In-Reply-To: <20010918182942.R17334-101000@klima.physik.uni-mainz.de> References: <20010918182942.R17334-101000@klima.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2001-09-18 at 18:30:08 Hartmann, O. wrote: HO> I changed the MAKEDEV as shown below and now it works for me, too. After hearing several comments that this problem is caused by the CPUTYPE setting in /etc/make.conf, I've tried rebuilding the world without CPUTYPE, and that fixes the problem too. When /bin/sh has been compiled using CPUTYPE, it dies on the following line in MAKEDEV (about line 334): sh MAKEDEV i4btel0 i4btel1 i4bteld0 i4bteld1 # cdev, ISDN It then prints garbage all over the place. I have no idea _why_ it dies, because it shouldn't, really. ;) But if you simply split the line into: sh MAKEDEV i4btel0 i4btel1 # cdev, ISDN sh MAKEDEV i4bteld0 i4bteld1 # cdev, ISDN it doesn't die anymore. (I found this out by just fiddling around a bit with these lines.) However, the proper solution is to follow the instructions from /etc/defaults/make.conf, which say: # If you experience any problems after setting this flag, please unset # it again before submitting a bug report or attempting to modify code. # It may be that certain types of software will become unstable after being # compiled with processor-specific (or higher - see below) optimization flags. # If in doubt, do not set CPUTYPE or CFLAGS to non-default values. So I'm now in the process of removing CPUTYPE from all FreeBSD boxes I manage, and rebuilding them. :) Cheers, - -- Dimitry Andric PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i Comment: http://www.gn.apc.org/duncan/stoa_cover.htm iQA/AwUBO6eriLBeowouIJajEQIoegCg8K8S9uvp0Wzu5qPvTwkn4/hpUtEAoK4/ preR3mIRAoBbR1w0bFRjZ8Ph =2/l9 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message