netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Linux 2.6.24.1  - kernel does not boot; IRQ trouble?
       [not found] <23590.97305.qm@web52910.mail.re2.yahoo.com>
@ 2008-02-18 13:00 ` Andrew Morton
  2008-02-18 13:16   ` Chris Rankin
  2008-02-18 16:53   ` Stephen Hemminger
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Morton @ 2008-02-18 13:00 UTC (permalink / raw)
  To: Chris Rankin; +Cc: linux-acpi, linux-kernel, netdev, Stephen Hemminger

On Sun, 17 Feb 2008 00:54:08 +0000 (GMT) Chris Rankin <rankincj@yahoo.com> wrote:

> [Try this again, except this time I'll force the attachment as inline text!]
> 
> Hi,
> 
> I have managed to boot 2.6.24.1 on this machine, with the NMI watchdog enabled, by using the
> "acpi=noirq" option. (There does seem to be some unhappiness with bridge symlinks in sysfs,
> though.)
> 
> ...
>
> 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()
> 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
>  [<c01bae82>] pci_bus_add_devices+0xa5/0x103
>  [<c034016c>] pci_legacy_init+0x56/0xe3
>  [<c03274e1>] kernel_init+0x157/0x2c3
>  [<c0104c83>] kernel_thread_helper+0x7/0x10
>  =======================

I have a vague feeling that this was fixed, perhaps in 2.6.24.x?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1  - kernel does not boot; IRQ trouble?
  2008-02-18 13:00 ` Linux 2.6.24.1 - kernel does not boot; IRQ trouble? Andrew Morton
@ 2008-02-18 13:16   ` Chris Rankin
  2008-02-18 16:53   ` Stephen Hemminger
  1 sibling, 0 replies; 8+ messages in thread
From: Chris Rankin @ 2008-02-18 13:16 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-acpi, linux-kernel, netdev, Stephen Hemminger

--- Andrew Morton <akpm@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()
> > 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
> >  [<c01bae82>] pci_bus_add_devices+0xa5/0x103
> >  [<c034016c>] pci_legacy_init+0x56/0xe3
> >  [<c03274e1>] kernel_init+0x157/0x2c3
> >  [<c0104c83>] kernel_thread_helper+0x7/0x10
> >  =======================
> 
> I have a vague feeling that this was fixed, perhaps in 2.6.24.x?

Obviously not in 2.6.24.1, and I thought that 2.6.24.2 just added the fix for the vmsplice
exploit. So unless 2.6.24.3 has been released...?

Cheers,
Chris



      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1  - kernel does not boot; IRQ trouble?
  2008-02-18 13:00 ` Linux 2.6.24.1 - kernel does not boot; IRQ trouble? Andrew Morton
  2008-02-18 13:16   ` Chris Rankin
@ 2008-02-18 16:53   ` Stephen Hemminger
  2008-02-18 19:42     ` Chris Rankin
  1 sibling, 1 reply; 8+ messages in thread
From: Stephen Hemminger @ 2008-02-18 16:53 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Chris Rankin, linux-acpi, linux-kernel, netdev

On Mon, 18 Feb 2008 05:00:49 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:

