Re: cp -d dir patch for review (or 'xargs'?)

2001-04-23 Thread Brian Somers
No rain here, it is ARG_MAX - 2048: -s size Set the maximum number of bytes for the command line length pro- vided to utility. The sum of the length of the utility name and the arguments passed to utility (including NULL terminators) will

Re: upgrading from 3.0 to 4.3

2001-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2001 at 01:58:05PM +0200, Mart Norman wrote: Hi! I'm trying to upgrade from 3.0 to 4.3 but make buildworld fails Why are you sending this to freebsd-current? Any hints what should i do to make buildworld successful? Do a binary upgrade; it will be much easier. Kris PGP

Re: cp -d dir patch for review (or 'xargs'?)

2001-04-23 Thread Oliver Fromme
Rodney W. Grimes [EMAIL PROTECTED] wrote: Before anyone starts writing scripts, consider that {} will be replaced by xargs with (roughly) ARG_MAX - 10 characters worth of the stuff coming off the pipe. If your combined arguments plus environment exceeds ARG_MAX execve(2) will give

lockd problems

2001-04-23 Thread Thomas Quinot
Since client side locking was implemented, I am having much trouble reading mail on an NFS-mounted mail spool. The NFS server is a Solaris 2.6 U250, and I am reading mail using mutt. When lockd is not running, mutt gets EOPNOTSUPP when trying to flock(). When lockd is running, it occasionnally

-current kernel is broken?

2001-04-23 Thread User
Hello all, I've just made cvsup to -current and when I try to recompile my kernel I get the following error message: -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -an si -nostdinc

Re: -current kernel is broken?

2001-04-23 Thread Doug Barton
IF you run -current you are expected to follow both this list and the cvs-all list. Your answer is there. User wrote: Hello all, I've just made cvsup to -current and when I try to recompile my kernel I get the following error message: -c -O -pipe -Wall -Wredundant-decls

Re: One more typo in src/release/Makefile, rev 1.612? (w/patch)

2001-04-23 Thread John Baldwin
On 22-Apr-01 David O'Brien wrote: On Mon, Apr 16, 2001 at 08:10:39PM -0700, John Baldwin wrote: Also, Bruce's fix is not entirely correct as it breaks for the non-debug kernel case, but I've already sent you a mail about that, just to let everyone know that it should be fixed shortly. :)

Updated: cp -t patch (w/ commentary)

2001-04-23 Thread John W. De Boskey
Hello, After some feedback, I have changed the patch slightly. Rename -d to -t and remove the requirement for the option to have a value. -t aquire the target from *argv++ instead of argv[argc--] The patch can be found at: http://people.freebsd.org/~jwd/cp-t.patch Some

kernel compile errors

2001-04-23 Thread Hidden Agenda
I just received this error in the kernel compile in /usr/home/src/sys/modules/linux. My CVS tree was updated immediately before kernel compile (approx. 2:45pm CST). cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith

Re: kernel core

2001-04-23 Thread Warner Losh
In message [EMAIL PROTECTED] John Baldwin writes: : You need to rebuild fsck and install it and fsck your filesystems. This is the : dirpref changes biting you. Warner, we probably need an entry in UPDATING for : the dirpref changes that warn people to build and install a new fsck before :

Re: kernel core

2001-04-23 Thread Warner Losh
In message [EMAIL PROTECTED] Mike Smith writes: : I assume there's a better fix in the works, so that a dirpref-touched : disk can be moved back to a pre-dirpref system? If not, then dirpref should be backed out, imho. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: kernel core

2001-04-23 Thread Warner Losh
In message 03cb01c0cb0b$ce9369a0$[EMAIL PROTECTED] Chris Knight writes: : I've found the following sequence to be optimal from going from : pre-dirpref -current to post-dirpref -current and 4-stable to -current: But that won't work going from a pre-dirpref -stable to a post-dirpref -currnet

fsdb broken in -current

