cvs commit: src/sys/vm vm_map.c

Tilman Linneweh arved at FreeBSD.org
Thu Jun 15 13:56:21 UTC 2006


On Jun 14, 2006, at 19:48, Alan Cox wrote:

> alc         2006-06-14 17:48:46 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/vm               vm_map.c
>   Log:
>   Correct an error in the previous revision that could lead to a  
> panic:
>   Found mapped cache page.  Specifically, if cnt.v_free_count dips  
> below
>   cnt.v_free_reserved after p_start has been set to a non-NULL value,
>   then vm_map_pmap_enter() would break out of the loop and incorrectly
>   call pmap_enter_object() for the remaining address range.  To  
> correct
>   this error, this revision truncates the address range so that
>   pmap_enter_object() will not map any cache pages.
>

Hello Alan,

I am still getting "Found mapped cache page" panics with this  
revision on
amd64

#10 0xffffffff802b5652 in panic (
     fmt=0xffffffff80501330 "Found mapped cache page %p")
     at /usr/src/sys/kern/kern_shutdown.c:549
         bootopt = 256
         newpanic = 18
         ap = {{gp_offset = 16, fp_offset = 48,
     overflow_arg_area = 0xffffffffa3f82920,
     reg_save_area = 0xffffffffa3f82840}}
         buf = "Found mapped cache page 0xffffff003ef9c520", '\0'  
<repeats 213 times>
#11 0xffffffff804362ac in vm_page_select_cache (color=13)
     at /usr/src/sys/vm/vm_page.c:765
         object = 0x0
         m = 0xffffff003ef9c520
         was_trylocked = 13
#12 0xffffffff804363c9 in vm_page_alloc (object=0xffffff0002e01578,
     pindex=8318, req=64) at /usr/src/sys/vm/vm_page.c:841
         m = 0xffffff003c328700
         color = 13
         flags = 0
         page_req = 0
#13 0xffffffff80428615 in vm_fault (map=0xffffff0009bbc760,
     vaddr=34403745792, fault_type=2 '\002', fault_flags=8)
     at /usr/src/sys/vm/vm_fault.c:453
         retry_object = 0xffffffffa3f82c00
         retry_pindex = 18446744072165534544
         retry_prot = 0 '\0'
         prot = 3 '\003'
         is_first_object_locked = 163301216
         result = 0
         growstack = 1
         wired = 0
         map_generation = 723
         next_object = 0x0
         marray = {0xffffff00232cdac0, 0xffffff0009bbc760,  
0xffffffffa3f82b50,
   0xffffffff80431781, 0xffffffff00000000, 0x0, 0x0, 0xffffff0007442c00,
   0xffffff00232cdac0, 0x0, 0x3, 0xffffff00284b0d20, 0xffffffffa3f82b50,
   0x8029ed000, 0xffffff0006b91000, 0xffffff00232cdac0}
         hardfault = 0
         fs = {m = 0x0, object = 0xffffff0002e01578, pindex = 8318,
   first_m = 0x0, first_object = 0xffffff0002e01578, first_pindex =  
8318,
   map = 0xffffff0009bbc760, entry = 0xffffff001a2ee460,
   lookup_still_valid = 1, vp = 0x0}

regards
tilman


More information about the cvs-src mailing list