|
I discovered the trouble...
the bsp code (from my cpu vendor) wrongly writes out the irq_desc vector overwriting some vital kernel structure...
best regards,
luigi
Il martedì 23 settembre 2008 14:09:44 Luigi 'Comio' Mantellini ha scritto:
> Hi List,
>
> I'm working on a 4Kec SoC. I'm trying to port a recent kernel (2.6.26-rcX
> from trunk) to my SoC but I have problem on timers (i think).
>
> The start sequence (start_kernel @init/main.c) freezes on the
> page_writeback_init() call. The page_writeback_init function calls the
> lock_timer_base function (by means the mod_timer/__mod_timer) that fails
> always the test likely(base!=NULL) (source file kernel/timer.c). The base
> variable (ponter to tvec_base) is always NULL, resulting an infinite loop.
>
> I'm using the cevt-r4t and csrc-4k standard mips 4k timer (on irq #7). With
> debugger I verified that the c0_compare_interrupt service routine is
> correctly invoked.
>
> Kindly, can anyone help me to understand what I need to check to solve this
> issue? If you need other information, please, ask me (This is my first mips
> port).
>
> Thanks in advance.
>
> best regards.
>
> luigi
--
Luigi Mantellini
R&D - Software
Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI), Italy
Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
Email: luigi.mantellini@idf-hit.com
|