Re: max data segment size problem (process can not allocate more then 1gb memory)

2004-12-25 Thread Zera William Holladay
On Sat, 25 Dec 2004, freebsd wrote: > hello all, > i have problem, when process tryes to allocate more then 1gb memory it > coredumps > i have tryed options MAXDSIZ to 1.5gb but kernel panics > when i put it in loader.conf with kern.maxdsiz kernel panics again > this is my server memory configur

Re: max data segment size problem (process can not allocate more then 1gb memory)

2004-12-25 Thread Zera William Holladay
On Sat, 25 Dec 2004, Zera William Holladay wrote: > > > On Sat, 25 Dec 2004, freebsd wrote: > > > hello all, > > i have problem, when process tryes to allocate more then 1gb memory it > > coredumps > > i have tryed options MAXDSIZ to 1.5gb but kernel panics &

Re: Picture CDs ?

2005-01-11 Thread Zera William Holladay
On Mon, 10 Jan 2005, Pedro F. Giffuni wrote: > It's odd but I couldn't mount a Picture CD on FreeBSD 5.2.1. This is pretty > weird as Windows reports it is just CDFS and some jpeg files plus some windows > software that let's you view it. I don't know... how can I get it wrong: mount > /cdrom ri

Re: getting mount points in kernel

2005-01-14 Thread Zera William Holladay
On Fri, 14 Jan 2005, Siddharth Aggarwal wrote: > > Hi all, > > Is there a system call to get all the mount points? In a user app, I guess > I would probably parse the /etc/fstab, but how do I do it in the kernel? Is are you looking for "man 2 getfsstat"? Entries in /etc/fstab are not nessarily m

Re: Kernel mode programming

2005-01-18 Thread Zera William Holladay
On Tue, 18 Jan 2005, Bruce M Simpson wrote: > On Tue, Jan 18, 2005 at 11:45:05AM +0100, - Felix - wrote: > > Doing lot of syscalls interrupts in a soft seems to take quite a long time, > > and seriously slow performances. As far as you can't reduce the syscall > > amount, is there any way to r

Re: Kernel mode programming

2005-01-18 Thread Zera William Holladay
On Tue, 18 Jan 2005, Ryan Sommers wrote: > Zera William Holladay said: > > Even if the application were run as a kernel module, how much of a > > performance benefit could there be when making system calls? I suspect > > that the module would get a higher scheduling prior

Re: Kernel mode programming

2005-01-18 Thread Zera William Holladay
On Tue, 18 Jan 2005, Kamal R. Prasad wrote: > > --- Zera William Holladay <[EMAIL PROTECTED]> wrote: > > > > > > [snip] > > > > My understanding is that when a system call is made > > from a user process, > > there is a trap into the kern

Re: kernel vm question

2005-01-27 Thread Zera William Holladay
On Thu, 27 Jan 2005, Jacques Fourie wrote: > Hi, > > I have a kernel module with the following entry point : > > static int test_modevent(module_t mod, int type, void *unused) > { >int s; >unsigned char *p = NULL; >unsigned char v = 0x55; > >switch (type) > { > case MOD

Re: Error in my C programming

2005-02-20 Thread Zera William Holladay
On Mon, 21 Feb 2005, Kathy Quinlan wrote: > Hi Guys, > > Here is a section of my code: > > *** Wtrend_Drivers.c *** > unsigned char Length , Network , Receiver , Node , Command = 0x00; > //Some Variables > > These are some of the errors I get in pairs for each of the above variables: > > Wtrend_

Re: threads question

2005-03-15 Thread Zera William Holladay
On Tue, 15 Mar 2005, Michael C. Shultz wrote: [cut] > The answer is probably something like what you just said, scope being > lost when making the call to a shared library. Why is it ok going to a > static library but not a shared though? There is probably a race condition, so your code will work

Re: Causing a process switch to test a theory.

2005-03-20 Thread Zera William Holladay
If you post the section(s) of code in question, then you'll probably elicit some responses. PIPE_BUF is a POSIX defined minimum, so you might grep for sections of code that contain fpathconf(*, _PC_PIPE_BUF) to determine if the programmers took this into consideration. At least you'll be able to

Re: Kernel [memory] tweaking question

2005-04-07 Thread Zera William Holladay
On Thu, 7 Apr 2005, Peter Jeremy wrote: > These are all reasonably well documented in sys/conf/NOTES. If you > want more detail, try a SystemV-oriented Unix book > > Close - they only control SystemV shared memory. Sane shared memory > is available via mmap(2). SystemV semaphores are controlled

make for bootable ISOs

2005-04-10 Thread Zera William Holladay
Hi, I'm attempting to make a bootable ISO for i386 architecture on 4.11-STABLE. I am using: %make buildworld %make buildkernel %make hierarchy DESTDIR=/... %make installworld DESTDIR=/... %make installkernel DESTDIR=/... And then modifying etc so that /dev/acd0a is the root directory. Is this t

Re: make for bootable ISOs

2005-04-11 Thread Zera William Holladay
On Mon, 11 Apr 2005, Daniel O'Connor wrote: > > 4.x uses el-torrito 2.88Mb floppy emulation for booting.. > make release builds an install CD and a live file system disk. > > I made a page with some tips on make release for 4.x if you're interested.. > http://www.gsoft.com.au/~doconnor/FreeBSD-re

Re: kernel programming

2005-04-20 Thread Zera William Holladay
On Wed, 20 Apr 2005 [EMAIL PROTECTED] wrote: > yeah thanks for that, i figured the code was a good start. Now that I > know the docs i know where to go, cheers for that > > --neuro > > On Wed, 20 Apr 2005, Joseph Koshy wrote: > > >> where's a good place for kernel programming documentation ? > >

Re: upload speed test problem

2005-05-12 Thread Zera William Holladay
On Thu, 12 May 2005, Ganbold wrote: > return showSpeed(starttime1,endtime1,"Upload",buffer_len); What does showSpeed() look like? -Zera Holladay ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: network settings

2005-09-18 Thread Zera William Holladay
On Sun, 18 Sep 2005, eoghan wrote: > Hello > Im pretty new the freeBSD. Im working with 5.3. Each time I start up > the computer I have to go to /usr/sbin/sysintall and configure it to > use my network. I plugged directly in and Im not sure why I have to > set this up each time. > Also, when I go