linux-mips
[Top] [All Lists]

Re: trouble on serial console for au1100

To: Freddy Spierenburg <freddy@dusktilldawn.nl>
Subject: Re: trouble on serial console for au1100
From: Rodolfo Giometti <giometti@linux.it>
Date: Fri, 28 Apr 2006 20:27:15 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20060428111933.GY11097@dusktilldawn.nl>
Organization: GNU/Linux Device Drivers, Embedded Systems and Courses
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060427154948.GI32278@enneenne.com> <20060428111933.GY11097@dusktilldawn.nl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
On Fri, Apr 28, 2006 at 01:19:33PM +0200, Freddy Spierenburg wrote:
> 
> Can it be that you face the same problem I was facing not so long
> ago? After I applied the patch in the email I attach to this one
> all my serial troubles on the au1100 disappeared.
> 
> At the moment I'm running kernel 2.6.16 and am using a serial
> console and several other serial applications without any
> problem.

Yes, this patch fix the problem but it does it only on branch
«linux-2.6.16-stable», «master» branch is still buggy!

The problem on master branch is that the console is not initializated
at boot and also the «8250_early.c» must be modified in order to
support au1x00 serial register... I did it (the patch is at
http://ftp.enneenne.com/pub/misc/au1100-patches/linux/patch-8250_early.c)
but after that I found more problems if VT support is enabled, and
even if I disable it the last error was:

   Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                 
   
   Memory: 61080k/65536k available (2168k kernel code, 4400k reserved, 387k 
data, 124k init, 0k highmem)                                                    
       
   kmem_cache_create: Early error in slab size-32                               
   
   Break instruction in kernel code[#1]:                                        
   
   Cpu 0                                                                        
   
   $ 0   : 00000000 1000fc00 00000032 80356228                                  
   
   $ 4   : 80356228 80350000 80356240 00000000                                  
   
   ...
   epc   : 8017837c kmem_cache_create+0x74/0x600     Not tainted                
   
   ra    : 8017837c kmem_cache_create+0x74/0x600                                
   
   Status: 1000fc03    KERNEL EXL IE                                            
   
   Cause : 00800024                                                             
   
   PrId  : 02030204                                                             
   
   Modules linked in:                                                           
   
   Process swapper (pid: 0, threadinfo=80352000, task=80354000)                 
   
   Stack : 81062ca0 80321e44 8032bf60 00042000 0000044c 00003165 0000007c 
00000183         
           0021e21c 803b0000 00040000 8035849c 80358490 8035855c 8039bdb0 
80360000
   ...
   Call Trace:                                                                  
    
   [<803915fc>] kmem_cache_init+0x194/0x51c                                     
   
   [<80387078>] mem_init+0x1f4/0x218                                            
   
   [<8038703c>] mem_init+0x1b8/0x218                                            
   
   [<803807dc>] start_kernel+0x1d4/0x3b4                                        
   
   [<80380134>] unknown_bootoption+0x0/0x304                                    
                      
   Code: 24a51e44  0c04a8e0  02e03021 <0200000d> 3c058036  0c0c6ebe  24a48550  
3c03803b  8c70a35c
   Kernel panic - not syncing: Aiee, killing interrupt handler!                 
   

so, I'll continue my work on «linux-2.6.16-stable» branch. :)

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                                giometti@linux.it
UNIX programming                     phone:     +39 349 2432127

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>