Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2013 22:57:29 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Mikolaj Golub <trociny@FreeBSD.org>
Cc:        Dimitry Andric <dim@freebsd.org>, current@freebsd.org
Subject:   Re: zfs kernel panic, known incompatibilities with clang & CPUTYPE/COPTFLAGS?
Message-ID:  <20130615225729.00001aa0@unknown>
In-Reply-To: <20130615081705.GA3026@gmail.com>
References:  <20130612223024.00003980@unknown> <E9E313A1-AEA5-4926-86A2-6CEF0E7EB388@freebsd.org> <20130614230702.00006aa0@unknown> <20130615081705.GA3026@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Jun 2013 11:17:07 +0300
Mikolaj Golub <trociny@FreeBSD.org> wrote:

> On Fri, Jun 14, 2013 at 11:07:02PM +0200, Alexander Leidinger wrote:
> 
> > db> bt
> > Tracing pid 2356
> > uart_sab82532_class() at 0
> > devfs_ioctl_f() at devfs_ioctl_f+0xf0
> > kern_ioctl() at kern_ioctl+0x1d7
> > sys_ioctl() at sys_ioctl+0x142
> > ---snip---
> > 
> > Anyone with a pointer to an explanation how to convert those
> > pointers into source locations?
> 
> kgdb
> l *devfs_ioctl_f+0xf0

I have the old kernel loaded and have the new one in kgdb. It seems it
is loading the symbols of the modules for the old kernel. As devfs is
not a module, it shouldn't matter here.
---snip---
(kgdb) l *devfs_ioctl_f+0xf0
0xffffffff80346dd0 is in devfs_ioctl_f
(/space/system/usr_src/sys/fs/devfs/devfs_vnops.c:757).
752                             error = copyout(p, fgn->buf, i);
753                     td->td_fpop = fpop;
754                     dev_relthread(dev, ref);
755                     return (error);
756             }
757             error = dsw->d_ioctl(dev, com, data, fp->f_flag, td);
758             td->td_fpop = NULL;
759             dev_relthread(dev, ref);
760             if (error == ENOIOCTL)
761                     error = ENOTTY;
---snip---

I would assume I can not print anything from there with my core-dump,
as the backtrace is not usable.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130615225729.00001aa0>