Date: Tue, 5 Feb 2008 20:56:26 +0100 From: "Attilio Rao" <attilio@freebsd.org> To: "Yar Tikhiy" <yar@comp.chem.msu.su> Cc: Kostik Belousov <kostikbel@gmail.com>, Scot Hetzel <swhetzel@gmail.com>, freebsd-current@freebsd.org, Doug Barton <dougb@freebsd.org> Subject: Re: panic: System call lstat returning with 1 locks held Message-ID: <3bbf2fe10802051156p1cc6ea67t7938a60e306323ce@mail.gmail.com> In-Reply-To: <20080205162217.GA56373@comp.chem.msu.su> References: <3bbf2fe10801291411v302dd33at54ebe538397e8fac@mail.gmail.com> <3bbf2fe10801300707u3fd121c0k199605c2f0be6cbf@mail.gmail.com> <790a9fff0801301352xa91a69ci3f08488dfcfc982@mail.gmail.com> <3bbf2fe10801310243tddedfeckbc4c94be87f0a4ca@mail.gmail.com> <20080131130210.GA37090@comp.chem.msu.su> <3bbf2fe10801310504j486924bdm86e0436597a42b09@mail.gmail.com> <790a9fff0801312241s346068b6s40fcae71ebbf546@mail.gmail.com> <20080201145051.GE79881@comp.chem.msu.su> <3bbf2fe10802011041t28e419c9n5f0f6f34d6450184@mail.gmail.com> <20080205162217.GA56373@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/2/5, Yar Tikhiy <yar@comp.chem.msu.su>: > On Fri, Feb 01, 2008 at 07:41:58PM +0100, Attilio Rao wrote: > > 2008/2/1, Yar Tikhiy <yar@comp.chem.msu.su>: > > [...] > > > > Fatal trap 12: page fault while in kernel mode > > > > > > cpuid = 0; apic id = 00 > > > > > > fault virtual address = 0xdeadc0ee > > > fault code = supervisor read, page not present > > > instruction pointer = 0x20:0xc07a0676 > > > stack pointer = 0x28:0xd614e9a0 > > > frame pointer = 0x28:0xd614e9a4 > > > > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > > > > = DPL 0, pres 1, def32 1, gran 1 > > > > > > processor eflags = resume, IOPL = 0 > > > > > > current process = 43 (umount) > > > [thread pid 43 tid 100052 ] > > > Stopped at isitmychild+0x6: movl 0x10(%eax),%ecx > > > db> panic: Assertion !mtx_owned(&w_mtx) failed at /usr/src/sys/kern/subr_witness > > > .c:959 > > > cpuid = 0 > > > Uptime: 2m14s > > > Cannot dump. No dump device defined. > > > Automatic reboot in 15 seconds - press a key on the console to abort > > > > It would be suitable for you to add DDB to your kernel config and see > > a backtrace for it? > > > DDB was there (my kernel was GENERIC + DEBUG_VFS_LOCKS,) but it > failed, too. Fortunately, I've managed to save a dump with the > whole call stack. Attached is the respective output from kgdb, > showing multiple failures including the one in NTFS. Currently it is DDB which let it fail in witness after memory corruption. But I'm more interested in the panic originator; so, as far as it is unusable, can you please remove DDB option and try to get the panic again? it should not give you the failing assertion without DDB. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10802051156p1cc6ea67t7938a60e306323ce>