mbuf wait code (revisited) -- review?

1999-11-11 Thread Bosko Milekic
that uses the MGET, MGETHDR, MCLGET, MCLALLOC macros and m_get, m_gethdr, m_clalloc functions in order to make sure that all of that code checks whether the returned pointer is referencing a NULL (most of the problematic code resides in sys/nfs, from what I've seen. -- Bosko Milekic <[EMAIL

Re: mbuf wait code (revisited) -- review?

1999-01-16 Thread Bosko Milekic
dds some overhead (not much, though). Anybody know of a different [better] way? On Fri, 12 Nov 1999, Julian Elischer wrote: !>It looks pretty thorough but needs more examination that I have given it !>yet. !> !>On Fri, 12 Nov 1999, Bosko Milekic wrote: !> !>> !>> Hi,

Re: mbuf wait code (revisited) -- review?

1999-01-16 Thread Bosko Milekic
ters). The plan is to fiddle with those _new_ routines. !> !> -Matt !> Matthew Dillon !> <[EMAIL PROTECTED]> !> -- Bosko Milekic <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: mbuf wait code (revisited) -- review?

1999-01-16 Thread Bosko Milekic
to be plenty of code, especially around sys/nfs that 'assumes' this 'guaranteed success,' and because of that, problems arise. Bosko. -- Bosko Milekic <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: PCI DMA lockups in 3.2 (3.3 maybe?)

1999-11-21 Thread Bosko Milekic
gher to debug, and knowing whether 3.3 remedies the problem can be of some help. -- Bosko Milekic <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: ip checksum

1999-11-22 Thread Bosko Milekic
missing? !> !>thanks !> !> Would you be able to provide some code to illustrate the situation? There are several things that may go wrong. What exactly are you trying to do here? (You may be using the wrong procedure) and what are you getting for return values?

Re: splimp for PCI

1999-12-20 Thread Bosko Milekic
y_ working on cleaning this stuff up, and completely getting rid of the remains of the "old" interface? Bosko. .. . . . . . . .. .. . . . Bosko Milekic -- [EMAIL PROTECTED] . . . . . .. . . . . .. . . WWW: http://pages.infinit.net/bmilekic/ . ..

Re: SIGFPE on arithmetic overflow

1999-12-23 Thread Bosko Milekic
and because FP_X_INV (which covers this possibility) is not unmasked; the trap occurs and the signal is posted. Could somebody try this piece of code on a -STABLE machine, just out of curiosity...? Bosko. ...... . . . . . . ..

Re: PR kern/14034: gettimeofday() returns negative value?

2000-01-19 Thread Bosko Milekic
on a DEC box running: OSF1 oracle.dsuper.net V4.0 1091 alpha And got the exact same results. The problem is the tv1 = tv2 structure equality. Since the byte order is different, you get your usec from tv1 ending up in tv2's usec field. Regards, Bosko. -- Bosko Milekic Email:

Re: Acceptable MBUF levels?

2000-01-26 Thread Bosko Milekic
maxusers. Actually, for mbufs and mbuf clusters, you should increase NMBCLUSTERS, which will serve as an indication of allocate-able clusters as well as, ultimately, mbufs. -- Bosko Milekic Email: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsub

Re: Acceptable MBUF levels?

2000-01-29 Thread Bosko Milekic
eters in the kernel, so you could end up with a rather large kernel when all you really want to do is increase NMBCLUSTERS, and nothing else. But yeah, your point is very valid. Cheers, Bosko. - | Bosko Milekic

rtfree panic() (fwd)

2000-02-07 Thread Bosko Milekic
now-how could take a look at this, I think that Shrihari (along with the others who have experienced this?) would appreciate it. Note that if more infos. are needed, request it at the Shrihari's address below. --------

Re: Where is pci_intr_establish() & _thread_sys_read()?

2000-03-06 Thread Bosko Milekic
stablish is not part of FreeBSD's interface(s), as far as I know. This probably belongs to either NetBSD or OpenBSD (since the drivers that use this routine to setup an interrupt use it under #if defined(__OpenBSD__) or __NetBSD__ blocks. See our bus interface code (e.g. bus_if.[ch]) --Bosk

Comments above kmem_malloc() (vm/vm_kern.c)

2000-03-25 Thread Bosko Milekic
I've seen, that call kmem_malloc are the kernel's malloc() and the mbuf allocation routines. Niether of these seems to do it at splhigh(), either. --Bosko Milekic <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Regarding PR 5877: sb_cc issues.

2000-04-30 Thread Bosko Milekic
getting many replies). -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] "Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day." To Un

Re: What do people think of maybe using the sourceforge software?

2000-05-16 Thread Bosko Milekic
h is what open source is about for many of us). With the centralization of information will come direction. Cheers, Bosko. -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] "Give a man a f

Re: leaking sockets (closure)

2000-05-17 Thread Bosko Milekic
zero in tcp_timer.c, which is what at first glance tripped me off. (I have re-simulated the exhaustion and all seems fine). -Bosko -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] "Give a man

socket leak(s)...

2000-05-17 Thread Bosko Milekic
I'm afraid my earlier message was incorrect. This is _still_ an issue... (the always_keepalive is unrelated) ... appologies; and tomorrow will be back to poking around day. -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokrati

Re: fatal trap 12: page fault while in kernel mode

2000-05-26 Thread Bosko Milekic
0x8:0xc022798F > You have to post more information. For example, what is at the location pointed at by the instruction pointer? Get a stack trace, if possible (from the debugger), and any other relevant info., most of which is explained in the Handbook. -- Bo

Linux Module problems

2000-05-26 Thread Bosko Milekic
roduce this again. I remember seeing this in earlier -CURRENT, too, just never got around to playing with it. Anyone? -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] To Unsubscribe: send mail to [E

Re: Linux Module problems

2000-05-26 Thread Bosko Milekic
t/linux/sbin/ldconfig. Am giving it a shot. > > -- > Alain Thivillon -+- [EMAIL PROTECTED] -+- Hervé Schauer Consultants > > -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] To Uns

Re: Linux Module problems

2000-05-26 Thread Bosko Milekic
giving it a shot. > This worked. Thanks! -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Linux Module problems

2000-05-27 Thread Bosko Milekic
quick kldunload/kldload linux. I tried the same thing on the ipfw module, but it seems to be working fine (i.e. no panic). -- Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com [EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED] To Unsubscribe: send m

Re: kerneld for FreeBSD

2000-06-06 Thread Bosko Milekic
loads "unused" drivers. -- Bosko Milekic [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Mbuf waiting mfc to 3

2000-06-10 Thread Bosko Milekic
5.) So, > please CVSUP before testing this patch to ensure you're seeing its true > colors. > > Thanks, > > Mike "Silby" Silbersack -- Bosko Milekic * Voice/Mobile: 514.865.7738 * Pager: 514.921.0237 [EMAIL PROTECTED] * http://www.technokratis.com/ --- ke

ether_output() : WIERD PROBLEM

2000-06-13 Thread Bosko Milekic
the mbuf. In other words, I can't even `continue' in this case. If I move the m_flags check before the IF_ENQUEUE, this doesn't happen at all! Furthermore, if I revert my mbuf changes, I don't catch this problem. Anyone got any hints/clues? Regards, Bosko. --

Re: ether_output() : WIERD PROBLEM

2000-06-13 Thread Bosko Milekic
o _after_ the if_start call. On Tue, 13 Jun 2000, Bosko Milekic wrote: > > Hello, > > I've been doing some mbuf-related work on my -CURRENT machine lately. > Particularily, I've re-written the allocator and free routines, amongst > other things. However

<    1   2