Re: trouble on serial console for au1100

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 27, 2006 at 05:49:48PM +0200, Rodolfo Giometti wrote:
> 
> I noticed that the serial lines management code is changed from
> linux-2.6.12 and I'd like to know if someone is running the serial
> console on ttyS0 on au1100...

Modifying the printk() code and sending the output directly to the
serial line (without using the driver since u-boot already init the
serial port for me) I get:

   <4>Synthesized TLB store handler fastpath (34 instructions).                    
   <4>Synthesized TLB modify handler fastpath (33 instructions).                   
   <4>PID hash table entries: 512 (order: 9, 2048 bytes)                           
   <4>calculating r4koff... 00060ae0(396000)                                       
   <4>CPU frequency 396.00 MHz                                                     
   <4>Break instruction in kernel code[#1]:                                        
   <4>Cpu 0                                                                        
   <4>$ 0   : 00000000 1000fc00 0fffff00 00010000                                  
   <4>$ 4   : 803bfd30 00000000 8036dbe0 803bfd70                                  
   <4>$ 8   : 8036dbe0 00000000 00000000 1000fc01                                  
   <4>$12   : 803c0000 fffffffe ffffffff 0000000a                                  
   <4>$16   : 803b1b78 803b1b80 83fc4000 83fb12e0                                  
   <4>$20   : a3eb4462 00000000 83fc4000 00000000                                  
   <4>$24   : 00000000 80363e1b                                                    
   <4>$28   : 80362000 80363f30 83fc4000 803a9a88                                  
   <4>Hi    : 00000000                                                             
   <4>Lo    : 00030570                                                             
   <4>epc   : 80129a0c acquire_console_sem+0xd4/0xf0     Not tainted               
   <4>ra    : 803a9a88 con_init+0x24/0x2a0                                         
   <4>Status: 1000fc03    KERNEL EXL IE                                            
   <4>Cause : 00800024                                                             
   <4>PrId  : 02030204                                                             
   <4>Modules linked in:                                                           
   <4>Process swapper (pid: 0, threadinfo=80362000, task=80364000)                 
   <4>Stack : 83fc4000 803a42d4 00000000 00000800 803a9a88 179a7b00 83fc4000 83fb12e0
   <4>        a3eb4462 00000000 83fc4000 00000000 803b1b78 803b1b80 83fc4000 83fb12e0
   <4>        a3eb4462 00000000 803a8f58 803b0000 83fc4000 0000018c 00000000 431bde83
   <4>        83fb4000 803b0000 8039479c 8039475c 80338f5c 803b4004 80366244 00000000
   <4>        80394134 00000000 803b4e2c 00000000 83fb4000 83fb4000 83fb1aac 00000000
   <4>
   <4>Call Trace:                                                                  
   <4> [<803a42d4>] __alloc_bootmem_nopanic+0x68/0xb0                              
   <4> [<803a9a88>] con_init+0x24/0x2a0                                            
   <4> [<803a8f58>] console_init+0x48/0x68                                         
   <4> [<8039479c>] start_kernel+0x194/0x3b4                                       
   <4> [<8039475c>] start_kernel+0x154/0x3b4                                       
   <4> [<80394134>] unknown_bootoption+0x0/0x304                                   
   <4>                                                                             
   <4>                                                                             
   <4>Code: 00000040  0804a664  00000000 <0200000d> 0804a657  3c03803b  0c0ca698  00000000  0804a667
   <0>Kernel panic - not syncing: Aiee, killing interrupt handler!                 

So the problem seems to be the "acquire_console_sem()" into
"con_init()" function (file «drivers/char/vt.c»).

Suggestions? How is possible that the serial console code is buggy?
=:-o

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@xxxxxxxxxxxx
Linux Device Driver                             giometti@xxxxxxxxx
Embedded Systems                     		giometti@xxxxxxxx
UNIX programming                     phone:     +39 349 2432127

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux