[3037] in testers

home help back first fref pref prev next nref lref last post

Re: 8.0F sun4m: portnoy panic in mutex_exit() called from afs_UFSWrite()

daemon@ATHENA.MIT.EDU (John Hawkinson)
Sat Jul 27 18:57:47 1996

Date: Sat, 27 Jul 1996 18:56:08 -0400
To: testers@MIT.EDU
Cc: sipb-staff@MIT.EDU
In-Reply-To: "[3036] in testers"
From: John Hawkinson <jhawk@MIT.EDU>


[cc list trimmed]

> It's possible that I'm just misunderstanding something obvious, or
> there maybe stack corruption, or there may be serious problem
> (?). I'd check it's value in the running kernel, but I don't know
> how to compute the offset of a symbol inside a loadable module
> ("modinfo|grep afs" and add the address within /kernel/fs/afs to the
> offset? How to find the address of afs_global_lock within
> /kernel/fs/afs? ??), and I didn't have the forsight to boot kadb
> after the crash.

The solution here is to *NOT* use

	adb -k /kernel/unix /dev/mem

but instead use:

	adb -k /dev/ksyms /dev/mem

/dev/ksyms is a character special file that provides an interface
for accessing symbols for the active kernel, both those from /kernel/unix,
and those from modloaded modules. The things you learn from reading
other people's bug reports in Sunsolve...

--jhawk

home help back first fref pref prev next nref lref last post