Hi folks -- sorry to be a nag, but my main production system is barely limping along on an old kernel with mismatched libraries. I have no idea what else to do -- please help! --- I'm upgrading 5-stable (was at 5.5) to 6-stable, in preparation for 6-stable to 7-stable. No problems with cvsup, make buildworld, make installworld, make buildkernel, mergemaster -p. make installkernel, boot to single user. Then mergemaster -- blammo: config /usr/src/etc/../usr.bin/mail/misc/mail.rc /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap /var/tmp/temproot/etc; cap_mkdb -l /var/tmp/temproot/etc/login.conf; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /var/tmp/temproot/etc; install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /var/tmp/temproot/etc; pwd_mkdb -L -i -p -d /var/tmp/temproot/etc /var/tmp/temproot/etc/master.passwd cap_mkdb: illegal option -- l usage: cap_mkdb [-v] [-f outfile] file [file ...] *** Error code 1 Stop in /usr/src/etc. *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment I've checked, the directory is there (/var/tmp/temproot/etc) however the file (master.passwd) is not. Any suggestions anyone? Thanks! -- Mike Lempriere- Home: mike@vintners.net Phone: 206-780-2146 Cellphone: 206-200-5902; text pager: mikelemp@tmail.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Lempriere wrote:> Hi folks -- sorry to be a nag, but my main production system is barely > limping along on an old kernel with mismatched libraries. I have no > idea what else to do -- please help! > --- > I'm upgrading 5-stable (was at 5.5) to 6-stable, in preparation for > 6-stable to 7-stable. > No problems with cvsup, make buildworld, make installworld, make > buildkernel, mergemaster -p. > make installkernel, boot to single user. Then mergemaster -- blammo:Looks like you did it in wrong sequence and the system is picking up a stale cap_mkdb. Could you try mergemaster -p, then make installworld, then mergemaster -i?> config /usr/src/etc/../usr.bin/mail/misc/mail.rc > /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap > /var/tmp/temproot/etc; cap_mkdb -l /var/tmp/temproot/etc/login.conf; > install -o root -g wheel -m 755 netstart pccard_ether rc.suspend > rc.resume /var/tmp/temproot/etc; install -o root -g wheel -m 600 > master.passwd nsmb.conf opieaccess /var/tmp/temproot/etc; pwd_mkdb -L > -i -p -d /var/tmp/temproot/etc /var/tmp/temproot/etc/master.passwd > cap_mkdb: illegal option -- l > usage: cap_mkdb [-v] [-f outfile] file [file ...] > *** Error code 1 > > Stop in /usr/src/etc. > > *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to > the temproot environment > > I've checked, the directory is there (/var/tmp/temproot/etc) however the > file (master.passwd) is not. > > Any suggestions anyone? Thanks! >- -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkllg1cACgkQi+vbBBjt66BPDwCfXKGJJlgtJ7LY7V99gcnrCmoe 1PwAnj9tqhJ4W0yutxkzxj8j9idyfAUc =8dCN -----END PGP SIGNATURE-----
Mike Lempriere wrote:> Hi folks -- sorry to be a nag, but my main production system is barely > limping along on an old kernel with mismatched libraries. I have no > idea what else to do -- please help! > --- > I'm upgrading 5-stable (was at 5.5) to 6-stable, in preparation for > 6-stable to 7-stable. > No problems with cvsup, make buildworld, make installworld, make > buildkernel, mergemaster -p. > make installkernel, boot to single user. Then mergemaster -- blammo:What is your exact make sequences are? I usually do this way: # csup /usr/share/examples/cvsup/standard-supfile # cd /usr/src here I usually softlink my kernel config file in /root directory to appropriate architecture one and edit /etc/make.conf: --------------------------------------------------------------------------- SUP_UPDATE=yes SUPHOST=cvsup.no.FreeBSD.org SUPFILE=/usr/share/examples/cvsup/standard-supfile PORTSSUPFILE=/usr/share/examples/cvsup/ports-supfile DOCSUPFILE=/usr/share/examples/cvsup/doc-supfile KERNCONF=KERNEL --------------------------------------------------------------------------- /usr/src/sys/amd64/conf KERNEL -> /root/kernel/KERNEL # make buildkernel # make installkernel # make buildworld # mergemaster -p # make installworld # mergemaster NOTE: I do not reboot my system until everything is updated. Why it is necessary to boot new kernel and then upgrade world is beyound me..YMMW