linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke cryptsetup on my machine
@ 2015-10-07 19:27 Giedrius Statkevičius
  2015-10-08 12:38 ` Geliang Tang
  0 siblings, 1 reply; 4+ messages in thread
From: Giedrius Statkevičius @ 2015-10-07 19:27 UTC (permalink / raw)
  To: geliangtang, snitzer; +Cc: linux-raid, linux-kernel

Hello,
I have a LUKS on LVM setup: /boot is unencrypted and everything is "hidden" in
/dev/sda2. After booting on linux-next and just after entering my password
cryptsetup segfaults and a stack trace is printed from the kernel. Since writing
down all those numbers is hard I've made a picture where it is shown:
https://i.imgur.com/6PHNUdv.jpg

I figured it had something to do with changes to memory management and thus find
out that commit 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke my system.
Reverting it there is no such error anymore and system boots fine past that
point. 

Could someone look into this? Thanks, Giedrius

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke cryptsetup on my machine
  2015-10-07 19:27 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke cryptsetup on my machine Giedrius Statkevičius
@ 2015-10-08 12:38 ` Geliang Tang
  2015-10-10 12:44   ` Giedrius Statkevičius
  0 siblings, 1 reply; 4+ messages in thread
From: Geliang Tang @ 2015-10-08 12:38 UTC (permalink / raw)
  To: Giedrius Statkevičius; +Cc: snitzer, linux-raid, linux-kernel

On Wed, Oct 07, 2015 at 10:27:27PM +0300, Giedrius Statkevičius wrote:
> Hello,
> I have a LUKS on LVM setup: /boot is unencrypted and everything is "hidden" in
> /dev/sda2. After booting on linux-next and just after entering my password
> cryptsetup segfaults and a stack trace is printed from the kernel. Since writing
> down all those numbers is hard I've made a picture where it is shown:
> https://i.imgur.com/6PHNUdv.jpg
> 
> I figured it had something to do with changes to memory management and thus find
> out that commit 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke my system.
> Reverting it there is no such error anymore and system boots fine past that
> point. 
> 
> Could someone look into this? Thanks, Giedrius

Bugfix for this has been sended out.
https://lkml.org/lkml/2015/10/8/342.

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke cryptsetup on my machine
  2015-10-08 12:38 ` Geliang Tang
@ 2015-10-10 12:44   ` Giedrius Statkevičius
  2015-10-10 13:00     ` Mike Snitzer
  0 siblings, 1 reply; 4+ messages in thread
From: Giedrius Statkevičius @ 2015-10-10 12:44 UTC (permalink / raw)
  To: Geliang Tang
  Cc: Giedrius Statkevičius, snitzer, linux-raid, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

On Thu, 8 Oct 2015, Geliang Tang wrote:

> On Wed, Oct 07, 2015 at 10:27:27PM +0300, Giedrius Statkevičius wrote:
> > Hello,
> > I have a LUKS on LVM setup: /boot is unencrypted and everything is "hidden" in
> > /dev/sda2. After booting on linux-next and just after entering my password
> > cryptsetup segfaults and a stack trace is printed from the kernel. Since writing
> > down all those numbers is hard I've made a picture where it is shown:
> > https://i.imgur.com/6PHNUdv.jpg
> > 
> > I figured it had something to do with changes to memory management and thus find
> > out that commit 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke my system.
> > Reverting it there is no such error anymore and system boots fine past that
> > point. 
> > 
> > Could someone look into this? Thanks, Giedrius
> 
> Bugfix for this has been sended out.
> https://lkml.org/lkml/2015/10/8/342.
> 
> Thanks.
I've tested and that fixed this issue for me. I would've replied on that thread
but I can't find its Message-Id. Anyway, you can add:
Tested-By: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>

Thanks,
Giedrius

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke cryptsetup on my machine
  2015-10-10 12:44   ` Giedrius Statkevičius
@ 2015-10-10 13:00     ` Mike Snitzer
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Snitzer @ 2015-10-10 13:00 UTC (permalink / raw)
  To: Giedrius Statkevičius; +Cc: Geliang Tang, linux-raid, linux-kernel

On Sat, Oct 10 2015 at  8:44P -0400,
Giedrius Statkevičius <giedrius.statkevicius@gmail.com> wrote:

> On Thu, 8 Oct 2015, Geliang Tang wrote:
> 
> > On Wed, Oct 07, 2015 at 10:27:27PM +0300, Giedrius Statkevičius wrote:
> > > Hello,
> > > I have a LUKS on LVM setup: /boot is unencrypted and everything is "hidden" in
> > > /dev/sda2. After booting on linux-next and just after entering my password
> > > cryptsetup segfaults and a stack trace is printed from the kernel. Since writing
> > > down all those numbers is hard I've made a picture where it is shown:
> > > https://i.imgur.com/6PHNUdv.jpg
> > > 
> > > I figured it had something to do with changes to memory management and thus find
> > > out that commit 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke my system.
> > > Reverting it there is no such error anymore and system boots fine past that
> > > point. 
> > > 
> > > Could someone look into this? Thanks, Giedrius
> > 
> > Bugfix for this has been sended out.
> > https://lkml.org/lkml/2015/10/8/342.
> > 
> > Thanks.
> I've tested and that fixed this issue for me. I would've replied on that thread
> but I can't find its Message-Id. Anyway, you can add:
> Tested-By: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>

I dropped the original commit because I'm really not seeing the value of
using kvfree (but it was motivated by reports of crashes from ktest,
etc).  I don't have any intention of picking it back up at this point
(so Geliang's fix will go unused at this point).

Mike

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-10 13:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 19:27 30c2a1faaeb3db94fc92f79553cc72634aa3b218 broke cryptsetup on my machine Giedrius Statkevičius
2015-10-08 12:38 ` Geliang Tang
2015-10-10 12:44   ` Giedrius Statkevičius
2015-10-10 13:00     ` Mike Snitzer

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).