Re: Linux 2.6.24.1 - kernel does not boot; IRQ trouble?

Kay Sievers
2008-02-22T09:11:36Z

On Tue, Feb 19, 2008 at 9:47 AM, Kay Sievers <kay.sievers@vrfy.org> wrote:
> On Feb 18, 2008 9:06 PM, Stephen Hemminger <shemminger@linux-foundation.org> wrote:
> > On Mon, 18 Feb 2008 19:42:25 +0000 (GMT)
> > Chris Rankin <rankincj@yahoo.com> wrote:
> >
> > > --- Stephen Hemminger <shemminger@linux-foundation.org> wrote:
> > > > > > sysfs: duplicate filename 'bridge' can not be created
> > > > > > WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
> > > > > > Pid: 1, comm: swapper Not tainted 2.6.24.1 #1
> > > > > > [<c0105020>] show_trace_log_lvl+0x1a/0x2f
> > > > > > [<c0105990>] show_trace+0x12/0x14
> > > > > > [<c010613d>] dump_stack+0x6c/0x72
> > > > > > [<c01991bf>] sysfs_add_one+0x57/0xbc
> > > > > > [<c0199e41>] sysfs_create_link+0xc2/0x10d
> > > > > > [<c01bae9a>] pci_bus_add_devices+0xbd/0x103
> > > > > > [<c034016c>] pci_legacy_init+0x56/0xe3
> > > > > > [<c03274e1>] kernel_init+0x157/0x2c3
> > > > > > [<c0104c83>] kernel_thread_helper+0x7/0x10
> > > > > > =======================
> > > > > > pci 0000:00:01.0: Error creating sysfs bridge symlink, continuing...
> > > > > > sysfs: duplicate filename 'bridge' can not be created
> > > > > > WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

Greg,
it seems that:
arch/x86/pci/legacy.c :: pci_legacy_init()

tries to create already created "bridge" symlinks in 2.6.24. So we
discover the same devices twice? Can this be a reason for the hang?

I guess in 2.6.25, the warning is gone with:
commit fd7d1ced29e5beb88c9068801da7a362606d8273
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date: Tue May 22 22:47:54 2007 -0400

PCI: make pci_bus a struct device

This moves the pci_bus class device to be a real struct device and at
the same time, place it in the device tree in the correct location.
Note, the old "bridge" symlink is now gone.

Thanks,
Kay