Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 19:13:43 +0100
From:      Mark Knight <markk@knigma.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Kernel core dump in recent 4.8-STABLE
Message-ID:  <VHagZydXZe%2B%2BEwyi@lap.knigma.org>
In-Reply-To: <Pine.NEB.3.96L.1030625130254.39954L-100000@fledge.watson.org>
References:  <9paKSGHVcW%2B%2BEwV8@lap.knigma.org> <Pine.NEB.3.96L.1030625130254.39954L-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message 
<Pine.NEB.3.96L.1030625130254.39954L-100000@fledge.watson.org>, Robert 
Watson <rwatson@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@knigma.org
Tel: +44 7880 556751                            http://www.knigma.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VHagZydXZe%2B%2BEwyi>