public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled
@ 2008-05-29 16:14 Luiz Fernando N. Capitulino
  2008-05-29 16:29 ` Casey Schaufler
  2008-05-29 16:32 ` Miklos Szeredi
  0 siblings, 2 replies; 6+ messages in thread
From: Luiz Fernando N. Capitulino @ 2008-05-29 16:14 UTC (permalink / raw)
  To: casey; +Cc: miklos, linux-kernel


 Hi Casey,

 I'm not sure whether this is a smack problem, but Mandriva users are
reporting that mount.ntfs-3g (ntfs driver, uses FUSE) hangs when
they try to mount their NTFS partition.

 I could reproduce the problem with a vanilla 2.6.24-rc4 kernel, and it
only happens when Smack is enabled.

 Besides that, I've been told that a similar problem happens with unionfs,
but I haven't tried to reproduce it yet.

 What follows is the output of SysRq+D:

"""
Showing all locks held in the system:
1 lock held by mingetty/4193:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
1 lock held by mingetty/4194:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
1 lock held by mingetty/4195:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
1 lock held by mingetty/4196:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
1 lock held by mingetty/4197:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
2 locks held by mount.ntfs-3g/4667:
 #0:  (&type->s_umount_key#19){--..}, at: [<c01726f0>] sget+0x202/0x350
 #1:  (&isp->smk_lock){--..}, at: [<c01c7f87>] smack_d_instantiate+0x39/0x129
1 lock held by bash/4844:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
1 lock held by bash/5389:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
1 lock held by bash/5498:
 #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
"""

 Let me know if you need more information.

 Best regards.

-- 
Luiz Fernando N. Capitulino

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

* Re: 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled
  2008-05-29 16:14 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled Luiz Fernando N. Capitulino
@ 2008-05-29 16:29 ` Casey Schaufler
  2008-05-29 16:32 ` Miklos Szeredi
  1 sibling, 0 replies; 6+ messages in thread
From: Casey Schaufler @ 2008-05-29 16:29 UTC (permalink / raw)
  To: Luiz Fernando N. Capitulino, casey; +Cc: miklos, linux-kernel


--- "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> wrote:

> 
>  Hi Casey,
> 
>  I'm not sure whether this is a smack problem, but Mandriva users are
> reporting that mount.ntfs-3g (ntfs driver, uses FUSE) hangs when
> they try to mount their NTFS partition.
> 
>  I could reproduce the problem with a vanilla 2.6.24-rc4 kernel, and it
> only happens when Smack is enabled.

Thank you for the report. I will look into it. 

>  Besides that, I've been told that a similar problem happens with unionfs,
> but I haven't tried to reproduce it yet.
> 
>  What follows is the output of SysRq+D:
> 
> """
> Showing all locks held in the system:
> 1 lock held by mingetty/4193:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 1 lock held by mingetty/4194:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 1 lock held by mingetty/4195:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 1 lock held by mingetty/4196:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 1 lock held by mingetty/4197:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 2 locks held by mount.ntfs-3g/4667:
>  #0:  (&type->s_umount_key#19){--..}, at: [<c01726f0>] sget+0x202/0x350
>  #1:  (&isp->smk_lock){--..}, at: [<c01c7f87>] smack_d_instantiate+0x39/0x129
> 1 lock held by bash/4844:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 1 lock held by bash/5389:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> 1 lock held by bash/5498:
>  #0:  (&tty->atomic_read_lock){--..}, at: [<c0229650>] read_chan+0x1e5/0x605
> """
> 
>  Let me know if you need more information.
> 
>  Best regards.
> 
> -- 
> Luiz Fernando N. Capitulino
> 
> 


Casey Schaufler
casey@schaufler-ca.com

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

* Re: 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled
  2008-05-29 16:14 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled Luiz Fernando N. Capitulino
  2008-05-29 16:29 ` Casey Schaufler
@ 2008-05-29 16:32 ` Miklos Szeredi
  2008-05-29 20:29   ` Casey Schaufler
  2008-05-31  3:41   ` Casey Schaufler
  1 sibling, 2 replies; 6+ messages in thread
From: Miklos Szeredi @ 2008-05-29 16:32 UTC (permalink / raw)
  To: lcapitulino; +Cc: casey, miklos, linux-kernel

>  I'm not sure whether this is a smack problem, but Mandriva users are
> reporting that mount.ntfs-3g (ntfs driver, uses FUSE) hangs when
> they try to mount their NTFS partition.

