Guillaume Varlet
|
Re: if_attach return SIGABORT
|
Guillaume Varlet
05/29/2009 8:51 AM
post30308
|
Re: if_attach return SIGABORT
I get those messages on slogger :
Feb 01 06:08:30 1 14 0 if_attach: ex_init: 16
Feb 01 06:08:30 5 21 0 run fault pid 622635 tid 2 signal 6 code 0 ip 0xb033b879 tmp/io-pkt-v4-
hcgvarlet124360136316929
|
|
|
Sean Boudreau(deleted)
|
Re: if_attach return SIGABORT
|
Sean Boudreau(deleted)
05/29/2009 8:51 AM
post30309
|
Re: if_attach return SIGABORT
On Fri, May 29, 2009 at 06:24:30AM -0400, Guillaume Varlet wrote:
> Hello All.
>
> I've some difficulties with if_attach function :
>
> On my HW, there are several network controlers that shall be initialised at the same time.
>
> To do such, I dectect each ctrls and puts it's information in linked list.
>
> To register my driver to the network stack, I need to call if_attach each time there are ctrls on my HW.
>
> Basicaly, on my develepment system, I have 2 controlers.
>
> Strange stuff : When I call 1 time with my first controler it register the device without any problem.
>
> When I do an ifconfig I ca see my device registered.
> When the second controler is registered, I'm catching a SIGABORT signal.
> Attached, screenshot of debugger when it occurs.
>
> Do you know why this append ?
The stack probably panic()'d. Check the sloginfo for
more information. BTW the source for the stack is
in the networking repo in this project.
Regards,
-seanb
|
|
|