[OSy] TLB modified exception

Zdenek Bouska zdenek at bouska.info
Sat Nov 28 11:10:38 CET 2009


Peknou sobotu :)

MSIM mi vyhazuje TLB modified exception i kdyz zadna z polozek v TLB 
neni validni. Manual rika, ze tato vyjimka ma byt vyvolana, pouze pokud 
je polozka validni (viz nize).

Prijde mi to jako chyba MSIMu. Nebo mi neco unika?

V MSIMu mam pouze jeden procesor cpu0.

Zdenek Bouska



Uryvek z manualu:
-----------------

TLB Modified Exception
Cause
The TLB modified exception occurs when a store operation virtual address
reference to memory matches a TLB entry that is marked valid but is not 
     dirty and therefore is not writable. This exception is not maskable.

Trace MSIMu:
-------------

[msim] s
0  800163B8    lbu   v1, 0x14(fp)      # 0x14=20, v1: 0x4000->0x0
[msim] s
0  800163BC    lw    v0, 0x20(fp)      # 0x20=32, v0: 0x1->0x4000
[msim] cpu0 tlbd
  [             general             ][    subp 0    ][    subp 1    ]
   no    vpn      mask        g asid  v d   pfn    c  v d   pfn    c
   00  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   01  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   02  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   03  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   04  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   05  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   06  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   07  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   08  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   09  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0a  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0b  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0c  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0d  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0e  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0f  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   10  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   11  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   12  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   13  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   14  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   15  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   16  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   17  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   18  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   19  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1a  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1b  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1c  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1d  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1e  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1f  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   20  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   21  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   22  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   23  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   24  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   25  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   26  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   27  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   28  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   29  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2a  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2b  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2c  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2d  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2e  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2f  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
[msim] s
0  800163C0    sb    v1, (v0)          # cp0_context: 
0x00000000->0x00000020, cp0_badvaddr: 0x00000000->0x00004000, 
cp0_entryhi: 0x800000ff->0x000040ff

Raised exception: TLB (store)

[msim] cpu0 tlbd
  [             general             ][    subp 0    ][    subp 1    ]
   no    vpn      mask        g asid  v d   pfn    c  v d   pfn    c
   00  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   01  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   02  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   03  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   04  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   05  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   06  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   07  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   08  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   09  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0a  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0b  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0c  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0d  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0e  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   0f  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   10  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   11  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   12  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   13  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   14  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   15  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   16  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   17  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   18  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   19  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1a  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1b  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1c  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1d  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1e  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   1f  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   20  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   21  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   22  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   23  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   24  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   25  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   26  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   27  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   28  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   29  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2a  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2b  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2c  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2d  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2e  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
   2f  80000000 FFFFE000:4k   0  ff   0 0 00000000 0  0 0 00000000 0
[msim]





More information about the NSWI004 mailing list