Yes, this is a smack/fuse interaction problem.  Also see this thread:

  http://marc.info/?l=fuse-devel&m=120931855107469&w=2

Casey, you were CC-d on the last mail in that thread.  Did you miss
that?

Thanks,
Miklos

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

* Re: 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled
  2008-05-29 16:32 ` Miklos Szeredi
@ 2008-05-29 20:29   ` Casey Schaufler
  2008-05-31  3:41   ` Casey Schaufler
  1 sibling, 0 replies; 6+ messages in thread
From: Casey Schaufler @ 2008-05-29 20:29 UTC (permalink / raw)
  To: Miklos Szeredi, lcapitulino; +Cc: casey, miklos, linux-kernel


--- Miklos Szeredi <miklos@szeredi.hu> wrote:

> >  I'm not sure whether this is a smack problem, but Mandriva users are
> > reporting that mount.ntfs-3g (ntfs driver, uses FUSE) hangs when
> > they try to mount their NTFS partition.
> 
> Yes, this is a smack/fuse interaction problem.  Also see this thread:
> 
>   http://marc.info/?l=fuse-devel&m=120931855107469&w=2
> 
> Casey, you were CC-d on the last mail in that thread.  Did you miss
> that?

Yup. Whiffed completely. Thank you for pointing it out.
 

Casey Schaufler
casey@schaufler-ca.com

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

* Re: 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled
  2008-05-29 16:32 ` Miklos Szeredi
  2008-05-29 20:29   ` Casey Schaufler
@ 2008-05-31  3:41   ` Casey Schaufler
  2008-06-01 20:06     ` Casey Schaufler
  1 sibling, 1 reply; 6+ messages in thread
From: Casey Schaufler @ 2008-05-31  3:41 UTC (permalink / raw)
  To: Miklos Szeredi, lcapitulino; +Cc: casey, miklos, linux-kernel


--- Miklos Szeredi <miklos@szeredi.hu> wrote:

> >  I'm not sure whether this is a smack problem, but Mandriva users are
> > reporting that mount.ntfs-3g (ntfs driver, uses FUSE) hangs when
> > they try to mount their NTFS partition.
> 
> Yes, this is a smack/fuse interaction problem.  Also see this thread:
> 
>   http://marc.info/?l=fuse-devel&m=120931855107469&w=2
> 
> Casey, you were CC-d on the last mail in that thread.  Did you miss
> that?

Ok. I just set my a machine to try this on and with today's
Linus git tree as the base I'm able to mount an NTFS file system
just fine. Just to be perverse, the machine I'm working with
has Oracle Enterprize 5 installed, with ntfsprogs-2.0.0. 

How about a .config, lsmod, etc?

Thank you.


Casey Schaufler
casey@schaufler-ca.com

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

* Re: 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled
  2008-05-31  3:41   ` Casey Schaufler
@ 2008-06-01 20:06     ` Casey Schaufler
  0 siblings, 0 replies; 6+ messages in thread
From: Casey Schaufler @ 2008-06-01 20:06 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: casey, lcapitulino, linux-kernel

Casey Schaufler wrote:
> --- Miklos Szeredi <miklos@szeredi.hu> wrote:
>
>   
>>>  I'm not sure whether this is a smack problem, but Mandriva users are
>>> reporting that mount.ntfs-3g (ntfs driver, uses FUSE) hangs when
>>> they try to mount their NTFS partition.
>>>       
>> Yes, this is a smack/fuse interaction problem.  Also see this thread:
>>
>>   http://marc.info/?l=fuse-devel&m=120931855107469&w=2
>>
>> Casey, you were CC-d on the last mail in that thread.  Did you miss
>> that?
>>     
>
> Ok. I just set my a machine to try this on and with today's
> Linus git tree as the base I'm able to mount an NTFS file system
> just fine. Just to be perverse, the machine I'm working with
> has Oracle Enterprize 5 installed, with ntfsprogs-2.0.0. 
>
> How about a .config, lsmod, etc?
>
>   

Looks like a "never mind" with the .config etc as I've been able to 
reproduce the hang
by the simple process of using ntfs-3g, like you did. Thank you.


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

end of thread, other threads:[~2008-06-01 20:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 16:14 2.6.24-rc4: mount.ntfs-3g hangs when smack is enabled Luiz Fernando N. Capitulino
2008-05-29 16:29 ` Casey Schaufler
2008-05-29 16:32 ` Miklos Szeredi
2008-05-29 20:29   ` Casey Schaufler
2008-05-31  3:41   ` Casey Schaufler
2008-06-01 20:06     ` Casey Schaufler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox