Re: kernel killing processes when out of swap

2005-04-13 Thread Marc Olzheim
On Tue, Apr 12, 2005 at 06:40:50PM -0400, David Schultz wrote: Using madvise doesn't require changes per app, since MADV_PROTECT is inherited across exec. You just have to write a wrapper, much in the spirit of nice(1), to execute a protected version of X. Hmm, that's new to me, but certainly

Re: A question about hot-pluggable PCI.

2005-04-13 Thread Bruce M Simpson
On Mon, Apr 11, 2005 at 11:21:14AM -0600, M. Warner Losh wrote: No we don't. We use what the BIOS provides, but will lazily allocate the BARs as necessary. We don't open the resource windows on the bridges, however. This 'sorta' works now. I program a hard-coded window into the PCI bridge

Re: A question about hot-pluggable PCI.

2005-04-13 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bruce M Simpson [EMAIL PROTECTED] writes: : On Mon, Apr 11, 2005 at 11:21:14AM -0600, M. Warner Losh wrote: : No we don't. We use what the BIOS provides, but will lazily allocate : the BARs as necessary. We don't open the resource windows on the :

Re: Transitions in FreeBSD

2005-04-13 Thread c0ldbyte
On Tue, 12 Apr 2005, Scott Long wrote: All, I'd like to announce that I'm stepping down from the FreeBSD Core team. After several months and much thought, I've decided to re-focus on where my passions lie, which is release engineering and development. I intend to remain just as visible in the

re: kernel killing processes when out of swap

2005-04-13 Thread Mark Hittinger
I've often wondered why swap doesn't have a root-only x% like the file system. Once the swap used reached 100% user processes would bomb but a root process could go ahead and use the secret x%. Another idea would be to have multiple swap files and implement a way to restrict one swap area to a

Route/arp help?

2005-04-13 Thread M. Parsons
To access my dsl modem's line stats page, I have to create an arp entry and a route for it, under linux this was done as: (eth1 connected directly to dsl modem) ifconfig eth1 10.0.0.2 netmask 255.255.255.0 route add 10.0.0.1 dev eth1 arp -s 10.0.0.1 ff(not really f, but

not able to get controlling tty

2005-04-13 Thread Rajesh Ghanekar
Hi, I have a program which prints the name of the controlling terminal. The code snippet is as follows: int main(int argc, char **argv) { int mib[4], len; struct kinfo_proc buf; udev_t ttydev; register struct dirent *dirp; register DIR *dp; struct stat

Performance trouble on AMD64 webserver

2005-04-13 Thread Sławek Żak
Hi, I've an 2 processor Opteron server (Sun v20z) with 4GB of RAM. It runs FreeBSD 5.4-PRERELEASE. Everything is roses for 1-2 minutes after starting Apache. Then the server freezes for 10-20 seconds then resumes normal operation and chokes every couple of minutes. I tried with 512 and 1024 httpd

Re: Route/arp help?

2005-04-13 Thread Iasen Kostov
M. Parsons wrote: To access my dsl modem's line stats page, I have to create an arp entry and a route for it, under linux this was done as: (eth1 connected directly to dsl modem) ifconfig eth1 10.0.0.2 netmask 255.255.255.0 route add 10.0.0.1 dev eth1 route add -net 10.0.0.1/32 -iface de0

Re: Route/arp help?

2005-04-13 Thread M. Parsons
On 4/13/05, Iasen Kostov [EMAIL PROTECTED] wrote: M. Parsons wrote: To access my dsl modem's line stats page, I have to create an arp entry and a route for it, under linux this was done as: (eth1 connected directly to dsl modem) ifconfig eth1 10.0.0.2 netmask 255.255.255.0 route add

clear/set/test_bit header ??

2005-04-13 Thread Aziz KEZZOU
Hi hackers, I am trying to port a software from Linux to FreeBSD (5.3). But, I can't find the equivalent header in FreeBSD of asm/bitops.h in Linux ? Here are the prototypes of the functions I am using: int clear_bit(int offset, int * flag); int set_bit(int offset, int * flag); int test_bit(int

Re: Route/arp help?

2005-04-13 Thread Iasen Kostov
M. Parsons wrote: Honestly I have no clue why its not working, it should be simple, but it isnt.. Here is what the arp cache shows and the routing table (and its ed0, not de0, my mistake in original message). arp: (after doing the arp -s command) modem (10.0.0.1) at 00:0b:23:2a:b0:c4 on ed0

Re: Route/arp help?

2005-04-13 Thread M. Parsons
On 4/13/05, Iasen Kostov [EMAIL PROTECTED] wrote: M. Parsons wrote: Honestly I have no clue why its not working, it should be simple, but it isnt.. Here is what the arp cache shows and the routing table (and its ed0, not de0, my mistake in original message). arp: (after doing the

Re: clear/set/test_bit header ??

2005-04-13 Thread Dan Nelson
In the last episode (Apr 13), Aziz KEZZOU said: Hi hackers, I am trying to port a software from Linux to FreeBSD (5.3). But, I can't find the equivalent header in FreeBSD of asm/bitops.h in Linux ? Here are the prototypes of the functions I am using: int clear_bit(int offset, int * flag);

Help Wanted! [Re: Does anybody use gdb for kernel debugging any more?]

2005-04-13 Thread Scott Long
[Resending to get wider coverage] All, While there are ways to work around some of the problems that Greg describes, the simple fact is that kernel debugging has gone downhill quite badly in the past year. Much of this decay appears to be due to the rush to get GDB 6.x imported in time for

Re: Route/arp help?

2005-04-13 Thread Steve Watt
In article [EMAIL PROTECTED] you write: On 4/13/05, Iasen Kostov [EMAIL PROTECTED] wrote: M. Parsons wrote: Honestly I have no clue why its not working, it should be simple, but it isnt.. Here is what the arp cache shows and the routing table (and its ed0, not de0, my mistake in original

SATA NCQ by software?

2005-04-13 Thread João Carlos Mendes Luís
Hi, To use the advantages of SATA NCQ, do I have to use a specific controller, or is this only a software matter? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Re: Route/arp help?

2005-04-13 Thread M. Parsons
On 4/13/05, Steve Watt [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED] you write: On 4/13/05, Iasen Kostov [EMAIL PROTECTED] wrote: M. Parsons wrote: Honestly I have no clue why its not working, it should be simple, but it isnt.. Here is what the arp cache shows and the routing

Re: Route/arp help?

2005-04-13 Thread Stephan Uphoff
On Wed, 2005-04-13 at 16:38, M. Parsons wrote: On 4/13/05, Iasen Kostov [EMAIL PROTECTED] wrote: M. Parsons wrote: To access my dsl modem's line stats page, I have to create an arp entry and a route for it, under linux this was done as: (eth1 connected directly to dsl modem)