mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Brooks <a.brooks@marathon-robotics.com>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: BAR 0: can't allocate resource
Date: Wed, 6 Jan 2010 09:19:47 +1100	[thread overview]
Message-ID: <201001060919.48453.a.brooks@marathon-robotics.com> (raw)
In-Reply-To: <201001051033.19486.bjorn.helgaas@hp.com>

[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]

> > I have a problem getting a couple of PCI cards to play nicely together.
> > ...
> >
> > And (for both kernels) the output of lspci has the following line:
> >   01:04.0 Unclassified device [0080]: Device 0002:0080
>
> When you have only the 8-port serial card installed, it appears at
> 01:04.0.  When you have both cards installed, we don't see a new device,
> and whatever is at 01:04.0 no longer looks like the octal UART.

I'm pretty sure that it is the octal UART, but it isn't being recognised 
properly.  To test this theory, I tried with (a) no cards at all, and (b) 
just the MiniPCI adapter (no serial card) -- nothing else appears at 01:04.0 
(output of lspci attached).

> > Hardware Details:
> >  - My motherboard is a DigitalLogic MSM945.  It has a PC104 bus.
> >  - I have two PC104 cards:
> >    i)  8-port serial card (DiamondSystems Emerald-MM-8Plus)
> >    ii) PC/104+ to MiniPCI Adapter (ConnectTech) (no MiniPCI cards
> > installed).
>
> Do you have these two cards?
>
>   http://www.diamondsystems.com/products/emeraldmm8plus,
>   http://www.connecttech.com/sub/Products/PC104plus_MiniPCI.asp

Yes that's right.

> If so, both of those web pages mention jumpers that set the card's
> PCI device ("slot") number.  My guess is that both of your cards
> are set to the same number.

I'd already looked for this, I'm certain I have the jumpers right (I tried 
intentionally setting them incorrectly, the failure mode is different).


Alex

[-- Attachment #2: lspci_noserial.txt --]
[-- Type: text/plain, Size: 1419 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)

[-- Attachment #3: lspci_nocards.txt --]
[-- Type: text/plain, Size: 1419 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)

  reply	other threads:[~2010-01-05 22:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05  9:18 Alex Brooks
2010-01-05 17:33 ` Bjorn Helgaas
2010-01-05 22:19   ` Alex Brooks [this message]
2010-01-05 23:00     ` Bjorn Helgaas
     [not found] <201001061305.31635.a.brooks@marathon-robotics.com>
2010-01-06  2:16 ` Alex Brooks
2010-01-06 20:19   ` Bjorn Helgaas
2010-01-07  1:09     ` Alex Brooks
2010-01-07  5:46       ` Bjorn Helgaas
2010-01-10  3:07         ` Alex Brooks
2010-01-11 21:27           ` Bjorn Helgaas
2010-01-11 21:47             ` Alex Brooks

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=201001060919.48453.a.brooks@marathon-robotics.com \
    --to=a.brooks@marathon-robotics.com \
    --cc=bjorn.helgaas@hp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome