From: Jiri Slaby <jslaby@suse.cz>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, mm-commits@vger.kernel.org,
Jiri Slaby <jirislaby@gmail.com>,
ML netdev <netdev@vger.kernel.org>,
maxk@qualcomm.com, vtun@office.satix.net
Subject: tun: Failed to create tun sysfs files [was: mmotm 2011-03-02-16-52 uploaded]
Date: Fri, 04 Mar 2011 09:56:09 +0100 [thread overview]
Message-ID: <4D70A929.4010900@suse.cz> (raw)
In-Reply-To: <201103030127.p231ReNl012841@imap1.linux-foundation.org>
On 03/03/2011 01:52 AM, akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2011-03-02-16-52 has been uploaded to
Hi, I'm seeing this with tun (also with earlier versions):
WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xb8/0xe0()
Hardware name: To Be Filled By O.E.M.
sysfs: cannot create duplicate filename '/devices/virtual/net/tun0/group'
Modules linked in: microcode dvb_usb_af9015 tda18271 af9013 dvb_usb dvb_core
Pid: 3840, comm: openvpn Not tainted 2.6.38-rc4-mm1_64+ #1390
Call Trace:
[<ffffffff8106d61a>] ? warn_slowpath_common+0x7a/0xb0
[<ffffffff8106d6f1>] ? warn_slowpath_fmt+0x41/0x50
[<ffffffff81176638>] ? sysfs_add_one+0xb8/0xe0
[<ffffffff8117570d>] ? sysfs_add_file_mode+0x5d/0xa0
[<ffffffff8117575c>] ? sysfs_add_file+0xc/0x10
[<ffffffff81175841>] ? sysfs_create_file+0x21/0x40
[<ffffffff813609d4>] ? device_create_file+0x14/0x20
[<ffffffff813e0256>] ? tun_set_iff+0x3f6/0x4a0
[<ffffffff813e05fe>] ? __tun_chr_ioctl+0x12e/0x5d0
[<ffffffff8126c5c2>] ? __strncpy_from_user+0x22/0x60
[<ffffffff813e0ade>] ? tun_chr_ioctl+0xe/0x10
[<ffffffff811274ed>] ? do_vfs_ioctl+0x8d/0x300
[<ffffffff811277aa>] ? sys_ioctl+0x4a/0x80
[<ffffffff81030dbb>] ? system_call_fastpath+0x16/0x1b
It's because these devices already contain 'group' in the sysfs dir.
regards,
--
js
suse labs
next prev parent reply other threads:[~2011-03-04 8:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 0:52 mmotm 2011-03-02-16-52 uploaded akpm
2011-03-03 0:52 ` akpm
2011-03-03 2:05 ` Stephen Rothwell
2011-03-03 2:17 ` Andrew Morton
2011-03-03 2:17 ` Andrew Morton
2011-03-03 2:30 ` Stephen Rothwell
2011-03-03 8:26 ` Sedat Dilek
2011-03-03 8:26 ` Sedat Dilek
2011-03-03 20:50 ` mmotm 2011-03-02-16-52 uploaded (linux-next: drivers/staging/epca - missing header files) Randy Dunlap
2011-03-03 21:06 ` Greg KH
2011-03-03 23:50 ` mmotm 2011-03-02 - ACPI/sysfs WARNING with NVidia graphics card Valdis.Kletnieks
2011-03-04 0:05 ` Greg KH
2011-03-04 4:28 ` Valdis.Kletnieks
2011-03-04 5:25 ` Zhang Rui
2011-03-04 8:56 ` Jiri Slaby [this message]
2011-03-04 9:06 ` tun: Failed to create tun sysfs files David Miller
2011-03-04 9:37 ` Jiri Slaby
2011-03-05 8:04 ` tun routing is broken [was: tun: Failed to create tun sysfs files] Jiri Slaby
2011-03-05 8:10 ` tun routing is broken David Miller
2011-03-05 8:17 ` Jiri Slaby
2011-03-05 8:26 ` Jiri Slaby
2011-03-07 12:54 ` Jiri Kosina
2011-03-05 11:48 ` Valdis.Kletnieks
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=4D70A929.4010900@suse.cz \
--to=jslaby@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxk@qualcomm.com \
--cc=mm-commits@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vtun@office.satix.net \
/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 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.