[Kos-dev] En vrac : sptree + doc www + alloc pile + VM + Bug IM + CREDITS

d2 kos-dev@enix.org
30 Jan 2001 09:37:32 +0100


Y'a d'autres bugs. Suivant que je suis en 6 ou en 8Meg dans le
bochsrc, on n'a pas la meme chose :

  - En 8Meg :
Disassemble instruction at 0x7c695a (size 6) : movl    -00000104(%ebp), %eax.
Adding new thread with start address 0x7c688c
Page fault at ip 0x7ca1f3, on addr 0x400bfff4, with error code 0xfffa
  => [Not present] / [Write] access / [Supervisor] mode
[Pgflt] Demand paging in progress...
Switching to kernel thread...
Hello from the very first thread !
...
Jusqu'a :
********************************************
[page_fault_handler@pgflt.c:36] **** System Halted **** :
Page doesn't belong to us



  - En 6Meg : Bug "aleatoire" (enfin presque)

**** make clean bochs :
  >>> comme Julien

**** make bochs par la suite :
Disassemble instruction at 0x5ce95a (size 6) : movl    -00000104(%ebp), %eax.
Adding new thread with start address 0x5ce88c
Page fault at ip 0x5d21f3, on addr 0x400bfff4, with error code 0xfffa
  => [Not present] / [Write] access / [Supervisor] mode
[Pgflt] Demand paging in progress...
Stack addr for new thread : 0x5500768d
Page fault at ip 0x5cf19f, on addr 0x5500768d, with error code 0xfff8
  => [Not present] / [Read] access / [Supervisor] mode
[Pgflt] Demand paging in progress...
Page fault at ip 0x5d76fb, on addr 0x8b0cc493, with error code 0xfff8
  => [Not present] / [Read] access / [Supervisor] mode
...
[en boucle infinie !!!]



Autrement dit, premier point : dans un cas, le message "Stack addr for
new thread : 0x5500768d" s'affiche, et alors ca plante (cas
6Meg). Quand il s'affiche pas, ca plante pas (cas 8Meg).

Plus inquietant, suivant que je fais "make clean bochs" ou "make
bochs" pour les fois suivantes, en 6Meg, je n'obtiens pas les memes
messages, ie les memes symptomes. En faisant un diff -c sur les 2
logs, on a :

**** make clean bochs *****
  Page fault at ip 0x5d21f3, on addr 0x400bfff4, with error code 0xfffa
    => [Not present] / [Write] access / [Supervisor] mode
  [Pgflt] Demand paging in progress...
! Switching to kernel thread...
! Hello from the very first thread !
! Showing kthreStack addr for new thread : 0x400bfff4
! EIP is 0x20be40Page fault at ip 0x5cf1b8, on addr 0x400c0004, with error code 0xfff8
    => [Not present] / [Read] access / [Supervisor] mode
  [Pgflt] Demand paging in progress...
! CS IS 0x0

**** make bochs par la suite *****
  Page fault at ip 0x5d21f3, on addr 0x400bfff4, with error code 0xfffa
    => [Not present] / [Write] access / [Supervisor] mode
  [Pgflt] Demand paging in progress...
! Stack addr for new thread : 0x5500768d
! Page fault at ip 0x5cf19f, on addr 0x5500768d, with error code 0xfff8
    => [Not present] / [Read] access / [Supervisor] mode
  [Pgflt] Demand paging in progress...
! Page fault at ip 0x5d76fb, on addr 0x8b0cc493, with error code 0xfff8
!   => [Not present] / [Read] access / [Supervisor] mode
! [Pgflt] Demand paging in progress...
...
[Boucle infinie]


Je n'ai pas le temps de regarder ca d'ici Jeudi soir (en etant
optimiste). Juste une chose : avant-hier encore, j'ai trouve une
variable globale partagee dans un .h, sans le extern qui va
avec. Absolument aucune idee si il reste des erreurs de ce
type. Encore moins de savoir si ces bugs viennent de la.

Bonne journee,

-- 
d2