Re: Problems with FreeBSD 6.0

2006-04-12 Thread Kris Kennaway
On Wed, Apr 12, 2006 at 10:48:44PM +, [EMAIL PROTECTED] wrote: I tried out FreeBSD 6.0 (sorry, I copied just part or uname -a and I got something like LINUX 2.4.2 FreeBSD 6.0 - Release #0: Nov 3 09:36:13 UTC 2005 i686 i686 i386 GNU/LINUX) No you didn't, since no version of

Re: Problems with FreeBSD 6.0

2006-04-12 Thread Kris Kennaway
On Thu, Apr 13, 2006 at 02:48:51AM +0200, Stefan Sperling wrote: On Wed, Apr 12, 2006 at 07:22:27PM -0400, Kris Kennaway wrote: On Wed, Apr 12, 2006 at 10:48:44PM +, [EMAIL PROTECTED] wrote: I tried out FreeBSD 6.0 (sorry, I copied just part or uname -a and I got something like

Re: Problems with FreeBSD 6.0

2006-04-12 Thread Kris Kennaway
On Thu, Apr 13, 2006 at 10:57:48AM +1000, Tony Maher wrote: Kris Kennaway wrote: On Thu, Apr 13, 2006 at 02:48:51AM +0200, Stefan Sperling wrote: On Wed, Apr 12, 2006 at 07:22:27PM -0400, Kris Kennaway wrote: On Wed, Apr 12, 2006 at 10:48:44PM +, [EMAIL PROTECTED] wrote: I tried

Re: grep out of memory error

2006-04-14 Thread Kris Kennaway
On Sat, Apr 15, 2006 at 12:16:23PM +1000, Dragos Ionita wrote: Hi, not sure that I'm in the right mailing list here, but I got myselft the 6.1-RC1 amd64 iso yesterday and installed it. I've got a minimum system running and just 10 minutes ago, I ran a 'grep' command and it returned an

Re: Kernel Fatal Trap 12

2006-04-19 Thread Kris Kennaway
On Wed, Apr 19, 2006 at 07:46:16PM +0200, Thomas SOETE wrote: Hi everybody Since a little time I began to have some kernel fatal trap 12 Kernel panics that magically start for no reason after a long time of stability are usually because your hardware has begun to fail. Kris pgpGuwqbOuIMP.pgp

Re: Kernel Fatal Trap 12

2006-04-19 Thread Kris Kennaway
On Wed, Apr 19, 2006 at 07:59:08PM +0200, Thomas SOETE wrote: Hum, is there a way to have a little idea of which hardware begun to fail ? Check CPU cooling, power supply, cabling, RAM, etc. Google for more - this question is asked and answered about once a week. Kris pgp61xkB8fejK.pgp

Re: Atomic updates of NFS export lists

2006-04-21 Thread Kris Kennaway
On Fri, Apr 21, 2006 at 12:56:11PM +0300, Andrey Simonenko wrote: Greetings, In my environment non-atomic updates of NFS export lists are not acceptable. So, I decided to correct this problem. As the result mountd, kern/vfs_export.c were completely rewritten, mount.h, vfs_mount.c and

Re: [ANN] unionfs patchset-11 release

2006-04-25 Thread Kris Kennaway
On Tue, Apr 25, 2006 at 09:19:06PM +0900, Daichi GOTO wrote: It is my pleasure and honor to announce the availability of the unionfs patchset-11. Patchset-11: For 7-current http://people.freebsd.org/~daichi/unionfs/unionfs-p11.diff For 6.x

Re: FreeBSD 6.1, crashes and a lack of vmcores

2006-05-26 Thread Kris Kennaway
On Fri, May 26, 2006 at 11:57:09AM -0600, Matt Ruzicka wrote: options SCHED_ULE # ULE scheduler Try with 4BSD; ULE is known to be broken, and it's also usually a performance loss except under minor load. Kris pgpQ6xwEp9ewy.pgp Description: PGP signature

Re: FreeBSD 6.1, crashes and a lack of vmcores

2006-05-26 Thread Kris Kennaway
On Fri, May 26, 2006 at 12:56:35PM -0600, Matt Ruzicka wrote: On Fri, 26 May 2006, Kris Kennaway wrote: Try with 4BSD; ULE is known to be broken, and it's also usually a performance loss except under minor load. Cool, I'll jump back to 4BSD for completeness, though we were seeing

Re: Trouble debugging a kernel dump (kgdb: kvm_read: invalid address)

2006-05-27 Thread Kris Kennaway
On Sat, May 27, 2006 at 12:59:19PM +0200, Joost Bekkers wrote: Hi The problem is probably in front of the keyboard, but I don't know what I'm doing wrong. A pc of a friend of mine has been crashing lately after installing 6.0R on it. It has ran 4.10R rock solid ever since it was released.

Re: gstat going negative?

2006-05-30 Thread Kris Kennaway
On Tue, May 30, 2006 at 11:04:35AM -0400, David Gilbert wrote: I've large array that winds up providing 1TB of disk (according to df -h :) to a bunch of nfs users. On the array machine, I'm using gmirror and gconcat to build the array and right now I'm running dump on the array. I've got a

Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Kris Kennaway
On Tue, Aug 06, 2002 at 06:55:11PM -0700, Peter Wemm wrote: `-mcpu=CPU-TYPE' Tune to CPU-TYPE everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for CPU-TYPE are `i386', `i486', `i586', `i686',

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Kris Kennaway
On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote: I've got a very similar patch which I believe to be a bit more complete because it also updates the MACHINE_CPU variable which lists the features available on a particular CPU. I attach it to this mail. Oops, I forgot that

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Kris Kennaway
On Fri, Sep 06, 2002 at 06:08:23PM -0700, Maxime Henrion wrote: Kris Kennaway wrote: On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote: I've got a very similar patch which I believe to be a bit more complete because it also updates the MACHINE_CPU variable which lists

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-11 Thread Kris Kennaway
On Tue, Sep 10, 2002 at 09:41:56PM -0700, David O'Brien wrote: +. if ${CPUTYPE} == athlon-mp || ${CPUTYPE} == athlon-xp || ${CPUTYPE} == athlon-4 || ${CPUTYPE} == athlon +_CPUCFLAGS = -march=${CPUTYPE} . elif ${CPUTYPE} == k6-3 _CPUCFLAGS = -march=k6-3 . elif ${CPUTYPE} == k6-2 Why

Re: libfetch bug.

2002-09-20 Thread Kris Kennaway
On Mon, Sep 16, 2002 at 09:37:21PM -0700, Alfred Perlstein wrote: libfetch seems to have a bug such that if a disconnect happens at a particular point it spins in a tight loop. I tracked it down to this fix: I'm still seeing this. Have you heard anything from DES? If not, please go ahead

Re: Building FreeBSD 4.6 with GCC 3.2

2002-10-15 Thread Kris Kennaway
On Tue, Oct 15, 2002 at 02:12:51PM -0700, Deepankar Das wrote: All, Has anyone tried building FreeBSD 4.6 with GCC 3.2? I am seeing pre-processor problems during the make depend stage. Anything that I need to know to make GCC 3.2 build FreeBSD 4.6? It requires code changes, i.e. you can't

Re: malloc

2002-10-21 Thread Kris Kennaway
On Mon, Oct 21, 2002 at 11:25:43AM +0200, Danny Braniss wrote: comments? That code is a REALLY inefficient use of malloc(). You can always write bizarre code that exaggerates the differences between different algorithms (e.g. Linux malloc vs FreeBSD malloc). Kris msg37495/pgp0.pgp

Re: X11 display problem

2002-10-24 Thread Kris Kennaway
On Thu, Oct 24, 2002 at 08:10:19PM -0500, Brandon D. Valentine wrote: On Thu, 24 Oct 2002, Chuck Robey wrote: The fix that I've found so far is either to start X with xdm (which doesn't have that default off), to start startx with the -listen_tcp option, or to edit the startx script to

Re: Linux compatibility and /dev/null

2002-10-17 Thread Kris Kennaway
On Thu, Oct 17, 2002 at 09:53:37AM -0400, Robert Withrow wrote: Hmm??? Doing chmod 666 /compat/linux/dev/null fixes the problem. This looks like a bug in the linux-base port. I'll file a PR. The port already does this: # # Make sure we have a /dev/null in the chrooted environment.

Re: /usr/bin/finger problems...

2002-12-02 Thread Kris Kennaway
On Mon, Dec 02, 2002 at 10:01:22PM +1100, J R Matthews wrote: I can submit a patch to fix this if you want or not.. I honestly dont give a damn to be honest ;) Submitting a PR containing a patch is the best way to get this fixed. Thanks! Kris msg38430/pgp0.pgp Description: PGP

Re: help compiling propolice gcc

2002-12-08 Thread Kris Kennaway
On Sun, Dec 08, 2002 at 05:22:24PM -0800, Lamont Granquist wrote: And if I try to go into /usr/src/gnu/usr.bin/cc/cc_int and do a make I get only this: Warning: Object directory not changed from original /usr/src/gnu/usr.bin/cc/cc_int This indicates you probably have stale cruft in your

Re: MAKEDEV not present

2002-12-19 Thread Kris Kennaway
On Thu, Dec 19, 2002 at 11:05:51AM +0100, Ferruccio Vitale wrote: Hi hackers, I just upgraded my 4.7 box to 5.0 and 'everything' works fine... ;-) Looking at my /dev directory, I can't find MAKEDEV file. I tried to rebuild everything, to create that file, to copy, but it always say that

Re: Weak port system or how can I attract attention to my PRs?

2003-01-16 Thread Kris Kennaway
On Thu, Jan 16, 2003 at 08:15:44PM +0300, Sergey Matveychuk wrote: It was 1 December 2002. Till now there is no reactions. I'v wrote a few mails to portmgr but I'v just ignored. You've forgotten that we've been deep in the middle of a release cycle for the past several months. I want to look

Re: RFC: Adding a new (safer) data entry function to libdialog

