(kein Betreff)

2002-06-19 Thread Andy Sporner
unsubscribe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: mmap and MAP_NOSYNC

2002-06-18 Thread Andy Sporner
joy ganguly wrote: Hi all, Hi, I want to use mmap as a means of doing IPC between unrelated processes. I do *not* want the data to hit the disk. So this is what I do :- fd = open(file, O_RDWR); p = mmap(fd, MAP_NOSYNC | MAP_SHARED); mlock(p, len); /* Whack around with shmem */ Now my

Re: kernel thread

2002-06-10 Thread Andy Sporner
about that... Hope this helps... ANdy Ferruccio Vitale wrote: Andy Sporner wrote: man ktread_shutdown To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message I can't find any man pages about it; I searched on the net, grep'ed /usr/src

Re: Can I get some comment on my RFC???

2002-05-27 Thread Andy Sporner
Julian Elischer wrote: ah that one. I have no view then :-) (I have the gutt feeling it must be doable in some other way.. but can't think of it now..) :-) I looked at jails, but they put too much other restrictions. It is funny sometimes how you discover things by looking at source code. I

Re: Can I get some comment on my RFC???

2002-05-27 Thread Andy Sporner
Terry Lambert wrote: Andy Sporner wrote: Hi Hackers, I would really like to have some input otherwise I might consider how usefull my participation on this list really is... Well, far be it for me not to comment, particularly if the lack of comments could hinder your future participation

Re: Possible problem with rl (Realtek) ethernet card driver in 4.5-STABLE

2002-05-22 Thread Andy Sporner
Does this look like a driver bug, a hardware fault or all of the above? I realise the realtek chips are not the best, but they shouldn't cause a box to fall over :) Here are the details from the core dumps I got, which led me to Hi, I had (in the words of Andrew Lloyd Webber) some Strange

RFC- Kernel patches for process tracking (read more in body)

2002-05-22 Thread Andy Sporner
Hi hackers, I had a need to track all processes including daemons that become owned by init that started from a process for my statistics collection function of my clustering software. The basic idea is to add a structure to the 'proc' structure to keep current and future data in and to be able

RFC (continued -- Forgot a file)

2002-05-22 Thread Andy Sporner
Sorry, Forgot this one: (cse.h) #ifndef _SYS_CSE_H_ #define _SYS_CSE_H_ /* * One structure allocated per session. */ struct csed { int cse_c_id; /* ID Number of Application */ /* These next fields are not being used yet, but soon... */ int

Is there an accepted norm on how to add members to the kernel 'PROC' structure?

2002-05-21 Thread Andy Sporner
Hello Hackers, I have a need to add a structure to proc structure for additional statistics for my clustering project. Is this a 'holy' structure where such an addition is possible? Are there limitations? Suggestions? Thanks! Andy To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: You've Been Added!

2002-05-07 Thread Andy Sporner
Aragon Gouveia wrote: Can this sender be rejected at the MTA? Better Idea, how about changing MajorDomo to accept mail only from people registered on the list. OK. This would inconvience some people. But in addition to this, as most people are, I am also getting tired of the sex

Re: You've Been Added!

2002-05-07 Thread Andy Sporner
Tore Lund wrote: Better Idea, how about changing MajorDomo to accept mail only from people registered on the list. OK. This would inconvience some people. But in addition to this, as most people are, I am also getting tired of the sex advertisements. The reason for the inconvenience is that

Re: You've Been Added!

2002-05-07 Thread Andy Sporner
Greg Black wrote: Andy Sporner wrote irrelevant stuff: | Tore Lund wrote more irrelevant stuff: Please take this debate off the hackers list. It has nothing to do with the list's charter and is therefore unwelcome. Greg I disagree because I am making a suggestion of how to improve

Re: /usr/include/netinet/in.h

2002-05-07 Thread Andy Sporner
aaron wrote: Hi, Maybe it's just me, but I always include the fundamental .h files first, so usually in this order (more or less): #include sys/param.h #include sys/types.h ... (networking stuff) #include unistd.h #include stdio.h So perhaps this is why I never saw this. It is a simple

Re: load balancing with 2 nic cards possible?

2002-04-29 Thread Andy Sporner
Gary Stanley wrote: Is it possible to split the load of IP traffic with 2 ethernet cards on a 4.x machine? I'm new to load balancing in a sense, however, I'd like to try something that seems more robust I didn't know about the 'fec' adapter (might be a good starting point). I have a

Re: load balancing with 2 nic cards possible? (Never last post)

2002-04-29 Thread Andy Sporner
Thanks for the post about netgraph. All the better when you don't have to do any work... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Security through obscurity? (was: ssh + compiled-in SKEY support considered harmful?)

2002-04-24 Thread Andy Sporner
Hi, I hate to jump into this fray, but if this is going to be a public thread, will everybody make the reply to the list??? :-) So far I only see Terry's emails. Thanks! Andy Terry Lambert wrote: Robert Watson wrote: On Tue, 23 Apr 2002, Terry Lambert wrote: The reality is that

