Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 1998 23:58:02 +0200
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Case <nexus@xs4all.nl>, freebsd-hardware@FreeBSD.ORG
Cc:        Stefan Esser <se@FreeBSD.ORG>
Subject:   Re: pci_map_port failed: device's iorange ?
Message-ID:  <19980531235802.13228@mi.uni-koeln.de>
In-Reply-To: <6kpguj$kv4$1@xs2.xs4all.nl>; from Case on Sat, May 30, 1998 at 07:51:15PM %2B0200
References:  <6kpguj$kv4$1@xs2.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-05-30 19:51 +0200, Case <nexus@xs4all.nl> wrote:
> Hi,
> 
> I just installed FreeBSD-2.2.6 on a micron transport xke laptop,
> and when I booted it while connected to the docking station
> I noticed the following messages:
> 
> Probing for devices on PCI bus 0:
> [ .. ]
> chip5 <generic PCI bridge (vendor=8086 device=124b subclass=4)> rev 1 on pci0:9:[ .. ]
> Probing for devices on PCI bus 1:
> ahc0 <Adaptec aic7860 SCSI host adapter> rev 3 int a irq 9 on pci1:7:0
> pci_map_port failed: device's iorange 0xe800-0xe8ff is incompatible 
>   with its bridge's range 0x0-0xfff
> de0 <Digital 21143 Fast Ethernet> rev 48 int a irq 9 on pci1:8:0
> pci_map_port failed: device's iorange 0xec00-0xec7f is incompatible 
>   with its bridge's range 0x0-0xfff

Could you please send complete *verbose* boot messages ?
(I.e. enter "-v" at the boot prompt.)

> The iorange 0x0-0xfff on the bridge chips seems odd.. is freebsd 
> confused by the fact that there are 2 pci busses on this machine ?
> (430TX mobile chipset) 

I'm not sure what's wrong, but that message was just
meant to be an indication of a possible cause, in case
you can't get a device behind a PCI bridge to work.
I don't know the particular chip-set in your machine,
and the PCI code may need to know a little more about
the bridge chip.

> (oh, interesting sidenote, it works fine in netbsd :-] )

Hmmm, it should work under FreeBSD, as well ...
You may try the following patch to let the device 
driver use memory mapped accesses (which are better
for several reasons, anyway ...).

Regards, STefan

*** /sys/pci/if_de.c~	Mon Oct 27 23:08:56 1997
--- /sys/pci/if_de.c	Sun May 31 23:56:02 1998
***************
*** 154,158 ****
   */
  #if defined(__i386__) || defined(TULIP_EISA)
! #define	TULIP_IOMAPPED
  #endif
  
--- 154,158 ----
   */
  #if defined(__i386__) || defined(TULIP_EISA)
! #undef	TULIP_IOMAPPED
  #endif
  

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980531235802.13228>