[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: Re: [uClinux-dev] Kernel Stack ?
From: Greg Ungerer <gerg () snapgear ! com>
Date: 2007-04-25 8:21:00
Message-ID: 462F0F6C.9040409 () snapgear ! com
[Download RAW message or body]
Hi Stan,
Stan Marly wrote:
> I am porting cypress EZ-Host usb driver for uclinux 2.4.32/coldfire.
> The system crashes ( without any messages) after module_init.
> there is one function call in my driver that seems to be responsible of
> this:
> toto(&int_data,0,0,0);
> if I replace this by
> toto(0,0,0,0), it does not crash anymore, even if the toto() only
> contains a 'return'.
> The 'crash' occurs only at the end of the module init ( my function toto
> is in the middle of the init and I can see other traces after the toto
> call).
> Could it be a kernel stack problem ? If so how could I increase this
> stack ?
The kernel stack is special, and it is a fixed size (even on full
VM linux). If you are exceeding it then you need to fix your code
to use less stack.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic