Re: [rfc] migrate lagg to an rmlock

2013-08-24 Thread Alfred Perlstein
On 8/24/13 10:47 AM, Robert N. M. Watson wrote: On 24 Aug 2013, at 17:36, Alfred Perlstein wrote: We should distinguish lock contention from line contention. When acquiring a rwlock on multiple CPUs concurrently, the cache lines used to implement the lock are contended, as they must bounce

Re: patch to add AES intrinsics to gcc

2013-08-23 Thread Alfred Perlstein
On 8/23/13 3:35 AM, David Chisnall wrote: On 23 Aug 2013, at 10:58, Bernhard Fröhlich de...@freebsd.org wrote: I don't know if you are aware that IF you really do that we will have serious problems to ship packages for 10. USE_GCC=any is the fallback in the portstree for all ports that are

Re: Linux epoll(7) patch

2013-08-05 Thread Alfred Perlstein
wondering why it's not committed, was there any push back? -- Alfred Perlstein ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Should I do a __FreeBSD_version bump for a kgssapi module kernel api change?

2013-07-07 Thread Alfred Perlstein
just bump it when in question. This sounds like a good time to do so. -- Alfred Perlstein VP Software Engineering, iXsystems ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send

Re: HEADSUP! dhclient(8) sandboxing.

2013-07-04 Thread Alfred Perlstein
On 7/3/13 3:52 PM, Pawel Jakub Dawidek wrote: Hi. I've just committed Capsicum sandboxing for the dhclient(8). Let me know (ideally by sending e-mail to current@ and CCing me) if you notice any weird behaviour. The work was sponsored by the FreeBSD Foundation. It broke running dhclient on

Re: HEADSUP! dhclient(8) sandboxing.

2013-07-04 Thread Alfred Perlstein
On 7/4/13 2:30 AM, Pawel Jakub Dawidek wrote: On Wed, Jul 03, 2013 at 11:04:21PM -0700, Alfred Perlstein wrote: On 7/3/13 3:52 PM, Pawel Jakub Dawidek wrote: Hi. I've just committed Capsicum sandboxing for the dhclient(8). Let me know (ideally by sending e-mail to current@ and CCing me

Re: copyin()/copyout() constraints ?

2013-06-14 Thread Alfred Perlstein
On 6/14/13 9:38 AM, Luigi Rizzo wrote: On Fri, Jun 14, 2013 at 12:07:29PM -0400, John Baldwin wrote: On Wednesday, June 12, 2013 2:36:52 pm Alfred Perlstein wrote: On 6/12/13 11:01 AM, Luigi Rizzo wrote: hi, is it possible to run copyin() or copyout() in one of these cases: 1. while holding

Re: copyin()/copyout() constraints ?

2013-06-12 Thread Alfred Perlstein
/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org -- Alfred Perlstein VP Software Engineering, iXsystems ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-12 Thread Alfred Perlstein
. If this is amd64, then never mind, KVA_PAGES is meaningless there. Is there some way we can get a pps ratelimited (or even one-time) message when the kva is almost exhausted? Could that help people? -- Alfred Perlstein VP Software Engineering, iXsystems

Re: copyin+copyout in one step ?

2013-05-27 Thread Alfred Perlstein
On 5/27/13 4:38 PM, Luigi Rizzo wrote: Hi, say a process P1 wants to use the kernel to copy the content of a buffer SRC (in its user address space) to a buffer DST (in the address space of another process P2), and assume that P1 issues the request to the kernel when P2 has already told the

Re: copyin+copyout in one step ?

2013-05-27 Thread Alfred Perlstein
On 5/27/13 4:56 PM, Alfred Perlstein wrote: On 5/27/13 4:38 PM, Luigi Rizzo wrote: Hi, say a process P1 wants to use the kernel to copy the content of a buffer SRC (in its user address space) to a buffer DST (in the address space of another process P2), and assume that P1 issues the request

Re: NewNFS vs. oldNFS for 10.0?

2013-03-15 Thread Alfred Perlstein
On 3/15/13 8:24 AM, Andre Oppermann wrote: On 15.03.2013 14:46, John Baldwin wrote: On Friday, March 15, 2013 9:40:56 am Andre Oppermann wrote: Hi Rick, all, is there a plan to decide for one NFS implementation for FreeBSD 10.0, or to keep both around indefinately? I'm talking about:

Re: NewNFS vs. oldNFS for 10.0?

