make installworld problem
Hello, I am having some problems with CVSup, I am following the instructions in Absolute BSD - Michael Lucas Chapter 6. I follow the instructions in the book and everything works up untill make installworld. The steps I took are as follows; - Installed CVSup # cd /usr/ports/net/cvsup # make all install clean - selected supfile # cp /usr/share/examples/cvsup/stable-supfile /usr/src -edited the supfile to update to the latest STABLE version, -upgrade all ports and doc's - executed cvsup I was not using X and the supfile said to use the following command and not cvsp-supfile # cvsup -g -L 2 stable-supfile The upgrade of the system source code completed without any errors. - Building the new FreeBSD # cd /usr/src # make buildworld This command completed without any errors - Updating the kernel # make buildkernel KERNCONF=GENERIC no errors - installing the system # make installkernel no errors I then rebooted the system, everything seemed to work fine. Once the system rebooted I logged in as root. The book I am reading that in order to install the rest of the system, I need to drop down to single-user mode. I ran the following; # shutdown now I then went to install the userland programs with the following; # cd /usr/src # make installworld This is where I hit a brick wall. I get the following ouput - required proxy user is missing - error code 1 - see /usr/src/UPDATING I open the said file but am not sure what I am looking for. I went all the way down to 2002 but found no mention of proxy or user. I have tried to do the CVSup again and not run # shutdown now but I still get the same result. What have I done wrong? Have I left anything out? I hope that I have provided you with enough information. Thanks, Brett === You take the blue pill and the story ends. You wake in your bed and you believe whatever you want to believe. You take the red pill and you stay in wonderland, and I show you how deep the rabbit hole goes == ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installworld problem
From /usr/src/UPDATING on my 5.3-STABLE machine... 20040308: The packet filter (pf) is now installed with the base system. Make sure to run mergemaster -p before installworld to create required user account (proxy). If you do not want to build pf with your system you can use the NO_PF knob in make.conf. Also note that pf requires options PFIL_HOOKS in the kernel. The pf system consists of the following three devices: device pf # required device pflog # optional device pfsync # optional On 4/30/05, Brett Wiggins [EMAIL PROTECTED] wrote: Hello, I am having some problems with CVSup, I am following the instructions in Absolute BSD - Michael Lucas Chapter 6. I follow the instructions in the book and everything works up untill make installworld. The steps I took are as follows; - Installed CVSup # cd /usr/ports/net/cvsup # make all install clean - selected supfile # cp /usr/share/examples/cvsup/stable-supfile /usr/src -edited the supfile to update to the latest STABLE version, -upgrade all ports and doc's - executed cvsup I was not using X and the supfile said to use the following command and not cvsp-supfile # cvsup -g -L 2 stable-supfile The upgrade of the system source code completed without any errors. - Building the new FreeBSD # cd /usr/src # make buildworld This command completed without any errors - Updating the kernel # make buildkernel KERNCONF=GENERIC no errors - installing the system # make installkernel no errors I then rebooted the system, everything seemed to work fine. Once the system rebooted I logged in as root. The book I am reading that in order to install the rest of the system, I need to drop down to single-user mode. I ran the following; # shutdown now I then went to install the userland programs with the following; # cd /usr/src # make installworld This is where I hit a brick wall. I get the following ouput - required proxy user is missing - error code 1 - see /usr/src/UPDATING I open the said file but am not sure what I am looking for. I went all the way down to 2002 but found no mention of proxy or user. I have tried to do the CVSup again and not run # shutdown now but I still get the same result. What have I done wrong? Have I left anything out? I hope that I have provided you with enough information. Thanks, Brett === You take the blue pill and the story ends. You wake in your bed and you believe whatever you want to believe. You take the red pill and you stay in wonderland, and I show you how deep the rabbit hole goes == ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make installworld problem with stable upgrade.
Hello all, Since yesterday (French time), i try to update a fresh install of 4.8 release to stable, and cvsuped sources many many times. Here is the error i got while make installworld: ln: /usr/share/locale/am_ET.UTF8/LC_COLLATE: No such file or directory *** Error code 1 Is something going wrong ? did i caught the middle of a comit ? thanks for help. Regards, Sam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installworld problem with stable upgrade.
On Thu, Aug 21, 2003 at 04:55:39PM +0200, Shobaki sam. wrote: Hello all, Since yesterday (French time), i try to update a fresh install of 4.8 release to stable, and cvsuped sources many many times. Here is the error i got while make installworld: ln: /usr/share/locale/am_ET.UTF8/LC_COLLATE: No such file or directory *** Error code 1 Is something going wrong ? did i caught the middle of a comit ? thanks for help. That's pretty much exactly correct. The fix went into /usr/src/etc/mtree/BSD.usr.dist about an hour ago, so try cvsup'ing again now. (You need version 1.188.2.43 of that file if you're tracking 4-STABLE). http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/mtree/BSD.usr.dist?only_with_tag=RELENG_4 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: make installworld problem with stable upgrade.
On Thu, Aug 21, 2003 at 05:08:52PM +0100, Matthew Seaman wrote: On Thu, Aug 21, 2003 at 04:55:39PM +0200, Shobaki sam. wrote: Hello all, Since yesterday (French time), i try to update a fresh install of 4.8 release to stable, and cvsuped sources many many times. Here is the error i got while make installworld: ln: /usr/share/locale/am_ET.UTF8/LC_COLLATE: No such file or directory *** Error code 1 Is something going wrong ? did i caught the middle of a comit ? thanks for help. That's pretty much exactly correct. The fix went into /usr/src/etc/mtree/BSD.usr.dist about an hour ago, so try cvsup'ing again now. (You need version 1.188.2.43 of that file if you're tracking 4-STABLE). http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/mtree/BSD.usr.dist?only_with_tag=RELENG_4 Actually, I take that all back. The fix in BSD.usr.dist introduces a new directory: /usr/share/locale/am_ET.UTF8 Unfortunately the rest of the make installworld process is expecting: /usr/share/locale/am_ET.UTF-8 Now you need version 1.188.2.44 which has the correct fix in it, as of 7 minutes ago. Unfortunately that's too recent for it to have propagated to the cvsup server I usually use. Oh well, it's not like I have that much use for the amaharic locale... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: make installworld problem (4.7 p2 - p7)
Hi again Nobody has answered in the last week, so I will try again. I have installed 4.7 on a i386. I have upgraded to p2 and now want to upgrade p7. All my drives are mounted locally (on the same computer) and I try to upgrade the system as I always have with: make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD reboot make installworld I reboot the system and it is running the p7 kernel. I have mounted all my drives with rw (not using noexec or nosuid) and I have lots of space. When I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.54110 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.54110; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 I have tried deleting /usr/src/* and /usr/obj/*, getting all the source again and buildworld perfectly. My securelevel is -1. Please cc to me as I am not on the list. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld problem (4.7 p2 - p7)
On Thu, Mar 13, 2003 at 03:47:58PM +0100, Socketd wrote: Hi again Nobody has answered in the last week, so I will try again. I have installed 4.7 on a i386. I have upgraded to p2 and now want to upgrade p7. All my drives are mounted locally (on the same computer) and I try to upgrade the system as I always have with: make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD reboot make installworld I reboot the system and it is running the p7 kernel. I have mounted all my drives with rw (not using noexec or nosuid) and I have lots of space. When I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.54110 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.54110; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Maybe you should try to check what will say 'which awk', 'which cat' ... but in any way I can't understand why it need to do it all. In result of executing this command sequence will be file /tmp/install.54110 which will contain zic. Also you may check how `[' accepted by shell. It must be simple word and must not change of mean any of symbols around it. -- With best wishes Nikolay mail: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld problem (4.7 p2 - p7)
On Thu, Mar 13, 2003 at 03:47:58PM +0100, Socketd wrote: Hi again Nobody has answered in the last week, so I will try again. I have installed 4.7 on a i386. I have upgraded to p2 and now want to upgrade p7. All my drives are mounted locally (on the same computer) and I try to upgrade the system as I always have with: make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD reboot make installworld I reboot the system and it is running the p7 kernel. I have mounted all my drives with rw (not using noexec or nosuid) and I have lots of space. When I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.54110 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.54110; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 I have tried deleting /usr/src/* and /usr/obj/*, getting all the source again and buildworld perfectly. My securelevel is -1. Please cc to me as I am not on the list. This came up a couple of weeks ago. In that case, the file '[' was missing, and you need to make a link. The first iteration through the for loop will fail, because `which $prog` returns nothing - causing the whole thing to choke. This is why you see the cp usage message - effectively, it is trying to run cp /tmp/install.54110, which does not have the right number of arguments. # ln /bin/test /bin/[ should do the trick. Rerun the installworld and it should work. Provided that was the problem... ;-) HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld problem (4.7 p2 - p7
Damn, sorry for posting the message twice (Balsa did a number on me!). Daniel and Nikolay you were right, test was missing from /bin and when I copied it there and ran make installworld again, it worked! So a big thank you to all who replied :-) br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
Hi all I have just surfed [EMAIL PROTECTED]'s arkive and could see that some of you have replied to me first post, but didn't see the Please CC to me as I am not on the list remark. So I will answer you now, that I have seen the mails. From: taxman [EMAIL PROTECTED] Did single user mode help you? Sadly no :-) From: Lowell Gilbert Looks like one of those programs isn't there. Can you find them in the obj tree? I will show you what is in: /usr/obj/usr/src/bin /bin and /usr/src/bin /usr/obj/usr/src/bin cat dd hostnamepax rmdir chiodf killps sh chmod domainname ln pwd sleep cp echols rcp stty csh ed mkdir rm sync dateexprmv rmail test /bin [ dd killps rmdir cat df linkpwd sh chiodomainname ln rcp sleep chmod echols realpathstty cp ed mkdir red sync csh exprmv rm tcsh datehostnamepax rmail unlink /usr/src/bin Makefiledatehostnameps sleep Makefile.incdd killpwd stty cat df ln rcp sync chiodomainname ls rm test chmod echomkdir rmail cp ed mv rmdir csh exprpax sh When I make installworld I get a dir in /tmp with these files: loadmaster# cd /tmp/install.218/ [ chown grepmv sh awk dateln perlsysctl cat echomakepwd_mkdb chflags egrep makewhatis rm chmod findmtree sed If we take a look at the error message again: mkdir -p /tmp/install.218 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.218; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 It seems like there is a problem when copying test? Hope this makes sence to some of you. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote: The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter, no he didn't. He did the basic steps in the right order. read carefully: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html The only thing I can see he missed is in section 21.4.8 Reboot into Single User Mode. Did single user mode help you? Tim At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message --- --- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
I've upgraded many servers remotely without ever booting into single user mode... The steps I do are as follows: 1) cvsup -g -L 2 stable-supfile (from /usr/src/cvsup) 2) make buildworld (from /usr/src) 3) make installworld (from /usr/src) 4) modify my kernel (from /usr/src/sys/i386/conf/KERNEL NAME) 5) make buildkerenel (from /usr/src) 6) make installkernel (from /usr/src) 7) reboot 8) run mergemaster I've done it this way for the past 3 years and it has never failed me yet. Peter At 12:45 PM 3/5/2003 -0500, you wrote: On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote: The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter, no he didn't. He did the basic steps in the right order. read carefully: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html The only thing I can see he missed is in section 21.4.8 Reboot into Single User Mode. Did single user mode help you? Tim At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message --- --- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
In [EMAIL PROTECTED], Peter Elsner [EMAIL PROTECTED] typed: The steps I do are as follows: 1) cvsup -g -L 2 stable-supfile (from /usr/src/cvsup) 2) make buildworld (from /usr/src) 3) make installworld (from /usr/src) 4) modify my kernel (from /usr/src/sys/i386/conf/KERNEL NAME) 5) make buildkerenel (from /usr/src) 6) make installkernel (from /usr/src) 7) reboot 8) run mergemaster I've done it this way for the past 3 years and it has never failed me yet. You've been lucky. Things other than the handbook order can - and often do - work. But the order in the handbook was carefully worked out to minimize the risk you are taking in doing the upgrade. For instance, by doing the installworld before rebooting on the new kernel, you're committing yourself to running the new kernel before you know if it'll boot or not. Since kernels have to support old binaries, but not vice versa, you can usually reboot with the new kernel and old world and have it work. I do that regularly when upgrading systems with src/obj mounted via nfs. Also, you need at least one last reboot. Running mergemaster changes configuration files that are used at system startup. Unless you reboot after running mergemaster, you risk those changes not taking effect. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Major upgrades and vinum (was Re: Make installworld problem (4.7))
At 2003-03-05T18:04:14Z, Mike Meyer [EMAIL PROTECTED] writes: Since kernels have to support old binaries, but not vice versa, you can usually reboot with the new kernel and old world and have it work. Sometimes, though you can't. I've found myself in the situation where the old version of vinum(8) wouldn't run against the new kernel, further complicated by the fact that the new vinum was in /usr/obj, which is on a vinum volume. This hasn't been a problem in well over a year, but it bit me hard once. Is there an officially-supported guaranteed-to-work method for handling this? I've been doing: make buildworld cp /usr/obj/usr/src/sbin/vinum/vinum /sbin/vinum.new ... just in case. Is this still a necessary step? -- Kirk Strauser In Googlis non est, ergo non est. pgp0.pgp Description: PGP signature
Re: Major upgrades and vinum (was Re: Make installworld problem (4.7))
On Wednesday, 5 March 2003 at 13:40:50 -0600, Kirk Strauser wrote: At 2003-03-05T18:04:14Z, Mike Meyer [EMAIL PROTECTED] writes: Since kernels have to support old binaries, but not vice versa, you can usually reboot with the new kernel and old world and have it work. Sometimes, though you can't. I've found myself in the situation where the old version of vinum(8) wouldn't run against the new kernel, further complicated by the fact that the new vinum was in /usr/obj, which is on a vinum volume. This hasn't been a problem in well over a year, but it bit me hard once. Is there an officially-supported guaranteed-to-work method for handling this? I've been doing: make buildworld cp /usr/obj/usr/src/sbin/vinum/vinum /sbin/vinum.new ... just in case. Is this still a necessary step? Interesting question. I need to think about an elegant way of solving it. In the past we always did a make world before building a kernel, so it wasn't an issue. Certainly it's a good idea to install the new vinum(8) before rebooting. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
Make installworld problem (4.7-p2 - p7)
Hi all I have a i386 computer with FreeBSD 4.7-p2 installed. I have downloaded the source to 4.7-p7 and cd to /usr/src. Here I ran: make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD rebooted into single user mode and did a uname -a: FreeBSD loadmaster 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Tue Mar 4 15:09:32 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But when I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.362 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.362; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I hope someone can help. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7-p2 - p7)
On Wed, Mar 05, 2003 at 08:26:00PM +0100, [EMAIL PROTECTED] wrote: Hi all I have a i386 computer with FreeBSD 4.7-p2 installed. I have downloaded the source to 4.7-p7 and cd to /usr/src. Here I ran: make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD rebooted into single user mode and did a uname -a: FreeBSD loadmaster 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Tue Mar 4 15:09:32 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But when I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.362 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.362; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Let me guess, you have /tmp mounted on a MFS? Kris pgp0.pgp Description: PGP signature
Re: Make installworld problem (4.7-p2 - p7)
On Wednesday 05 March 2003 11:26 am, [EMAIL PROTECTED] wrote: Hi all I have a i386 computer with FreeBSD 4.7-p2 installed. I have downloaded the source to 4.7-p7 and cd to /usr/src. Here I ran: make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD rebooted into single user mode and did a uname -a: FreeBSD loadmaster 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Tue Mar 4 15:09:32 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But when I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.362 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.362; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I hope someone can help. Do you have /tmp set so that it is non-exec? Kent br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7-p2 - p7) (reply to all)
On Wed, 5 Mar 2003, Kris Kennaway wrote: Date: Wed, 5 Mar 2003 11:34:26 -0800 To: [EMAIL PROTECTED] From: Kris Kennaway [EMAIL PROTECTED] Subject: Re: Make installworld problem (4.7-p2 - p7) But when I cd to /usr/src and type make installworld I get: mkdir -p /tmp/install.362 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.362; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Let me guess, you have /tmp mounted on a MFS? Nope From: Joshua Lokken [EMAIL PROTECTED] At this point I have to ask, (maybe a dumb question), but did you reboot into single-user mode after you tested the new kernel, before you did 'make installworld'? I rebooted normally to check if the kernel worked, it did, so I rebooted again and used boot -s to get single user mode. From: Kent Stewart [EMAIL PROTECTED] Do you have /tmp set so that it is non-exec? Ah, I just thought that was it, I removed noexec on /tmp and /var/tmp, but I still get the error. This is how it is mounted now: /dev/ad0s1a / ufs rw 1 1 /dev/ad1s1e /home ufs rw,nosuid 2 2 /dev/ad0s1e /tmp ufs rw,nosuid 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1g /var ufs rw,nosuid 2 2 /dev/ad0s1h /var/tmp ufs rw,nosuid 2 2 procfs /proc procfs rw 0 0 Btw I am not on the list, so please CC to me. br socketd ps: securelevel = -1 so that is not it either. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
[EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Make installworld problem (4.7)
Hi all I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Make Installworld problem
I loaded FreebSD 4.7 last night and installed cvsup this morning. Cvsupped -current and ran buildworld without problem, however when I attempt to run 'make installworld' I get the follow error. What does this mean exactly? Thanks Anthony Running test variables PASS: Test variables detected no regression, output matches. Running test targets PASS: Test targets detected no regression. Running test sysvmatch PASS: Test sysvmatch detected no regression. Running test lhs_expn PASS: Test lhs_expn detected no regression. Running test notdef PASS: Test notdef detected no regression. Running test modifiers PASS: Test modifiers detected no regression. Running test funny_targets PASS: Test funny_targets detected no regression. Checking to see if your booted kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo Testing installed kernel for new sigaction(2) syscall' Bad system call (core dumped) *** Error code 140 Stop in /usr/src. *** Error code 1 Stop in /usr/src. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make Installworld problem
On Sat, Dec 07, 2002 at 12:35:46PM -0500, Anthony Abby wrote: I loaded FreebSD 4.7 last night and installed cvsup this morning. Cvsupped -current and ran buildworld without problem, however when I attempt to run 'make installworld' I get the follow error. What does this mean exactly? It means you're not following the upgrade directions. Kris msg11381/pgp0.pgp Description: PGP signature
Re: Make Installworld problem
On Sat, Dec 07, 2002 at 03:39:16PM -0800, Kris Kennaway wrote: On Sat, Dec 07, 2002 at 12:35:46PM -0500, Anthony Abby wrote: I loaded FreebSD 4.7 last night and installed cvsup this morning. Cvsupped -current and ran buildworld without problem, however when I attempt to run 'make installworld' I get the follow error. What does this mean exactly? Look in /usr/src/UPDATING. It gives step by step instructions. Either there, or somewhere on the FreeBSD website, they do mention that one should avoid the shortcuts that some of us often take. Experience has shown that they're correct. :-( . The instructions are fairly straightforward. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: It's time for me to act like a man... and hide. msg11382/pgp0.pgp Description: PGP signature
Re: Make Installworld problem
On Sat, 2002-12-07 at 18:39, Kris Kennaway wrote: On Sat, Dec 07, 2002 at 12:35:46PM -0500, Anthony Abby wrote: I loaded FreebSD 4.7 last night and installed cvsup this morning. Cvsupped -current and ran buildworld without problem, however when I attempt to run 'make installworld' I get the follow error. What does this mean exactly? It means you're not following the upgrade directions. Yeah I figured as much.. but WHAT did I not do.. that's the question. Is there anyway of telling from the error I posted? Anthony To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make Installworld problem
On Sat, Dec 07, 2002 at 07:58:41PM -0500, Anthony Abby wrote: On Sat, 2002-12-07 at 18:39, Kris Kennaway wrote: On Sat, Dec 07, 2002 at 12:35:46PM -0500, Anthony Abby wrote: I loaded FreebSD 4.7 last night and installed cvsup this morning. Cvsupped -current and ran buildworld without problem, however when I attempt to run 'make installworld' I get the follow error. What does this mean exactly? It means you're not following the upgrade directions. Yeah I figured as much.. but WHAT did I not do.. that's the question. Is there anyway of telling from the error I posted? You ran installworld in the wrong order. Go back and read UPDATING. Kris msg11386/pgp0.pgp Description: PGP signature
Re: make installworld problem - Error code 71
[EMAIL PROTECTED] writes: Hi. I have have FreeBSD 4.6-RC. I cvsuped to RELENG_4. I did: make buildworld - ok. make buildkernel KERNCONF=KKK- ok make installkernel KERNCONF=KKK - ok. But make installworld gave me an error: === usr.bin/pathchk install -s -o root -g wheel -m 555 pathchk /usr/bin *** Error code 71 Stop in /usr/src/usr.bin/pathchk. *** Error code 1 try ls -lo /usr/bin/pathchk To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make installworld problem with pathchk
Hi. I have have FreeBSD 4.6-RC. I cvsuped to RELENG_4. I did: make buildworld - ok. make buildkernel KERNCONF=KKK- ok make installkernel KERNCONF=KKK - ok. But make installworld gave me an error: === usr.bin/passwd [ ! -e /usr/bin/passwd ] || chflags noschg /usr/bin/passwd || true [ ! -e /usr/bin/yppasswd ] || chflags noschg /usr/bin/yppasswd || true install -s -o root -g wheel -m 4555 passwd /usr/bin install -o root -g wheel -m 444 passwd.1.gz /usr/share/man/man1 /usr/share/man/man1/yppasswd.1.gz - /usr/share/man/man1/passwd.1.gz /usr/bin/yppasswd - /usr/bin/passwd chflags schg /usr/bin/passwd === usr.bin/paste install -s -o root -g wheel -m 555 paste /usr/bin install -o root -g wheel -m 444 paste.1.gz /usr/share/man/man1 === usr.bin/pathchk install -s -o root -g wheel -m 555 pathchk /usr/bin *** Error code 71 Stop in /usr/src/usr.bin/pathchk. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What does it mean? Thanks for help. Tom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make installworld problem - Error code 71
Hi. I have have FreeBSD 4.6-RC. I cvsuped to RELENG_4. I did: make buildworld - ok. make buildkernel KERNCONF=KKK- ok make installkernel KERNCONF=KKK - ok. But make installworld gave me an error: === usr.bin/passwd [ ! -e /usr/bin/passwd ] || chflags noschg /usr/bin/passwd || true [ ! -e /usr/bin/yppasswd ] || chflags noschg /usr/bin/yppasswd || true install -s -o root -g wheel -m 4555 passwd /usr/bin install -o root -g wheel -m 444 passwd.1.gz /usr/share/man/man1 /usr/share/man/man1/yppasswd.1.gz - /usr/share/man/man1/passwd.1.gz /usr/bin/yppasswd - /usr/bin/passwd chflags schg /usr/bin/passwd === usr.bin/paste install -s -o root -g wheel -m 555 paste /usr/bin install -o root -g wheel -m 444 paste.1.gz /usr/share/man/man1 === usr.bin/pathchk install -s -o root -g wheel -m 555 pathchk /usr/bin *** Error code 71 Stop in /usr/src/usr.bin/pathchk. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What does it mean? Thanks for help. Tom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message