This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem While attaching Network interface with Kernel
- To: harshay at danlawinc dot com
- Subject: Re: [ECOS] Problem While attaching Network interface with Kernel
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 18 Sep 2001 22:46:21 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3B7E5328.A45FA64F@danlawinc.com>
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