public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: Thomas Meyer <thomas@m3y3r.de>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	dm-devel@redhat.com, Greg KH <greg@kroah.com>
Subject: Re: Device mapper regression 2.6.23 vs. v2.6.23-6597-gcfa76f0
Date: Fri, 02 Nov 2007 18:12:00 +0100	[thread overview]
Message-ID: <1194023520.8053.5.camel@lov.site> (raw)
In-Reply-To: <472B5855.8080303@m3y3r.de>


On Fri, 2007-11-02 at 18:03 +0100, Thomas Meyer wrote:
> Kay Sievers schrieb:
> > On Mon, 2007-10-29 at 00:18 -0700, Andrew Morton wrote:
> >   
> >> On Sun, 21 Oct 2007 21:23:21 +0200 Thomas Meyer <thomas@m3y3r.de> wrote:
> >>     
> >>> I have an external hard drive with an encrypted partition. I am using
> >>> kde so all i had to do under 2.6.23 was
> >>>   "cryptsetup luksOpen /dev/sdb2 crypt-extern"
> >>>
> >>> then udev/hal/kde (?)automatically created an desktop icon. i could
> >>> click this icon to mount and open the drive.
> >>>
> >>> when i do the luksOpen command with v2.6.23-6597-gcfa76f0 this icon is
> >>> not created anymore.
> >>>
> >>> a few commits were made in drivers/md, so it seems something broke.
> >>>
> >>> config extract:
> >>>
> >>> CONFIG_MD=y
> >>> # CONFIG_BLK_DEV_MD is not set
> >>> CONFIG_BLK_DEV_DM=y
> >>> # CONFIG_DM_DEBUG is not set
> >>> CONFIG_DM_CRYPT=y
> >>> CONFIG_DM_SNAPSHOT=m
> >>> CONFIG_DM_MIRROR=m
> >>> CONFIG_DM_ZERO=m
> >>> # CONFIG_DM_MULTIPATH is not set
> >>> CONFIG_DM_DELAY=m
> >>> CONFIG_DM_UEVENT=y
> >>> # CONFIG_FUSION is not set
> >>>
> >>> any ideas?
> >>>
> >>>       
> >> Could be DM breakage, could be udev/sysfs breakage.  Is it still happening
> >> in current mainline?
> >>     
> >
> > There are no obvious changes, which I would expect to cause a breakage
> > in this area. 
> >
> >> And how come I'm seeing unresponded-to-for-a-week regression
> >> reports on lkml?
> >>     
> >
> > It works fine with 2.6.24-rc1+ and GNOME, even without any initial shell
> > command to set it up. Just inserting a LUKS volume, brings up a password
> > dialog, and then mounts all automatically.
> >
> > There was a timing problem fix in HAL (in 0.5.10), maybe that is what
> > happens here.
> >   
> Hal version is 0.5.9.1-r2.
> 
> to make things clear:
> boot 2.6.23 doing "cryptsetup luksOpen /dev/sdb2 crypt-extern" -> kde
> asks to mount new device
> boot v2.6.24-rc1-497-gb1d08ac doing "cryptsetup luksOpen /dev/sdb2
> crypt-extern" -> nothing happens in kde.
> 
> same user land, different kernel.

Yeah, but I expect it to be a timing problem, which may show up with a
new kernel. The kernel is maybe just that bit faster in the event
generation, that it triggers a silly HAL bug. You probably need:
  http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=f3e160d0ab85f62b76400cb521b4d1b5813d0711

It's all fine here regarding LUKS volumes, therefore I wouldn't know
what would be wrong at the kernel side.

Kay


  reply	other threads:[~2007-11-02 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-21 19:23 Device mapper regression 2.6.23 vs. v2.6.23-6597-gcfa76f0 Thomas Meyer
2007-10-29  7:18 ` Andrew Morton
2007-10-29 11:59   ` Kay Sievers
2007-11-02 17:03     ` Thomas Meyer
2007-11-02 17:12       ` Kay Sievers [this message]
2007-11-27 17:06         ` Thomas Meyer

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=1194023520.8053.5.camel@lov.site \
    --to=kay.sievers@vrfy.org \
    --cc=akpm@linux-foundation.org \
    --cc=dm-devel@redhat.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas@m3y3r.de \
    /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