linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Cc: Jan Kara <jack@suse.cz>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: BUG: enabling psacct breaks fsfreeze
Date: Thu, 1 Nov 2012 10:37:23 +0100	[thread overview]
Message-ID: <20121101093723.GC6584@quack.suse.cz> (raw)
In-Reply-To: <20121031124600.GM20752@pcnci.linuxbox.cz>

On Wed 31-10-12 13:46:00, Nikola Ciprich wrote:
> Hi Jan,
> 
> thanks for the reply, sure, I'll gather and post requested info.
> One more note before that, the problem is with psacct, not audit
>  - psacct if I'm not mistaken  (and as opposed to audit) doesn't
> use any userspace, kernel dumps information directly to fs, 
> which might the reason for deadlock..
  Ah, right. Now I looked into the right code and I can see what's the
problem. I'll see what we could do about that... So far I don't have a
better idea than just dropping accounting records that should be written to
frozen filesystem (as you have nowhere to write those records to).

								Honza

> > > Should more debugging information be needed, I'll be glad to provide whatever I can..
> >   Thanks for report. Hum, I'm not sure how the deadlock can happen because
> > AFAIU audit sends a message via netlink to userspace and whatever audit
> > daemon does with it is its private thing. Can you please run:
> >   echo w >/proc/sysrq-trigger
> > after the machine deadlocks and then take dmesg and attach it here? You'll
> > have to have the shell prepared and use serial console / netconsole to gather
> > dmesg or try your luck with copying via ssh / netcat.
> > 
> > 								Honza
> > -- 
> > Jan Kara <jack@suse.cz>
> > SUSE Labs, CR
> > 
> 
> -- 
> -------------------------------------
> Ing. Nikola CIPRICH
> LinuxBox.cz, s.r.o.
> 28.rijna 168, 709 00 Ostrava
> 
> tel.:   +420 591 166 214
> fax:    +420 596 621 273
> mobil:  +420 777 093 799
> www.linuxbox.cz
> 
> mobil servis: +420 737 238 656
> email servis: servis@linuxbox.cz
> -------------------------------------


-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

  reply	other threads:[~2012-11-01  9:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23  9:43 BUG: enabling psacct breaks fsfreeze Nikola Ciprich
2012-10-31 12:15 ` Jan Kara
2012-10-31 12:46   ` Nikola Ciprich
2012-11-01  9:37     ` Jan Kara [this message]
2012-11-01 11:19       ` Jan Kara
2012-11-01 14:23         ` Nikola Ciprich
2012-11-01 22:50           ` Jan Kara
2012-11-02  9:50             ` Marco Stornelli
2012-11-02 10:40               ` Nikola Ciprich
2012-11-03  8:22                 ` Marco Stornelli
2012-11-07 18:51             ` Jan Kara
2012-11-07 21:21               ` Nikola Ciprich
2012-11-07 22:32                 ` Jan Kara

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=20121101093723.GC6584@quack.suse.cz \
    --to=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikola.ciprich@linuxbox.cz \
    /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).