From nobody@FreeBSD.org  Fri May  2 20:29:29 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id B7C179A4
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 May 2014 20:29:29 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 9859017B4
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 May 2014 20:29:29 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s42KTTnl017134
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 2 May 2014 20:29:29 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s42KTTBf017127;
	Fri, 2 May 2014 20:29:29 GMT
	(envelope-from nobody)
Message-Id: <201405022029.s42KTTBf017127@cgiserv.freebsd.org>
Date: Fri, 2 May 2014 20:29:29 GMT
From: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 9.2 and 10.0 does not boot on Tyan Thunder h2000M S3992G3NR-Board
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         189264
>Category:       amd64
>Synopsis:       [boot] FreeBSD 9.2 and 10.0 does not boot on Tyan Thunder h2000M S3992G3NR-Board
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 20:30:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Tue May  6 01:40:00 UTC 2014
>Originator:     Fabian Freyer
>Release:        9.2-RELEASE and above
>Organization:
Technical University Berlin
>Environment:
Before upgrade:
FreeBSD sussmann.physik-pool.tu-berlin.de 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0: Sat Jan 11 01:45:47 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
An upgrade to FreeBSD 9.2 and 10.0 failed on our Tyan Thunder h2000M S3992G3NR Boards.

The boot crashes while probing the PCI Slots 6 and 7 (vendor=0x1166, dev=0x130, revid=0xa3).

lspci -t and lspci -vv on a linux shows that the problematic hardware is the BCM5780 [HT2000] PCI-X bridge (rev a3):

#lspci -t
# lspci -t
-[0000:00]-+-01.0-[01-02]--+-0d.0-[02]--
           |               +-0e.0
           |               \-0e.1
           +-02.0
           +-02.1
           +-02.2
           +-03.0
           +-03.1
           +-03.2
           +-04.0
           +-06.0-[03]--
           +-07.0-[04]--+-04.0
           |            \-04.1
           +-08.0-[05]----00.0
           +-09.0-[06]--
           +-0a.0-[07]----00.0
           +-0b.0-[08]--
           +-0c.0
           +-18.0
           +-18.1
           +-18.2
           +-18.3
           +-19.0
           +-19.1
           +-19.2
           \-19.3

#lspci -vv
[...]
00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3) (prog-if 00 [Normal decode])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr+ DiscTmrStat- DiscTmrSERREn-
        Capabilities: [90] PCI-X bridge device
                Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=133MHz
                Status: Dev=00:06.0 64bit- 133MHz- SCD- USC- SCO- SRD-
                Upstream: Capacity=0 CommitmentLimit=0
                Downstream: Capacity=0 CommitmentLimit=0
        Capabilities: [a0] HyperTransport: MSI Mapping Enable+ Fixed-
                Mapping Address Base: 00000000fee00000
        Capabilities: [b0] HyperTransport: Slave or Primary Interface
                Command: BaseUnitID=6 UnitCnt=6 MastHost- DefDir-
                Link Control 0: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config 0: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
                Link Control 1: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config 1: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 0.00

00:07.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3) (prog-if 00 [Normal decode])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=64
        Memory behind bridge: fe400000-fe4fffff
        Prefetchable memory behind bridge: 00000000cfd00000-00000000cfdfffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [90] PCI-X bridge device
                Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=133MHz
                Status: Dev=00:07.0 64bit- 133MHz- SCD- USC- SCO- SRD-
                Upstream: Capacity=0 CommitmentLimit=0
                Downstream: Capacity=0 CommitmentLimit=0
        Capabilities: [a0] HyperTransport: MSI Mapping Enable+ Fixed-
                Mapping Address Base: 00000000fee00000
[...]
04:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03)
        Subsystem: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (16000ns min), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 66
        Region 0: Memory at fe4d0000 (64-bit, non-prefetchable) [size=64K]
        Region 2: Memory at fe4c0000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at <ignored> [disabled]
        Capabilities: [40] PCI-X non-bridge device
                Command: DPERE- ERO- RBC=512 OST=1
                Status: Dev=04:04.0 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz
        Capabilities: [48] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable+ DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data
                Product Name: Broadcom NetXtreme Gigabit Ethernet Controller
                Read-only fields:
                        [PN] Part number: BCM95780
                        [EC] Engineering changes: 106679-15
                        [SN] Serial number: 0123456789
                        [MN] Manufacture ID: 31 34 65 34
                        [RV] Reserved: checksum bad, 28 byte(s) reserved
                Read/write fields:
                        [YA] Asset tag: XYZ01234567
                        [RW] Read-write area: 107 byte(s) free
                End
        Capabilities: [58] MSI: Enable+ Count=1/8 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 41e1
        Kernel driver in use: tg3

04:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03)
        Subsystem: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (16000ns min), Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 65
        Region 0: Memory at fe4f0000 (64-bit, non-prefetchable) [size=64K]
        Region 2: Memory at fe4e0000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at <ignored> [disabled]
        Capabilities: [40] PCI-X non-bridge device
                Command: DPERE- ERO- RBC=512 OST=1
                Status: Dev=04:04.1 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz
        Capabilities: [48] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable+ DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data
                Product Name: Broadcom NetXtreme Gigabit Ethernet Controller
                Read-only fields:
                        [PN] Part number: BCM95780
                        [EC] Engineering changes: 106679-15
                        [SN] Serial number: 0123456789
                        [MN] Manufacture ID: 31 34 65 34
                        [RV] Reserved: checksum bad, 28 byte(s) reserved
                Read/write fields:
                        [YA] Asset tag: XYZ01234567
                        [RW] Read-write area: 107 byte(s) free
                End
        Capabilities: [58] MSI: Enable+ Count=1/8 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 41b1
        Kernel driver in use: tg3


/ End of linux lspci output
>How-To-Repeat:
Boot FreeBSD 9.2 or 10.0 on the specified hardware.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-amd64 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun May 4 02:36:06 UTC 2014 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189264 

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: amd64/189264: [boot] FreeBSD 9.2 and 10.0 does not boot on Tyan
 Thunder h2000M S3992G3NR-Board
Date: Mon, 5 May 2014 20:37:44 -0500

 ----- Forwarded message from John Baldwin <jhb@freebsd.org> -----
 
 Date: Mon, 5 May 2014 11:15:30 -0400
 From: John Baldwin <jhb@freebsd.org>
 To: freebsd-amd64@freebsd.org
 Cc: linimon@freebsd.org, freebsd-bugs@freebsd.org
 Subject: Re: amd64/189264: [boot] FreeBSD 9.2 and 10.0 does not boot on Tyan Thunder h2000M S3992G3NR-Board
 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; )
 
 Can you get the crash messages from the attempt to boot FreeBSD?
 
 -- 
 John Baldwin
 
 
 ----- End forwarded message -----
>Unformatted:
