Re: Memory leak in net80211 on FBSD 6.0

2005-11-29 Thread Nate Nielsen
Nate Nielsen wrote: > I'm experiencing a memory leak in the net80211 code. I have two atheros > 5213-A cards on two embedded systems running FreeBSD 6.0. They are setup > as IBSS (adhoc) stations. After roughly 15 seconds of ~14Mbps TCP > traffic (single stream) I promptly

Polling for devices other than NICs [patch]

2006-01-05 Thread Nate Nielsen
I've recently been optimizing the hifn driver for low performance systems like the Soekris. I've implemented polling (rather than using interrupts for everything) in the driver, which speeds things up considerably. The polling functionality in FreeBSD is currently a bit NIC centric. With a few cha

Re: Polling for devices other than NICs [patch]

2006-01-07 Thread Nate Nielsen
Nate Nielsen wrote: > The polling functionality in FreeBSD is currently a bit NIC centric. > With a few changes other types devices can use the polling subsystem. > Attached is my first whack at this. > > This is some of my first hacking on the FreeBSD kernel. It'd be great if

Re: Polling for devices other than NICs [patch]

2006-01-10 Thread Nate Nielsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed Maste wrote: > In addition, the current polling algorithm breaks down when you get to > very high CPU utilization by the stack (e.g. if acting as a high > bandwidth router). This happens because it adds one count per tick > if the polling did not r

Panic Kernel Dump to umass device?

2006-02-10 Thread Nate Nielsen
I'm developing for small embedded systems, and I'm looking into the possibility of dumping a kernel core dump to a USB memory stick (umass driver). It currently doesn't work (see below), but I'm interested in fixing it. Yes, I know it'll be slow. It's probably also a non-tested (and non-reliable)

Re: Panic Kernel Dump to umass device?

2006-02-11 Thread Nate Nielsen
Ian Dowse wrote: > > The USB stack supports polled operations, so it's actually not to > hard to make this work. Below is a patch I had in one of my local > trees that adds a CAM poll handler to the umass driver. I've just > tested this and it does seem to make kernel dumping work, but I > guess i

Re: FreeBSD-6 and em interface speed

2006-02-21 Thread Nate Nielsen
FreeLSD wrote: > Good day! > I've obtained the following strang results with the em Ethernet interface > speeds on a 6.1-PRERELEASE: > Polling on: > UDP stream to FreeBSD: 327843.84 Kbit/sec, > TCP stream to FreeBSD: 524550.12 Kbit/sec. > Polling off: > UDP stream to FreeBSD: 740409.38 K

Re: Panic Kernel Dump to umass device?

2006-02-21 Thread Nate Nielsen
Ian Dowse wrote: > In message <[EMAIL PROTECTED]>, Scott Long writes: > >>You're correct that dumping is meant to be done with interrupts and task >>switching disabled. The first thing that the umass driver is missing is >>a working CAM poll handler. Without this, there is no way for command >>c

devctl attach/detach notification for disks

2006-02-22 Thread Nate Nielsen
I'm working on a bit of code to get devctl notifications for attaching and removing of disks. This would allow actions to be taken via devd when a disk is attached or removed from the system. Currently I have the attach and detach notifications hooked into disk_create() and disk_destroy() in geom_

Re: devctl attach/detach notification for disks

2006-02-25 Thread Nate Nielsen
M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Nate Nielsen <[EMAIL PROTECTED]> writes: > : I'm working on a bit of code to get devctl notifications for attaching > : and removing of disks. This would allow actions to be taken via devd > : wh

Re: Rebooting jails

2006-07-25 Thread Nate Nielsen
'jailer' can do this but it requires a process running in each jail. http://memberwebs.com/nielsen/freebsd/jails/ Cheers, Nate Dirk Engling wrote: > I'm currently looking for a standardized way to 'reboot' jails from > within. ___ freebsd-hackers@fre

Re: IPFW NATD = NAT POOL

2005-09-22 Thread Nate Nielsen
No. I think each instance of natd (at least last time I looked at it) could only use one IP address as it's public address. Cheers, Nate Daniel Dias Gonçalves wrote: > Exists the possibility to make NAT POOL with IPFW + NATD ? > ___ freebsd-hackers@fr