My module freezes the kernel

2004-07-14 Thread thefly
ter.c:ng_counter_constr(). I don't know what it can be, because under medium load it works, but with high variegate load it crashes.So it doesn't seem to be a coding error, and all the shared data is under the mutex lock. TIA -- Claudio "thefly" Martella [EMAIL

mmap() implementation

2004-07-09 Thread thefly
4294967295 array[489]=4294967295 Thanks in advance -- Claudio "thefly" Martella [EMAIL PROTECTED] GNU/PG keyid: 0x8EA95625 signature.asc Description: Digital signature

Re: ZEROCOPY between kernel and userland

2004-07-07 Thread thefly
On Tue, Jul 06, 2004 at 02:22:54PM -0700, Brooks Davis wrote: > [Please don't top-post, it tends to lose context.] > > On Tue, Jul 06, 2004 at 03:36:40PM +0200, thefly wrote: > > could you point me pls to some code of that? To me read-only access is > > ok, users

Re: ZEROCOPY between kernel and userland

2004-07-06 Thread thefly
wrote: > From: thefly [mailto:[EMAIL PROTECTED] > > Hello everybody, i'm writing a netgraph module to get some stats about > > the network traffic. Actually i have to pass all the data gathered all > > in one piece, to the process which asks me for it. The client should

ZEROCOPY between kernel and userland

2004-07-06 Thread thefly
, if there's any, in freebsd 5? TIA -- Claudio "thefly" Martella [EMAIL PROTECTED] GNU/PG keyid: 0x8EA95625 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

bus_alloc_resource() returns NULL, but why?

2004-03-17 Thread thefly
bsh = rman_get_bushandle(sc->res); but the problem is that bus_alloc_resource() returns NULL. I don't have a clue about WHY it should. It's running on: FreeBSD 5.2.1-RELEASE with GENERIC kernel in a dual pentium 200MMX. Thanks in advance -- Claudio "thefly" Martella

[Driver SC1100 Watchdog] device taken by some other driver, but which one?

2004-03-04 Thread thefly
I finally built my driver for Geode's SC1100 Watchdog, but i got a bad news. My probe() function gets called just one time, and for the wrong device. with an pciconf -lv i get: [EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x00011078 rev=0x00 hdr=0x00 vendor = 'Cyrix Corp (Now o

Re: Compilation

2004-03-03 Thread thefly
I did that. I've got some #difine collisions with PCI and some system defines not finding files like: @/sys/bus.h:320: device_if.h: No such file or directory @/sys/bus.h:321: bus_if.h: No such file or directory In file included from wd1100-lkm.c:28: @/pci/pcivar.h:176: pci_if.h: No such file or

[Driver WD1100] Ooops URL error

2004-03-02 Thread thefly
hello, i'm sorry, i wrote the wrong URL in my last message, the right one is http://chiakotay.nexlab.it/acaro/wd1100/ thanks Claudio Martella ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe,

[Driver WD1100] Compilation

2004-03-02 Thread thefly
hello, i've got a question about the driver compilation. I finally wrote my driver, and i'm trying to compile it to test it. I tryed to use /usr/share/examples/drivers/make_device_driver.sh to build the whole stuff, but it doesn't work... Anyway I put the driver.c and the header i built to /usr/src