All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Zwiegers <jan@radicalsystems.co.za>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: PCI BAR1 Unassigned
Date: Fri, 20 May 2011 00:49:21 +0200	[thread overview]
Message-ID: <sig.2120ee738f.4DD59E71.1030705@radicalsystems.co.za> (raw)
In-Reply-To: <BANLkTi=DJsiHuic4u90nEw-jPc2AKWNXcw@mail.gmail.com>

On 2011-05-20 12:38 AM, Bjorn Helgaas wrote:
> On Thu, May 19, 2011 at 4:20 PM, Jan Zwiegers<jan@radicalsystems.co.za>  wrote:
>> On 2011-05-20 12:13 AM, Bjorn Helgaas wrote:
>>>
>>> On Thu, May 19, 2011 at 2:27 PM, Jan Zwiegers<jan@radicalsystems.co.za>
>>>   wrote:
>>>>
>>>> On 2011-05-19 08:50 PM, Bjorn Helgaas wrote:
>>>>>
>>>>> On Thu, May 19, 2011 at 10:28 AM, Jan Zwiegers<jan@radicalsystems.co.za>
>>>>>   wrote:
>>>>>>
>>>>>> I have the problem below where my PCI card's second BAR does not get
>>>>>> assigned.
>>>>>> What can be the cause of this problem?
>>>>>> The last kernel I tested on which worked OK was 2.6.27.
>>>>>> My current problematic kernel 2.6.35.
>>>>>>
>>>>>> 05:01.0 Unassigned class [ff00]: Eagle Technology PCI-703 Analog I/O
>>>>>> Card
>>>>>> (rev 5c)
>>>>>>     Flags: bus master, slow devsel, latency 32, IRQ 22
>>>>>>     Memory at 93b00000 (type 3, prefetchable) [size=2K]
>>>>>>     Memory at<unassigned>      (type 3, prefetchable)
>>>>>>     Capabilities: [80] #00 [0600]
>>>>>>     Kernel modules: pci703drv
>>>>>
>>>>> Could be resource exhaustion or, more likely, we ran out because we
>>>>> now assign resource to things that don't need them, leaving none for
>>>>> things that *do* need them.  This sounds like a regression, so we
>>>>> should open a bugzilla for it and attach dmesg logs from 2.6.27 and
>>>>> 2.6.35.
>>>>>
>>>>> Does this problem keep the driver from working?  (Sometimes drivers
>>>>> don't actually use all the BARs a device supports.)
>>>>
>>>> I'm the maintainer of the driver and was involved in the development of
>>>> the
>>>> board as well in 2003. The board uses two BARS and the second BAR is the
>>>> most important. The board worked fine since the 2.4 days and only
>>>> recently
>>>> became problematic. I suspect it works on even later kernels than 27,
>>>> maybe
>>>> 2.6.32.
>>>>
>>>> My knowledge is too little to actually determine if the problem is
>>>> because
>>>> the FPGA based PCI interface is not within spec or something that changed
>>>> in
>>>> the kernel, because of the post .30 releases becoming more strict to PCI
>>>> specification, i.e. BIOS / Kernel interaction.
>>>
>>> Well, let's at least look at the working and broken dmesg logs.  My
>>> money is on kernel breakage.  If it used to work, it should still
>>> work.
>>
>> What do you need from me? I have at least 3 machines on which it used to
>> work and is now running a later kernel. I can post dmesg from both .27 and
>> .35. Will do tomorrow when I'm back at the office.
>
> Since you don't have continuous access to the machines, maybe you can
> collect the /proc/iomem and "lspci -v" output at the same time you
> collect the dmesg logs.  That should be enough to get started.
>
> Thanks,
>    Bjorn
>
OK I will do.

Should I post the whole dmesg log, or just the relevant sections?

Thanks!!
Jan

  reply	other threads:[~2011-05-19 22:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 16:28 PCI BAR1 Unassigned Jan Zwiegers
2011-05-19 18:50 ` Bjorn Helgaas
2011-05-19 20:27   ` Jan Zwiegers
2011-05-19 20:50     ` Xianghua Xiao
2011-05-20  7:42       ` Jan Zwiegers
2011-05-20 14:53         ` Bjorn Helgaas
2011-05-20 15:09           ` Jan Zwiegers
2011-05-20 15:57             ` Bjorn Helgaas
2011-05-24 10:22           ` Jan Zwiegers
2011-05-24 12:35             ` Bjorn Helgaas
2011-05-26 20:38               ` Bjorn Helgaas
2011-05-31  3:02                 ` Bjorn Helgaas
2011-06-01 14:36                   ` Jan Zwiegers
2011-05-19 22:13     ` Bjorn Helgaas
2011-05-19 22:20       ` Jan Zwiegers
2011-05-19 22:38         ` Bjorn Helgaas
2011-05-19 22:49           ` Jan Zwiegers [this message]
2011-05-20  7:13           ` Jan Zwiegers

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=sig.2120ee738f.4DD59E71.1030705@radicalsystems.co.za \
    --to=jan@radicalsystems.co.za \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.