Somebody tracked this down they write:
+ I found the crash bug on freebsd, but it is actually affecting every
+ platform; freebsd just happens to use strlen() in it's strdup()
+ implementation.
FYI
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in t
Tabor Kelly wrote:
>
> I have found how to collect limited system statistics with
> sysctlbyname(), but I need to know how to do more. In specific I need
> to know how much memory is being used, and what percentage of
> processor cycles are being used.
>
> Any help is greatly appreciated, Thank
As for memory look at the output of a vmstat -m. That will show you your
kernel memory useage. For processor cycles build a profiling kernel
(config -p). Look at the man pages for kgmon and gprof to see how to use
the profiler.
On Fri, 27 Jul 2001, Tabor Kelly wrote:
> I have found how to col
The kernel will grow the size of the userland stack if need be.
Look for vm_map_growstack().
Also just a FYI that size sounds about right for the kernel stack. Be
very careful not to use function recursion or to many on the stack large
sized variables or else youll blow yourself into double faul
Warner Losh wrote:
>
> In message <[EMAIL PROTECTED]> Sergey Babkin writes:
> : > Use dump. Otherwise, you will lose.
> :
> : Don't use dump. Or you'll never be able to restore these backups
> : on a non-FreeBSD machine.
>
> Unless it runs NetBSD, OpenBSD, Solaris, Linux or SunOS. ufsrestore
>
Hi,
I want to use the function inet_aton() in the
kernel code. However, I found no kernel equivalent of this function int the
freebsd sources. I could find inet_ntoa(), but not inet_aton(). Is it named by
some other name or how can I locate it?
Thanks,
Anjali
I'd like to apply this patch to pkg_add which reduces the amount of code
the compiler generates, and improves the clarity of the code.
1. s_strl* is obvious some form of "safe" strl{cpy,cat}. But *WHAT*
does it make "safe"? Isn't obvious w/o having to track down the
s_strl{cat,cpy} functi
In message <[EMAIL PROTECTED]> Sergey Babkin writes:
: > Use dump. Otherwise, you will lose.
:
: Don't use dump. Or you'll never be able to restore these backups
: on a non-FreeBSD machine.
Unless it runs NetBSD, OpenBSD, Solaris, Linux or SunOS. ufsrestore
is pretty universal.
Warner
To Uns
Warner Losh wrote:
>
> In message <[EMAIL PROTECTED]> James Howard
>writes:
> : Both tar and cpio seem to have problems doing backups on my
> : server. Looking at the pax manpage, we see this:
>
> Use dump. Otherwise, you will lose.
Don't use dump. Or you'll never be able to restore these ba
I thought doing a memory free is always safe in an interrupt context. Now
it seems doing an allocation of memory is safe too. Does MCLGET() call
vm_page_alloc() or malloc() eventually? If so, it might block.
-Zhihui
On Thu, 26 Jul 2001, Terry Lambert wrote:
> Bosko Milekic wrote:
> > > > Er,
On Fri, 27 Jul 2001 [EMAIL PROTECTED] wrote:
> Dear Jonathan
>
> I want ask a favor to you. I have try to get help
> in hackers list, but it was unsuccessful.
>
> Days ago, I asked :
>
> > I need pass asynchronously data from kernel
> > to a userland process, include a quantity variable of
On Fri, 27 Jul 2001, Tabor Kelly wrote:
> I have found how to collect limited system statistics with
> sysctlbyname(), but I need to know how to do more. In specific I need
> to know how much memory is being used, and what percentage of
> processor cycles are being used.
You can get memory utili
Dear Jonathan
I want ask a favor to you. I have try to get help
in hackers list, but it was unsuccessful.
Days ago, I asked :
> I need pass asynchronously data from kernel
> to a userland process, include a quantity variable of
> data (void *opaque).
And Terry Lambert wrote:
>The easiest
[EMAIL PROTECTED] wrote:
>
> With the following ipfw config fragment,
Which happens not to include the rule that is denying your packets...
>
> # divert packets through the tunnel interface
> $fwcmd add divert natd all from any to any via tun0
> ...
> # allow anything I start up (OK)
> # allow
On Thu, 26 Jul 2001, Steven Ames wrote:
> public IP space. I might be off here but I think the real problem with
> two seperate networks on one card (or even on two cards) would be
> the default route (can't have two right?) and which IP address gets
> used as the 'source IP' on packets leaving t
I have found how to collect limited system statistics with
sysctlbyname(), but I need to know how to do more. In specific I need
to know how much memory is being used, and what percentage of
processor cycles are being used.
Any help is greatly appreciated, Thank You.
Tabor Kelly
To Unsubscrib
On Fri, Jul 27, 2001 at 03:16:45PM -0400, Patrick Bihan-Faou wrote:
> Any thoughts ?
The idea of replacing a FreeBSD component which is actively maintained
and developed by a committer doesn't seem very good to me, but on the
other hand I'd really like it if we had the ability to fetch https
URL
hackers:
I built my own custom release and created a custom install.cfg file.
The file is good because I tested with a FreeBSD 4.3Release.
And it partitions my disk and installs the a custom bin distro.
Now for my custom release, I deleted all bin.?? files and inserted some
of my own files and d
On Fri, Jul 27, 2001 at 04:00:41PM -0400, Patrick Bihan-Faou wrote:
> Yes I fully realize that. My point though is that libfetch to me seems a bit
> limited in its feature set, while there exists other tools that implement
> what libfetch does and much more. Using curl/libcurl from the base system
> FYI, curl is already available as a port: /usr/ports/ftp/curl even if it's
> not part of the base system.
Yes I fully realize that. My point though is that libfetch to me seems a bit
limited in its feature set, while there exists other tools that implement
what libfetch does and much more. Usin
A closer look at the code /usr/src/sys/i386/i386/locore.s astonished
me with the fact that the kernel stack size for a process, at least
for process 0, is 2*4096-sizeof(struct user) = 3988 bytes, less than
even one page.
Anyone to verify this, please?
BTW, I am looking at the 4.3-stable code.
Th
At 2:45 PM +0200 7/27/01, Assar Westerlund wrote:
>Sheldon Hearn <[EMAIL PROTECTED]> writes:
>> How on earth is one supposed to shut up the -Wconversion warnings
>> generated for all the functions that take mode_t arguments?
>>
>> I've tried every sane typecast I can think of to prove to the co
FYI, curl is already available as a port: /usr/ports/ftp/curl even if it's
not part of the base system.
louie
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Hi,
I was looking at a way to do some downloads over HTTPS from inside a C
program, and I realized that libfetch (which is a fine piece of code BTW)
can not do it easily. I looked for alternatives and found cURL
(http://curl.haxx.se/).
In the same spirit as fetch/libfetch, this comes with both a
On Thu, 26 Jul 2001, Hugh LaMaster wrote:
> - Since the mid-70's (that is 25 years now), logic/gates/real-estate
> are no longer (economically) scarce
> - Therefore, the key to the value/efficiency of any computer architecture
> is how well it uses memory
> - There are two key components to m
It could also be a problem with xmms. You might start with the
maintainer of the xmms port. The maintainer is listed in the top level
Makefile for the port.
Cheers,
-brian
On Fri, Jul 27, 2001 at 11:39:51AM +0200, Bjoern Fischer wrote:
> Hello,
>
> is it possible that xmms triggers a problem
Marco Molteni writes:
| I am writing a program to parse frames dumped to bpf by an, the
| aironet driver.
|
| I am using the latest patches by Doug Ambrisko, that allow the driver
| to dump not only the 802.11 frame but also the special Aironet header
| that the device prepends to the 802.11 fram
> On Wed, 25 Jul 2001 Terry Lambert wrote:
>>[EMAIL PROTECTED] wrote:
>>
>> I need pass asynchronously data from kernel
>> to a userland process, include a quantity variable of
>> data (void *opaque).
>The easiest way to do this is to have the user space process
>register a kevent, and then KN
On Fri, Jul 27, 2001 at 10:55:49AM +0200, Marco Molteni wrote:
> I am writing a program to parse frames dumped to bpf by an, the
> aironet driver.
>
> I am using the latest patches by Doug Ambrisko, that allow the driver
> to dump not only the 802.11 frame but also the special Aironet header
> th
In my opinion- this looks pretty good! I'll give it a try later today!
Thanks!
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
> Matthew Emmerton([EMAIL PROTECTED])@2001.07.26 16:50:52 +:
> > On Thu, 26 Jul 2001, Matthew Jacob wrote:
> >
> > > It'd be nice if one could pass a time specification to at in the form of "next
> > > reboot".
> > >
> > > -matt
> > >
> >
> > Why not just write a script for the command and
Matthew Emmerton([EMAIL PROTECTED])@2001.07.26 16:50:52 +:
> On Thu, 26 Jul 2001, Matthew Jacob wrote:
>
> > It'd be nice if one could pass a time specification to at in the form of "next
> > reboot".
> >
> > -matt
> >
>
> Why not just write a script for the command and stick it in
> /usr/
suscribe
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
> "Dima" == Dima Dorfman <[EMAIL PROTECTED]> writes:
Dima> David Gilbert <[EMAIL PROTECTED]> writes:
>> I have somewhat of an interesting problem: I have applications that
>> write arbitrarily large files (as much as 6 gig) and I find that
>> the best performance for these disks is to use som
David Gilbert <[EMAIL PROTECTED]> writes:
> I have somewhat of an interesting problem: I have applications that
> write arbitrarily large files (as much as 6 gig) and I find that the
> best performance for these disks is to use something like MFS.
>
> However, mfs has a maximum size of 512M.
>
Terry Lambert wrote:
>
> Jim Bryant wrote:
> > Everybody and their dog must be downloading this. If you keep
> > getting the java.lang.OutOfMemoryError, just keep hitting
> > "reload"... I was just about to give up when it finally worked for me.
>
> Gee, garbage collection is special. I'm goi
Sheldon Hearn <[EMAIL PROTECTED]> writes:
> How on earth is one supposed to shut up the -Wconversion warnings
> generated for all the functions that take mode_t arguments?
>
> I've tried every sane typecast I can think of to prove to the compiler
> that I know what I'm doing, but it won't shut up
I have somewhat of an interesting problem: I have applications that
write arbitrarily large files (as much as 6 gig) and I find that the
best performance for these disks is to use something like MFS.
However, mfs has a maximum size of 512M.
md appears to have a very small maximum size and only
Daniel O'Connor <[EMAIL PROTECTED]> types:
>
> On 27-Jul-2001 Wilko Bulte wrote:
> > On Thu, Jul 26, 2001 at 10:46:24PM -0600, Warner Losh wrote:
> > > In message <[EMAIL PROTECTED]> James
> > > Howard writes:
> > > : A lot of people said this. Why? As near as I can tell, dump isn't that
> > >
Hi folks,
How on earth is one supposed to shut up the -Wconversion warnings
generated for all the functions that take mode_t arguments?
I've tried every sane typecast I can think of to prove to the compiler
that I know what I'm doing, but it won't shut up.
/usr/src/usr.sbin/config is a good ex
Hello,
is it possible that xmms triggers a problem in FreeBSD's thread
implementation? It happens often that xmms gets stuck in
_thread_sys_poll():
(gdb) info threads
7 process 332, thread 7 0x28439d44 in _thread_kern_sched ()
from /usr/lib/libc_r.so.4
6 process 332, thread 6 0x28439d44
(I've tried this already on the "questions" list already, but without
success. I hope it's not too trivial for this list -- either I'm missing
something glaringly obvious (probable), or there's a bug. Either
way, I'm stuck :-( )
It looks to me as though natd and ipfw interact inconsistently
Hi all,
I finally got some time to do the simple MFC for ida driver. It enables
the automatic drive rebuild on Integrated SmartArray controllers.
I tested enclosed patch on DL380 (controller firmware 1.42) and it works
fine.
Could someone please have a look and commit this simple MFC into -stabl
> > > If you are using a switch you should use FEC or VLANs.
> > > Yes I know there switches out there without that features
> but if you
> > > want more performance then use hardware that can do the
> job you need.
> >
> > Could you please point me to some howto for FEC on FreeBSD ?
>
> See t
Hi,
I am writing a program to parse frames dumped to bpf by an, the
aironet driver.
I am using the latest patches by Doug Ambrisko, that allow the driver
to dump not only the 802.11 frame but also the special Aironet header
that the device prepends to the 802.11 frame, ie:
aironet header | 802.
On Fri, Jul 27, 2001 at 10:15:32AM +0200, Milon Papezik wrote:
> > -Original Message-
> > From: Bernd Walter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 26, 2001 19:12
> > To: Leo Bicknell
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: ARP cache problems
> >
> >
> > On Thu, Jul 2
> -Original Message-
> From: Bernd Walter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 19:12
> To: Leo Bicknell
> Cc: [EMAIL PROTECTED]
> Subject: Re: ARP cache problems
>
>
> On Thu, Jul 26, 2001 at 11:35:59AM -0400, Leo Bicknell wrote:
> > On Thu, Jul 26, 2001 at 10:0
47 matches
Mail list logo