public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ram Pai <linuxram@us.ibm.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: "Rogério Brito" <rbrito@ime.usp.br>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Jesse Barnes" <jbarnes@virtuousgeek.org>,
	"Ivan Kokshaysky" <ink@jurassic.park.msu.ru>,
	"Edward Donovan" <edward.donovan@numble.net>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	linux-kernel@vger.kernel.org,
	"Márcia Coutinho de Brito" <mcbrito@gmail.com>,
	"Ram Pai" <linuxram@us.ibm.com>,
	rui.zhang@intel.com
Subject: Re: [Bug 41722] Clevo M5X0JE hangs in ACPI init
Date: Sat, 21 Jan 2012 17:26:05 +0800	[thread overview]
Message-ID: <20120121092605.GA2313@ram-ThinkPad-T61> (raw)
In-Reply-To: <CAE9FiQWi5pMaKtyf_kwszO_m7fb15=d_2GpupNnSvbN61=X6bQ@mail.gmail.com>

On Thu, Jan 19, 2012 at 11:48:29AM -0800, Yinghai Lu wrote:
> 2012/1/19 Rogério Brito <rbrito@ime.usp.br>:
> >
> > OK, now it seems that we are getting farther. The system boots, even
> > mounts the root filesystem, udev starts and, then, when it seems that
> > some USB messages are going to appear on the screen, the notebook
> > crashes with the same distortion that happened before (with some of
> > the last messages appearing being related to OHCI).
> 
> in that case, Can you try to disable OHCI in .config
> 
> CONFIG_USB_OHCI_HCD
> 
> OHCI controller 00:0b.0 is using
> Memory at b0004000 (32-bit, non-prefetchable) [size=4K]
> 
> VGA controller 00:05.0
> 	Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
> 	Memory at c0000000 (64-bit, prefetchable) [size=256M]
> 	Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
> 	[virtual] Expansion ROM at 80000000 [disabled] [size=128K]
> 
> it seems not related. or could be ioremap etc have problem?
> 
> So can you try to boot with nopat?

Yinghai/Bjorn,

	After carefully examination of the allocations done by the vanilla upstream
kernel; the one without the 'skip transparent bridge while sizing' code, 
I find that the allocation to one of the Bar; BAR[16], of the CardBus Bridge at 05:07.0
does not overlap that of the parent transparent bridge at 00:10.0

	Here is what I see in the video at  
	http://www.youtube.com/watch?v=_dYhkWHfep0&feature=youtu.be

[268.002554] pci 0000:05:07.0: Cardbus bridge to  [bus 06-09]
[269.002582] pci 0000:05:07.0:  bridge window [io  0x1400-0x14ff]
[270.009090] pci 0000:05:07.0:  bridge window [io  0x1000-0x10ff]
[271.012358] pci 0000:05:07.0:  bridge window [mem  0x84000000-0x87ffffff pref]
[272.015626] pci 0000:05:07.0:  bridge window [mem  0x88000000-0x8bffffff]
		                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ offending allocation

[273.018894] pci 0000:00:10.0: PCI bridge to [bus  05-06]
[274.022162] pci 0000:00:10.0:  bridge window [io  0x1000-0x1fff]
[275.025430] pci 0000:00:10.0:  bridge window [mem  0xb3200000-0xb32fffff]
[276.028698] pci 0000:00:10.0:  bridge window [mem  0xb8400000-0x87ffffff pref]


To me, the issue seems to be that due to some reason the OS either fails to Or does not try to
reallocate the addresses assigned to the the non-pref mem BAR of the  the transparent bridge
at 00:10.0.

In any case since you have deeper knowledge in this area, I will let you verify my theory.
RP

> 
> Thanks
> 
> Yinghai


  reply	other threads:[~2012-01-21  9:26 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-41722-5003@https.bugzilla.kernel.org/>
     [not found] ` <201109062222.p86MMlK9023363@demeter2.kernel.org>
2012-01-07  1:31   ` [Bug 41722] Clevo M5X0JE hangs in ACPI init Rogério Brito
2012-01-07  1:50     ` Linus Torvalds
2012-01-07  4:19       ` Edward Donovan
2012-01-08 22:27         ` Rogério Brito
2012-01-09  4:20           ` Bjorn Helgaas
2012-01-10  2:12             ` Rogério Brito
2012-01-08 22:13       ` Rogério Brito
2012-01-08 22:23         ` Linus Torvalds
2012-01-09 19:22           ` Jesse Barnes
2012-01-09 19:41             ` Linus Torvalds
2012-01-10  1:32               ` Yinghai Lu
2012-01-10  2:41                 ` Rogério Brito
2012-01-10  5:07                   ` Yinghai Lu
2012-01-11  7:04                     ` Rogério Brito
2012-01-12  5:06                       ` Yinghai Lu
2012-01-13 11:59                         ` Rogério Brito
2012-01-13 17:29                           ` Yinghai Lu
2012-01-13 22:24                             ` Yinghai Lu
2012-01-14  2:01                             ` Rogério Brito
2012-01-14  7:09                               ` Rogério Brito
2012-01-14 21:05                                 ` Yinghai Lu
2012-01-16 23:08                                   ` Bjorn Helgaas
2012-01-19  3:50                                   ` Rogério Brito
2012-01-19  5:06                                     ` Yinghai Lu
2012-01-19 13:48                                       ` Rogério Brito
2012-01-19 16:12                                         ` Yinghai Lu
2012-01-19 16:15                                           ` Rogério Brito
2012-01-19 17:20                                             ` Rogério Brito
2012-01-19 19:48                                               ` Yinghai Lu
2012-01-21  9:26                                                 ` Ram Pai [this message]
2012-01-21 10:35                                                   ` Yinghai Lu
2012-01-24 22:18                                                 ` Rogério Brito
2012-01-24 22:53                                                   ` Bjorn Helgaas
2012-01-25  0:19                                                   ` Yinghai Lu
2012-01-25  0:34                                                     ` Linus Torvalds
2012-01-25  0:57                                                     ` Yinghai Lu
2012-01-25  1:55                                                       ` Rogério Brito
2012-01-25  2:33                                                         ` Rogério Brito
2012-01-25  2:39                                                           ` Rogério Brito
2012-01-25 23:58                                                             ` Rogério Brito
2012-01-26  2:03                                                               ` Yinghai Lu
2012-01-26 11:16                                                                 ` Rogério Brito
2012-01-27  3:41                                                                   ` Bjorn Helgaas
2012-02-06 23:11                                                                     ` Bjorn Helgaas
2012-02-07  0:21                                                                       ` Rogério Brito
2012-01-27  6:53                                                                   ` Yinghai Lu
2012-01-10  5:24                   ` Bjorn Helgaas
2012-01-11  7:05                     ` Rogério Brito
2012-01-11 10:45                       ` Ram Pai
2012-01-10  1:57           ` Rogério Brito
2012-01-10  9:25         ` Edward Donovan
2012-01-11  7:15           ` Rogério Brito
2012-01-08  0:55     ` Márcia Brito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120121092605.GA2313@ram-ThinkPad-T61 \
    --to=linuxram@us.ibm.com \
    --cc=bhelgaas@google.com \
    --cc=edward.donovan@numble.net \
    --cc=ink@jurassic.park.msu.ru \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcbrito@gmail.com \
    --cc=rbrito@ime.usp.br \
    --cc=rui.zhang@intel.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox