[ARM+NFS] panic while copying across NFS

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Fri, 12 Jun 2009 13:19:22 -0700
I just ran into the following panic:

	panic: vm_page_insert: offset already allocated

I was copying a kernel across NFS at the time:

	orion% cd /nfs/netboot/arm
	orion% ls
	kernel-save.bin	kernel.bin	ubldr
	orion% sudo cp kernel.bin kernel-save.bin
	orion% sudo cp /usr/obj/nfs/freebsd/base/head/sys/ORION/kernel.bin  
kernel.bin

(/usr/obj is on a local disk)

With this backtrace:

db> bt
Tracing pid 26585 tid 100073 td 0xc22bd6f0
db_trace_thread() at db_trace_thread+0x10
scp=0xc0ae66e8 rlv=0xc0914d78 (db_command_init+0x484)
         rsp=0xc8492878 rfp=0xc8492898
         r10=0x00000001 r9=0xc0bb3e94
         r8=0xc0babdc8 r7=0xc0bab59c r6=0x00000010 r5=0x00000000
         r4=0xc22bd6f0
db_command_init() at db_command_init+0x404
scp=0xc0914cf8 rlv=0xc09145b4 (db_skip_to_eol+0x38c)
         rsp=0xc849289c rfp=0xc8492940
         r6=0x00000002 r5=0x00000000
         r4=0xc0b8bb80
db_skip_to_eol() at db_skip_to_eol+0x1d0
scp=0xc09143f8 rlv=0xc09147d0 (db_command_loop+0x50)
         rsp=0xc8492944 rfp=0xc8492954
         r10=0x00000001 r8=0x00000000
         r7=0xc8492b1c r6=0xc0bb3e90 r5=0x00000000 r4=0xc0bab598
db_command_loop() at db_command_loop+0x18
scp=0xc0914798 rlv=0xc0916960 (X_db_sym_numargs+0xa0)
         rsp=0xc8492958 rfp=0xc8492a74
         r4=0xc849295c
X_db_sym_numargs() at X_db_sym_numargs+0x18
scp=0xc09168d8 rlv=0xc09bcb98 (kdb_trap+0xb0)
         rsp=0xc8492a78 rfp=0xc8492aa0
         r4=0x000000c0
kdb_trap() at kdb_trap+0x10
scp=0xc09bcaf8 rlv=0xc0af76cc (undefinedinstruction+0x124)
         rsp=0xc8492aa4 rfp=0xc8492b18
         r10=0xc22bd6f0 r9=0x00000000
         r8=0xc09bc88c r7=0xe7ffffff r6=0xc8492b1c r5=0x00000000
         r4=0x00000000
undefinedinstruction() at undefinedinstruction+0x10
scp=0xc0af75b8 rlv=0xc0ae8174 (address_exception_entry+0x50)
         rsp=0xc8492b1c rfp=0xc8492b7c
         r10=0xc0d147c8 r8=0x00000000
         r7=0xc22bd6f0 r6=0xc0bb00c0 r5=0xffff1004 r4=0x00000000
kdb_enter() at kdb_enter+0x14
scp=0xc09bc858 rlv=0xc09955f4 (panic+0xa0)
         rsp=0xc8492b80 rfp=0xc8492b94
         r5=0xc0b4c994 r4=0x00000100
panic() at panic+0x1c
scp=0xc0995570 rlv=0xc0ad8de0 (vm_page_insert+0x164)
         rsp=0xc8492ba8 rfp=0xc8492bc8
vm_page_insert() at vm_page_insert+0x10
scp=0xc0ad8c8c rlv=0xc0ad90f4 (vm_page_alloc+0x304)
         rsp=0xc8492bcc rfp=0xc8492bf4
         r8=0x00001e03 r7=0x00000061
         r6=0x00000001 r5=0xc0fe25c8 r4=0x00000000
vm_page_alloc() at vm_page_alloc+0x10
scp=0xc0ad8e00 rlv=0xc0acd740 (kmem_malloc+0x2b4)
         rsp=0xc8492bf8 rfp=0xc8492c48
         r10=0x00000000 r9=0x00001000
         r8=0x00000103 r7=0xc0e3a088 r6=0x01e03000 r5=0x00000061
         r4=0xc1e03000