2003-01-20 Thread Kris Kennaway
On Mon, Jan 20, 2003 at 12:18:51PM +0100, Miguel Mendez wrote: Hello hackers, Currently, when one wants the user to enter data in a libdialog based program, one uses the following function: int dialog_inputbox(unsigned char *title, unsigned char *prompt, int

Re: RFC: Adding a new (safer) data entry function to libdialog

2003-01-21 Thread Kris Kennaway
On Tue, Jan 21, 2003 at 10:15:02AM +0100, Miguel Mendez wrote: On Mon, 20 Jan 2003 17:59:47 -0800 Kris Kennaway [EMAIL PROTECTED] wrote: [making libdialog safer } libdialog is rife with overflowable buffers..I'm not sure it would be safe even with this input method. Okay, I have

Re: patch to remove random #define MIN/MAX implementations from around the kernel

2003-01-21 Thread Kris Kennaway
On Tue, Jan 21, 2003 at 07:25:44PM -0800, Matthew Dillon wrote: This patch is going to go in on the weekend unless someone has any worthwhile nits about it. It was submitted by Hiten Pandya. Index: contrib/dev/oltr/if_oltr.c Index: contrib/ipfilter/netinet/ip_proxy.c Index:

Re: patch to remove random #define MIN/MAX implementations from around the kernel

2003-01-21 Thread Kris Kennaway
On Tue, Jan 21, 2003 at 08:02:59PM -0800, Matthew Dillon wrote: :You shouldn't modify vendor code for minor purposes. : :Kris The vendor code in question has been modified *extensively* since it was imported, (and of course I would give Darren a head's up in regards to

Re: SSHD PRNG Not seeded under jail

2003-01-23 Thread Kris Kennaway
On Wed, Jan 22, 2003 at 02:22:27AM +, Andrew Alston wrote: Hi All, FBSD 5-RC2 was giving me a SSHD PRNG not seeded problem when running under jails, is this a problem with my configuration or a bug? And if a bug, has it been fixed in -RELEASE? Do you have a devfs instance mounted in

Re: SSHD PRNG Not seeded under jail

2003-01-23 Thread Kris Kennaway
On Fri, Jan 24, 2003 at 08:33:32AM +, Andrew Alston wrote: Nope, I will try that though I simply went and did a MAKEDEV jail in /dev in the jail Could that be my problem? Yes. Kris msg39389/pgp0.pgp Description: PGP signature

Re: [eugene@securityarchitects.com: Re: Preventing exploitation with rebasing]

2003-02-05 Thread Kris Kennaway
On Tue, Feb 04, 2003 at 11:51:14AM -0800, Justin Lundy wrote: Has similar work been done in FreeBSD been done? This would be a nice feature in 5.0-CURRENT. We had SecureBSD, and the IBM port of propolice, but both projects appear to be defunct at present. What happened to Propolice? The 4.x

Re: FreeSBIE-0.9.0 (beta) released

2003-02-15 Thread Kris Kennaway
On Sat, Feb 15, 2003 at 10:13:41PM +0100, Dario Freni wrote: Fire up your download managers guys, I'm proud to announce that freesbie 0.9.0 livecd is out and ready for download at It might generate more enthusiasm for testing if you could briefly mention what FreeSBIE does. Kris

Re: arc4random() range

2003-02-18 Thread Kris Kennaway
On Tue, Feb 18, 2003 at 04:04:57PM -0800, Paul Herman wrote: What's the concesus that arc4random() should be a drop-in replacement for rand()/random()? Consider the following that caclulates the average of a bunch of random numbers on [0.0, 1.0]: rand() and random() return signed values (int

Re: Lots of kernel core dumps

2003-03-21 Thread Kris Kennaway
On Fri, Mar 21, 2003 at 10:26:01PM +0100, Daniela wrote: On Friday 21 March 2003 22:10, Kris Kennaway wrote: On Fri, Mar 21, 2003 at 08:37:46PM +0100, Daniela wrote: Hi all! I'm getting lots of kernel core dumps on my server. My RAM is OK, I tested it. Below are more detailed

Re: Lots of kernel core dumps

2003-03-22 Thread Kris Kennaway
On Sun, Mar 23, 2003 at 12:10:38AM +0100, Daniela wrote: Yes, I read the Early Adopter's Guide. Is there any way to solve this without upgrading to -current? If you wanted to dig through the CVS commit logs to find the change that fixed this problem (this may be difficult), you could back-port

Re: ports and /var/db/pkg

2003-04-02 Thread Kris Kennaway
On Wed, Apr 02, 2003 at 06:18:24PM +0300, Danny Braniss wrote: hi all, is there some 'easy' way to resync /var/db/pkg from /usr/local (after some rm's on it?), i guess i could write a script to would try and match the info in /var/db/pkg, and if it's not where it's supposed to be would

Re: ports and /var/db/pkg

2003-04-02 Thread Kris Kennaway
On Wed, Apr 02, 2003 at 02:58:43PM -0800, Brian O'Shea wrote: Danny, If you built your packages from ports, you could always reinstall them. You just have to check for /usr/ports/group/port/work/.install_done.* Only if you've never run 'make clean' (unlikely, if he's following directions).

Re: ports and /var/db/pkg

2003-04-03 Thread Kris Kennaway
On Thu, Apr 03, 2003 at 11:06:06AM +0300, Danny Braniss wrote: Only if you've never run 'make clean' (unlikely, if he's following directions). :-), specially since disk space tends to run out. so, if i understand the drift, there is no simple way to sync 'what is' with 'what should'

Re: ports and /var/db/pkg

2003-04-03 Thread Kris Kennaway
On Thu, Apr 03, 2003 at 02:06:39PM +0300, Danny Braniss wrote: Correct. ok, so i wrote a small script (tcl, since i don't know perl), that does some checking, it reports for each package, the number of files how many are realy there, and if so, checks the MD5. now, if im not to far

Re: gcc 3.0.1 compile on ALPHA

2002-01-09 Thread Kris Kennaway
On Wed, Jan 09, 2002 at 09:59:26PM +0100, Floris 'Tamama' van Gog wrote: Hi, I tried to install gcc 3.0.1 from the ports, but. stage1/xgcc -Bstage1/ -B/usr/local/alpha-portbld-freebsd4.4/bin/ -c -DI N_GCC-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-p rototypes

Re: Amount of free memory available in system?

2002-01-12 Thread Kris Kennaway
On Sat, Jan 12, 2002 at 11:30:27AM -0700, Nate Williams wrote: Is there a simple sysctl or a command line utility I can use to determine how much free memory is available in a system? I've got an embedded application that has *very* limited memory, and I was trying to figure out how much

Re: which port for libcrypto.so.2

2002-01-18 Thread Kris Kennaway
On Tue, Jan 15, 2002 at 06:27:14PM -0500, James Housley wrote: Alwyn Goodloe wrote: When trying to run ethereal I get the message %./ethereal /usr/libexec/ld-elf.so.1: Shared object libcrypto.so.2 not found Anyone know which package I can get this from??? Check the compat

Re: NFS v4

2002-01-18 Thread Kris Kennaway
On Mon, Jan 14, 2002 at 08:39:33PM -0500, Dylan Carlson wrote: Hi, I know that work is already underway to incorporate this into the Linux kernel. I'm wondering if there are people within the FreeBSD project who are also working on this. Noteworthy features: firewall-friendly,

Re: Antivirus in FreeBSD?

2002-01-23 Thread Kris Kennaway
On Wed, Jan 23, 2002 at 07:47:30PM -0800, Matt wrote: Is there any free or not free antivirus software availble in FreeBSD? Yes. Did you even look? :) Kris msg31097/pgp0.pgp Description: PGP signature

Re: if_rl autodetect problems?

2002-01-25 Thread Kris Kennaway
On Fri, Jan 25, 2002 at 06:35:53PM -0500, [EMAIL PROTECTED] wrote: A MB with an onboard RTL8100 autonegotiates a 100Mb/s FDX connection ok on a crossover an a 10/100 switch, but it doesnt detect a 10Mb/s hub at all in 4.4-RELEASE. Is this a known problem? The realtek is known to be a

Re: helo

2002-01-26 Thread Kris Kennaway
On Sun, Jan 27, 2002 at 10:34:27AM +0100, al paqino wrote: hi how are you im sorry if i butting you but can you send me the unlocking code of the DREAMWEAVER in my addres and that is [EMAIL PROTECTED] thanks any way. Hi Al, You can obtain all sorts of codez and hacks at this ftp site:

Re: upgrading to the new version of libpcap?

2002-02-08 Thread Kris Kennaway
On Fri, Feb 08, 2002 at 06:10:16PM +0100, Marco Molteni wrote: Hi, FreeBSD -current and -stable have libpcap 0.6.2, imported 10 months ago. The current libpcap from www.tcpdump.org is 0.7.1 (and has features I am interested in, namely the parsing of 802.11 frames). Is there a rule on

Module versioning and linux.ko

2002-02-16 Thread Kris Kennaway
Is there anything which can be done in -stable to prevent new kernels from accepting old linux.ko modules? At some point in the past 3 months something changed in the kernel causing the old module to panic at runtime in elf_linux_fixup(). Yes, people should be upgrading their old modules when

Re: Sun idlc broken with our libc_r [Please help]

2002-03-06 Thread Kris Kennaway
On Wed, Mar 06, 2002 at 02:31:32PM -0500, Daniel Eischen wrote: On Wed, 6 Mar 2002, Martin Blapp wrote: Thanks Daniel ! + joiner-join_status.error = ESRCH; + joiner-join_status.ret = NULL; + joiner-join_status.thread = NULL;

Re: Performance of FreeBSD vs NetBSD (was: Re: Performance of -current vs -stable)

2002-03-11 Thread Kris Kennaway
On Mon, Mar 11, 2002 at 08:23:38AM -0500, Brian T.Schellenberger wrote: On Monday 11 March 2002 03:25 am, Kris Kennaway wrote: | On Sun, Mar 10, 2002 at 09:05:28PM +0100, BOUWSMA Beery wrote: | I built both a WITNESS and a WITNESSless kernel with more recent | k0deZ, and in the case

Re: gcc -O broken in CURRENT

2002-03-12 Thread Kris Kennaway
On Tue, Mar 12, 2002 at 01:49:02AM +0100, Martin Blapp wrote: Hi all, Here are my test news. The -O bug doesn't happen with gcc295 from ports ! Since this problem was apparently introduced recently, can you check the commits against the gcc code in -current with the patches to the port?

Re: Userland Hacker Task: divert socket listener...

2002-03-12 Thread Kris Kennaway
On Tue, Mar 12, 2002 at 11:49:53PM +0100, Poul-Henning Kamp wrote: Here is something I miss a lot: I would like a small program which can listen to a specified divert(4) socket and act on the incoming packets. There are a number of ports which may do something similar to what you require.

Re: gcc -O broken in CURRENT

2002-03-13 Thread Kris Kennaway
On Wed, Mar 13, 2002 at 02:08:55PM +0100, Martin Blapp wrote: I removed now #undef DEFAULT_VTABLE_THUNKS and set again #define DWARF2_UNWIND_INFO 1 in the port. The -O tests still succeeded. All cpp* files are the same in the port and our system compilers. And ideas and pointers which

Re: gcc -O broken in CURRENT

2002-03-13 Thread Kris Kennaway
On Wed, Mar 13, 2002 at 11:42:46PM +0100, Martin Blapp wrote: Hi Kris, Did you pursue my suggestion of comparing recent patches in the port and in the source tree? Easy to say, hard to do. STABLE is broken as current is, and it seems that 4.4 and 4.3 are also broken for the STLport

Re: gcc -O broken in CURRENT

2002-03-13 Thread Kris Kennaway
On Wed, Mar 13, 2002 at 11:49:52PM +0100, Martin Blapp wrote: Kris, fixes things, or at least identify a list of possible changes which others can test. How can I compile gcc without doing a make world ? cd /usr/src/gnu/usr.bin/cc make all Kris msg32812/pgp0.pgp

Re: Help : ps: proc size mismatch

2002-04-14 Thread Kris Kennaway
On Sun, Apr 14, 2002 at 01:47:43PM -0700, Diego Wentz Antunes wrote: Hey Guys, I'm having some trouble with ps and top process. I recently compiled my kernel from the FreeBSD 4.4 Release, everything on boot is fine. The problem is that when I run the ps and top commands I receive a

[therman@lsil.com: 3rd party drivers]

2002-05-23 Thread Kris Kennaway
- Forwarded message from Herman, Thomas [EMAIL PROTECTED] - Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] From: Herman, Thomas [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: 3rd party drivers Date: Thu, 23 May 2002

Re: inuring FreeBSD to the apache bug without upgrading apache ?

2002-06-20 Thread Kris Kennaway
On Thu, Jun 20, 2002 at 02:17:41PM -0700, Patrick Thomas wrote: Is it possible to patch/recompile FreeBSD 4.5 in such a way that your system is no longer vulnerable to the chunking attack, even if you are still running a vulnerable apache ? Surely it's easier to just upgrade the apache

Re: inuring FreeBSD to the apache bug without upgrading apache ?

2002-06-21 Thread Kris Kennaway
On Thu, Jun 20, 2002 at 07:33:54PM -0700, Frank Mayhar wrote: Kris Kennaway wrote: Surely it's easier to just upgrade the apache port, instead of recompiling your kernel and the entire OS. Not always. (I'm running an old version of Covalent Raven SSL and I'm loathe to upgrade

prefaulting MAP_ANONYMOUS pages

2007-12-28 Thread Kris Kennaway
I am trying to optimize a malloc-based benchmark that is mmapping anonymous memory (via mmap) and then eventually taking a page fault on every page that was allocated. This is pretty inefficient for two reasons: 1) Lots of page faults, which drop performance by a factor of 10 compared to the

