Hi Andriy,
On 10/15/09 04:12, Andriy Gapon wrote:
>
> Some time ago I posted some ideas about HECI/MEI driver for FreeBSD:
> http://docs.freebsd.org/cgi/mid.cgi?4968E9A1.3080006
>
> I actually got around to implementing it (in initial/basic form):
> http://people.freebsd.org/~avg/heci.tgz
An ol
On 01/24/11 15:25, Neel Natu wrote:
> Hi Ali,
>
> On Sat, Jan 22, 2011 at 7:20 PM, Ali Mashtizadeh
> wrote:
>> Hi Folks,
>>
>> I tried to build a geom kernel module that uses the alq(9) facility to
>> log some data. The module builds fine but it seems that the kernel
>> isn't exporting the alq(9
On 02/01/11 15:23, Ryan Stone wrote:
> Make sure that your module uses MODULE_DEPEND to note its dependency
> on altq. If altq is loaded as a module the kernel linker will only be
> able to resolve symbols from altq if your module uses MODULE_DEPEND
> properly.
What you say is correct, but note f
[trimmed current@ from CC]
Hi Lev,
On 10/03/11 02:32, Lev Serebryakov wrote:
Hello, FreeBSD.
I'm trying to create logging queue with alq kernel API. I call
alq_open_flags() like this in my module:
error = alq_open_flags(&sc->sc_alq, sc->sc_vnode_name,
curthread->td_ucred, ALQ_DEFAULT
On 10/05/11 02:20, Dag-Erling Smørgrav wrote:
Does anyone actually use nscd?
Yes, particularly for caching LDAP data.
I ask because when I cleaned up a slew of aliasing bugs a couple of
years ago, I believe I may have introduced a bug; I got exactly two
complaints, and neither of the complain
On 10/05/11 19:43, Dag-Erling Smørgrav wrote:
[snip]
While we're at it, I'd be very grateful if someone could email me a
quick and dirty guide to setting up an LDAP server for testing. I have
too much on my plate right now to start reading documentation...
A bit dated, but this build guide is
[reposting from freebsd-arch@ - was probably the wrong list]
Hi all,
I've had use for these a few times now when wanting to restart a loop at
a previously found element, and wonder if there are any thoughts about
sticking them (and equivalents for other list types) in ?
Cheers,
Lawrence
#define
Hi Alfred,
On 05/01/13 14:10, Alfred Perlstein wrote:
> On 4/30/13 8:57 PM, Lawrence Stewart wrote:
>> [reposting from freebsd-arch@ - was probably the wrong list]
>>
>> Hi all,
>>
>> I've had use for these a few times now when wanting to restart a loop
On 05/01/13 15:29, Poul-Henning Kamp wrote:
> In message <518092bf.9070...@freebsd.org>, Lawrence Stewart writes:
>> [reposting from freebsd-arch@ - was probably the wrong list]
>
>> #define TAILQ_FOREACH_CONTINUE(var, head, field) \
>
> Obligatory
On 05/01/13 15:59, Lawrence Stewart wrote:
> On 05/01/13 15:29, Poul-Henning Kamp wrote:
>> In message <518092bf.9070...@freebsd.org>, Lawrence Stewart writes:
>>> [reposting from freebsd-arch@ - was probably the wrong list]
>>
>>> #define
On 05/13/13 16:37, Computer Network Man wrote:
> Dear Guys;
> In a fresh FreeBSD 9 or 9.1 Release if you just run these commands:
> # kldload alq
> # kldunload alq
> # init 0 or shutdown -p now
> it will panic!
> maybe it's a bug.
> We have a module which uses alq API's.
> MODULE_DEPEND(mymodul
Hi all,
I have an ageing Toshiba Portege R600 laptop (Intel ULV SU9400 1.4GHz
Core2 CPU, 3GB RAM) running the latest v3.2 BIOS. I recently stuck a new
Samsung 840 Pro 256GB SSD into it and decided to do my usual trick of
dual booting Windows 7 and FreeBSD-on-ZFS-root. Windows 7 won't boot
from a G
On 05/23/13 17:03, Computer Network Man wrote:
> Dear Lawrence;
> Wow! many thanks for your patch. We tested and it worked and solved our
> problem.
Committed. Thanks for the bug report and for testing the patch.
Cheers,
Lawrence
___
freebsd-hackers@fre
nts/functions/structs in the kernel.
Something similar for filesystem related tasks would be most useful.
I suspect that once I understand the mechanics of where thread struct
pointers come from and how to get my hands one one from within the
kernel, I'll be able to get the rest going.
Man
Hi Marc,
Marc Lörner wrote:
[snip]
>
> BTW, you can get an thread-struct pointer from curthread (c.f.
sys/pcpu.h).
>
[snip]
Thanks very much for the reply.
"curthread" is the missing key that I've been looking for! Thank you so
much. I've been banging my head against a brick wall for days
regarding how file IO and
threading work and how I can get cross-thread file IO working would be
most welcome.
Cheers,
Lawrence
Ivan Voras wrote:
Lawrence Stewart wrote:
I'll have a play around and report back to the list what I find for
archival purposes.
Please do, and also cons
ernel when called from within a function that is acting as a
pfil output hook?
Cheers,
Lawrence
Dag-Erling Smørgrav wrote:
Lawrence Stewart <[EMAIL PROTECTED]> writes:
I suspect that you can't use a file descriptor that was opened in one
thread in a completely different thread,
Comments inline...
Dag-Erling Smørgrav wrote:
Lawrence Stewart <[EMAIL PROTECTED]> writes:
After further investigation, it turns out that the pfil input hook I'm
using, which catches packets as they traverse up the network stack,
has no problems, and will happily write to the fil
To add another interesting bit to the puzzle... if I install both input
and output pfil hooks, and use ping to generate network traffic, the
writing to file in both the input and output hook works perfectly as
well - even at high packet rates. Here's the weird bit: the second I try
and initiate
Comments inline...
Dag-Erling Smørgrav wrote:
Lawrence Stewart <[EMAIL PROTECTED]> writes:
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes:
Since you are writing kernel code, I assume you have KDB/DDB in your
kernel and know how to use it.
I don't know how t
Hi John,
Thanks for the reply and additional information on locks.
The solution I've just completed working on is designed exactly as you
describe. We're about to begin testing and evaluating the module, and
we'll be releasing the code and 2 technical reports related to it within
the coming w
Ivan Voras wrote:
Lawrence Stewart wrote:
I'll have a play around and report back to the list what I find for
archival purposes.
Please do, and also consider writing a short and instructive tutorial
on it! Many people have asked this same question without a
to-the-point answer.
H
Hi Subhash,
Subhash Gopinath wrote:
Hello folks,
I am looking at writing an application program to tap certain ipv6 packets
(say icmpv6)
using netgraph. The application has to do some processing, before kernel can
proceed
with those packets.
I have vaguely understood netgraph, and I see that I
rewall
code is probably a good place to start looking for ideas.
Thanks,
-Subhash
On Jan 11, 2008 10:32 PM, Lawrence Stewart <[EMAIL PROTECTED]> wrote:
Hi Subhash,
Subhash Gopinath wrote:
Hello folks,
I am looking at writing an application program to tap certain ipv6 packets
(say icmpv6
Zane C.B. wrote:
Any one know of any recent documentation for adding a sysctl to a
kernel module for FreeBSD 6 and 7?
This might help:
Title: "An Introduction to FreeBSD 6 Kernel Hacking"
URL: http://caia.swin.edu.au/reports/070622A/CAIA-TR-070622A.pdf
Disclaimer: I co-wrote it.
Cheers,
Lawr
Pegasus Mc cleaft wrote:
Hello everyone,
I was wondering if anyone knows if there is planned an update to the binutils
for the base system planned?
[snip]
See the July 2008 thread titled "Updating src/contrib/binutils" on
freebsd-current.
Cheers,
Lawrence
___
Maslan wrote:
yes kio http://people.freebsd.org/~pjd/misc/kernio/
However, It's outdated.
No, man 9 ALQ is your friend. Works a treat.
Cheers,
Lawrence
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hac
On 02/01/10 22:02, Lukasz Jaroszewski wrote:
Hello,
I am wondering about most elegant and proper way to get IP header
fields from mbuf, using PFILs. I have read Murat Balaban paper on
PFIL_HOOKS where I found some example function. Question is how can I
access IP header field in such manner.
sta
Hi All,
I've hit a road block that I'm hoping people with better C/macro fu can
help me with. It also may be the case that what I'm trying to do can't
be done, so I welcome alternative suggestions as well.
The problem:
I'm working on a KPI to modularise congestion control support in the
ker
On 04/15/10 23:17, Lawrence Stewart wrote:
Hi All,
I've hit a road block that I'm hoping people with better C/macro fu can
help me with. It also may be the case that what I'm trying to do can't
be done, so I welcome alternative suggestions as well.
The problem:
I
30 matches
Mail list logo