Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759276Ab1CDI4P (ORCPT ); Fri, 4 Mar 2011 03:56:15 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:58310 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571Ab1CDI4N (ORCPT ); Fri, 4 Mar 2011 03:56:13 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=smAWWJRga8cvjYGoehz7bJazZulz/6XDRDojAod5H26OszI2UIP13axMQxxxRDEqVz B8W798O8dULLuezi2ocmHBvJMvoe02x3yDO9KMP4c3PRUNDPm5Fqr+ePMCgLnS0mZBOJ 0jFbEYMSYuV+b3/QoA2beYaIXLBPS+os6PUGI= Message-ID: <4D70A929.4010900@suse.cz> Date: Fri, 04 Mar 2011 09:56:09 +0100 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: akpm@linux-foundation.org, mm-commits@vger.kernel.org, Jiri Slaby , ML netdev , maxk@qualcomm.com, vtun@office.satix.net Subject: tun: Failed to create tun sysfs files [was: mmotm 2011-03-02-16-52 uploaded] References: <201103030127.p231ReNl012841@imap1.linux-foundation.org> In-Reply-To: <201103030127.p231ReNl012841@imap1.linux-foundation.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1559 Lines: 36 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: [] ? warn_slowpath_common+0x7a/0xb0 [] ? warn_slowpath_fmt+0x41/0x50 [] ? sysfs_add_one+0xb8/0xe0 [] ? sysfs_add_file_mode+0x5d/0xa0 [] ? sysfs_add_file+0xc/0x10 [] ? sysfs_create_file+0x21/0x40 [] ? device_create_file+0x14/0x20 [] ? tun_set_iff+0x3f6/0x4a0 [] ? __tun_chr_ioctl+0x12e/0x5d0 [] ? __strncpy_from_user+0x22/0x60 [] ? tun_chr_ioctl+0xe/0x10 [] ? do_vfs_ioctl+0x8d/0x300 [] ? sys_ioctl+0x4a/0x80 [] ? system_call_fastpath+0x16/0x1b It's because these devices already contain 'group' in the sysfs dir. regards, -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/