Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@linux.it>
To: linux-mips@linux-mips.org
Subject: Re: trouble on serial console for au1100
Date: Fri, 28 Apr 2006 01:24:08 +0200	[thread overview]
Message-ID: <20060427232407.GB9883@enneenne.com> (raw)
In-Reply-To: <20060427154948.GI32278@enneenne.com>

[-- Attachment #1: Type: text/plain, Size: 4327 bytes --]

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@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                     		giometti@linux.it
UNIX programming                     phone:     +39 349 2432127

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-04-27 23:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 15:49 trouble on serial console for au1100 Rodolfo Giometti
2006-04-27 23:24 ` Rodolfo Giometti [this message]
2006-04-28 11:19 ` Freddy Spierenburg
2006-04-28 11:19   ` Freddy Spierenburg
2006-04-28 17:19   ` Jordan Crouse
2006-05-02 12:21     ` Rodolfo Giometti
2006-04-28 18:27   ` Rodolfo Giometti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060427232407.GB9883@enneenne.com \
    --to=giometti@linux.it \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox