Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Fwd: Re[2]: Problem with TLB mcheck!
@ 2006-05-26 11:50 art
  2006-05-26 12:37 ` Maciej W. Rozycki
  0 siblings, 1 reply; 5+ messages in thread
From: art @ 2006-05-26 11:50 UTC (permalink / raw)
  To: linux-mips

Hello Maciej, thanks for answer! when it is at first time it is wery
important :)!

Wednesday, May 24, 2006, 7:45:26 PM, you wrote:

MWR>  The "linux-mips" mailing list (as cc-ed in this response) is a better
MWR> place to ask such questions.

MWR>  You haven't included some important information, such as the version 
MWR> number of your Linux kernel and where you got your sources from.  Without 
MWR> that bit all I can say is there is something wrong with handling of the 
MWR> TLB.

MWR>  Ralf, BTW -- shouldn't we report the Index, EntryHi and possibly EntryLo* 
MWR> registers in show_regs() if the cause is a machine check?  I think it 
MWR> would be useful and these registers shouldn't have been corrupted since 
MWR> the triggering tlbw* instruction.  A call to show_code() could be useful 
MWR> too, to determine which kind of TLB exception has been taken originally.  

MWR>   Maciej

Information about kernel sources (how can I forgot this!!):
   Version: linux-2.6.12-rc1-mipscvs-20050403 (this is tar-s full
   name). So I think this kernel is from linux-mips cvs repositary.
   It was downloaded from http://www.student.tue.nl/Q/t.f.a.wilms/adm5120/

Here is mcheck with respect to your patch:
   
[4294701.476000] Got mcheck at 8011c818
[4294701.476000] Hi    : 00000000
[4294701.476000] Pagemask: ffffffff
[4294701.476000] EntryHi : c008a013
[4294701.476000] EntryLo0: 0000f25f
[4294701.476000] EntryLo1: 0000ff9f
[4294701.476000]
[4294701.476000] Cpu 0
[4294701.476000] $ 0   : 00000000 10008400 00000000 802b17ac
[4294701.476000] $ 4   : 802b13ac 00000400 c008ac00 80353d6c
[4294701.476000] $ 8   : 10008400 1000001f 80393000 fffffff8
[4294701.476000] $12   : 802b0000 802b0000 00000001 ffffffff
[4294701.476000] $16   : 00000400 802b17ab 80353d6c 00000020
[4294701.476000] $20   : 80353e38 81144800 00000400 802b13ac
[4294701.476000] $24   : 00000006 0048ce30
[4294701.476000] $28   : 80352000 80353c70 7faf5d98 8011ce94
[4294701.476000] Hi    : 00000000
[4294701.476000] Lo    : 000c3500
[4294701.476000] epc   : 8011c818 vsnprintf+0x54/0x6bc     Not tainted
[4294701.476000] ra    : 8011ce94 vscnprintf+0x14/0x30
[4294701.476000] Status: 10208402    KERNEL EXL
[4294701.476000] Cause : 00800060
[4294701.476000] PrId  : 0001800b
[4294701.476000]
[4294701.476000] Index:  0 pgmask=4kb va=0050a000 asid=13
[4294701.476000]                        [pa=00000000 c=0 d=0 v=0 g=0]
[4294701.476000]                        [pa=00379000 c=3 d=1 v=1 g=0]
[4294701.476000]
[4294701.476000] Index:  1 pgmask=4kb va=7faf4000 asid=13
[4294701.476000]                        [pa=00000000 c=0 d=0 v=0 g=0]
[4294701.476000]                        [pa=0031b000 c=3 d=1 v=1 g=0]
[4294701.476000]
[4294701.476000] Index:  2 pgmask=4kb va=0048a000 asid=13
[4294701.476000]                        [pa=011bc000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=011bd000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index:  5 pgmask=4kb va=00492000 asid=13
[4294701.476000]                        [pa=011c4000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=011c5000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index:  6 pgmask=4kb va=004ee000 asid=13
[4294701.476000]                        [pa=0028a000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=011f7000 c=3 d=1 v=1 g=0]
[4294701.476000]
[4294701.476000] Index:  7 pgmask=4kb va=0048c000 asid=13
[4294701.476000]                        [pa=011be000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=011bf000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index:  8 pgmask=4kb va=004f0000 asid=13
[4294701.476000]                        [pa=00322000 c=3 d=1 v=1 g=0]
[4294701.476000]                        [pa=00000000 c=0 d=0 v=0 g=0]
[4294701.476000]
[4294701.476000] Index:  9 pgmask=4kb va=00480000 asid=13
[4294701.476000]                        [pa=011b0000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=011b1000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index: 10 pgmask=4kb va=00488000 asid=13
[4294701.476000]                        [pa=011b8000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=011b9000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index: 11 pgmask=4kb va=7faf6000 asid=13
[4294701.476000]                        [pa=00357000 c=3 d=1 v=1 g=0]
[4294701.476000]                        [pa=00000000 c=0 d=0 v=0 g=0]
[4294701.476000]
[4294701.476000] Index: 12 pgmask=4kb va=00478000 asid=13
[4294701.476000]                        [pa=00000000 c=0 d=0 v=0 g=0]
[4294701.476000]                        [pa=011a9000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index: 13 pgmask=4kb va=c008c000 asid=13
[4294701.476000]                        [pa=003ff000 c=3 d=1 v=1 g=1]
[4294701.476000]                        [pa=01200000 c=3 d=1 v=1 g=1]
[4294701.476000]
[4294701.476000] Index: 14 pgmask=4kb va=004aa000 asid=13
[4294701.476000]                        [pa=00286000 c=3 d=0 v=1 g=0]
[4294701.476000]                        [pa=00287000 c=3 d=0 v=1 g=0]
[4294701.476000]
[4294701.476000] Index: 15 pgmask=4kb va=00508000 asid=13
[4294701.476000]                        [pa=0031c000 c=3 d=1 v=1 g=0]
[4294701.476000]                        [pa=00000000 c=0 d=0 v=0 g=0]
[4294701.476000]
[4294701.476000]
[4294701.476000] Code: 0222102b  14400034  00000000 <80c60000> 14c00014  02e08021  0230102b  10400021  00001821
[4294701.476000] Caught Machine Check exception - caused by multiple matching entries in the TLB


-- 
Best regards,
 art                            mailto:art@sigrand.ru

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Problem with TLB mcheck!
@ 2006-05-31  4:18 Zhan, Rongkai
  2006-05-31  4:42 ` Re[2]: " art
  0 siblings, 1 reply; 5+ messages in thread
From: Zhan, Rongkai @ 2006-05-31  4:18 UTC (permalink / raw)
  To: art, linux-mips

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

Hi,

 

Please see: http://www.linux-mips.org/archives/linux-mips/2005-04/msg00026.html

 

Best Regards,

Mark. Zhan

---------------------------------------

Wind River System, Inc. China Beijing Office

     Tel: +86 010 64398185/86/87 Ext. 16

Mobile: +86 139 1097 7353

    Fax: +86 64398189

E-Mail: rongkai.zhan@windriver.com

---------------------------------------

-----Original Message-----
From: linux-mips-bounce@linux-mips.org [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of art
Sent: Wednesday, May 31, 2006 11:42 AM
To: linux-mips@linux-mips.org
Subject: Problem with TLB mcheck!

 

Sorry for resending, but I find out that I wasn't subscribed!

I use 2.6.16 kernel from linux-mips.org (from tarrball).

When I execute:

# cat /bin/busybox > box

Got mcheck at 800f9b68

Cpu 0

$ 0   : 00000000 10008400 c00216bc c00316bc

$ 4   : c00116bc 00004000 00000005 00008000

$ 8   : c00356bc c003d6bc c00016bc 00010000

$12   : 0000000f 00008000 00007fff 00007fff

$16   : 00000003 8024da80 00000008 c0000000

$20   : 00000000 803d7000 8118c000 80240000

$24   : 0000000f 00000000

$28   : 81200000 81201b80 00001000 800f9c0c

Hi    : 0000000b

Lo    : 5555555b

epc   : 800f9b68 zlib_deflateInit2_+0x184/0x200     Not tainted

ra    : 800f9c0c zlib_deflateInit_+0x28/0x34

Status: 10208403    KERNEL EXL IE

Cause : 00800060

PrId  : 0001800b

Hi    : 0000000b

Pagemask: ffffffff

EntryHi : c0000096

EntryLo0: 0000a05f

EntryLo1: 0000a09f

 

Index:  3 pgmask=4kb va=00468000 asid=96

                        [pa=00378000 c=3 d=0 v=1 g=0]

                        [pa=00000000 c=0 d=0 v=0 g=0]

 

Index:  6 pgmask=4kb va=7fa0a000 asid=96

                        [pa=012f7000 c=3 d=1 v=1 g=0]

                        [pa=01244000 c=3 d=1 v=1 g=0]

 

Index:  7 pgmask=4kb va=004f0000 asid=96

                        [pa=012f4000 c=3 d=1 v=1 g=0]

                        [pa=00000000 c=0 d=0 v=0 g=0]

 

Index: 10 pgmask=4kb va=0046e000 asid=96

                        [pa=00310000 c=3 d=0 v=1 g=0]

                        [pa=00311000 c=3 d=0 v=1 g=0]

 

Index: 11 pgmask=4kb va=0046a000 asid=96

                        [pa=0030c000 c=3 d=0 v=1 g=0]

                        [pa=00000000 c=0 d=0 v=0 g=0]

 

Index: 15 pgmask=4kb va=0048c000 asid=96

                        [pa=0032e000 c=3 d=0 v=1 g=0]

                        [pa=0032f000 c=3 d=0 v=1 g=0]

 

 

Code: 00684021  00055880  ae33001c <ae640038> a272001d  ae740018 

ae6e002c  ae6f004c  ae660050

Kernel panic - not syncing: Caught Machine Check exception - caused

by multiple matching entries in the TLB.

 

This thig happens, as I noted, when work with relatively big amounts

of memory ( more than 10-60Kb). busybox for example 700Kb

 

 

-- 

Best regards,

 art                            mailto:art@sigrand.ru

 

 

 


[-- Attachment #2: Type: text/html, Size: 22392 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-31 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26 11:50 Fwd: Re[2]: Problem with TLB mcheck! art
2006-05-26 12:37 ` Maciej W. Rozycki
2006-05-30 13:19   ` art
  -- strict thread matches above, loose matches on Subject: below --
2006-05-31  4:18 Zhan, Rongkai
2006-05-31  4:42 ` Re[2]: " art
2006-05-31 11:18   ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox