Kernel core dump in recent 4.8-STABLE
Mark Knight
markk at knigma.org
Wed Jun 25 11:15:09 PDT 2003
In message
<Pine.NEB.3.96L.1030625130254.39954L-100000 at fledge.watson.org>, Robert
Watson <rwatson at freebsd.org> writes
>On Wed, 25 Jun 2003, Mark Knight wrote:
>
>...
>> #8 0xc01bfc3c in spec_ioctl (ap=0xd360edf0)
>> at /usr/src/sys/miscfs/specfs/spec_vnops.c:306
>
>In this stack frame, could you print the contents of the dev pointer and
>structure? (l dev, l *dev in gdb -k)
#8 0xc01bfc3c in spec_ioctl (ap=0xd360edf0) at /usr/src/sys/miscfs/specfs/spec_vnops.c:306
306 return ((*devsw(dev)->d_ioctl)(dev, ap->a_command,
(kgdb) p dev
$1 = 0xc1b03800
(kgdb) p *dev
$2 = {si_flags = 0, si_udev = 0, si_hash = {le_next = 0x0, le_prev = 0x0}, si_hlist = {slh_first = 0x0},
si_name = '\000' <repeats 15 times>, si_drv1 = 0x0, si_drv2 = 0x0, si_devsw = 0x0, si_iosize_max = 0, __si_u = {
__si_tty = {__sit_tty = 0x0}, __si_disk = {__sid_disk = 0x0, __sid_mountpoint = 0x0, __sid_bsize_phys = 0,
__sid_bsize_best = 0}}}
(kgdb)
Cheers,
--
Mark A. R. Knight finger: markk at knigma.org
Tel: +44 7880 556751 http://www.knigma.org/
More information about the freebsd-stable
mailing list