From owner-freebsd-stable Sun Oct 1 16:19:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id CF4DE37B502 for ; Sun, 1 Oct 2000 16:19:38 -0700 (PDT) Received: from [212.126.143.46] (helo=viewport.clara.co.uk) by oracle.clara.net with esmtp (Exim 2.12 #2) id 13fsON-0004Fm-00 for freebsd-stable@freebsd.org; Mon, 2 Oct 2000 00:19:36 +0100 Content-Length: 6124 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-No-Archive: yes Date: Mon, 02 Oct 2000 00:19:28 +0100 (BST) Organization: David_Marsh@home: see signature for organisation From: David Marsh To: FreeBSD-Stable LIST Subject: Order of 'make's in updating from 3.2 -> RELENG_4 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Apologies if this is a repeated post. I think my computer may have goofed when I tried to send this initially..] I am currently running FreeBSD 3.2, which I installed from the distribution CDs. I would like to update to 4.x (mainly to see if I can get my soundcard (SoundBlaster 16 PCI) to work, and because I notice that my system can't make some of the newer ports, and, also, "it's about time.." ;-) After weeks of dithering through fear, I finally took the plunge to try cvsup, and I was *very* impressed at how easily it worked :-) Here's the background, and now I'm unsure how to proceed next.. I apologise if these are stupid questions, but having heeded the warnings on this list about the risks about doing what one thought was right (and discovering that it wasn't, with (very) nasty things happening instead), I'd like to be very clear whether I am Doing The Right Thing at all times! I'm now at the stage where, over the past few days, I have cvsup'ped my sources to RELENG_4: because I'm sharing the phone line with others, I've been cvsup'ping in "chunks", for about an hour each night (and stopping cvsup from the GUI before I hang up, each time), until my system is up to date. (I assume that everything is now up to date, because if I try to cvsup again, it seems happy that it has everything it needs..? My cvsup file fetches 'src-all' with the following settings: *default host=cvsup.uk.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix However, I'm unsure about the following: ## Export-restricted collections. # # Only people in the USA and Canada may fetch these collections. If # you are not in the USA or Canada, please use the collections in the # "secure-supfile" instead. #src-crypto #src-eBones #src-secure If I understand correctly, it's no longer prohibited for persons outwith the USA (with the exception of a certain few countries) to retrieve these files. Are these files now fetched as part of src-all, or must I still fetch them separately somehow before I can upgrade? I have also read the Handbook section on "make world" and /usr/src/UPDATING. /usr/src/UPDATING mentions various occasions when changes (after 3.2 was released) to the sources have required remakes of either the kernel or the world, eg: 19990929 sigset_t change 199912xx change from wd to ad 20000117 texinfo updated (mildly curious why this requires such a 'big fix'?) [..and various other things ominously recommending remaking..] This induces a sense of fear that my planned upgrade may be tricker (impossible?) than thought. Or, is it the case that these entries *only* affect "people upgrading from earlier [than 3.x?] versions of -stable/-current" as the file says, and that I don't need to worry about these? How does the change from wd to ad affect me? (Is wd still present, so I can worry about changing to ad 'later'?) If I can do an upgrade, when I compare the Handbook and "UPDATING", I'm unsure which I should follow with regard to the following conflict (I know the Handbook does say that UPDATING normally takes precedence): The Handbook says: ------------------ [check /etc/make.conf (I don't have /etc/defaults/make.conf) and /etc/groups [done, seem OK]] cd /usr/src make buildworld make installworld *then* make a new kernel (How? UPDATING also appears to suggest that making the kernel has also been split into two build/install parts, or do I use the 'old' way?) UPDATING says: -------------- (Under the section "To update from 3.x to 4.x stable") cd /usr/src make buildworld [Does this mean I should _actually_ build/install a kernel at this point (before installworld), as described a couple of paragraphs earlier in UPDATING?] cd /usr/src/sbin/mknod make install [Could somebody tell me exactly how to convert the pseudocode ("list of disk/slices") into what I should type in? I'm always a bit fuzzy about how exactly I should refer to disks/slices.. My system is currently setup as follows: /dev/wd2s2b none swap /dev/wd2s2a / ufs /dev/wd2s2f /usr ufs /dev/wd2s2e /var ufs /dev/wcd0c /cdrom cd9660 # /dev/wd0s2a /mnt/bkp ufs /dev/wd0s1 /mnt/mfsc msdos /dev/wd2s1 /mnt/mfsd msdos proc /proc procfs (Yes, the disk that FreeBSD is installed on is attached to the primary thingie [1] on the second IDE controller. I have "root_disk_unit=2" in /boot/loader.conf to enable my boot sequence to work properly. I realise that this is a slightly unusual setup, is it likely to cause any problems here? [1] My vocabulary has failed me at this time of night: I mean, channel, connector, port, whatever-you-call-it..] reboot [Does this mean to do a complete and total reboot? (ie, shutdown -r, right down to the BIOS starting up again?)] cd /usr/src cd gnu/usr.bin/texinfo/install-info make install cd ../../../.. ldconfig -R /usr/obj/usr/src/lib/libc make installworld [5] [There is no Footnote 5!? :-( ] mergemaster [4] reboot The order of installworld, mergemaster, updating /dev, and remaking the kernel, are different in the two descriptions. Should I follow UPDATING as it says? Is it right to make a new kernel before doing installworld and all the rest? Once again, I apologise if these are extraordinarily daft questions. Many thanks for any help/advice! David. -- David Marsh,drmarsh@bigfoot.com | http://www.viewport.co.uk/ | Glasgow, Scotland. | If urgent, phone: +44 77-121-848-90 | >Trim quotes b4 replying; Quote 1st, reply 2nd; Ask b4 attaching files< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message