| Summary: | make installworld error when upgrading from 3.1-RELEASE to 3.5.1-RELEASE | ||
|---|---|---|---|
| Product: | Base System | Reporter: | lazaro <lazaro> |
| Component: | i386 | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Overtaken by events. Sorry. |
From a fresh installed 3.1-RELEASE box (w/uncommented NOPROFILE=true and CFLAGS="-O -pipe" in /etc/make.conf), I downloaded and installed the 3.5.1-RELEASE source tree. Then I proceeded to make install & build-world as follows: cd /usr/obj && chflags -R noschg * && rm -rf * cd /usr/src && make buildworld && shutdown now Then From single user mode: fsck -p && mount -u / && mount -a -t ufs && swapon -a #Install the source: cd /usr/src && / make installworld && / cp -Rp /etc /etc.pre-mergemaster /usr/sbin/mergemaster -v When finished, # Update /dev: # if updating using mergemaster, MAKEDEV has been taken care of: cd /dev ./MAKEDEV all ./MAKEDEV wd0s3a ./MAKEDEV wd0s3b ./MAKEDEV wd0s3c ./MAKEDEV wd0s3d ./MAKEDEV wd0s3e ./MAKEDEV wd0s3f ./MAKEDEV wd0s3g ./MAKEDEV wd0s3h ./MAKEDEV acd0a ./MAKEDEV acd0c ./MAKEDEV acd1a ./MAKEDEV acd1c #Update /stand: cd /usr/src/release/sysinstall make all install Then I compiled and install a new kernel (GENERIC): cd /usr/src/sys/i386/conf PIKERNEL="3.3R-GENERIC" MYKERNEL="GENERIC" cp -p /kernel /kernel.${PIKERNEL}.`date + %Y%m%d_%H%M` cd /usr/src/sys/i386/conf && \ /usr/sbin/config ${MYKERNEL} && \ cd ../../compile/${MYKERNEL} && \ make clean && \ make depend && \ make && \ make install && \ And rebooted the machine. The machine restarted running the 3.5.1R GENERIC kernel (see uname -a output), although some files when "find / -type f -ls" showed a 3.3R date). I tried "make installworld" and redowloaded the source several times but got always the same error at the make installworld stage. A complete "script" log of the make buildworld installworld is available upon request and is 285193 bytes in zipped form. What follows is an exerpt of the most relevant messages: ----------------------------------------------------------------------- Script started on Tue Oct 17 07:51:28 2000 # cd /usr/src ; date ; make buildworld ; date ; cd /usr/src ; make installworld ; uname -a Tue Oct 17 07:53:23 GMT 2000 -------------------------------------------------------------- Fix: I do not know, but this might be aclue: I could detect something weird in the original src files (I checked also the files as of October 2000). I accidentally discovered this if one "cat" the ssys.?? > ssys.tgz gets a warning message from gzip (trailing garbage). Also, the file file ssys.bi has not the std size (240000 bytes?) although there here is a ssys.bj!! I never seen this before. I also tried to compile a GENERIC + ISDN kernel but got errors at the isdn link stage (sppattach) but this may be related to this PR so I wait. Also when cat How-To-Repeat: 1) Start from a fresh 3.1-R box (no additional config except in /etc/make.conf) installed from the official CD. 2) Install (as root) The 3.5.1-R source tree (from ftp site) : ./install all ; shutdown now cd /usr/src make buildworld .... as described in the handbook for FreeBSD previous to 4.x make installworld