[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3ae72650808150427q364842ccicf0a0978b30ca98c@mail.gmail.com>
Date: Fri, 15 Aug 2008 13:27:00 +0200
From: "Kay Sievers" <kay.sievers@...y.org>
To: "Randy Dunlap" <randy.dunlap@...cle.com>
Cc: "Stephen Rothwell" <sfr@...b.auug.org.au>, gregkh <greg@...ah.com>,
ak@...ux.intel.com, linux-next@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>, linux-acpi@...r.kernel.org
Subject: Re: linux-next: Tree for August 14 (sysfs/acpi errors)
On Thu, Aug 14, 2008 at 17:38, Randy Dunlap <randy.dunlap@...cle.com> wrote:
> calling param_sysfs_init+0x0/0x1e7
> ------------[ cut here ]------------
> WARNING: at fs/sysfs/dir.c:463 sysfs_add_one+0x35/0x3d()
> sysfs: duplicate filename 'acpi' can not be created
Hi Randy,
care to add a printk to the module sysfs setup, and post dmesg again?
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -603,6 +603,8 @@ static void __init param_sysfs_builtin(void)
}
name_len = dot - kp->name;
+ printk("XXX adding modparam:'%s' %i (%p)\n", kp->name, i, kp);
+
/* new kbuild_modname? */
if (strlen(modname) != name_len
|| strncmp(modname, kp->name, name_len) != 0) {
I might show the order of registering the /sys/modules/ directory, and
if there is possibly another "acpi" section, which tries to add
parameter names.
Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists