Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2006 02:03:27 -0500 (EST)
From:      Gardner Bell <gbell72@rogers.com>
To:        freebsd-amd64@freebsd.org
Subject:   RE: Tyan GT24 - Thunder K8SRE mainboard
Message-ID:  <20060304070327.4652.qmail@web88009.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
> --- Gardner Bell <gbell72@rogers.com> wrote:
> > I can confirm that the Tyan K8SRE motherboard is functional with
> 6.0.
> > 
> > To solve the issues with the BCM5704C not being able to map memory
> > you
> > need to unset acpi_load at the boot prompt.  BIOS date 09/28/05
> > Revision: 2891_201.
> > 
> 

Not sure if this is the right list to be posting to but the BCM5704C
has since stopped working as of today.  Rebooting now produces the
original error; even if I unset acpi_load at the boot prompt.  Here is
an excerpt of dmesg (I presently don't have a serial console setup so
had to write this by hand):
 
pcib5: <ACPI PCI-PCI bridge> at device 11.0 on pci8
pci10: <ACPI PCI bus> on pcib5
pcib5: memory: end (df3fffff) < start (440df310000)
pcib5: memory: end (df3fffff) < start (40000df00000)
pcib5: memory: end (df3fffff) < start (c0c2a1df320000)
 
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem
0x440df310000-0x440df31ffff,0x40000df00000-0x4000df30ffff irq 28 at
device 9.0 on pci10
pcib5: memory: end (df3fffff) < start (440df310000)
pcib5: couldn't map memory
device_attach: bge0 attach returned 6
 
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem
0x14045884df330000-0x14045884df33ffff,0xc0c2a1df320000-0xc0c2a1df32ffff
irq 29 at device 9.1 on pci10
pcib5: memory: end (df3fffff) < start (14045884df330000)
pcib5: couldn't map memory
device_attach: bge1 returned 6
 
Browsing to /usr/src/sys/dev/bge/if_bgereg.h and if_bge.c leads me to
the following:

/* 
 * PCI registers defined in the PCI 2.2 spec
 */ 
#define BGE_PCI_BAR0                   0x10
 
/*
 * Map control/status registers.
 */
pci_enable_busmaster(dev);
 
rid = BGE_PCI_BARO;
sc->bge_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
    RF_ACTIVE|PCI_RF_DENSE);
 
if (sc->bge_res == NULL) {
    device_printf (sc->bge_dev, "couldn't map memory\n");
    error = ENXIO;
    goto fail;
}

I'm not sure if any of the information above is useful or not so I'm
also supplying the output of pciconf -lv and -r.
 
pciconf -lv
bge0@pci10:9:0 class=0x02000 card=0x164414e4 chip=0x164814e4 rev=0x03
hdr=0x00 vendor='Broadcom Corporation' device= 'BCM5704 NetXtreme
Dual
Gigabit Adapter' class= network subclass=ethernet
 
pciconf -r pci10:9:0 0x10 "0x10 taken from the BGE_PCI_BAR0 define"
produces "df310004"
 
pciconf -r pci10:9:1 0x10 produces "df330004"
 
Any help resolving this issue is greatly appreciated as I would like to
use the onboard networking if at all possible.
 
Gardner Bell
 
 




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