From: "Kay Sievers" <kay.sievers@vrfy.org>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: "Alexey Dobriyan" <adobriyan@sw.ru>,
linux-kernel@vger.kernel.org, "Greg KH" <greg@kroah.com>
Subject: Re: 2.6.25-rc1-sha1: WARNING: at lib/kref.c:43 kref_get+0x20/0x30()
Date: Tue, 19 Feb 2008 09:19:25 +0100 [thread overview]
Message-ID: <3ae72650802190019u76857e61n4ee543d33fd3c5fc@mail.gmail.com> (raw)
In-Reply-To: <20080218045925.40fc5ddb.akpm@linux-foundation.org>
On Feb 18, 2008 1:59 PM, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Fri, 15 Feb 2008 14:08:53 +0300 Alexey Dobriyan <adobriyan@sw.ru> wrote:
>
> > Booting without SYSFS fills dmesg like this
>
> Does the system normally boot without sysfs? Surprised.
>
>
> > ------------[ cut here ]------------
> > WARNING: at lib/kref.c:43 kref_get+0x20/0x30()
> > Modules linked in: loop(+)
> > Pid: 994, comm: modprobe Tainted: G M 2.6.25-rc1 #6
> >
> > Call Trace:
> > [<ffffffff802317f4>] warn_on_slowpath+0x64/0x90
> > [<ffffffff8028db08>] init_object+0x88/0xa0
> > [<ffffffff8028f55e>] __slab_alloc+0xbe/0x550
> > [<ffffffff8031aa28>] kvasprintf+0x58/0x90
> > [<ffffffff8031874c>] vsnprintf+0x33c/0x6e0
> > [<ffffffff8031aa41>] kvasprintf+0x71/0x90
> > [<ffffffff8022c597>] hrtick_set+0x77/0x140
> > [<ffffffff80314860>] kref_get+0x20/0x30
> > [<ffffffff80313932>] kobject_get+0x12/0x20
> > [<ffffffff803139f9>] kobject_add_internal+0x49/0xf0
> > [<ffffffff80313bb3>] kobject_add_varg+0x73/0x80
> > [<ffffffff80313fa4>] kobject_add+0x54/0x80
> > [<ffffffff8028ec53>] check_object+0x103/0x230
> > [<ffffffff8028db08>] init_object+0x88/0xa0
> > [<ffffffff80313744>] kobject_create+0x14/0x40
> > [<ffffffff8028fbd3>] kmem_cache_alloc+0xd3/0xe0
> > [<ffffffff803136b4>] kobject_init+0x34/0xb0
> > [<ffffffff8031375b>] kobject_create+0x2b/0x40
> > [<ffffffff8031400c>] kobject_create_and_add+0x3c/0x80
> > [<ffffffff8025e137>] load_module+0x1847/0x1970
> > [<ffffffff80288800>] alloc_pages_current+0x0/0x90
> > [<ffffffff8025e2c2>] sys_init_module+0x62/0x1a0
> >
>
> Is this a regression?
Alexey,
do you always see these messages with every modprobe of a module?
Can you enable CONFIG_DEBUG_KOBJECT=y? It might give a hint where we
miss to initialization of a kobject when sysfs is not compiled in.
Thanks,
Kay
next prev parent reply other threads:[~2008-02-19 8:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 11:08 Alexey Dobriyan
2008-02-18 12:59 ` Andrew Morton
2008-02-19 8:19 ` Kay Sievers [this message]
2008-02-19 12:03 ` Alexey Dobriyan
2008-02-19 13:10 ` Kay Sievers
2008-02-19 15:56 ` Alexey Dobriyan
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=3ae72650802190019u76857e61n4ee543d33fd3c5fc@mail.gmail.com \
--to=kay.sievers@vrfy.org \
--cc=adobriyan@sw.ru \
--cc=akpm@linux-foundation.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®