11 Point the dbx debugger to the nfs_putpage function.
12 Display the name of the source file that contains the nfs_putpage
function.
13 Point the dbx debugger to the ubc_invalidate function.
14 Display the name of the source file that contains the ubc_invalidate
function.
The result from this example shows that the ubc_invalidate function,
which resides in the /vfs/vfs_ubc.c file at line number 1768, called the
nfs_putpage function at line number 2344 in the /kern/sched_prim.c
file and the system stopped.
4.3.2 Using kdbx to Determine the Cause of a Hardware Error
The following example shows a method for identifying a hardware error
with the kdbx debugger:
# kdbx -k vmunix.5 vmzcore.5
dbx version 5.0
Type ’help’ for help.
stopped at [boot:753 ,0xfffffc00003c4b04] Source not available
(kdbx) sum
1
Hostname : system.dec.com
cpu: Digital AlphaStation 600 5/266 avail: 1
Boot-time: Tue Oct 6 15:16:41 1998
Time: Tue Oct 27 13:52:11 1998
Kernel : OSF1 release V5.0 version 688.2 (alpha)
(kdbx) p panicstr
2
0xfffffc0000471030 = "ECC Error"
(kdbx) t
3
> 0 boot(paniced = 0, arghowto = 0) ["../../../../src/kernel/arch/alpha/machdep.\
c":753, 0xfffffc00003c4b04]
1 panic(s = 0x670) ["../../../../src/kernel/bsd/subr_prf.c":1119, 0xfffffc00002\
bdbb0]
2 kn15aa_machcheck(type = 1648, cmcf = 0xfffffc00000f8050 = , framep = 0xffff\
ffff94f79ef8) ["../../../../src/kernel/arch/alpha/hal/kn15aa.c":1269, 0xfffffc000\
03da62c]
3 mach_error(type = -1795711240, phys_logout = 0x3, regs = 0x6) ["../../../../s\
rc/kernel/arch/alpha/hal/cpusw.c":323, 0xfffffc00003d7dc0]
4 _XentInt() ["../../../../src/kernel/arch/alpha/locore.s":609, 0xfffffc00003c3\
148]
(kdbx) q
dbx (pid 337) died. Exiting...
1 Use the sum command to get a summary of the system.
2 Display the panic string (panicstr).
3 Perform a stack trace. Because the kn15aa_machcheck function (which
is a hardware checking function) called the panic function, the system
crash was probably the result of a hardware error.
Crash Analysis Examples 4–7