kmem_malloc() at kmem_malloc+0x14
scp=0xc0acd4a0 rlv=0xc0ac77bc (uma_zcreate+0xd0)
         rsp=0xc8492c4c rfp=0xc8492c88
         r10=0xc0ac5efc r9=0xc0e36640
         r8=0x00000103 r7=0xc1dfd000 r6=0xc1dfd000 r5=0x00000003
         r4=0xc0e2d280
uma_zcreate() at uma_zcreate+0x70
scp=0xc0ac775c rlv=0xc0ac7d28 (uma_prealloc+0x198)
         rsp=0xc8492c8c rfp=0xc8492cac
         r10=0xc0e319d8 r9=0x00000020
         r8=0xc0e36640 r7=0x00000000 r6=0xc0e36640 r5=0x00000203
         r4=0xc0e2d280
uma_prealloc() at uma_prealloc+0xd4
scp=0xc0ac7c64 rlv=0xc0ac7fe8 (uma_prealloc+0x458)
         rsp=0xc8492cb0 rfp=0xc8492cc8
         r7=0x00000002 r6=0xc0e36640
         r5=0x00000003 r4=0xc0e2d280
uma_prealloc() at uma_prealloc+0x42c
scp=0xc0ac7fbc rlv=0xc0ac9230 (uma_zalloc_arg+0x32c)
         rsp=0xc8492ccc rfp=0xc8492d10
         r6=0xc1a5dcc0 r5=0x00000013
         r4=0x00000013
uma_zalloc_arg() at uma_zalloc_arg+0x10
scp=0xc0ac8f14 rlv=0xc0a86710 (nfsm_uiotombuf+0xec)
         rsp=0xc8492d14 rfp=0xc8492d5c
         r10=0xc4bc0fcc r9=0x00008000
         r8=0x00006034 r7=0xc8492df4 r6=0xc1976800 r5=0x00000800
         r4=0x00000000
nfsm_uiotombuf() at nfsm_uiotombuf+0x10
scp=0xc0a86634 rlv=0xc0a8e8f4 (nfs_writerpc+0x1a8)
         rsp=0xc8492d60 rfp=0xc8492ddc
         r10=0xc3884910 r9=0x00008000
         r8=0xc1acb000 r7=0x00008000 r6=0xc8492df4 r5=0xc1979900
         r4=0x00000000
nfs_writerpc() at nfs_writerpc+0x10
scp=0xc0a8e75c rlv=0xc0a7f680 (nfs_doio+0x204)
         rsp=0xc8492de0 rfp=0xc8492e4c
         r10=0xc3884910 r9=0xc235cca8
         r8=0x00008000 r7=0x00000000 r6=0x00000000 r5=0x000000c0
         r4=0x00000000
nfs_doio() at nfs_doio+0x10
scp=0xc0a7f48c rlv=0xc0a871d8 (nfs_nfsiodnew+0x3c4)
         rsp=0xc8492e50 rfp=0xc8492e80
         r10=0x00000000 r9=0xc0d13ab4
         r8=0xc0d13990 r7=0x00000006 r6=0x00000000 r5=0xc1acb000
         r4=0xc3884910
nfs_nfsiodnew() at nfs_nfsiodnew+0x2ac
scp=0xc0a870c0 rlv=0xc0974b84 (fork_exit+0x64)
         rsp=0xc8492e84 rfp=0xc8492ea8
         r10=0xc0a870b0 r9=0xc0d1f6c0
         r8=0xc0d13368 r7=0xc1c6a828 r6=0xc8492eac r5=0xc0d1f6c0
         r4=0xc22bd6f0
fork_exit() at fork_exit+0x10
scp=0xc0974b30 rlv=0xc0af6190 (fork_trampoline+0x14)
         rsp=0xc8492eac rfp=0x00000000
         r10=0xc0d1f6c0 r8=0x00000104
         r7=0xc0ae7f4c r6=0xc8492eac r5=0xc0d13368 r4=0xc0a870b0


FYI,

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Fri Jun 12 2009 - 18:19:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC