mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Grzegorz Kulewski <kangur@polcom.net>
To: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: linux-kernel@vger.kernel.org, dm-devel@redhat.com,
	dm-crypt@saout.de, mingo@elte.hu, akpm@osdl.org
Subject: Re: Strange SIGSEGV problem around dmcrypt, evms and jfs
Date: Mon, 16 Oct 2006 18:50:16 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0610161840580.14187@alpha.polcom.net> (raw)
In-Reply-To: <1161016116.6997.24.camel@kleikamp.austin.ibm.com>

On Mon, 16 Oct 2006, Dave Kleikamp wrote:
> On Mon, 2006-10-16 at 18:12 +0200, Grzegorz Kulewski wrote:
>> I was begining to play with dmcrypt, evms and jfs on one spare disk I
>> have (currently empty and only for tests). I produced some partitions with
>> evms and made volumes on them. Nothing strange, normal configuration. The
>> partition layout seems ok. Then I used dmcrypt mappings on top of two of
>> them to make encrypted swaps and swapon'ed them. Still everything was ok.
>> Then I tested different ciphers performance by doing dmcrypt mappings on
>> top of some other volume with different settings and dd'ed data from and
>> to them to test the speed. Then I choosen one cipher setup and and did the
>> final mapping and created and mounted  jfs on it. Then I copied one large
>> (like 4GB) file on it several times to make sure everything is ok. I
>> checked sha1sums and everything was indeed ok.
>>
>> But then all big applications (firefox, oo2, acroread, ..., opera was the
>> notable exception) couldn't start being killed by SIGSEGVs out of nowhere.
>> I reproduced it two time already (after a clean reboot): today and
>> yesterday. Maybe someone knows what is happening? For me it looks like
>> something broken some kernel memory and the kernel started doing stupid
>> things. But nothing strange has shown in logs.
>>
>> One time I couldn't even shut down the machine normally, only SysRQ-B
>> worked (shutdown scripts were probably killed too or something). Every
>> application works ok (and did so for at least a year) before I will start
>> playing with dmcrypt and jfs. I am not sure where exactly the problems
>> start but will be investigating it shortly.
>>
>> I am rather sure that my hardware is ok. Everything was and is fine till I
>> will start doing these tests.
>
> What were you running before?  jfs?  evms?  Is dm-crypt the only new
> element?  Trying a different file system on the same partition should
> give you an idea whether jfs is a factor or not.

On my main disk I am using ext3. Both dm-crypt and evms were not used. But 
evms was on and was detecting partitions and created it's mappings on 
booting. Also I played with dm-crypt some longer time ago but it was 
unused recently here.

On my testing disk I didn't use anything since it was in store not so long 
ago. But I tested jfs on it (without anything like dm* under) and it was 
working well.


>> BTW. Why booting my machine with 2.6.18.1 with nearly all debuging on I
>> got the following. While I am nearly sure it is not the problem I am
>> writing about I will report it:
>>
>> Oct 16 17:29:33 kangur [   74.485627] =============================================
>> Oct 16 17:29:33 kangur [   74.485767] [ INFO: possible recursive locking detected ]
>> Oct 16 17:29:33 kangur [   74.485840] ---------------------------------------------
>
> This is caused by CONFIG_DEBUG_LOCKDEP.  This will show false positives
> against code that hasn't been annotated for lockdep.  I know the jfs
> code hasn't been annotated yet, and from the look of this, neither has
> the device-mapper code.  You should disable that option, since I doubt
> it would be very helpful in tracking down a segfault, even if the code
> was properly annotated.  The lockdep code is primarily for detecting
> possible opportunities for a deadlock.

Ok, I knew that it was caused by lockdep and what lockdep does, but I 
reported it since it was touching dm, just to be sure.


Thanks,

Grzegorz Kulewski


      reply	other threads:[~2006-10-16 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 16:12 Grzegorz Kulewski
2006-10-16 16:28 ` Dave Kleikamp
2006-10-16 16:50   ` Grzegorz Kulewski [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=Pine.LNX.4.63.0610161840580.14187@alpha.polcom.net \
    --to=kangur@polcom.net \
    --cc=akpm@osdl.org \
    --cc=dm-crypt@saout.de \
    --cc=dm-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=shaggy@austin.ibm.com \
    /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

all inboxes | Powered by JetHome®