From: Lee Jones <lee.jones@linaro.org>
To: Borislav Petkov <bp@alien8.de>
Cc: lkml <linux-kernel@vger.kernel.org>,
Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: sysfs: cannot create duplicate filename /bus/i2c/drivers/tps65010
Date: Thu, 31 Oct 2013 09:49:56 -0700 [thread overview]
Message-ID: <20131031164956.GC9587@lee--X1> (raw)
In-Reply-To: <20131031162706.GF10544@pd.tnic>
> > > just FYI: I see the below with the attached randconfig on latest -rc7+
> > > (output is a bit funny due to keeping earlyprintk on).
> > >
> > > [ 0.460026] ------------[ cut here ]------------
> > > [ 0.462726] WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:526 sysfs_add_one+0xa0/0xc0()
> > > [ 0.464002] sysfs: cannot create duplicate filename '/bus/i2c/drivers/tps65010'
> > > [ 0.466018] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.0-rc7-02023-gf5889fb1b3ba #1
> > > [ 0.468002] 0000000000000009
> > > [ 0.468002] 0000000000000009 ffff88007e44fc20 ffff88007e44fc20 ffffffff89cda7e4 ffffffff89cda7e4 ffff88007e44fc58 ffff88007e44fc58
> > > [ 0.470111] ffffffff89089307
> > > [ 0.470111] ffffffff89089307 00000000ffffffef 00000000ffffffef ffff88007e52cd20 ffff88007e52cd20 ffff88007e44fd00 ffff88007e44fd00
> > > [ 0.473348] ffff88007e549000
> > > [ 0.473348] ffff88007e549000 0000000000000000 0000000000000000 ffff88007e44fcb8 ffff88007e44fcb8 ffffffff890893a7 ffffffff890893a7
> > > [ 0.475453] Call Trace:
> > > [ 0.476004] [<ffffffff89cda7e4>] dump_stack+0x19/0x1b
> > > [ 0.477448] [<ffffffff89089307>] warn_slowpath_common+0x67/0x90
> > > [ 0.479108] [<ffffffff890893a7>] warn_slowpath_fmt+0x47/0x50
> > > [ 0.480003] [<ffffffff89198ea0>] sysfs_add_one+0xa0/0xc0
> > > [ 0.481493] [<ffffffff8919900f>] create_dir+0x6f/0xe0
> > > [ 0.482910] [<ffffffff89199394>] sysfs_create_dir+0x84/0xe0
> > > [ 0.484011] [<ffffffff8941dd7f>] kobject_add_internal+0xaf/0x2c0
> > > [ 0.485690] [<ffffffff8941dff0>] kobject_init_and_add+0x60/0x80
> > > [ 0.488010] [<ffffffff8943ee2d>] ? __raw_spin_lock_init+0x2d/0x50
> > > [ 0.489721] [<ffffffff895774ae>] bus_add_driver+0x9e/0x2a0
> > > [ 0.492017] [<ffffffff8a769b5d>] ? wm831x_spi_init+0x28/0x28
> > > [ 0.493622] [<ffffffff8957914f>] driver_register+0x5f/0xf0
> > > [ 0.495160] [<ffffffff8a769b5d>] ? wm831x_spi_init+0x28/0x28
> > > [ 0.496018] [<ffffffff89845c67>] i2c_register_driver+0x27/0xb0
> > > [ 0.497650] [<ffffffff8a769b91>] tps_init+0x34/0x79
> > > [ 0.499041] [<ffffffff8a743df3>] do_one_initcall+0x7c/0x117
> > > [ 0.500011] [<ffffffff890a62d8>] ? parse_args+0x1f8/0x330
> > > [ 0.501522] [<ffffffff8a743fa1>] kernel_init_freeable+0x113/0x198
> > > [ 0.504002] [<ffffffff8a74382f>] ? do_early_param+0x88/0x88
> > > [ 0.505587] [<ffffffff89cc9990>] ? rest_init+0x130/0x130
> > > [ 0.507079] [<ffffffff89cc9999>] kernel_init+0x9/0x180
> > > [ 0.508004] [<ffffffff89ced98a>] ret_from_fork+0x7a/0xb0
> > > [ 0.509496] [<ffffffff89cc9990>] ? rest_init+0x130/0x130
> > > [ 0.512011] ---[ end trace 70292a51052b5aeb ]---
> >
> > Is this an MFD issue?
>
> I'd think so because AFAICT it all starts from
> drivers/mfd/tps65010.c::tps_init() but I don't know the code so ...
What h/w are you attempting to run this on?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2013-10-31 16:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 15:23 sysfs: cannot create duplicate filename /bus/i2c/drivers/tps65010 Borislav Petkov
2013-10-31 16:13 ` Lee Jones
2013-10-31 16:27 ` Borislav Petkov
2013-10-31 16:49 ` Lee Jones [this message]
2013-10-31 17:04 ` Borislav Petkov
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=20131031164956.GC9587@lee--X1 \
--to=lee.jones@linaro.org \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
/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