Re: prefaulting MAP_ANONYMOUS pages

2007-12-28 Thread Kris Kennaway
Kris Kennaway wrote: I am trying to optimize a malloc-based benchmark that is mmapping anonymous memory (via mmap) s/mmap/malloc/ ;) Kris ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Graceful failure instead of panicking in kmem_malloc

2008-01-08 Thread Kris Kennaway
Bharma Ji wrote: In FreeBSD 6_2, if kmem_malloc is unable to find space it panics. The relevant code is in vm_kern.c if ((flags M_NOWAIT) == 0) panic(kmem_malloc(%ld): kmem_map too small: %ld total allocated, (long)size,

Re: Graceful failure instead of panicking in kmem_malloc

2008-01-09 Thread Kris Kennaway
cut I am just trying to handle failure gracefully. So asking again - if there is any way already discussed or standardized to make the system handle failures gracefully On Jan 8, 2008 4:30 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Bharma Ji wrote: In FreeBSD 6_2, if kmem_malloc is unable

Re: kernel panic while using tcpdump

2008-01-11 Thread Kris Kennaway
Bartosz Giza wrote: Hi, We are using a lot of i386 computers as routers for out network. All of those routers are using FreeBSD from 4.x to 7.x (exept 5.x) We are having problem with kernel panic on routers based on 6.x and 7.x while using tcpdump or trafshow. It is not that always we got

Re: gettimeofday() in hping

2008-01-22 Thread Kris Kennaway
Stefan Lambrev wrote: Hi, Dag-Erling Smørgrav wrote: Stefan Lambrev [EMAIL PROTECTED] writes: I tested all different combination. The performance change is almost invisible (100-200KB/s), and can't be compared with the performance boost that TSC gain over ACPI-fast timecounter.

Re: gettimeofday() in hping

2008-01-22 Thread Kris Kennaway
Stefan Lambrev wrote: You should use hwpmc to verify where the application is really spending time, since gettimeofday doesn't seem to account for it all. pmc: Unknown Intel CPU. module_register_init: MOD_LOAD (hwpmc, 0x8029906d, 0x8054c500) error 78 OK, this is the famous

Re: gettimeofday() in hping

2008-01-22 Thread Kris Kennaway
Stefan Lambrev wrote: How much can Linux handle? Will install ubuntu on the same machine and let you know, but my experience shows that FreeBSD + TSC have the same performance as Linux With which timecounter? Here are the max speeds I can reach with different counters (on the test

Re: gettimeofday() in hping

2008-01-22 Thread Kris Kennaway
Stefan Lambrev wrote: Kris Kennaway wrote: Stefan Lambrev wrote: You should use hwpmc to verify where the application is really spending time, since gettimeofday doesn't seem to account for it all. pmc: Unknown Intel CPU. module_register_init: MOD_LOAD (hwpmc, 0x8029906d

Re: gettimeofday() in hping

2008-01-23 Thread Kris Kennaway
Stefan Lambrev wrote: Hi Kris, Kris Kennaway wrote: Stefan Lambrev wrote: Kris Kennaway wrote: Stefan Lambrev wrote: You should use hwpmc to verify where the application is really spending time, since gettimeofday doesn't seem to account for it all. pmc: Unknown Intel CPU

Re: gettimeofday() in hping

2008-01-23 Thread Kris Kennaway
Ivan Voras wrote: On 23/01/2008, Stefan Lambrev [EMAIL PROTECTED] wrote: Greets, Now I have final results with Linux and FreeBSD on the same hardware CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core Lan: [EMAIL PROTECTED]:3:0:0: class=0x02 card=0x10bc8086 chip=0x10bc8086 rev=0x06

Re: gettimeofday() in hping

2008-01-24 Thread Kris Kennaway
Stefan Lambrev wrote: You also need changes to the userland libpmc and pmcstat. They should also be in that (or related) p4 changeset though. Those are the files that I fetched from p4 /usr/src/lib/libpmc/libpmc.c - rev2 /usr/src/sys/amd64/include/pmc_mdep.h rev2

Re: gettimeofday() in hping

2008-01-26 Thread Kris Kennaway
Joseph Koshy wrote: OK, this is the famous problem with modern CPUs that jkoshy has declined to work around :( There are patches for this in perforce, see http://perforce.freebsd.org/changeView.cgi?CH=126189 Famous problem indeed :). I declined the patch because it is incorrect and

Re: Memory allocation performance

2008-01-31 Thread Kris Kennaway
Alexander Motin wrote: Hi. While profiling netgraph operation on UP HEAD router I have found that huge amount of time it spent on memory allocation/deallocation: 0.14 0.05 132119/545292 ip_forward cycle 1 [12] 0.14 0.05 133127/545292 fxp_add_rfabuf [18]

Re: Memory allocation performance

2008-01-31 Thread Kris Kennaway
Alexander Motin wrote: Alexander Motin пишет: While profiling netgraph operation on UP HEAD router I have found that huge amount of time it spent on memory allocation/deallocation: I have forgotten to tell that it was mostly GENERIC kernel just built without INVARIANTS, WITNESS and SMP but

Re: Memory allocation performance

2008-02-01 Thread Kris Kennaway
Alexander Motin wrote: Kris Kennaway пишет: Alexander Motin wrote: Alexander Motin пишет: While profiling netgraph operation on UP HEAD router I have found that huge amount of time it spent on memory allocation/deallocation: I have forgotten to tell that it was mostly GENERIC kernel just

Re: Memory allocation performance

2008-02-02 Thread Kris Kennaway
Alexander Motin wrote: Robert Watson wrote: Hence my request for drilling down a bit on profiling -- the question I'm asking is whether profiling shows things running or taking time that shouldn't be. I have not yet understood why does it happend, but hwpmc shows huge amount of

Re: gettimeofday() in hping

2008-02-03 Thread Kris Kennaway
Kris Kennaway wrote: Stefan Lambrev wrote: I run from host A : hping --flood -p 22 -S 10.3.3.2 and systat -ifstat on host B to see the traffic that is generated (I do not want to run this monitoring on the flooder host as it will effect his performance) OK, I finally got time to look

Re: gettimeofday() in hping

2008-02-03 Thread Kris Kennaway
Kris Kennaway wrote: Fixing all of the above I can send at about 13MB/sec (timecounter is not relevant any more). The CPU is spending about 75% of the time in the kernel, so that is the next place to look. [hit send too soon] Actually 15MB/sec once I disable all kernel

Re: gettimeofday() in hping

2008-02-04 Thread Kris Kennaway
Stefan Lambrev wrote: Greetings, Kris Kennaway wrote: Kris Kennaway wrote: Fixing all of the above I can send at about 13MB/sec (timecounter is not relevant any more). The CPU is spending about 75% of the time in the kernel, so that is the next place to look. [hit send too

Re: SCHED_ULE trouble after ugrade 6.2-RELEASE - 6.3-RELEASE

2008-02-04 Thread Kris Kennaway
Xin LI wrote: I can not speak for that, but my understanding is, no, it won't be MFC'ed. The performance enhancements on 7.x included a lot of factors, ULE is one of them, and there are also some other enhancements in the system, which could be not suitable for MFC due to ABI/KBI change.

Re: gettimeofday() in hping

2008-02-04 Thread Kris Kennaway
Stefan Lambrev wrote: FreeBSD - ACPI em1 in 13.157 MB/s 13.162 MB/s 23.697 GB out13.150 MB/s 13.153 MB/s 17.976 GB FreeBSD - TSC em1 in 18.624 MB/s 18.832 MB/s 25.507 GB

Re: SCHED_ULE trouble after ugrade 6.2-RELEASE - 6.3-RELEASE

2008-02-04 Thread Kris Kennaway
[EMAIL PROTECTED] wrote: Quoting Kris Kennaway [EMAIL PROTECTED]: Yes, there is no possibility of ULE 2.0 being merged to 6.x. Use it in 6.x if you dare, just don't complain to us if it breaks your system :-) All right, I won't :-) i.e. if at any point you start experiencing problems, do

Re: Question about http://torrents.freebsd.org:8080/index.html

2008-02-08 Thread Kris Kennaway
Sean Bruno wrote: Does it seem correct to all concerned that each release actually lists all files twice? There is a torrent for the entire release CD ISO set, and then there is a completely separate torrent for each CD ISO file. At least that is what it looks like to me. Is this correct?

Re: Kernel crash on Asus A7N8X-X

2008-03-05 Thread Kris Kennaway
Frédéric PRACA wrote: Hello dear hackers, I own a Asus A7N8X-X motherboard (NForce2 chipset) with a Radeon 9600 video card. After upgrading from 6.3 to 7.0, I launched xorg which crashed the kernel. After looking in the kernel core dump, I found that the agp_nvidia_flush_tlb function of

Re: vkernel GSoC, some questions

2008-03-16 Thread Kris Kennaway
Jordan Gordeev wrote: Hello! I am a student who considers applying for Google's Summer of Code programme. One of my ideas for a GSoC project has the following synopsis: Add virtual kernel (vkernel) support to FreeBSD for the i386 and amd64 architectures. The vkernel support in question

Re: vkernel GSoC, some questions

2008-03-16 Thread Kris Kennaway
Matthew Dillon wrote: :Finally, the way vkernels were implemented in dragonfly was *very* :disruptive to the kernel source (lots of function renaming etc), so it :is likely that this would also have to be completely reimplemented in a :FreeBSD port. :... :Kris Well, I don't think I would

Re: vkernel GSoC, some questions

2008-03-17 Thread Kris Kennaway
Matthew Dillon wrote: : Well, I don't think I would agree with your assessment but, : particularly, the way vkernels are implemented in DragonFly is NOT : in the least disruptive to kernel source. : :I was referring to the decision you made to rename all of the kernel :functions

Re: vkernel GSoC, some questions

2008-03-17 Thread Kris Kennaway
Maslan wrote: Hi all, Aren't we working on a FreeBSD/Xen port ??? I think we don't need a Linux like KVM or DragonFly's vkernel, if we could run FreeBSD in dom0. I agree that people interested in virtualization will get the most return on investment if they contribute to the Xen port, large

Re: vkernel GSoC, some questions

2008-03-17 Thread Kris Kennaway
Matthew Dillon wrote: :I don't think there's an issue that needs solving, GCC has -nostdlib and :-fno-builtin for precisely this reason. You are missing the point entirely. The point is to allow the vkernel to use libc, aka allow it to be compiled, linked, and run as a normal user

Re: vkernel GSoC, some questions

2008-03-17 Thread Kris Kennaway
Matthew Dillon wrote: I guess my problem is that you are holding this up as a red flag when it isn't even remotely close to being one. What I have said is that the dragonfly vkernel work is the interesting beginning of a project, but that further work needs to be done before the

Re: Summer of Code 2008 Project Ideas

2008-03-19 Thread Kris Kennaway
Robert Watson wrote: On Mon, 17 Mar 2008, Murray Stokely wrote: The FreeBSD Project was again accepted as a mentoring organization for the Google Summer of Code. The student application period will begin next week so if you have any ideas for great student projects, please send them to

Re: cron(8) related summer of code project

2008-03-23 Thread Kris Kennaway
Pavel Prokharau wrote: I was thinking about updating our cron(8) implementation. This project is mentioned in ideas list http://www.freebsd.org/projects/ideas/#p-cron-and-atrun. For now my proposal is following: * update the code base to ISC (OpenBSD already has it for a while) * incorporate

Re: binary compatibility query

2008-05-05 Thread Kris Kennaway
Carl Shapiro wrote: FreeBSD Hackers, I have a general question about the compatibility of FreeBSD binaries within major releases. If I build a binary for a given release of FreeBSD can I make a reasonable guarantee that the binary will run on both previous and subsequent minor releases of the

Re: binary compatibility query

2008-05-05 Thread Kris Kennaway
Daniel Eischen wrote: Binaries compiled on a certain version of FreeBSD will continue to run on later versions, but are not guaranteed to run on earlier versions (and in fact *will* not run depending on the binary). This is because over time the system libraries and kernel grow new features

Re: binary compatibility query

2008-05-05 Thread Kris Kennaway
Julian Elischer wrote: Kris Kennaway wrote: Carl Shapiro wrote: FreeBSD Hackers, I have a general question about the compatibility of FreeBSD binaries within major releases. If I build a binary for a given release of FreeBSD can I make a reasonable guarantee that the binary will run on both

Re: binary compatibility query

2008-05-05 Thread Kris Kennaway
Carl Shapiro wrote: If my binary only executes system calls indirectly through libc interfaces, as far as libc and libm are concerned, are new symbols the only thing I need to worry about? I think so, yes. Kris ___ freebsd-hackers@freebsd.org

Re: CFT: adding configuration file support to pkg_install

2008-05-31 Thread Kris Kennaway
Philip M. Gollucci wrote: Florent Thoumie wrote: This adds support for /etc/pkg.conf configuration file. Also, this adds support for naive multi-site package fetching. Any comment welcome (and appreciated). Patch is here: http://people.freebsd.org/~flz/local/ports/pkg-install-config.diff

Re: Impact of having a large number of open file descriptors

2008-06-02 Thread Kris Kennaway
Ivan Voras wrote: Suleiman Souhlal wrote: I have an old patch that makes kqueue monitor every file write on the system and return the inode number in the knote's data field: http://people.freebsd.org/~ssouhlal/testing/kqueue-anyvnode-20050503.diff . I'd think it shouldn't be too hard to

Re: Impact of having a large number of open file descriptors

2008-06-03 Thread Kris Kennaway
Robert Watson wrote: fsevents allows user processes to subscribe, effectively on a per-filesystem basis, to namespace and file close operations. ... I think there's also considerable overlap with other kernel event systems, such as audit, and we might benefit from thinking seriously about

<    1   2   3   4   5   6   7   >