Re: MULTIPLE WARNING: at fs/sysfs/dir.c:455 sysfs_add_oneââ

From: Greg KH
Date: Thu Jan 12 2012 - 19:42:38 EST


On Thu, Jan 12, 2012 at 05:51:10PM -0600, Greg White wrote:
>
> > On Thu, Jan 12, 2012 at 02:40:18PM -0600, Greg W wrote:
> > >
> > > Hi,
> > >
> > > I just installed Linux on my HP 6200 PC using UEFI. The Ubuntu lucid kernel caused my computer to freeze during shutdown and reboots. So I downloaded 3.1.6 from kernel.org and compiled my own kernel and it works fine except for the following messages in my dmesg:
> > >
> > > [2.295957] ------------[ cut here ]------------
> > > [2.295962] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xc1/0xf0()
> > > [2.295964] Hardware name: HP Compaq 6200 Pro Small Form Factor
> > > [2.295966] sysfs: cannot create duplicate filename '/firmware/efi/vars/SlotPresent-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9'
> >
> > This is a BIOS problem, with EFI, go complain to your manufacturer that
> > they are creating multiple slots with the same name.
> >
> > > [2.296043] kobject_add_internal failed for
> > > SlotPresent-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9 with -EEXIST, don't try to register things with the same name in the same directory.
> >
> > See, the kernel told you this :)
> >
> > best of luck,
> >
> > greg k-h
>
> Thank you for the clarification.  When I see WARNING: at
> fs/sysfs/dir.c:455 sysfs_add_one+0xc1/0xf0() I think kernel problem. 
> If I saw WARNING: BIOS is trying to register things with the same name
> in the same directory, I would have thought BIOS issue.  Maybe you
> could make the warning a little more clear the problem is in the BIOS
> and not the kernel?

Patches are always welcome :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/