[uClinux-dev] uClinux-dist-test-20050808 on Netburner MOD5272 - Solved

Javier Herrero jherrero at hvsistemas.es
Tue Aug 16 08:26:12 EDT 2005


I reply myself :)

It seems that the following change is necessary:

--- 
/home/javier/uClinux-test-20050808/uClinux-dist-test/linux-2.6.x/mm/nommu.c2005-07-29 
02:48:14.000000000 +0200
+++ nommu.c     2005-08-16 13:49:14.000000000 +0200
@@ -1081,9 +1081,10 @@

 void update_mem_hiwater(struct task_struct *tsk)
 {
-       unsigned long rss = get_mm_counter(tsk->mm, rss);
+       unsigned long rss;

        if (likely(tsk->mm)) {
+               rss = get_mm_counter(tsk->mm, rss);
                if (tsk->mm->hiwater_rss < rss)
                        tsk->mm->hiwater_rss = rss;
                if (tsk->mm->hiwater_vm < tsk->mm->total_vm)

After it, system starts up nicely.

Regards,

Javier

Javier Herrero wrote:

> Hello,
>
> I'm testing this version on a Netburner MOD-5272, and I obtain the 
> following:
>
> Linux version 2.6.12-uc0 (javier at StarGlow.hvsistemas.es) (gcc version 
> 3.4.3) #3 Sun Aug 14 20:45:12 CEST 2005
>
> uClinux/COLDFIRE(m5272)
> COLDFIRE port done by Greg Ungerer, gerg at snapgear.com
> Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
> Built 1 zonelists
> Kernel command line: rootfstype=romfs
> PID hash table entries: 256 (order: 8, 4096 bytes)
> bad frame format: 00000000
> PC: [<0202307a>]
> SR: 2700  SP: 020e6f2c  a2: 020f52a8
> d0: 00000000    d1: 00000000    d2: 00000001    d3: 00000000
> d4: 000000d4    d5: 000000d5    a0: 00000000    a1: 020dd218
> Process swapper (pid: 0, stackpage=020de218)
>
> Address 0202307a is inside function update_mem_hiwater. I've 
> 2.6.11-uc0 kernel running without problems on this board. Any 
> suggestion of where I can start looking in order to find where the 
> problem is?
>

-- 
------------------------------------------------------------------------
Javier Herrero                            EMAIL: jherrero at hvsistemas.com
HV Sistemas S.L.                          PHONE:         +34 949 336 806
Los Charcones, 17A                        FAX:           +34 949 336 792
19170 El Casar - Guadalajara - Spain      WEB: http://www.hvsistemas.com





More information about the uClinux-dev mailing list