I just installed 5.2.1 RELEASE from CD on my dell inspiron 1100
I found some guides online and used them to create a custom kernel for
the laptop,
it compiled and booted fine however it freezes whenever I use the network card.
(example: running "pkg_add -r cvsup" causes it to freeze )
I have comp
You could overwrite sysent[SYS_kldload] to point to your own kldload
function. After you do what you want to, you return what the original
kldload returns. Meaning, call the original kldload and return it's value.
int (*orig_kldload)(struct thread *, struct kldload_args *) =
sysent[SYS_kldload];
i
Now "tsleep(&ident,PRIBIO,NULL,1)" solved the problem. Maybe yield() can't
do the job in kernel. And mi_switch() is not enough to.Thank you.On
Wednesday 25 August 2004 03:06 am, yangshazhou at hotmail.com wrote:
> Hi all,
> This problem delay me for quite a long time.
> I've built two klds,
>On Wednesday 25 August 2004 03:06 am, yangshazhou at hotmail.com wrote:
>> Hi all,
>> This problem delay me for quite a long time.
>> I've built two klds, I'd like to see the result one's running to the
>> other's. In one kld's MOD_LOAD subroutine, I make a long 'for' loop, in
>> which it
Hi!
I was wondering were syscalls implementation is in the FreeBSD source tree.
I would like to know, especially, where
int kldload(const char*);
is located. sys/kern/kern_linker.c contains
int
kldload(struct thread *, struct kldload_args *)
and I need to watch at what called between them.
tha
5 matches
Mail list logo