All of lore.kernel.org
 help / color / mirror / Atom feed
* [warn, 2.6.37-current] loop: sysfs: cannot create duplicate filename
@ 2010-10-27  0:00 Dave Chinner
  2010-10-27  4:11 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Chinner @ 2010-10-27  0:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jens Axboe

Folks,

I'm getting this warning triggering repeatedly when running xfstests
on a day old 2.6.37-git tree.

 [ 3393.738568] ------------[ cut here ]------------
 [ 3393.739389] WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0xc9/0x130()
 [ 3393.740490] Hardware name: Bochs
 [ 3393.741041] sysfs: cannot create duplicate filename '/devices/virtual/block/loop0/loop'
 [ 3393.742439] Modules linked in:
 [ 3393.742984] Pid: 5360, comm: mount Not tainted 2.6.36-dgc+ #590
 [ 3393.744125] Call Trace:
 [ 3393.744555]  [<ffffffff8108492f>] warn_slowpath_common+0x7f/0xc0
 [ 3393.745545]  [<ffffffff81084a26>] warn_slowpath_fmt+0x46/0x50
 [ 3393.746493]  [<ffffffff811d1539>] sysfs_add_one+0xc9/0x130
 [ 3393.747420]  [<ffffffff811d1621>] create_dir+0x81/0xd0
 [ 3393.748311]  [<ffffffff811d175c>] sysfs_create_subdir+0x1c/0x20
 [ 3393.749294]  [<ffffffff811d30b8>] internal_create_group+0x58/0x1a0
 [ 3393.750234]  [<ffffffff811d3233>] sysfs_create_group+0x13/0x20
 [ 3393.751223]  [<ffffffff81879e66>] lo_ioctl+0x506/0x7b0
 [ 3393.752111]  [<ffffffff8169b5a8>] __blkdev_driver_ioctl+0x28/0x30
 [ 3393.753115]  [<ffffffff8169ba8e>] blkdev_ioctl+0x22e/0x6f0
 [ 3393.754022]  [<ffffffff81190732>] block_ioctl+0x42/0x50
 [ 3393.754889]  [<ffffffff8116f239>] do_vfs_ioctl+0xa9/0x5a0
 [ 3393.755803]  [<ffffffff810bdded>] ? trace_hardirqs_on+0xd/0x10
 [ 3393.756805]  [<ffffffff8116f7b1>] sys_ioctl+0x81/0xa0
 [ 3393.757647]  [<ffffffff8103a072>] system_call_fastpath+0x16/0x1b
 [ 3393.758626] ---[ end trace 2a65a71ed74903b0 ]---

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

* Re: [warn, 2.6.37-current] loop: sysfs: cannot create duplicate filename
  2010-10-27  0:00 [warn, 2.6.37-current] loop: sysfs: cannot create duplicate filename Dave Chinner
@ 2010-10-27  4:11 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2010-10-27  4:11 UTC (permalink / raw)
  To: Dave Chinner; +Cc: linux-kernel

On 2010-10-26 18:00, Dave Chinner wrote:
> Folks,
> 
> I'm getting this warning triggering repeatedly when running xfstests
> on a day old 2.6.37-git tree.
> 
>  [ 3393.738568] ------------[ cut here ]------------
>  [ 3393.739389] WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0xc9/0x130()
>  [ 3393.740490] Hardware name: Bochs
>  [ 3393.741041] sysfs: cannot create duplicate filename '/devices/virtual/block/loop0/loop'
>  [ 3393.742439] Modules linked in:
>  [ 3393.742984] Pid: 5360, comm: mount Not tainted 2.6.36-dgc+ #590
>  [ 3393.744125] Call Trace:
>  [ 3393.744555]  [<ffffffff8108492f>] warn_slowpath_common+0x7f/0xc0
>  [ 3393.745545]  [<ffffffff81084a26>] warn_slowpath_fmt+0x46/0x50
>  [ 3393.746493]  [<ffffffff811d1539>] sysfs_add_one+0xc9/0x130
>  [ 3393.747420]  [<ffffffff811d1621>] create_dir+0x81/0xd0
>  [ 3393.748311]  [<ffffffff811d175c>] sysfs_create_subdir+0x1c/0x20
>  [ 3393.749294]  [<ffffffff811d30b8>] internal_create_group+0x58/0x1a0
>  [ 3393.750234]  [<ffffffff811d3233>] sysfs_create_group+0x13/0x20
>  [ 3393.751223]  [<ffffffff81879e66>] lo_ioctl+0x506/0x7b0
>  [ 3393.752111]  [<ffffffff8169b5a8>] __blkdev_driver_ioctl+0x28/0x30
>  [ 3393.753115]  [<ffffffff8169ba8e>] blkdev_ioctl+0x22e/0x6f0
>  [ 3393.754022]  [<ffffffff81190732>] block_ioctl+0x42/0x50
>  [ 3393.754889]  [<ffffffff8116f239>] do_vfs_ioctl+0xa9/0x5a0
>  [ 3393.755803]  [<ffffffff810bdded>] ? trace_hardirqs_on+0xd/0x10
>  [ 3393.756805]  [<ffffffff8116f7b1>] sys_ioctl+0x81/0xa0
>  [ 3393.757647]  [<ffffffff8103a072>] system_call_fastpath+0x16/0x1b
>  [ 3393.758626] ---[ end trace 2a65a71ed74903b0 ]---

Thanks, this is a known bug, I will get the fix expedited.

-- 
Jens Axboe


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

end of thread, other threads:[~2010-10-27  4:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-27  0:00 [warn, 2.6.37-current] loop: sysfs: cannot create duplicate filename Dave Chinner
2010-10-27  4:11 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.