Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2000 11:01:16 -0700
From:      Mike Porter <mupi@mknet.org>
To:        freebsd-stable@freebsd.org
Subject:   4.2-stable "install" broken?
Message-ID:  <00123111011601.01423@mukappa.home.com>

next in thread | raw e-mail | index | archive | help
-----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00123111011601.01423>