From owner-freebsd-stable Sun Dec 31 10: 2: 8 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 31 10:02:05 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mukappa.home.com (c576194-a.saltlk1.ut.home.com [24.20.97.5]) by hub.freebsd.org (Postfix) with ESMTP id 5724F37B400 for ; Sun, 31 Dec 2000 10:02:04 -0800 (PST) Received: from mukappa.home.com (localhost.home.com [127.0.0.1]) by mukappa.home.com (8.11.1/8.11.1) with SMTP id eBVI1H116626 for ; Sun, 31 Dec 2000 11:01:17 -0700 (MST) (envelope-from mupi@mknet.org) From: Mike Porter Reply-To: mupi@mknet.org To: freebsd-stable@freebsd.org Subject: 4.2-stable "install" broken? Date: Sun, 31 Dec 2000 11:01:16 -0700 X-Mailer: KMail [version 1.1.94] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00123111011601.01423@mukappa.home.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi all, CVSUP'd last night, make buildworld on my way to bed.... make buildkernel OK I learned the Hard Way(tm) to keep a functional kernel backup other than kernel.old <(}: so: #cp /kernel /kernel.works #mv /modules /modules.works #make installkernel fails to create the new modules directory (this used to work). I didn't catch it, and needless to say the kernel was a bit unhappy when it rebooted and couldn't find its modules. So.... #rm /modules (a file not a directory this time) #cd /usr/src/compile/MYKERNEL #make depend #make #make install once again, install creates a file called /modules rather than a directory /modules. so.... #rm /modules #mkdir /modules #make install works fine. Once again, this *USED* to work before I CVSUP'd last night; the kernel install routine, on detecting no /modules directory would create it correctly as a directory prior to putting all the files in. Now, it tries to put all the files into one big file, and neddless to say the kernel can't find, for example, /modules/linux.ko becuase there is no directory /modules/. It isn't terribly difficult to work around, and once you are aware of it, it shouldn't burn you again, but it WAS rather a pain, the more so because the last time I did this (working on a sound driver port) it worked, so I expected it to work this time. Anyway, happy new year all, hopefully if it is *supposed* to work this way, maybe knowing it will save someone else a bit a of grief, and if it is *not* supposed to work this way, then someone can do something about it....shouldn't be terribly difficult in the makefile to check for the existence of /modules/ (as a directory) and create it first if it doesn't exist..... mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjpPdGwACgkQZ7GovTQbIm5tygCfSlbA/WtNwzBsw+YjJAFm+0u0 Y/YAnRxaTA49IfHwoCJnFiwnhmeCDkpx =ovpe -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message