Why max mmap size limited to half of virtual address space?

2007-03-12 Thread Anton Yuzhaninov
Hello, Why max mmap size limited to half virtual address space? On i386 it limited to 2 Gb: /sys/vm/vm_mmap.c /* make sure mapping fits into numeric range etc */ if ((ssize_t) uap->len < 0 || ((flags & MAP_ANON) && uap->fd != -1)) return (EINVAL); (ss

Re: Port/Package Management?

2007-03-12 Thread Darren Pilgrim
Yong Ma wrote: This time I am interested in the operational principle of the port/package system, what is going on while installing packages, and where is the source files if I want to do some modification? /usr/ports/Mk bsd.port.mk is the central component. There are extra files for variou

Re: How does not practice freebsd kernel programming?

2007-03-12 Thread Soeren Straarup
On Mon, Mar 12, 2007 at 09:36:43AM +0530, ajay gopalakrishnan wrote: > Hi, > > What is the best way to start practicing kernel programming on freebsd for > amateurs. I have found many sites about Linux kernel programming but none > for FReebsd kernel programming. > What are the usual steps followe

Re: Fix for bug in IPFilters ipfs tool

2007-03-12 Thread Roger Olofsson
Hello Frank and thank you for your very inspiring post, I have a similar setup, two machines, both dualhomed, connected to two small switches where only one machine has both nics active at the same time. One diffence is that I use Freevrrpd as a heartbeat monitor which works excellent. The sc

Re: How does not practice freebsd kernel programming?

2007-03-12 Thread Michael M. Press
You can play with adding system calls to FreeBSD. This is not something that people need to do very often, but it is a good way to give yourself some experience writing code that runs in kernel mode. The following OnLamp tutorial is intended for OpenBSD, but I think most of it applies to FreeBSD a

Re: How does not practice freebsd kernel programming?

2007-03-12 Thread Alexander N. Mueller
> What is the best way to start practicing kernel programming on freebsd for > amateurs. I have found many sites about Linux kernel programming but none > for FReebsd kernel programming. > What are the usual steps followed while learning freebsd kernel > programming? Maybe you should take a look a

Re: 6.2-RELEASE Kernel Panic (thread taskq)

2007-03-12 Thread Scott Oertel
Scott Oertel wrote: Hello all, I have 8 machines running 6.2-RELEASE, they're all under pretty heavy load. All but one is running Dual Opterons on Tyan motherboards, the other is running 2x Dual Core Xeon, on a Supermicro mb. I am receiving this panic on all the machines, some of them it happ

Re: 6.2-RELEASE Kernel Panic (thread taskq)

2007-03-12 Thread Scott Oertel
Markus Oestreicher wrote: Scott Oertel schrieb: I have 8 machines running 6.2-RELEASE, they're all under pretty heavy load. All but one is running Dual Opterons on Tyan motherboards, the other is running 2x Dual Core Xeon, on a Supermicro mb. I am receiving this panic on all the machines, some