2001-04-23 Thread Ian Dowse
The last set of changes to fsck_ffs moved the initialisation of dev_bsize to sblock_init(), but this is not called by fsdb(8) so fsdb dies almost immediately with a floating exception. I'm just going to commit the obvious fix, which is to have fsdb call sblock_init() also. Ian To Unsubscribe:

duplicate locks and lock order reversal

2001-04-23 Thread Jens Schweikhardt
hello, world\n my current kernel cvsupped around Apr 14th tells me about duplicate locks and lock order reversal. Is this reason to worry? ... Apr 23 22:23:09 hal9000 /boot/kernel/kernel: da0 at ahc0 bus 0 target 2 lun 0 Apr 23 22:23:10 hal9000 /boot/kernel/kernel: da0: IBM DCAS-34330 S65A Fixed

Re: kernel core

2001-04-23 Thread Mike Smith
In message [EMAIL PROTECTED] Mike Smith writes: : I assume there's a better fix in the works, so that a dirpref-touched : disk can be moved back to a pre-dirpref system? If not, then dirpref should be backed out, imho. I'd have to agree; this was a pretty poorly-thought-out aspect of the

Re: upgrading from 3.0 to 4.3

2001-04-23 Thread Bruce Evans
On Mon, 23 Apr 2001, Mart Norman wrote: Hi! I'm trying to upgrade from 3.0 to 4.3 but make buildworld fails cc -O -pipe -I. -I/usr/src/usr.sbin/config -Wall -Wunused -Wmissing-prototypes -Wredundant-decls -I/usr/obj/usr/src/i386/usr/include -static -o config config.o main.o lang.o

Re: fsdb broken in -current

