Re: RFI: Ethernet driver ported from Linux

2007-04-09 Thread Andrew Thompson
On Mon, Apr 09, 2007 at 03:33:35PM +1000, Alan Garfield wrote: Hello all! I've got a couple of Sun Fire V20z (re-badged NewISys E2100) which have little dedicated Service Processor on-board running Linux. The SP can communicate via IPMI and also by Ethernet. It talks Ethernet to the SP by

Re: fixing IRQ storms

2007-04-09 Thread Dinesh Nair
On Fri, 06 Apr 2007 14:13:59 +0200, Volker wrote: You need to patch your kernel sources a bit (all info in the PR) and your silo overflows will be gone. I've done that to get a Merlin i was about to comment on that, given that i extensively use a Huawei 3G/UMTS card without experiencing any of

jail cpu/memory resource limits question

2007-04-09 Thread Evren Yurtesen
Hi, FreeBSD supports jail cpu/memory resource limits. http://wiki.freebsd.org/JailResourceLimits I hear that these are very inefficient (compared to FreeVPS for example) and with over 1000 processes it creates noticable overhead. Is this true? Thanks, Evren

Re: Discovering list of open files from kernel level without using utils like lsof

2007-04-09 Thread Dan Nelson
In the last episode (Apr 08), Garrett Cooper said: I'm trying to see whether it's possible to grab the list of files open from a kernel level on FreeBSD, using a userland library interface as opposed to lsof. I'm trying to see if there's a simple tool that I could code in C/C++ if

Re: 'opaque' flag?

2007-04-09 Thread Tim Kientzle
Tim Kientzle wrote: Does anyone understand the semantics of the 'opaque' flag? I'm trying to understand an issue with packages built on union file systems. It appears the 'opaque' flag is set on some symlinks, which the package tools then archive. The archived flag is somehow interfering with

Re: 'opaque' flag?

2007-04-09 Thread Kris Kennaway
On Mon, Apr 09, 2007 at 08:38:22AM -0700, Tim Kientzle wrote: Tim Kientzle wrote: Does anyone understand the semantics of the 'opaque' flag? I'm trying to understand an issue with packages built on union file systems. It appears the 'opaque' flag is set on some symlinks, which the package

Re: Discovering list of open files from kernel level without using utils like lsof

2007-04-09 Thread youshi10
On Mon, 9 Apr 2007, David Malone wrote: On Sun, Apr 08, 2007 at 11:05:48AM -0700, Garrett Cooper wrote: I'm trying to see whether it's possible to grab the list of files open from a kernel level on FreeBSD, using a userland library interface as opposed to lsof. Have a look at the

Re: Discovering list of open files from kernel level without using utils like lsof

2007-04-09 Thread youshi10
On Mon, 9 Apr 2007, Dan Nelson wrote: In the last episode (Apr 08), Garrett Cooper said: I'm trying to see whether it's possible to grab the list of files open from a kernel level on FreeBSD, using a userland library interface as opposed to lsof. I'm trying to see if there's a

Re: Discovering list of open files from kernel level without using utils like lsof

2007-04-09 Thread Rick C. Petty
On Sun, Apr 08, 2007 at 11:05:48AM -0700, Garrett Cooper wrote: I'm trying to see if there's a simple tool that I could code in C/C++ if necessary to spin down disks automatically to save power and disk life. Plus, I think that lsof actually would probe the devices and 'wake them up'

Re: Discovering list of open files from kernel level without using utils like lsof

2007-04-09 Thread youshi10
On Mon, 9 Apr 2007, Rick C. Petty wrote: On Sun, Apr 08, 2007 at 11:05:48AM -0700, Garrett Cooper wrote: I'm trying to see if there's a simple tool that I could code in C/C++ if necessary to spin down disks automatically to save power and disk life. Plus, I think that lsof actually

Finding an IRQ mapping in APIC

2007-04-09 Thread Alan Garfield
Hello all! I'm wondering if someone can point me in the direction of a solution to my little problem. I've been porting a Linux driver across to FreeBSD and I've come against this lovely little hack in it's code. I've tried to bus_alloc_resource() the IOAPIC_DEFAULT_ADDR and IOAPIC_WINDOW but I

FreeBSD Quarterly Status Report, First Quarter of 2007

2007-04-09 Thread Brad Davis
Introduction This report covers FreeBSD related projects between January and March 2007. This quarter ended with a big bang as a port of Sun's critically acclaimed ZFS was added to the tree and thus will be available in the upcoming FreeBSD 7.0 release. Earlier this year exciting

Re: RFI: Ethernet driver ported from Linux

2007-04-09 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Alan Garfield [EMAIL PROTECTED] writes: : I'd like to port/re-write this driver for FreeBSD but I cannot find : enough documentation and examples of a basic Ethernet driver for : FreeBSD. (if_wlan and if_ef look like good candidates but if_clone and : the

Re: Finding an IRQ mapping in APIC

2007-04-09 Thread Alan Garfield
On Tue, 2007-04-10 at 12:20 +1000, Alan Garfield wrote: Hello all! I'm wondering if someone can point me in the direction of a solution to my little problem. I've been porting a Linux driver across to FreeBSD and I've come against this lovely little hack in it's code. I've tried to