Subject: kern/28869: panic: pool_put: kvakmem: page header missing
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <joff@embeddedARM.com>
List: netbsd-bugs
Date: 01/04/2005 23:51:00
>Number:         28869
>Category:       kern
>Synopsis:       panic: pool_put: kvakmem: page header missing
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 04 23:51:00 +0000 2005
>Originator:     joff@embeddedARM.com
>Release:        NetBSD 2.99.12
>Organization:
	Technologic Systems
>Environment:
System: NetBSD 2.99.12 (TS7200) #5: Mon Jan  3 18:13:01 MST 2005
Architecture: arm
Machine: evbarm
rev 1.73 of sys/uvm/uvm_km.c
>Description:
While doing a /sbin/restore from a file on NFS to a USB thumb flash disk:

panic: pool_put: kvakmem: page header missing
db> bt
0xc030a27c
        scp=0xc030a27c rlv=0xc0308b84 (netbsd:pool_do_put+0x2f8)
        rsp=0xc2cabea4 rfp=0xc2cabee8
        r7=0xc0466048 r6=0xc10cb000
        r5=0x00000000 r4=0xc0466104
netbsd:pool_do_put+0x10
        scp=0xc030889c rlv=0xc0358808 (netbsd:uvm_km_free_poolpage_cache+0xbc)
        rsp=0xc2cabeec rfp=0xc2cabf10
        r6=0xc0466104 r5=0x00000008
        r4=0xc10cb000
netbsd:uvm_km_free_poolpage_cache+0x10
        scp=0xc035875c rlv=0xc0309f94 (netbsd:pool_allocator_free+0x20)
        rsp=0xc2cabf14 rfp=0xc2cabf30
        r8=0x00000000 r7=0x41db26f2
        r6=0xc046a420 r5=0xc044f768 r4=0xc046a420
netbsd:pool_allocator_free+0x10
        scp=0xc0309f84 rlv=0xc0309178 (netbsd:pool_reclaim+0x124)
        rsp=0xc2cabf34 rfp=0xc2cabf70
        r6=0xc046a420 r5=0xc10cbfd8
        r4=0x0000000a
netbsd:pool_reclaim+0x10
        scp=0xc0309064 rlv=0xc0309270 (0xc0309270)
        rsp=0xc2cabf74 rfp=0xc2cabf88
        r10=0xc0473aec r8=0xc0477090
        r7=0x00001cc5 r6=0xc0476ee4 r5=0xc0476ee4 r4=0x00000000
0xc030922c
        scp=0xc030922c rlv=0xc0366588 (0xc0366588)
        rsp=0xc2cabf8c rfp=0xc2cabfb0
        r4=0x0000001f
0xc0366490
        scp=0xc0366490 rlv=0xc03724c4 (netbsd:proc_trampoline+0x18)
        rsp=0xc2cabfb4 rfp=0xc01d9e0c
        r8=0xc04778f0 r7=0x00000000
        r6=0x00000000 r5=0xc244a1f0 r4=0xc0366480
Bad frame pointer: 0xc01d9e0c
db> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
 412            375      412          0 2  0x4002    1          restore
 410              1      410          0 2       0    1        mount_nfs nqnfsti
 397              0        0          0 2 0x20200    1            nfsio  nfsidl
 428              0        0          0 2 0x20200    1            nfsio  nfsidl
 408              0        0          0 2 0x20200    1            nfsio  nfsidl
 406              0        0          0 2 0x20200    1            nfsio
 399              0        0          0 2 0x20200    1         scsibus0  sccomp
 375              1      375          0 2  0x4003    1              ksh   pause
 339              1      339          0 2       0    1             cron nanosle
 362              1      362          0 2       0    1            inetd  kqread
 334              1      334          0 2   0x100    1         sendmail  select
 155              1      155          0 2       0    1          syslogd  kqread
 127              1      127          0 2       0    1         dhclient  select
 7                0        0          0 2 0x20200    1         aiodoned aiodone
 6                0        0          0 2 0x20200    1          ioflush  syncer
*5                0        0          0 2 0x20200    1       pagedaemon
 4                0        0          0 2 0x20200    1          atabus0   atath
 3                0        0          0 2 0x20200    1          usbtask  usbtsk
 2                0        0          0 2 0x20200    1             usb0  usbevt
 1                0        1          0 2  0x4000    1             init    wait
 0               -1        0          0 2 0x20200    1          swapper schedul
>How-To-Repeat:
	Try a /sbin/restore from a file on NFS to a USB thumb flash disk
>Fix:
	Unknown