2001-04-23 Thread Kirk McKusick
To: Kirk McKusick [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: fsdb broken in -current Date: Mon, 23 Apr 2001 22:23:48 +0100 From: Ian Dowse [EMAIL PROTECTED] The last set of changes to fsck_ffs moved the initialisation of dev_bsize to

Re: kernel core

2001-04-23 Thread John Baldwin
On 23-Apr-01 Warner Losh wrote: In message [EMAIL PROTECTED] John Baldwin writes: : You need to rebuild fsck and install it and fsck your filesystems. This is : the : dirpref changes biting you. Warner, we probably need an entry in UPDATING : for : the dirpref changes that warn people to

Re: kernel core

2001-04-23 Thread Warner Losh
In message [EMAIL PROTECTED] John Baldwin writes: : : On 23-Apr-01 Warner Losh wrote: : In message [EMAIL PROTECTED] John Baldwin writes: : : You need to rebuild fsck and install it and fsck your filesystems. This is : : the : : dirpref changes biting you. Warner, we probably need an entry in

RE: duplicate locks and lock order reversal

2001-04-23 Thread John Baldwin
On 23-Apr-01 Jens Schweikhardt wrote: hello, world\n my current kernel cvsupped around Apr 14th tells me about duplicate locks and lock order reversal. Is this reason to worry? ... Apr 23 22:23:09 hal9000 /boot/kernel/kernel: da0 at ahc0 bus 0 target 2 lun 0 Apr 23 22:23:10 hal9000

Re: kernel core

2001-04-23 Thread John Baldwin
On 23-Apr-01 Warner Losh wrote: In message [EMAIL PROTECTED] John Baldwin writes: : : On 23-Apr-01 Warner Losh wrote: : In message [EMAIL PROTECTED] John Baldwin writes: : : You need to rebuild fsck and install it and fsck your filesystems. This : : is : : the : : dirpref changes biting you.

Re: kernel core

2001-04-23 Thread Warner Losh
In message [EMAIL PROTECTED] John Baldwin writes: : Yes, but until such time as we do that we should warn people in UPDATING at : least. 20010411: fsck and the kernel were changed to handle some optimizations to directory layout. This breaks backward compatbility. Update

Re: kernel core

2001-04-23 Thread Ian Dowse
In message [EMAIL PROTECTED], Warner Losh writes: : : Yes, but until such time as we do that we should warn people in UPDATING at : least. : OK, but you won't like the UPDATING entry. The bug actually looks fairly simple to fix. ffs_reload() isn't checking if the new superblock fields are

Re: kernel core

2001-04-23 Thread Warner Losh
In message [EMAIL PROTECTED] John Baldwin writes: : I didn't do dirpref and I want to see this fixed as well. :( I just want to : give people a fighting chance of making it past this change. Ah. Sorry for directing my grumpiness about the quality of the change against you. Warner To

Re: upgrading from 3.0 to 4.3

2001-04-23 Thread Peter Wemm
Bruce Evans wrote: On Mon, 23 Apr 2001, Mart Norman wrote: Hi! I'm trying to upgrade from 3.0 to 4.3 but make buildworld fails cc -O -pipe -I. -I/usr/src/usr.sbin/config -Wall -Wunused -Wmissing-prototypes -Wredundant-decls -I/usr/obj/usr/src/i386/usr/include -static -o

Re[2]: world is broken?

2001-04-23 Thread Ilya Naumov
Hello Kris, Monday, April 23, 2001, 2:50:48 AM, you wrote: 'make buildworld' fails with the following symptoms: === usr.sbin/rpc.lockd [skipped] Stop in /garbage/src/usr.sbin/rpc.lockd. *** Error code 1 KK Looks like you're building with -j, no, i read about potential problems with -j

Re: kernel core

2001-04-23 Thread John Baldwin
On 23-Apr-01 Ian Dowse wrote: In message [EMAIL PROTECTED], Warner Losh writes: : : Yes, but until such time as we do that we should warn people in UPDATING at : least. : OK, but you won't like the UPDATING entry. The bug actually looks fairly simple to fix. ffs_reload() isn't checking

Re: kernel core

2001-04-23 Thread Ian Dowse
In message [EMAIL PROTECTED], John Baldwin writes: Fair enough, I guess ffs_reload() should just sanity check the values. Any takers? You could try this (untested). I have to run now, but I can test it later as it's easy enough to reproduce. Ian Index: ffs_vfsops.c

Re: cp -d dir patch for review (or 'xargs'?)

2001-04-23 Thread Brian Somers
Rodney W. Grimes [EMAIL PROTECTED] wrote: Before anyone starts writing scripts, consider that {} will be replaced by xargs with (roughly) ARG_MAX - 10 characters worth of the stuff coming off the pipe. If your combined arguments plus environment exceeds ARG_MAX execve(2) will

Re: kernel core

2001-04-23 Thread Ian Dowse
In message [EMAIL PROTECTED], Ian Dowse writes: You could try this (untested). I have to run now, but I can test it later as it's easy enough to reproduce. Almost, but I missed the fs_contigdirs field, which was the real culprit. An updated patch is below; this seems to stop the panics for me.

Re: kernel core

2001-04-23 Thread Bruce Evans
On Mon, 23 Apr 2001, Ian Dowse wrote: In message [EMAIL PROTECTED], John Baldwin writes: Fair enough, I guess ffs_reload() should just sanity check the values. Any takers? You could try this (untested). I have to run now, but I can test it later as it's easy enough to reproduce.

how can I increase freevnodes?

2001-04-23 Thread Juriy Goloveshkin
Hello, How can I increase free vnodes? kernel very often falls with message 'no free vnode'. Right now after reboot numbers of vnodes are: 9913 desiredvnodes 556 numvnodes 25 freevnodes -- bye Juriy Goloveshkin To Unsubscribe: send mail to [EMAIL PROTECTED] with

vm_mtx

2001-04-23 Thread Alfred Perlstein
You can find the work I've done so far to make a giant vm mutex here: http://people.freebsd.org/~alfred/vm.diff It doesn't work (of course :)) it dies really early in the intialization when a vm_page is manipulated without the lock. It dies before it even gets to calibrating the clocks. I've

Re: upgrading from 3.0 to 4.3

2001-04-23 Thread Bruce Evans
On Mon, 23 Apr 2001, Peter Wemm wrote: Bruce Evans wrote: On Mon, 23 Apr 2001, Mart Norman wrote: Any hints what should i do to make buildworld successful? Start by deleting usr.sbin/config from bootstrap-tools. You won't be able to build any kernels until the new world is