FreeBSD Convention in EU

2002-04-22 Thread Andy Sporner
Hi, I heard some random comment here about a possible convention (sort of like BSDCon) in Europe. Does anyone know about this or if there is going to be such a thing? I have an interest to present either on Clustering or perhaps if the timing is right, a feature I am working on to bundle

Re: FreeBSD Convention in EU -- OK Enough said ;-)

2002-04-22 Thread Andy Sporner
I have submitted a form for a presentation. I can only hope it is accepted. Thanks for all of your comments! :-) Andy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

RE: Converting physical into virtual address

2002-03-07 Thread Andy Sporner
On 04-Mar-02 Valery N. Khromov wrote: I'd like to develop a kernel module for FreeBSD, able to read write directly to VGA text-mode screen buffer. I know that this buffer is located at 0xB8000 in physical address space. But in kernel I must address it using kernel virtual address space.

Re: Converting physical into virtual address

2002-03-07 Thread Andy Sporner
Ok :-) I am caught. I hit the send key by accident when I realized I had misread the question. Andy, what were you trying to say? sarcasm Or is that the way the Linux kernel converts addresses? /sarcasm Probably! :-) Have you a name yet for 'fish?' Andy To Unsubscribe: send mail to

Re: C vs C++

2002-03-05 Thread Andy Sporner
C++ doesn't add noticable overhead and isn't slow, unless you are a dumbass about how you write it. All languages give you plenty of ways to write speghetti fortran code :-). C++ gives you a number of ways to obfuscate. I hate to enter such a fray, but I can pass on my experience

Re: Porting a device driver from NetBSD to FreeBSD

2002-02-18 Thread Andy Sporner
at the response I have been getting in the FreeBSD world. I had not had that much success in the NetBSD world at all (with the exception of a new notable people). I was even snubbed by Mr. Wasabi himself. So going forward I won't be doing any new work on NetBSD. Thanks again! Andy Sporner

Re: Porting a device driver from NetBSD to FreeBSD

2002-02-18 Thread Andy Sporner
Hi Terry (and other snoopers--readers :-)) I guess I should ask you if this is an SMP system and/or is the kernel compiled for SMP, or ist it UP (this is a two by two marix, so the correct answer is not yes/no 8-)). Monoproc machine. Standard (OUT of box config file -- GENERIC). Sorry, I

RE: Reading userland environnement from the kernel

2002-02-15 Thread Andy Sporner
Hi, Is there a way to read user-land environ(7) table from the kernel for a given process ? You have to look at the proc structure for a process and there you will find a buffer for the 'ps_strings' and a few offset variables to show where the environment variables are. Andy Cheers,

Re: Reading userland environnement from the kernel

2002-02-15 Thread Andy Sporner
Hi Terry (and others!) You seem to know a lot about the kernel (as you always expand on my Cliff Notes versions of my answers). Can you give me any hints on the device driver question I posted a few days ago. There was a response, however I don't see how it applies for these reasons. 1.

RE: Fwd: socket options (struct sockopt)

2002-02-14 Thread Andy Sporner
Hi, I hope I understand your question correctly, The place you want to look at is in a file in ~sys/kern/uipc_socket.c. The function is 'sosetopt' and is called from ~sys/kern/uipc_syscalls.c. Additionally look in ~sys/sys/socket_var.h at the definition of the socket structure. Hope this

RE: BSD in a rocket.

2002-02-14 Thread Andy Sporner
Hi, Try this for software: http://www.picobsd.org As for hardware perhaps the Mini-biscuit PC from advantech. I just looked at found one that uses a 486 DX-66 with up to 32 MB EDD RAM one compactflash socket and ethernet (CPC-2245-3200). It goes for about 280 Euro and the development board for

Porting a device driver from NetBSD to FreeBSD

2002-02-13 Thread Andy Sporner
somebody can give me a hint of where I should look. It seems that the PCI performance on FreeBSD is much faster in talking to this particular devic. Many thanks in advance! Andy Sporner PS: Here is the relavent attach() code for both systems: NetBSD: /* * galnet_attach() * * Here is where