Re: Building Kernel and World with -j
On Sun, 22 Jan 2017 22:57:46 -0800 Walter Parker <walt...@gmail.com> wrote: > For decades there has always been a warning not to do parallel builds of > the kernel or the world (Linux kernel builds also suggest not to do this). > > Every once in a while, I see people post about 5 minutes. This only way I > can see this happening is by doing a parallel build (-j 16 on a Xeon > Monster box). > > Are parallel builds safe? If not, what are actual risk factors and can they > be mitigated? Not only do I use -j, I also use ccache. Another option is to use WITH_META_MODE=YES, that's where most of the 5-minute reports come from, I imagine. I haven't used it myself. My kernel takes 10 minutes with world taking about two hours. I generally just leave them building overnight. The risks of parallel builds are mostly in the past, concurrency was still just coming out and there were chances that something would get compiled before it's dependency, breaking your compile and wasting all of those hours. Cheers, -- Sergei Akhmatdinov My GPG public key: gpg --keyserver pgp.mit.edu --recv-keys AD800D99 pgpGLxb_q_7JW.pgp Description: OpenPGP digital signature
Re: [CFT] Call for testing pkg 1.5.0
Hi, On Tue, Mar 31, 2015 at 9:23 PM, Baptiste Daroussin b...@freebsd.org wrote: Add WITH_PKG=devel in your build make.conf then pkg upgrade will want you to upgrade to 1.4.99.16 (which is pkg 1.5.0 beta1) This does not work for me. # cat /etc/make.conf |grep PKG WITH_PKGNG=yes WITH_PKG=devel # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (218 candidates): 100% Processing candidates (218 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. # pkg -v 1.4.12 # pkg info |grep pkg pkg-1.4.12 Package manager Instead, the following succeded: # cd /usr/ports/ports-mgmt/pkg-devel # make reinstall ... # pkg -v 1.4.99.16 All the best, Sergei ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Messages from rc-scripts are not displayed at all
Hello. Yesss!!! At last we found the source of problem! The problem with displaying messages from rc-scripts caused by option dcons_crom in kernel (dumb console on Firewire). When it is enabled on PC with FireWire port, all output goes there instead of system console. Disabling this option solved the problem. So I have one more question - why this option causes so strange effect? This is a bug or a feature? -- .O. | Sergei Mozhaisky ..O | http://frenzy.org.ua/ OOO | http://frenzytechnix.livejournal.com/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messages from rc-scripts are not displayed at all
Hello. The problem is much more complex, I suppose. Not only rc-scripts messages aren't display, there are no messages at all, from any scripts and programs, started between kernel boot and login prompt. Strange. - What does ls -la /dev/console show? 0 crw--- 1 root wheel 0,23 7 Jun 09:50 /dev/console - Does a single user boot (boot -s) drop you to a 'normal' shell? No. Right after kernel messages there is nothing displayed (no command prompt, nothing at all). - Does a serial console work normally? PC with a problem is a notebook without COM-port. -- .O. | Sergei Mozhaisky ..O | http://frenzy.org.ua/ OOO | http://frenzytechnix.livejournal.com/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail-sasl port not work
Did you change your make.conf? Dear all: I find the sendmail-sasl port will not compile with the option SASLv2 and I can not get SMTP Auth. The port will install TLS and Cyrus-SASL but as I use the command --sendmail -d0.1 -bv root | grep SASL-- I can not find it compiled with SASL. Any solution to fix it. THX. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Messages from rc-scripts are not displayed at all
Hello everyone. Got a problem on FreeBSD 6.1. After kernel boot messages there are no messages from rc scripts until login prompt displayed (but rc scripts are started OK). Boot process looks like: Mounting root from /dev/ad0s1 last kernel message here is a long pause while rc scripts started FreeBSD/i386 (frenzy) (ttyv0) login: This bug was seen not on all computers. Currently I found 3 PC with this problem (two on AMD platform, one on Intel). Video adapters on them are also different. Any suggestions? -- .O. | Sergei Mozhaisky ..O | http://frenzy.org.ua/ OOO | http://frenzytechnix.livejournal.com/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messages from rc-scripts are not displayed at all
Hello. This bug was seen not on all computers. Currently I found 3 PC with this problem (two on AMD platform, one on Intel). Video adapters on them are also different. Any suggestions? Its really unlikely to be a video adapter problem. You could debug this by adding a 'set -x' to the beginning of /etc/rc. This does not help :( There is no output at all, commands aren't display too. The problem is much more complex, I suppose. Not only rc-scripts messages aren't display, there are no messages at all, from any scripts and programs, started between kernel boot and login prompt. But kernel messages displayed OK. For example, I've enabled fuse kernel module and tried to boot on such PC. Kernel message about Fuse version was displayed, but message Starting fusefs, which must be printed by starting script in /usr/local/etc, was not shown. -- .O. | Sergei Mozhaisky ..O | http://frenzy.org.ua/ OOO | http://frenzytechnix.livejournal.com/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
DEFAULTS file in 6.1
Hi all! What is the DEFAULTS file in /usr/src/sys/arch/conf for? Thanks :) ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5-Stable (5.4) any ipnat changes?
I have the same problem: After I cvsuped my system from 5.3 to 5.4, ipfilter (compiled in the my custom kernel) ipnat not start automatically. If I do /etc/rc.d/ipfilter start /etc/rc.d/ipnat start manually - all works fine... Lines ipfilner_enable=YES and ipnat_enable=YES present in the /etc/rc.conf. ~-Original Message- ~From: [EMAIL PROTECTED] ~[mailto:[EMAIL PROTECTED] On Behalf Of Billy Newsom ~Sent: Thursday, May 26, 2005 1:54 AM ~To: freebsd-stable@freebsd.org ~Subject: 5-Stable (5.4) any ipnat changes? ~ ~ ~Is there some reason why ipnat wouldn't automatically startup? ~ ~I just upgraded from a 5-stable in February to a 5-stable in ~May, so I ~could essentially get 5.4 on this firewall machine. I simultaneously ~was upgrading some ports, etc., but nothing too severe. When ~I rebooted ~the machine, everything looked fine. No problems whatsoever. ~ This was ~the first time that I compiled multiple kernels (normally I ~just compile ~a custom and not the generic), but that is not related. ~ ~What happened is that I had a strange problem receiving mail ~on the mail ~server. It took me quite a while to finally track down the ~problem. I ~ended up running a packet sniffer and still couldn't figure it out. ~Well, it turned out that the filters in ipnat weren't ~installed, and so ~all of the NAT routing wasn't happening as normal. ~ ~I have really never seen this server boot without NAT -- it's ~basically ~the same setup I've used for years and it never dawned on me ~what would ~happen if ipnat failed to run its filters. Meanwhile, ~IPFilter was busy ~running the firewall like normal. ~ ~I have looked at the logs in detail and I can't find anything ~that would ~have turned off ipnat or caused it not to run its filter. ~Nor, on the ~otherhand, do I see where ipnat logs anything, anyway. ~ ~Where would I look to track this down? Is it possible that ~something in ~ stable messed this up? ~ ~ ~# ls -l /etc/ipnat.rules ~-rw-r--r-- 1 root wheel 437 Mar 14 14:18 /etc/ipnat.rules ~ ~Notice no changes since March in that file. ~ ~# cat /etc/rc.conf | grep ip ~ipfilter_enable=YES # Set to YES to enable ipfilter ~functionality ~ipfilter_program=/sbin/ipf# where the ipfilter program lives ~ipfilter_rules=/etc/ipf.rules # rules definition file for ~ipfilter, see ~ # ~/usr/src/contrib/ipfilter/rules for ~examples ~ipfilter_flags= # additional flags for ipfilter ~ipnat_enable=YES # Set to YES to enable ipnat ~functionality ~ipnat_program=/sbin/ipnat # where the ipnat program lives ~ipnat_rules=/etc/ipnat.rules # rules definition file for ipnat ~ipnat_flags= # additional flags for ipnat ~ipmon_enable=YES# Set to YES for ipmon; ~needs ipfilter ~or ipnat ~ipmon_program=/sbin/ipmon # where the ipfilter ~monitor program lives ~ipmon_flags=-Ds # typically -Ds or -D ~/var/log/ipflog ~ipfs_enable=YES # Set to YES to enable saving ~and restoring ~ipfs_program=/sbin/ipfs # where the ipfs program lives ~ipfs_flags= # additional flags for ipfs ~ ~Thanks. ~Billy ~___ ~freebsd-stable@freebsd.org mailing list ~http://lists.freebsd.org/mailman/listinfo/freebsd-stable ~To unsubscribe, send any mail to ~[EMAIL PROTECTED] ~ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: FreeBSD 5.4-RELEASE is now available
I'm sorry... But where is miniinst.iso? ;) ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
5.2 - 5.3 without single mode?
Is it possible to cvsup from 5.2 to 5.3 without booting in single mode? I have a remote machine and want update it, but it is no console access, only SSH. Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
GENERIC kernel would not build
Dear experts, I have FreeBSD 4.1.1-STABLE #0: Sat Oct 28 06:19:42 MSD 2000. After cvsup of today, 1.I run: (cd /usr/src; make buildworld) which ended ok. 2. Then I run (cd /usr/src; make buildkernel KERNEL=GENERIC) which failed as follows: cc -O -pipe -DLINPROCFS -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c setdef1.c ld -Bshareable -o linprocfs.ko setdef0.o linprocfs.kld setdef1.o === linux make: don't know how to make /usr/src/sys/modules/linux/../../i386/linux/linux_file.c. Stop *** Error code 2 Later today I repeated cvsup and steps 1-2 above with the same result. Any advice would be gratefully acknowledged. Sergei To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
nulled output of rc.network
/etc/rc.network script has a line: ${ntpdate_program:-ntpdate} ${ntpdate_flags} /dev/null 21 With output here being sent to null, how can I notice that my favorite ntp server went down, has changed its service policy, its IP etc? Maybe just ${ntpdate_program:-ntpdate} ${ntpdate_flags} could be a better option? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
no switching to standard time
Here in Moscow, Russia, I expected the system clock back to standard time during the night of Oct 29, exactly as European tradition suggests. This did not happened by itself (the output of "date" was 1 hour ahead of new local time at noon of Oct 29.). Had to run ntpdate by hand to bring it 1 hour back. Is it a correct behavior? System clock here is configured to be kept as GMT and at the moment it shows up as a correct local time with "date", e.g.: Tue Oct 31 01:16:53 MSK 2000 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
typo in etrn.pl of sendmail kit
FreeBSD-4.1.1 distribution has a useful script meant for enforced fetch of mail from secondary mx-servers: /usr/src/contrib/sendmail/contrib/etrn.pl It begins with a line "#!/usr/local/bin/perl", while default location of perl here seems to be /usr/bin/perl. Without correcting it, script just says: "Cannot find file", which may be not a transparent guideline for what to do. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: SMTP AUTH
Gregory, You idea works ok only provided the following change is made to /usr/src/usr.sbin/sendmail/Makefile: LDADD+= -lutil -lwrap instead of LDADD= -lutil -lwrap Could you please commit this change to stable? Sergei At 21:30 11.09.00 -0700, you wrote: svysh Is it possible to link sasl support into sendmail during buildworld svysh on FreeBSD-4.1-STABLE with CYRUS-SASL port installed in advance? svysh site.config.m4 approach seems not applicable here? You could do something like this (untested, unsupported) in /etc/make.conf: # Make MD5 version of libskey .if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" CFLAGS+=-DSASL -I/usr/local/include/sasl LDADD+=-lsasl .endif To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: SMTP AUTH
Oops! Even with suggested changes to make.conf and Makefile, Buildworld fails with: /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lsasl Any ideas? more details here: cc -O -pipe -DSASL -I/usr/local/include/sasl -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -DNEWDB -DNIS -DNETINET6 -DTCPWRAPPERS -DMAP_REGEX -I/usr/obj/usr/src/i386/usr/include -o sendmail alias.o arpadate.o bf_torek.o clock.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o sfsasl.o shmticklib.o srvrsmtp.o stab.o stats.o sysexits.o timers.o trace.o udb.o usersmtp.o util.o version.o -lsasl -lutil -lwrap /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lsasl *** Error code 1 * Gregory, You idea works ok only provided the following change is made to /usr/src/usr.sbin/sendmail/Makefile: LDADD+= -lutil -lwrap instead of LDADD= -lutil -lwrap Could you please commit this change to stable? Sergei At 21:30 11.09.00 -0700, you wrote: svysh Is it possible to link sasl support into sendmail during buildworld svysh on FreeBSD-4.1-STABLE with CYRUS-SASL port installed in advance? svysh site.config.m4 approach seems not applicable here? You could do something like this (untested, unsupported) in /etc/make.conf: # Make MD5 version of libskey .if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" CFLAGS+=-DSASL -I/usr/local/include/sasl LDADD+=-lsasl .endif To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: SMTP AUTH
Sure I have cyrus-sasl and all related ports installed. Moreover, universal kit of Sendmail 8.11 (not the one included with FreeBSD) compiles, installs and runs ok with SMTP AUTH. Just wanted to be consistent and tried to use Sendmail kit shipped with the basic system. At 08:13 12.09.00 -0500, you wrote: uOn Tue, 12 Sep 2000, Sergei Vyshenski wrote: Oops! Even with suggested changes to make.conf and Makefile, Buildworld fails with: /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lsasl Any ideas? Uhm, do you have cyrus-sasl installed? You need cyrus-sasl to build sendmail with SMTP AUTH. Its in the ports, under security. -Ryan T. Dean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: SMTP AUTH enabling (solved)
Gregory. Successfully tested procedure (with tiny modifications of your original idea) which teaches buildworld in FreeBSD-stable how to produce sendmail with SMTP AUTH enabled is specified below. Sergei 1) install cyrus-sasl port 2) patch file /usr/src/usr.sbin/sendmail/Makefile in such a way, that line LDADD= -lutil -lwrap turns into line LDADD+= -lutil -lwrap 3) augment /etc/make.conf with: # Make MD5 version of libskey .if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" CFLAGS+=-DSASL -I/usr/local/include/sasl -L/usr/local/lib LDADD+=-lsasl .endif At 21:30 11.09.00 -0700, you wrote: svysh Is it possible to link sasl support into sendmail during buildworld svysh on FreeBSD-4.1-STABLE with CYRUS-SASL port installed in advance? svysh site.config.m4 approach seems not applicable here? You could do something like this (untested, unsupported) in /etc/make.conf: # Make MD5 version of libskey .if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" CFLAGS+=-DSASL -I/usr/local/include/sasl LDADD+=-lsasl .endif To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
sendmail sasl buildworld
Is it possible to link sasl support into sendmail during buildworld on a FreeBSD-4.1-STABLE with cyrus-sasl port installed in advance? On a stand-alone kit of sendmail one would add lines APPENDDEF(`confENVDEF', `-DSASL') APPENDDEF(`conf_sendmail_LIBS', `-lsasl') to a devtools/Site/site.config.m4 file. But of a FreeBSD-oriented kit of sendmail, file site.config.m4 seems to be ignored completely. Thank you very much ahead of time, Sergei To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
make buildkernel failed in 4.1-S
Running FreeBSD 4.1-RC () #0: Wed Jul 26 15:36:37 MSD 2000 cvsupped and built ok only 2 days ago. Today cvsupped again because of announced 4.1-RELEASE. "make world" went fine, then I mergemastered, but then "make buildkernel" failed for both GENERIC and my custom kernels at the same point as shown below. Thank you in advance for any comment. Sergei = === if_tap @ - /usr/src/sys machine - /usr/src/sys/i386/include touch opt_devfs.h echo "#define INET 1" opt_inet.h perl @/kern/vnode_if.pl -h @/kern/vnode_if.src rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/modules/if_tap/../../net/if_tap.c /usr/src/sys/modules/if_tap/../../net/if_tap.c:67: net/if_tap.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/sys/modules/if_tap. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
[anoncvs.freebsd.org] Remote: Server does not permit empty password login.
Dear administrators! anoncvs is still broken: |$ cvs -R up . |SSH Version 1.2.27 [i386--freebsd3.2], protocol version 1.5. |Standard version. Does not use RSAREF. |host: Reading configuration data /usr/local/etc/ssh_config |host: ssh_connect: getuid 1000 geteuid 1000 anon 1 |host: Connecting to anoncvs.freebsd.org [207.90.181.9] port 22. |host: Connection established. |host: Remote protocol version 1.99, remote software version 2.0.13 (non-commercial) |host: Waiting for server public key. |host: Received server public key (768 bits) and host key (1024 bits). |host: Host 'anoncvs.freebsd.org' is known and matches the host key. |host: Initializing random; seed file /home/laskavy/.ssh/random_seed |host: Encryption type: idea |host: Sent encrypted session key. |host: Installing crc compensation attack detector. |host: Received encrypted confirmation. |host: Remote: Server does not permit empty password login. --- |host: No agent. |host: Trying RSA authentication with key '[EMAIL PROTECTED]' |host: Remote: Bad file modes for /ctm/FreeBSD/anoncvs |host: Server refused our key. |host: Doing password authentication. |[EMAIL PROTECTED]'s password: |host: Remote: Server does not permit empty password login. --- |Permission denied. |cvs [update aborted]: end of file from server (consult above messages if any) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message