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

From: Kay Sievers
Date: Fri Feb 22 2008 - 04:12:02 EST


On Tue, Feb 19, 2008 at 9:47 AM, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> On Feb 18, 2008 9:06 PM, Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> wrote:
> > On Mon, 18 Feb 2008 19:42:25 +0000 (GMT)
> > Chris Rankin <rankincj@xxxxxxxxx> wrote:
> >
> > > --- Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxx>
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
--
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/