Problem
I have get a panic regarding "fillbbmap" when copying files on a filesystem.
The panic is similar to:Unexpected trap in kernel mode:
cr0 0x8001001B cr2 0xF0A67450 cr3 0x00002000 tlb 0x00000000
ss 0x00005480 uesp 0xFFFFFFFF efl 0x00010286 ipl 0x00000000
cs 0x00000158 eip 0xF015151B err 0x00000000 trap 0x0000000E
eax 0xF0A31000 ecx 0xFBF2E090 edx 0x0000D914 ebx 0xFFFFFFFF
esp 0xE0000AA4 ebp 0xE0000AE0 esi 0xC1254400 edi 0xC1254000
ds 0x00000160 es 0x00000160 fs 0x00000000 gs 0x00000000
cpu 0x00000001PANIC: k_trap - Kernel mode trap type0x0000000E Trying to dump 130973 pages to dumpdev hd (1/41), 1638 pages per '.' .............................................................................. . DOUBLE PANIC: k_trap - Kernel mode trap type 0x0000000E Trying to dump 130973 pages to dumpdev hd (1/41), 1638 pages per '.' ..
Panic String: k_trap - Kernel mode trap type 0x%x
Kernel Trap. Kernel Registers saved at 0xe000088c
ERR=0, TRAPNO=14
cs:eip=0158:f0013ae1 Flags=10206
ds = 0160 es = 0160 fs = 0000 gs = 0000
esi= dffda000 edi= c0111000 ebp= e00008dc esp= e00008bc
eax= dffda000 ebx= 00001000 ecx= 00000400 edx= 0001ffdaKernel Stack before Trap:
STKADDR FRAMEPTR FUNCTION POSSIBLE ARGUMENTS
e00008bc e00008dc bcpalign (tmpva_pages,0xc0111000,0x1000,0x1ffda)
e00008e4 e0000908 dumpnextpa (0xc0111000,u+0x9a8,0x3,dmsize+0x298)
e0000910 e0000a10 sysdump (0x4,0,0xffffffff,0xe)
e0000a18 e0000a34 cmn_err (0x3,dmsize+0x298,0xe,u+0xa74)
e0000a3c e0000a68 k_trap (u+0xa74)
e0000a74 kern_trap from 0xf015151b in fillbbmap
ax:f0a31000 cx:fbf2e090 dx: d914 bx:ffffffff fl: 10286 ds: 160 fs: 0
sp:e0000aa4 bp:e0000ae0 si:c1254400 di:c1254000 err: 0 es: 160 gs: 0
e0000a7c e0000ae0 fillbbmap (mount+0x90,0xf0c95480,0xd914,0)
e0000ae8 e0000b08 htaddbseg (mount+0x90,0x1,0xd914,0)
e0000b10 e0000b38 htfindbseg (inode+0x13ba0,mount+0x90,0x1,0xd914)
e0000b40 e0000b5c htblkref (inode+0x13ba0,0x1b3b8e4f,0x1,0xfc21a740)
e0000b64 e0000bb0 htindirtru (inode+0x13ba0,0x1e2c63b,0xffffffff,0xa)
e0000bb8 e0000c14 htindirtru (inode+0x13ba0,0x1e1cb73,0xbfff,0xb)
e0000c1c e0000cb8 htrealtrun (inode+0x13ba0,0x3042800,0x8000,0xfc21a740)
e0000cc0 e0000d18 htcommon_t (inode+0x13ba0,0,inode+0x13ba0,0)
e0000d20 e0000d54 htitrunc (inode+0x13ba0,inode+0x13ba0,0x20,0x2)
e0000d5c e0000d94 copen1 (inode+0x13ba0,0x202,0x1,inode+0x13ba0)
e0000d9c e0000dd8 copen (0x202,0x2)
e0000de0 e0000de8 open (0x2,0,0x3,u+0xe10)
e0000df0 e0000e10 systrap (u+0xe1c) Cause
This is likely to be caused by a corrupted HTFS filesystem.
Solution
It is recommended to unmount the filesystem, using the "umount" command and run an "fsck", with the '-ofull' option, on the filesystem to attempt to fix any bad blocks or inode corruption.
See also
fsck(ADM)
mount(S)
umount(S)TA#105411, "Filesystem Repair Utilities for SCO OpenServer 5.0.0, 5.0.2, 5.0.4, 5.0.5, 5.0.6"