From: Nick Piggin <npiggin@kernel.dk>
To: sedat.dilek@gmail.com
Cc: Nick Piggin <npiggin@kernel.dk>,
systemd-devel@lists.freedesktop.org,
linux-fsdevel@vger.kernel.org, linux-next@vger.kernel.org,
eparis@redhat.com
Subject: Re: systemd failing with vfs-scale-working patch-set
Date: Tue, 21 Dec 2010 15:57:13 +1100 [thread overview]
Message-ID: <20101221045713.GA3189@amd> (raw)
In-Reply-To: <AANLkTikabyDocBhHLjBjewkrFfyQLUdSqHiRDRw4q4s9@mail.gmail.com>
On Mon, Dec 20, 2010 at 10:07:14PM +0100, Sedat Dilek wrote:
> Hi Nick,
>
> after upgrading my toolchain and kernel-buildsystem I found some time
> spending in getting some more infos on the systemd w/ vfs-scale
> problem.
> Eric reported in [1] same problems as I have seen.
>
> My systemd is now v15+git20101210.8a9ef77 and Linux kernel is:
>
> # cat /proc/version
> Linux version 2.6.37-rc6-686 (Debian
> 2.6.37~rc6-5~next20101220.dileks.1) (sedat.dilek@gmail.com) (gcc
> version 4.5.2 (Debian 4.5.2-1) ) #1 SMP Mon Dec 20 19:03:29 CET 2010
>
> I could take some new pics [2].
>
> [3] shows a kernel NULL pointer dereference (dmesg command in
> kdb-console), but the address is not displayed, might be I need to set
> some additional kernel-debug-options.
>
> [4] shows the output of "btp 4" (backtrace PID #4 from kdb-console),
> see also in [3] "*pde = 00000000" (8 zeroes) shows <4> (PID #4) at the
> beginning of the line.
>
> I have also a "btp 1" (systemd has PID #1).
>
> Hope this helps to narrow down the problem.
> If you need additional informations or (disasm-ed) files, please let me know.
>
> Some pics are doubled, sorry for the bad quality, I won't be a surgery
> (need a calm hand, turned off auto-flash of my digicam is the real
> cause I guess ;-)).
Thanks to you both for testing and reporting this. The important part is
NULL instruction pointer at dput.
I have a patch to set various d_flags according to what d_op functions
have been defined. This allows branch and cacheline load reduction in
common cases in fastpaths. However those flags were set but not cleared,
not expecting d_ops to be switched on active dentries.
cgroups filesystem actually switches from simple dentry ops to its own
one, when turning from a negative to positive dentry. That's possibly OK
technically (although I didn't consider all races), but AFAIKS it is not
something that a filesystem is allowed to "know".
I'll submit a patch to fix cgroups, and a bugcheck to catch such things
again.
Thanks,
Nick
prev parent reply other threads:[~2010-12-21 4:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-29 12:55 systemd failing with vfs-scale-working patch-set Sedat Dilek
2010-11-29 13:36 ` Sedat Dilek
2010-11-29 13:55 ` Nick Piggin
2010-11-29 14:08 ` Sedat Dilek
2010-11-29 17:30 ` Andrey Borzenkov
2010-11-29 17:53 ` Sedat Dilek
2010-11-29 18:25 ` [systemd-devel] " Andrey Borzenkov
2010-11-29 14:27 ` Kay Sievers
2010-12-20 21:07 ` Sedat Dilek
2010-12-21 4:57 ` Nick Piggin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101221045713.GA3189@amd \
--to=npiggin@kernel.dk \
--cc=eparis@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sedat.dilek@gmail.com \
--cc=systemd-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).