> On Sun, 17 Feb 2008 00:54:08 +0000 (GMT) Chris Rankin <rankincj@yahoo.com> wrote:
> 
> > [Try this again, except this time I'll force the attachment as inline text!]
> > 
> > Hi,
> > 
> > I have managed to boot 2.6.24.1 on this machine, with the NMI watchdog enabled, by using the
> > "acpi=noirq" option. (There does seem to be some unhappiness with bridge symlinks in sysfs,
> > though.)
> > 
> > ...
> >
> > 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()
> > 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
> >  [<c01bae82>] pci_bus_add_devices+0xa5/0x103
> >  [<c034016c>] pci_legacy_init+0x56/0xe3
> >  [<c03274e1>] kernel_init+0x157/0x2c3
> >  [<c0104c83>] kernel_thread_helper+0x7/0x10
> >  =======================
> 
> I have a vague feeling that this was fixed, perhaps in 2.6.24.x?

Never heard of this, what is the initialization script that causes this?
Also do you have the SYSFS_DEPRECATED option configured? that caused issues
with regular network drivers.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1  - kernel does not boot; IRQ trouble?
  2008-02-18 16:53   ` Stephen Hemminger
@ 2008-02-18 19:42     ` Chris Rankin
  2008-02-18 20:06       ` Stephen Hemminger
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Rankin @ 2008-02-18 19:42 UTC (permalink / raw)
  To: Stephen Hemminger, Andrew Morton; +Cc: linux-acpi, linux-kernel, netdev

--- 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()
> > > 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
> > >  [<c01bae82>] pci_bus_add_devices+0xa5/0x103
> > >  [<c034016c>] pci_legacy_init+0x56/0xe3
> > >  [<c03274e1>] kernel_init+0x157/0x2c3
> > >  [<c0104c83>] kernel_thread_helper+0x7/0x10
> > >  =======================
> > 
> > I have a vague feeling that this was fixed, perhaps in 2.6.24.x?
> 
> Never heard of this, what is the initialization script that causes this?
> Also do you have the SYSFS_DEPRECATED option configured? that caused issues
> with regular network drivers.

Yes, SYSFS_DEPRECATED is enabled. And the init scripts are from Fedora 8.

Cheers,
Chris






      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1  - kernel does not boot; IRQ trouble?
  2008-02-18 19:42     ` Chris Rankin
@ 2008-02-18 20:06       ` Stephen Hemminger
  2008-02-19  8:47         ` Kay Sievers
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Hemminger @ 2008-02-18 20:06 UTC (permalink / raw)
  To: Chris Rankin; +Cc: Andrew Morton, linux-acpi, linux-kernel, netdev

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()
> > > > 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
> > > >  [<c01bae82>] pci_bus_add_devices+0xa5/0x103
> > > >  [<c034016c>] pci_legacy_init+0x56/0xe3
> > > >  [<c03274e1>] kernel_init+0x157/0x2c3
> > > >  [<c0104c83>] kernel_thread_helper+0x7/0x10
> > > >  =======================
> > > 
> > > I have a vague feeling that this was fixed, perhaps in 2.6.24.x?
> > 
> > Never heard of this, what is the initialization script that causes this?
> > Also do you have the SYSFS_DEPRECATED option configured? that caused issues
> > with regular network drivers.
> 
> Yes, SYSFS_DEPRECATED is enabled. And the init scripts are from Fedora 8.

There was a bug (fixed in 2.6.24) that had to do with sysfs_create_link
and SYSFS_DEPRECATED probably there is a similar problem with directories. 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1 - kernel does not boot; IRQ trouble?
  2008-02-18 20:06       ` Stephen Hemminger
@ 2008-02-19  8:47         ` Kay Sievers
  2008-02-22  9:11           ` Kay Sievers
  0 siblings, 1 reply; 8+ messages in thread
From: Kay Sievers @ 2008-02-19  8:47 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: Chris Rankin, Andrew Morton, linux-acpi, linux-kernel, netdev

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()
> > > > > 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
> > > > >  [<c01bae82>] pci_bus_add_devices+0xa5/0x103
> > > > >  [<c034016c>] pci_legacy_init+0x56/0xe3
> > > > >  [<c03274e1>] kernel_init+0x157/0x2c3
> > > > >  [<c0104c83>] kernel_thread_helper+0x7/0x10
> > > > >  =======================
> > > >
> > > > I have a vague feeling that this was fixed, perhaps in 2.6.24.x?
> > >
> > > Never heard of this, what is the initialization script that causes this?
> > > Also do you have the SYSFS_DEPRECATED option configured? that caused issues
> > > with regular network drivers.
> >
> > Yes, SYSFS_DEPRECATED is enabled. And the init scripts are from Fedora 8.
>
> There was a bug (fixed in 2.6.24) that had to do with sysfs_create_link
> and SYSFS_DEPRECATED probably there is a similar problem with directories.

Chris, could you enable CONFIG_DEBUG_KOBJECT=y, it might show what
objects try to claim the same name.

Thanks,
Kay

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1 - kernel does not boot; IRQ trouble?
  2008-02-19  8:47         ` Kay Sievers
@ 2008-02-22  9:11           ` Kay Sievers
  2008-02-22  9:41             ` Chris Rankin
  0 siblings, 1 reply; 8+ messages in thread
From: Kay Sievers @ 2008-02-22  9:11 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: Chris Rankin, Andrew Morton, linux-acpi, linux-kernel, netdev

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linux 2.6.24.1 - kernel does not boot; IRQ trouble?
  2008-02-22  9:11           ` Kay Sievers
@ 2008-02-22  9:41             ` Chris Rankin
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Rankin @ 2008-02-22  9:41 UTC (permalink / raw)
  To: Kay Sievers, Stephen Hemminger
  Cc: Andrew Morton, linux-acpi, linux-kernel, netdev

--- Kay Sievers <kay.sievers@vrfy.org> wrote:
> 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?

No, it can't be because it's *not* hanging in this configuration :-). It hangs when I *don't* add
the acpi=noirq option, whereas here it's just adding noise to the dmesg log. (I'm guessing Linux
doesn't call pci_legacy_init() when ACPI takes charge of the IRQs.)

Cheers,
Chris



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-22  9:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <23590.97305.qm@web52910.mail.re2.yahoo.com>
2008-02-18 13:00 ` Linux 2.6.24.1 - kernel does not boot; IRQ trouble? Andrew Morton
2008-02-18 13:16   ` Chris Rankin
2008-02-18 16:53   ` Stephen Hemminger
2008-02-18 19:42     ` Chris Rankin
2008-02-18 20:06       ` Stephen Hemminger
2008-02-19  8:47         ` Kay Sievers
2008-02-22  9:11           ` Kay Sievers
2008-02-22  9:41             ` Chris Rankin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).