[Pkg-uml-pkgs] Bug#495611: [uml-devel] Bug#495611: user-mode-linux: page_mapcount(page) went negative!

Graham Cobb g+debian at cobb.uk.net
Tue Sep 2 23:01:19 UTC 2008


The bisection is complete.  It took longer than I expected as many of the 
versions git-bisect wanted to test would not build UML without tracking down 
some additional patches. 

The bug seems to have been introduced with git commit 
3963333fe6767f15141ab2dc3b933721c636c212 (uml: cover stubs with a VMA). 

Note the bisection didn't quite complete: the previous commit (git commit 
42a2b54ce8c7b9d4f418995a7950e7e2e15e52ce (uml: clean up TASK_SIZE usage))  
also causes a panic but it is different from the one reported in this bug and 
occurs immediately init is started so I presume it is not the same problem. 
The version before these two commits works.  

With hindsight I suppose I could have guessed that would be the commit: the 
crash seemed to be when unmapping a VMA.  If my reading of the page flags is 
correct the problem is that the page has the PG_reserved flag set, so what is 
it doing in the VMA which is being unmapped?

Let me know if you want me to run some more tests, for example if you want to 
add some printk's in the code to understand more about what is going on.






More information about the Pkg-uml-pkgs mailing list