Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2012 12:51:20 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   panic: vm_page_free: freeing free page
Message-ID:  <CAE-mSOLCqt9%2BeZLwCxG_G9sLbuWxY58xm6wL=MjiKBGip9DRaA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Yep, this is quite old - 7.2-STABLE i386.
I got this panic after starting doing some Xorg activity,
otherwise system was idle for some hours.
I wonder if this is know/fixed in later versions.
If that's true then please just ignore this mail.

Unread portion of the kernel message buffer:
vm_page_free: pindex(0), busy(0), VPO_BUSY(0), hold(0)
panic: vm_page_free: freeing free page
cpuid =3D 0
Uptime: 7d1h47m51s

(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc057ce07 in boot (howto=3D260)
    at /usr/home/pluknet/cvs-7/src/sys/kern/kern_shutdown.c:418
#2  0xc057d0d9 in panic (fmt=3DVariable "fmt" is not available.
)
    at /usr/home/pluknet/cvs-7/src/sys/kern/kern_shutdown.c:574
#3  0xc06da965 in vm_page_free_toq (m=3D0xc1c1edb8)
    at /usr/home/pluknet/cvs-7/src/sys/vm/vm_page.c:1375
#4  0xc06dab66 in vm_page_free (m=3D0xc1c1edb8)
    at /usr/home/pluknet/cvs-7/src/sys/vm/vm_page.c:506
#5  0xc06d9850 in vm_object_page_remove (object=3D0xc7bad300, start=3D0, en=
d=3D256,
    clean_only=3D0) at /usr/home/pluknet/cvs-7/src/sys/vm/vm_object.c:1955
#6  0xc06d1756 in vm_map_delete (map=3DVariable "map" is not available.
)
    at /usr/home/pluknet/cvs-7/src/sys/vm/vm_map.c:2329
#7  0xc06d5287 in munmap (td=3D0xc5f0c240, uap=3D0xe8a01cfc)
    at /usr/home/pluknet/cvs-7/src/sys/vm/vm_mmap.c:582
#8  0xc071f375 in syscall (frame=3D0xe8a01d38)
    at /usr/home/pluknet/cvs-7/src/sys/i386/i386/trap.c:1101
#9  0xc0703a20 in Xint0x80_syscall ()
    at /usr/home/pluknet/cvs-7/src/sys/i386/i386/exception.s:262

(kgdb) up
#1  0xc057ce07 in boot (howto=3D260)
    at /usr/home/pluknet/cvs-7/src/sys/kern/kern_shutdown.c:418
418                     doadump();
(kgdb) up
#2  0xc057d0d9 in panic (fmt=3DVariable "fmt" is not available.
)
    at /usr/home/pluknet/cvs-7/src/sys/kern/kern_shutdown.c:574
574             boot(bootopt);
(kgdb) up
#3  0xc06da965 in vm_page_free_toq (m=3D0xc1c1edb8)
    at /usr/home/pluknet/cvs-7/src/sys/vm/vm_page.c:1375
warning: Source file is more recent than executable.

1375                    if (VM_PAGE_IS_FREE(m))
(kgdb) inspect *m
$1 =3D {pageq =3D {tqe_next =3D 0xc1c1ee48, tqe_prev =3D 0xc2c69328}, listq=
 =3D {
    tqe_next =3D 0xc1c1ee48, tqe_prev =3D 0xc7bad32c}, left =3D 0x0,
  right =3D 0xc1b9f5d0, object =3D 0x0, pindex =3D 0, phys_addr =3D 6917980=
16, md =3D {
    pat_mode =3D 6, pv_list =3D {tqh_first =3D 0x0, tqh_last =3D 0xc1c1ede4=
}},
  queue =3D 2 '\002', segind =3D 3 '\003', flags =3D 131, order =3D 11 '\v'=
,
  pool =3D 0 '\0', cow =3D 0, wire_count =3D 0, hold_count =3D 0, oflags =
=3D 0,
  act_count =3D 5 '\005', busy =3D 0 '\0', valid =3D 0 '\0', dirty =3D 255 =
'=D0=AA'}
(kgdb) up
#4  0xc06dab66 in vm_page_free (m=3D0xc1c1edb8)
    at /usr/home/pluknet/cvs-7/src/sys/vm/vm_page.c:506
506             vm_page_free_toq(m);
(kgdb) up
#5  0xc06d9850 in vm_object_page_remove (object=3D0xc7bad300, start=3D0, en=
d=3D256,
    clean_only=3D0) at /usr/home/pluknet/cvs-7/src/sys/vm/vm_object.c:1955
1955                    vm_page_free(p);
(kgdb) inspect *p
$2 =3D {pageq =3D {tqe_next =3D 0xc1c1ee48, tqe_prev =3D 0xc2c69328}, listq=
 =3D {
    tqe_next =3D 0xc1c1ee48, tqe_prev =3D 0xc7bad32c}, left =3D 0x0,
  right =3D 0xc1b9f5d0, object =3D 0x0, pindex =3D 0, phys_addr =3D 6917980=
16, md =3D {
    pat_mode =3D 6, pv_list =3D {tqh_first =3D 0x0, tqh_last =3D 0xc1c1ede4=
}},
  queue =3D 2 '\002', segind =3D 3 '\003', flags =3D 131, order =3D 11 '\v'=
,
  pool =3D 0 '\0', cow =3D 0, wire_count =3D 0, hold_count =3D 0, oflags =
=3D 0,
  act_count =3D 5 '\005', busy =3D 0 '\0', valid =3D 0 '\0', dirty =3D 255 =
'=D0=AA'}
(kgdb) inspect *object
$3 =3D {mtx =3D {lock_object =3D {lo_name =3D 0xc0777524 "vm object",
      lo_type =3D 0xc077818b "standard object", lo_flags =3D 21168128,
      lo_witness_data =3D {lod_list =3D {stqe_next =3D 0x0}, lod_witness =
=3D 0x0}},
    mtx_lock =3D 3320889920, mtx_recurse =3D 0}, object_list =3D {
    tqe_next =3D 0xca3fa300, tqe_prev =3D 0xca632818}, shadow_head =3D {
    lh_first =3D 0x0}, shadow_list =3D {le_next =3D 0x0, le_prev =3D 0xc8c4=
5a20},
  memq =3D {tqh_first =3D 0xc1c1edb8, tqh_last =3D 0xc23411a8}, root =3D 0x=
c2171ef8,
  size =3D 1024, generation =3D 2748, ref_count =3D 2, shadow_count =3D 0,
  type =3D 0 '\0', memattr =3D 6 '\006', flags =3D 12544, pg_color =3D 4684=
8,
  paging_in_progress =3D 1, resident_page_count =3D 179, backing_object =3D=
 0x0,
  backing_object_offset =3D 0, pager_object_list =3D {tqe_next =3D 0x0,
    tqe_prev =3D 0x0}, rvq =3D {lh_first =3D 0x0}, cache =3D 0x0, handle =
=3D 0x0,
  un_pager =3D {vnp =3D {vnp_size =3D 0}, devp =3D {devp_pglist =3D {tqh_fi=
rst =3D 0x0,
        tqh_last =3D 0x0}}, sgp =3D {sgp_pglist =3D {tqh_first =3D 0x0,
        tqh_last =3D 0x0}}, swp =3D {swp_bcount =3D 0}}}

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOLCqt9%2BeZLwCxG_G9sLbuWxY58xm6wL=MjiKBGip9DRaA>