[ECOS] Problem While attaching Network interface with Kernel
Jonathan Larmour
jlarmour@redhat.com
Tue Sep 18 14:47:00 GMT 2001
Harsha Vardhan Reddy Y wrote:
>
> Hi All,
>
> We are developing a product , as host processor we have PowerPC MPC555.
> For Network interface we are using CS8900A as the ethernet controller.
> After the driver initialization part, while attaching the interface with
> the kernel (using if_attachsetup() function from if.c file), it is
> failing at malloc() function .
> .
>
> As inturn debugging it is going to
> Cyg_Mempool_Variable_Implementation::alloc(size) file is mvarimpl.inl
> and is giving cygill at
> dq->prev = dq->next = (struct memdq *)0xd530d53 //magic number.
>
> On our target board RAM starts at 0x2000000.
It shouldn't deference this address. Instead "dq" is probably wrong. Be
sure to enable assertions in your configuration, and try compiling without
-O2 to get a better base to debug from. Then find out why dq is wrong.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list