Hello,

 

1) I think, there is a difference in vtop when PAE is not configured and is configured (kernel 2.6.11)

Any reason ?

 

 

I use a very simple program

 

#include <stdio.h>

#include <stdlib.h>

int var12=12;

main()

{

        printf("@var12 : %p\n", &var12);

        pause();

}

 

 

 

 

***************PAE not configured**************

 

[root@fedora4 ~]# ./essai &

[1] 3196

[root@fedora4 ~]# @var12 : 0x80495a8

 

[root@fedora4 ~]# crash -s

crash> set 3196

[…]

crash> vtop 0x80495a8

VIRTUAL   PHYSICAL

80495a8   1e28c5a8

 

PAGE DIRECTORY: dda2f000

  PGD: dda2f080 => 1f0a7067

  PMD: dda2f080 => 1f0a7067

  PTE: 1f0a7124 => 1e28c067

 PAGE: 1e28c000 <----------------------------

 

[...]

 

PAGE is the physical address of the page

 

***************PAE configured ******************

 

[root@fedora4 ~]# ./essai &

[2] 7268

[root@fedora4 ~]# @var12 : 0x80495a8

 

[root@fedora4 ~]# crash -s

crash> set 7268

[…]

crash> vtop 0x80495a8

VIRTUAL   PHYSICAL

80495a8   6d925a8

 

PAGE DIRECTORY: dfe08560

  PGD: dfe08560 => 1b223001

  PMD: 1b223200 => 187bf067

  PTE: 187bf248 => 6d92067

 PAGE:  6d925a8 <----------------------------------

 

[...]

 

PAGE is really the physical adress of var12

 

 

 

 

2) Also an option should be nice in rd to see hexadecimal without the ascii part

 

With PAE on, if i want du see the 4 references in the PGD, i am not really interested

in the ascii part ?

 

crash> rd -64 df7e2b60 4

df7e2b60:  000000001b086001 000000001c932001   .`....... ......

df7e2b70:  000000001f991001 0000000000004001   .........@......

crash> rd -32 df7e2b60 8

df7e2b60:  1b086001 00000000 1c932001 00000000   .`....... ......

df7e2b70:  1f991001 00000000 00004001 00000000   .........@......