2013-03-15 Thread Alfred Perlstein
On 3/15/13 10:55 AM, Adrian Chadd wrote: On 15 March 2013 09:55, Alfred Perlstein bri...@mu.org wrote: Finally, I think it is really premature to declare a sunset for the oldnfs until the users are gushing with approval over the new system. The flipside to this argument (and coming from you

Re: access to hard drives is blocked by writes to a flash drive

2013-03-05 Thread Alfred Perlstein
On 3/5/13 9:37 PM, Don Lewis wrote: On 5 Mar, Ian Lepore wrote: I've debated playing with the bio work loop in mmcsd to see if moving reads ahead of writes was helpful, but that seems like a dangerous path to go down without some mitigation strategy to ensure that writes go through

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-26 Thread Alfred Perlstein
On 2/26/13 4:20 AM, Konstantin Belousov wrote: On Tue, Feb 26, 2013 at 02:39:26PM +0300, Sergey Kandaurov wrote: Hi. The functions from sbin/mount/getmntopts.c are used in a bunch of other stuff like mount_* utilities which have to suck them in as their own functions in quite a hackish way.

Re: [RFC/RFT] calloutng

2013-02-14 Thread Alfred Perlstein
[ added Luigi Rizzo to thread ] On 2/11/13 12:26 PM, Davide Italiano wrote: [trimmed old mails] Here's a new version of the patch: http://people.freebsd.org/~davide/patches/calloutng-11022012.diff Significant bits changed (after wider discussion and suggestion by phk@): - Introduction of the

Re: [PATCH] Adjust 'ps H' to include kthread names by default

2013-01-17 Thread Alfred Perlstein
On 1/17/13 1:22 PM, John Baldwin wrote: Running 'ps axH' on a current system results in a lot of kthreads with not very useful names (unless you add -c): PID TT STAT TIME COMMAND 0 ?? DLs1:09.52 [kernel] 0 ?? DLs0:00.00 [kernel] 0 ?? DLs0:00.00

Re: HEADS UP: FreeBSD git mirrors demoted to beta status, need your help

2012-12-20 Thread Alfred Perlstein
Ulrich, Are you still hoping for feedback on this? If so I am currently setting up to run your scripts from: http://wiki.freebsd.org/GitWorkflow#History Let me know if that is not needed though because if I don't need to then I can save myself a bunch of work. I'll report back to you on my

Re: HEADS UP: FreeBSD git mirrors demoted to beta status, need your help

2012-12-15 Thread Alfred Perlstein
On Dec 15, 2012, at 1:16 PM, Ulrich Spörlein u...@freebsd.org wrote: Ok, scrap that, I have too many copies of the conversion lying around and got confused. I'd like to thank all who reported in with hashes of their conversion run and will make sure all is solid tomorrow. Thanks. I am

Re: [head tinderbox] failure on powerpc64/powerpc

2012-12-10 Thread Alfred Perlstein
Got bit by compiler not warning on some things. Working on a fix. -Alfred On 12/10/12 10:36 PM, FreeBSD Tinderbox wrote: TB --- 2012-12-11 03:32:04 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-12-11 03:32:04 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD

Re: RFC: sysctl -f filename

2012-12-01 Thread Alfred Perlstein
Does sysctl(8) really need to learn to parse files? Can't rc.d/sysctl be modified to do the fixup? This regex seems to work: val=`echo $val | sed -e s@ *\\(.*\)\ *@\1@ -e s@ *'\(.*\)' *@\1@` -Alfred On 12/1/12 8:50 AM, Hiroki Sato wrote: Hi, I would like comments about the attached patch

Re: RFC: sysctl -f filename

2012-12-01 Thread Alfred Perlstein
On 12/1/12 8:22 PM, Alfred Perlstein wrote: Does sysctl(8) really need to learn to parse files? Can't rc.d/sysctl be modified to do the fixup? This regex seems to work: val=`echo $val | sed -e s@ *\\(.*\)\ *@\1@ -e s@ *'\(.*\)' *@\1@` Upon catching up with emails and seeing netbsd's code, I

Re: svn commit: r242910 - in user/andre/tcp_workqueue/sys: kern sys

2012-11-13 Thread Alfred Perlstein
Andre, do you think the variable realmem could be exported as something like kmemsize or something? Or maybe a function call to subr_param.c? The reason I ask is that I would like to scale things like number of default sysv semaphores to something like 64 per 1GB of realmem. Thoughts? The

Re: DragonFly vs FreeBSD scheduler

2012-11-03 Thread Alfred Perlstein
On 11/3/12 6:18 AM, Alie Tan wrote: Hi, No offence, just curious about scheduler and its functionality. What is the different between this two that makes FreeBSD performance far behind DragonFly BSD? http://www.dragonflybsd.org/release32/ Looks like a few specific benchmarks that DragonFly

Re: DragonFly vs FreeBSD scheduler

2012-11-03 Thread Alfred Perlstein
On 11/3/12 7:02 PM, Samuel J. Greear wrote: Looks like a few specific benchmarks that DragonFly aimed to do well at that we were unawares of. Unawares of? http://bsd.slashdot.org/story/08/03/06/1313218/freebsd-70-bests-linux-in-smp-performance The FreeBSD project made hay with sysbench and

Re: Last call: removing the INT_MAX limit on max i/o size

2012-02-18 Thread Alfred Perlstein
otherwise. Probably not. -- - Alfred Perlstein .- VMOA #5191, 03 vmax, 92 gs500, 85 ch250, 07 zx10 .- FreeBSD committer ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail

Re: Last call: removing the INT_MAX limit on max i/o size

2012-02-18 Thread Alfred Perlstein
* Poul-Henning Kamp p...@phk.freebsd.dk [120218 00:34] wrote: In message 20120218074655.gf31...@elvis.mu.org, Alfred Perlstein writes: I always wonder if it's worth defining a type for this, resid_t or something, Wouldn't that naturally be size_t ? I think that makes sense. I

Re: Examining the VM splay tree effectiveness

2010-09-30 Thread Alfred Perlstein
-hackers-unsubscr...@freebsd.org -- - Alfred Perlstein .- VMOA #5191, 03 vmax, 92 gs500, 85 ch250, 07 zx10 .- FreeBSD committer ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any

Re: fixes for enhanced coredump

2010-04-29 Thread Alfred Perlstein
* John Baldwin j...@freebsd.org [100429 05:46] wrote: On Wednesday 28 April 2010 1:18:40 pm Alfred Perlstein wrote: I was recently working on the enhanced coredumps internal to Juniper and realized that there were some defects in the code I pushed (mostly due to mismerge), can someone

fixes for enhanced coredump

2010-04-28 Thread Alfred Perlstein
: if (core_buf) free(core_buf, M_TEMP); if (gzfile) -- - Alfred Perlstein .- AMA, VMOA #5191, 03 vmax, 92 gs500, 85 ch250, 07 zx10 .- FreeBSD committer ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org

fix for compressed coredumps, please review

2010-04-16 Thread Alfred Perlstein
); @@ -1125,8 +1128,8 @@ curproc-p_comm, error); } +done: #ifdef COMPRESS_USER_CORES -done: if (core_buf) free(core_buf, M_TEMP); if (gzfile) -- - Alfred Perlstein .- AMA, VMOA #5191, 03 vmax, 92 gs500, 85 ch250 .- FreeBSD committer

Re: [PATCH] please review. file descriptor passing for libc_r.

2003-11-29 Thread Alfred Perlstein
* Daniel Eischen [EMAIL PROTECTED] [031122 20:46] wrote: On Sat, 22 Nov 2003, Alfred Perlstein wrote: This should make things work properly for apps that are linked against libc_r and use filedescriptor passing. Can someone review and approve it please? This isn't needed. Any time

Re: [PATCH] please review. file descriptor passing for libc_r.

2003-11-29 Thread Alfred Perlstein
* Alfred Perlstein [EMAIL PROTECTED] [031129 12:21] wrote: Descriptor's passed can't be closed because the uthread kernel does this: The weird part is that i'm doing a sendfile(2) using the descriptors and it appears that sendfile does the FD_LOCK thing on the descriptors so... ? int

Re: [PATCH] please review. file descriptor passing for libc_r.

2003-11-29 Thread Alfred Perlstein
* Daniel Eischen [EMAIL PROTECTED] [031129 14:59] wrote: [re@ removed] On Sat, 29 Nov 2003, Alfred Perlstein wrote: * Alfred Perlstein [EMAIL PROTECTED] [031129 12:21] wrote: Descriptor's passed can't be closed because the uthread kernel does this: The weird part is that i'm

Re: [PATCH] please review. file descriptor passing for libc_r.

2003-11-29 Thread Alfred Perlstein
)) { + (fd == _thread_kern_pipe[0]) || (fd == _thread_kern_pipe[1])) /* * Don't allow silly programs to close the kernel pipe * and non-active descriptors. -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED

Re: Need to trim the disc1 packages

2003-11-29 Thread Alfred Perlstein
on older machines, it'd be nice to have it easily accessable. That said I'm not going to fight for it, but perhaps you can find a bunch of less visible or more bloated (*cough*emacs*cough*) packages to ditch. :) -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL

Re: [PATCH] please review. file descriptor passing for libc_r.

2003-11-29 Thread Alfred Perlstein
status: -- Dan Eischen -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any

Re: [PATCH] please review. file descriptor passing for libc_r.

2003-11-22 Thread Alfred Perlstein
* Daniel Eischen [EMAIL PROTECTED] [031122 20:46] wrote: On Sat, 22 Nov 2003, Alfred Perlstein wrote: This should make things work properly for apps that are linked against libc_r and use filedescriptor passing. Can someone review and approve it please? This isn't needed. Any time

stopevents?

2003-11-15 Thread Alfred Perlstein
/subr_trap.c:260 checking stopevent 2 with the following non-sleepable locks held: exclusive sleep mutex sigacts r = 0 (0xc6b51aa8) locked @ kern/subr_trap.c:260 ? -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684

NFSv4 Client code committed.

2003-11-14 Thread Alfred Perlstein
. NFSv4 shares some code with nfs2 and nfs3, and required some minor modifications of the v2 and v3 sources so let me know if you experience breakage. Have a great weekend! -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684

Re: NFSv4 Client code committed.

2003-11-14 Thread Alfred Perlstein
* Craig Rodrigues [EMAIL PROTECTED] [031114 20:00] wrote: On Fri, Nov 14, 2003 at 05:32:31PM -0800, Alfred Perlstein wrote: NFSv4 shares some code with nfs2 and nfs3, and required some minor modifications of the v2 and v3 sources so let me know if you experience breakage. I'm getting

Re: taskqueue patch

2003-11-10 Thread Alfred Perlstein
about the 'not exiting' diagnostic from init for a while myself. Hi Doug, What are SWIs ? software interrupts. - aW -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL

taskqueue patch

2003-11-09 Thread Alfred Perlstein
task *task) -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL

Re: Problems with NFS (client) under 5.1.

2003-10-21 Thread Alfred Perlstein
* Josef Karthauser [EMAIL PROTECTED] [031021 08:24] wrote: On Tue, Oct 21, 2003 at 03:33:37PM +0200, Bernd Walter wrote: You are root - and root is often mapped to nobody on the server. Are you shure that nobody is allowed to see? The ls -ld /mnt case is strange, but /mnt is already on

atapicam panic at boot.

2003-08-26 Thread Alfred Perlstein
last night's sources: free_hcb() atapi_action() xpt_run_dev_sendq() xpt_action() probe_start() ... appears to be a memory access error. -Alfred ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: Giant pushdown in kern_descrip.c rev 1.128

2003-06-17 Thread Alfred Perlstein
* Don Lewis [EMAIL PROTECTED] [030617 12:00] wrote: It's not legal to attempt to aquire Giant in fdrop_locked(), while FILE_LOCK() is held. The problem is that FILE_LOCK uses the mutex pool, which should only be used for leaf mutexes. It also looks like there is a potential for a lock order

Re: Giant pushdown in kern_descrip.c rev 1.128

2003-06-17 Thread Alfred Perlstein
* Don Lewis [EMAIL PROTECTED] [030617 13:06] wrote: On 17 Jun, Alfred Perlstein wrote: * Don Lewis [EMAIL PROTECTED] [030617 12:00] wrote: It's not legal to attempt to aquire Giant in fdrop_locked(), while FILE_LOCK() is held. The problem is that FILE_LOCK uses the mutex pool, which

Re: sem.ko and vfs_aio.ko modules not built by default

2003-03-23 Thread Alfred Perlstein
I removed sem because people were nearly hostile about it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: Anyone working on fsck?

2003-03-17 Thread Alfred Perlstein
* Julian Elischer [EMAIL PROTECTED] [030317 12:22] wrote: Is there anyone working on fsck? Recent timings with a fast machine with 1TB filesystems show that it takes abuot 6 hours to fsck such a filesystem (on a fast array with a lot of RAM) This is with a version of fsck that already has

wi driver

2003-03-16 Thread Alfred Perlstein
= 0xc0467140 ÿÿ, if_label = {l_flags = 0, l_perpolicy = {{l_ptr = 0x0, l_long = 0}, {l_ptr = 0x0, l_long = 0}, { l_ptr = 0x0, l_long = 0}, {l_ptr = 0x0, l_long = 0 What's up here? -- -Alfred Perlstein [EMAIL PROTECTED] 'Instead of asking why a piece of software is using

Re: wi driver

2003-03-16 Thread Alfred Perlstein
* Alfred Perlstein [EMAIL PROTECTED] [030316 21:19] wrote: um.. ... 840 _FLAGS_OUTRANGE) { 841 WI_UNLOCK(sc); 842 return; 843 } 844 KASSERT((ifp-if_flags IFF_OACTIVE) == 0, 845 (wi_start: if_flags %x\n, ifp

Re: can't boot with twe anymore.

2003-03-15 Thread Alfred Perlstein
* Poul-Henning Kamp [EMAIL PROTECTED] [030315 01:59] wrote: In message [EMAIL PROTECTED], Alfred Perlstein writes: Poul-Henning you promised me a patch two nights ago within a couple of hours It's now going on the 36th hour since. Ok, 2nd try, this even compiles: That looks like it might

Re: can't boot with twe anymore.

2003-03-15 Thread Alfred Perlstein
* Poul-Henning Kamp [EMAIL PROTECTED] [030315 04:09] wrote: In message [EMAIL PROTECTED], Alfred Perlstein writes: * Poul-Henning Kamp [EMAIL PROTECTED] [030315 01:59] wrote: In message [EMAIL PROTECTED], Alfred Perlstein writes: Poul-Henning you promised me a patch two nights ago within

Re: can't boot with twe anymore.

2003-03-14 Thread Alfred Perlstein
booting? I will be attempting to figure this out on my own now, but this pretty irritating. * Alfred Perlstein [EMAIL PROTECTED] [030312 22:52] wrote: I can't boot with twe now. I wind up calling into device_printf with a NULL dev_t which used to crash me until my most recent commit. Now I

can't boot with twe anymore.

2003-03-12 Thread Alfred Perlstein
fix. -- -Alfred Perlstein [EMAIL PROTECTED] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

fix: lock order reversal proc/filedesc.

2003-02-14 Thread Alfred Perlstein
Thanks to Paul Saab's work on fixing twe(4) I was able to get a crash dump from my box and figure out why my filedesc locking patch was panic'ing. kevent_close was dereferencing the proc's filedesc pointer during close, that doesn't work so well when you need to do what I had to do. :) The gist

Re: Panic in fork()

2003-02-14 Thread Alfred Perlstein
* Kris Kennaway [EMAIL PROTECTED] [030214 13:19] wrote: On Sat, Feb 08, 2003 at 02:04:56PM -0800, Kris Kennaway wrote: OK, I suspected that. tjr was looking into this last night and proposed the following patch: http://people.freebsd.org/~tjr/kf.diff OK, I got another panic with

Re: fix: lock order reversal proc/filedesc.

2003-02-14 Thread Alfred Perlstein
* Dag-Erling Smorgrav [EMAIL PROTECTED] [030214 02:52] wrote: Alfred Perlstein [EMAIL PROTECTED] writes: Thanks to Paul Saab's work on fixing twe(4) I was able to get a crash dump from my box How? I can't get a crash dump in -CURRENT, even on a plain jane ata disk, and it's been months

Re: fix: lock order reversal proc/filedesc.

2003-02-14 Thread Alfred Perlstein
* Dag-Erling Smorgrav [EMAIL PROTECTED] [030214 03:23] wrote: Alfred Perlstein [EMAIL PROTECTED] writes: What exactly is broken about dumps for you on ata? Well, after you told me that call dumpsys is no longer kosher (when did that happen, and where was it documented?), I tried 'call

Re: syslog bug

2003-02-09 Thread Alfred Perlstein
* M. Warner Losh [EMAIL PROTECTED] [030209 08:39] wrote: In message: [EMAIL PROTECTED] Alfred Perlstein [EMAIL PROTECTED] writes: : syslog(3) botches things if you pass it a string that has %%m in it. : this should fix it, any comments? : With the above fix, fred %%m

Re: syslog bug

2003-02-09 Thread Alfred Perlstein
* David Malone [EMAIL PROTECTED] [030209 10:04] wrote: On Sun, Feb 09, 2003 at 10:00:02AM -0800, Alfred Perlstein wrote: Heh, the format string is passed through printf later, we don't want to eat the extra % otherwise it will cause problems for us. I had exactly the same thought as Warner

syslog bug

2003-02-08 Thread Alfred Perlstein
; + fputc(ch, fmt_fp); + fputc(ch, fmt_fp); + } else { fputc(ch, fmt_fp); + } + } /* Null terminate if room */ fputc(0, fmt_fp); -- -Alfred

LOR fix.

2003-01-28 Thread Alfred Perlstein
; } -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body

Re: Two LORs.

2003-01-03 Thread Alfred Perlstein
) @ /usr/src/sys/kern/kern_descrip.c:2099 2nd 0xc655fa34 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:2106 savecore: no dumps found Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute -- -Alfred Perlstein [[EMAIL PROTECTED

Re: POSIX semaphores in FreeBSD-CURRENT

2002-12-13 Thread Alfred Perlstein
14 characters, but this limit is not enforced. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: Lock order reversals in sys_pipe.c and kern_sig.c

2002-12-04 Thread Alfred Perlstein
* Lars Eggert [EMAIL PROTECTED] [021204 15:04] wrote: FYI, just got a similar one yesterday on an up-to-date -current: lock order reversal 1st 0xc784d700 pipe mutex (pipe mutex) @ /usr/src/sys/kern/sys_pipe.c:465 2nd 0xc0513840 sigio lock (sigio lock) @ /usr/src/sys/kern/kern_sig.c:2225

Re: Lock order reversals in sys_pipe.c and kern_sig.c

2002-11-18 Thread Alfred Perlstein
problems? Well now they are, I will investigate as time permits. I'm still in a holding pattern about adding more debugging info to lockd now that we're in release candidate mode. I may ask for a branch to be done, but i'm not sure yet. thank you, -- -Alfred Perlstein [[EMAIL PROTECTED

Re: Lock order reversals in sys_pipe.c and kern_sig.c

2002-11-18 Thread Alfred Perlstein
* Kris Kennaway [EMAIL PROTECTED] [021118 12:01] wrote: On Mon, Nov 18, 2002 at 11:39:01AM -0800, Alfred Perlstein wrote: Well now they are, I will investigate as time permits. Thanks. I'm still in a holding pattern about adding more debugging info to lockd now that we're in release

Re: rpc.lockd problems

2002-11-13 Thread Alfred Perlstein
* Kris Kennaway [EMAIL PROTECTED] [021113 16:41] wrote: A few months ago I posted about rpc.lockd interop problems I am having between my 5.0 NFS client and a Redhat 7.1 server. Both are running rpc.lockd, but when I send a lock request to the server it hangs forever blocked on the

Re: Wine-2002.10.07 port on FreeBSD 5.0-current

2002-11-08 Thread Alfred Perlstein
* Poul-Henning Kamp [EMAIL PROTECTED] [021108 05:29] wrote: In message [EMAIL PROTECTED], G erald Pfeifer writes: Sheesh. PHK, now we have the situation where user programs require #ifdefs to be portable among the BSDs when this was not required before. Please consider reverting

Re: [Ugly PATCH] Again: panic kmem_malloc(): SOLVED

2002-10-19 Thread Alfred Perlstein
* Ben Stuyts [EMAIL PROTECTED] [021019 07:16] wrote: At 13:34 19/10/2002, Ben Stuyts wrote: At 04:15 19/10/2002, Alfred Perlstein wrote: * Jake Burkholder [EMAIL PROTECTED] [021018 18:26] wrote: semop() leaks memory. An important free() was removed by alfred in rev 1.55. Try

Re: [Ugly PATCH] Again: panic kmem_malloc()

2002-10-18 Thread Alfred Perlstein
* Jake Burkholder [EMAIL PROTECTED] [021018 18:26] wrote: semop() leaks memory. An important free() was removed by alfred in rev 1.55. Try this. Oh' c'mon, isn't MP-safeness a bit more important than a some little memory leak, ram is cheap! processors aren't! Seriously, I just checked in

Re: [Ugly PATCH] Again: panic kmem_malloc()

2002-10-16 Thread Alfred Perlstein
an hypothesys as to why the code is broken?) *grumble* -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: rstat()

2002-10-01 Thread Alfred Perlstein
* Andy Farkas [EMAIL PROTECTED] [021001 15:20] wrote: On Tue, 1 Oct 2002, Alfred Perlstein wrote: Whoa :) I'm the RPC maintainer? Well ok, I've just checked in a fix for the prototypes being declared into -current, I'll take a shot at -stable RSN (most likely tomorrow

Re: bug in sysv semaphores on -CURRENT

2002-09-06 Thread Alfred Perlstein
* Michal Mertl [EMAIL PROTECTED] [020906 06:10] wrote: There seems to be bug in $SUBJ. When I run attached program on recent -CURRENT, it always (after several seconds) triggers the bug. I first suspected a problem in the program's logic but on stable in runs just fine. Can you tell me what

Re: bug in sysv semaphores on -CURRENT

2002-09-06 Thread Alfred Perlstein
* Michal Mertl [EMAIL PROTECTED] [020906 06:10] wrote: There seems to be bug in $SUBJ. When I run attached program on recent -CURRENT, it always (after several seconds) triggers the bug. I first suspected a problem in the program's logic but on stable in runs just fine. Esentially I use

-current data corruption

2002-08-19 Thread Alfred Perlstein
. -- -Alfred Perlstein [[EMAIL PROTECTED]] [#bsdcode/efnet/irc.prison.net] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current

Re: World breakage in lib/libc/gen/disklabel.c; here's a patch

2002-08-16 Thread Alfred Perlstein
, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. -- -Alfred Perlstein [[EMAIL PROTECTED]] [#bsdcode/efnet/irc.prison.net] 'Instead of asking why a piece of software is using 1970s technology, start asking why software

world broken

2002-08-15 Thread Alfred Perlstein
cc -pg -O -pipe -I. -I/vol/share/src/lib/libncurses -I/vol/share/src/lib/libncu rses/../../contrib/ncurses/ncurses -I/vol/share/src/lib/libncurses/../../contrib /ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c u nctrl.c -o unctrl.po In file included from

Re: mount_nfs -T breakage

2002-07-26 Thread Alfred Perlstein
* Bakul Shah [EMAIL PROTECTED] [020725 23:14] wrote: Yes, that code is very broken indeed. It probably was supposed to call __rpc_setconf(udp) and not getnetconfigent(udp), but that seems to pick up an ipv6 address. I think the best plan is to go back to the way that part of the code was

Re: Is it just me or has -current suddenly got massively unstable?

2002-07-22 Thread Alfred Perlstein
. Perhaps selwakeup() is being called on an uninitialized selinfo structure? I guess adding some sort of diagnostic checks for initialized selinfos might help. Yes, I've been seeing some instability, but not of the magnitude you're seeing. :) -- -Alfred Perlstein [[EMAIL PROTECTED]] [#bsdcode

Re: Questions about kern_descrip.c

2002-07-18 Thread Alfred Perlstein
so the race appears to still be present. This is true. I think one way to fix this is to preallocate the 'struct file' you're going to put into the array and have fdalloc() insert the created file instead of just finding a slot. Problem is that it's a bunch of grunt work to do this. -- -Alfred

Re: race condition in kern_descrip.c and fix

2002-07-16 Thread Alfred Perlstein
; FILEDESC_UNLOCK(p-p_fd); --- David Xu -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org

Re: VOP_GETATTR panic on Alpha

2002-07-16 Thread Alfred Perlstein
-td_flags (TD_ITHREAD|TD_INPANIC)) != 0) { ? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org

Re: Please review and commit : Revised rpcgen (1) patch updated

2002-07-14 Thread Alfred Perlstein
I'm still upset that we don't have tirpc99, when do you plan on porting that over? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations

Re: i386 trap code

2002-07-13 Thread Alfred Perlstein
* David Xu [EMAIL PROTECTED] [020712 19:38] wrote: when did the vm86_lock become spin lock ? I havn't seen changes in cvs, it is still a MTX_DEF. I had tried changing it to spin lock and got a panic. :( Did you also change the functions that access it to use mtx_*_spin? -- -Alfred

Re: Recommended MP development machines...

2002-07-03 Thread Alfred Perlstein
* George V. Neville-Neil [EMAIL PROTECTED] [020703 19:43] wrote: Hi, I know everyone says they all work but i'd like some recommendations on MP machines for -CURRENT work. I'll be ordering one this week. I got a dual AMD 1900 from monarchcomputer.com, it was pretty decently priced at

Re: libufs, a library for dealing with UFS from userland.

2002-06-29 Thread Alfred Perlstein
to further work on this, etc. The work is really nice, but the timing sounds rather bad, is there a way you can either commit it earlier or after you return from hiatus? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why

Re: libufs, a library for dealing with UFS from userland.

2002-06-29 Thread Alfred Perlstein
* Juli Mallett [EMAIL PROTECTED] [020629 06:31] wrote: * Alfred Perlstein [EMAIL PROTECTED] escriuréres The work is really nice, but the timing sounds rather bad, is there Thanks. a way you can either commit it earlier or after you return from hiatus? I can commit it a few weeks

Re: Perl scripts that need rewiting - Any volunteers?

2002-06-25 Thread Alfred Perlstein
(template); free(cmd); free(template); close(fd); /* if normal exit, return true if exit code was 0 (success) */ return (WIFEXITED(status) ? WEXITSTATUS(status) == EXIT_SUCCESS : 0); -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start

Re: zero copy code checkin in 2 days, new snapshot

2002-06-24 Thread Alfred Perlstein
. It's not too hard, you just have to adjust the code not to close(2) the descriptors and make the mmap() function a stub type thing. really out of date... http://people.freebsd.org/~alfred/thttpd/thttpd-sendfile-acceptfilter.diff -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why

Re: Suggested fixes for uidinfo would sleep messages

2002-06-18 Thread Alfred Perlstein
not be holding proc locks over ui*() calls. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org

Re: cvs commit: src/sys/dev/ct ct_machdep.h src/sys/dev/ncv ncr53c500var.h src/sys/dev/stg tmc18c30var.h

2002-05-31 Thread Alfred Perlstein
* Ruslan Ermilov [EMAIL PROTECTED] [020531 09:09] wrote: Stop in /usr/src/sys/i386/compile/GENERIC. # John Alfred, Your changes above broke building the GENERIC kernel. __i386__ is always defined (whether -ansi or not), and this now causes

Re: cvs commit: src/sys/dev/ct ct_machdep.h src/sys/dev/ncv ncr53c500var.h src/sys/dev/stg tmc18c30var.h

2002-05-31 Thread Alfred Perlstein
* Warner Losh [EMAIL PROTECTED] [020531 16:39] wrote: In message [EMAIL PROTECTED] Alfred Perlstein writes: : I'm really fine with either. Let's wait till tomorrow for anyone to : speak up, if no one does please feel free to commit whichever one you : feel more comfortable with. Aarrgh

Re: XFree86-4-libraries build error

2002-05-30 Thread Alfred Perlstein
* Peter Wemm [EMAIL PROTECTED] [020530 01:01] wrote: Wilko Bulte wrote: On Wed, May 29, 2002 at 11:38:57PM -0500, Peter Schultz wrote: FWIW: same here yesterday. I have not yet investigated what's up gcc-3.1 appears to have broken #pragma weak foo = bar What's the correct way to do

Re: Messages from WITNESS [Sun May 26 kernel]

2002-05-26 Thread Alfred Perlstein
. All I can say is that it hasn't seemed to hurt anything for me. Uh, why don't you guys enable 'debug.witness_ddb' and get us some tracebacks? :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30

Re: strtod sscanf on -CURRENT?

2002-05-24 Thread Alfred Perlstein
used as truth value t.c:13: warning: implicit declaration of function `strtod' That's from the code you posted, scary what can happen and how much of waste of your and our time this was. :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology

Re: rio500 usb support

2002-05-21 Thread Alfred Perlstein
@@ mn = self-dv_unit * USB_MAX_ENDPOINTS; vdevgone(maj, mn, mn + USB_MAX_ENDPOINTS - 1, VCHR); #elif defined(__FreeBSD__) + destroy_dev(sc-sc_dev); /* XXX not implemented yet */ #endif -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software

Re: Apache + threads under FreeBSD ...

2002-05-21 Thread Alfred Perlstein
CC'd to David. David Greenman was going to backport a fix, but I stalled him because of backwards compatbility. Since I haven't had the time to implement the osendfile compat syscall, I'd like to know if he'll be MFC'ing the fix or if I should do it? -Alfred * The Hermit Hacker [EMAIL

Re: mergemaster(8) broken -- uses Perl

2002-05-19 Thread Alfred Perlstein
|291846|0|1001|0|262301|1|1021793082|755|1095744|23996|10|1001|stat Bow to me. echo 'ibase=2\nobase=8\n' \ `ls -ld ${FILE} | cut -f 1 -d | \ sed -e 's/[rwx]/1/g' -e 's/[^rwx1]/0/g'` | \ bc -- -Alfred Perlstein [[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED

<    1   2   3   4   5   6   7   >