From owner-freebsd-sparc64@FreeBSD.ORG Sun May 2 17:00:18 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D19D106566B for ; Sun, 2 May 2010 17:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 045C08FC17 for ; Sun, 2 May 2010 17:00:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o42H0HfX065872 for ; Sun, 2 May 2010 17:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o42H0HoA065871; Sun, 2 May 2010 17:00:17 GMT (envelope-from gnats) Date: Sun, 2 May 2010 17:00:17 GMT Message-Id: <201005021700.o42H0HoA065871@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: sparc64/144900: commit references a PR X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 17:00:18 -0000 The following reply was made to PR sparc64/144900; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: sparc64/144900: commit references a PR Date: Sun, 2 May 2010 16:52:54 +0000 (UTC) Author: marius Date: Sun May 2 16:52:24 2010 New Revision: 207527 URL: http://svn.freebsd.org/changeset/base/207527 Log: MFC: r206490, r206492 While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tininess is detected before rounding therefore rounding up to the smallest normalized number should set the underflow flag. This change is needed for using SoftFloat on sparc64 for reference purposes. PR: 144900 Submitted by: Peter Jeremy Modified: stable/7/lib/libc/softfloat/softfloat-specialize Directory Properties: stable/7/lib/libc/ (props changed) stable/7/lib/libc/stdtime/ (props changed) Modified: stable/7/lib/libc/softfloat/softfloat-specialize ============================================================================== --- stable/7/lib/libc/softfloat/softfloat-specialize Sun May 2 16:52:23 2010 (r207526) +++ stable/7/lib/libc/softfloat/softfloat-specialize Sun May 2 16:52:24 2010 (r207527) @@ -44,7 +44,11 @@ Underflow tininess-detection mode, stati #ifdef SOFTFLOAT_FOR_GCC static #endif +#ifdef __sparc64__ +int8 float_detect_tininess = float_tininess_before_rounding; +#else int8 float_detect_tininess = float_tininess_after_rounding; +#endif /* ------------------------------------------------------------------------------- _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sparc64@FreeBSD.ORG Sun May 2 17:00:27 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09A511065678 for ; Sun, 2 May 2010 17:00:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C72968FC1A for ; Sun, 2 May 2010 17:00:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o42H0KhU065885 for ; Sun, 2 May 2010 17:00:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o42H0KPS065884; Sun, 2 May 2010 17:00:20 GMT (envelope-from gnats) Date: Sun, 2 May 2010 17:00:20 GMT Message-Id: <201005021700.o42H0KPS065884@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: sparc64/144900: commit references a PR X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 17:00:27 -0000 The following reply was made to PR sparc64/144900; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: sparc64/144900: commit references a PR Date: Sun, 2 May 2010 16:55:20 +0000 (UTC) Author: marius Date: Sun May 2 16:55:10 2010 New Revision: 207528 URL: http://svn.freebsd.org/changeset/base/207528 Log: MFC: r207151 Add a TestFloat based test suite for floating-point implementations currently supporting sparc64. After a `make depend all` there are three programs; testsoftfloat for testing against the SoftFloat in src/lib/libc/softfloat for reference purposes, testemufloat for testing the emulator source in src/lib/libc/sparc64/fpu and testfloat for testing with the installed libc. Support for other architectures can be added as needed. PR: 144900 Submitted by: Peter Jeremy Added: stable/8/tools/test/testfloat/ - copied from r207151, head/tools/test/testfloat/ Modified: stable/8/tools/test/README Directory Properties: stable/8/tools/test/ (props changed) Modified: stable/8/tools/test/README ============================================================================== --- stable/8/tools/test/README Sun May 2 16:52:24 2010 (r207527) +++ stable/8/tools/test/README Sun May 2 16:55:10 2010 (r207528) @@ -11,3 +11,4 @@ devrandom Programs to test /dev/*random. dtrace DTrace test suite malloc A program to test and benchmark malloc(). posixshm A program to test POSIX shared memory. +testfloat Programs to test floating-point implementations _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sparc64@FreeBSD.ORG Sun May 2 17:00:29 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BCFB1065672 for ; Sun, 2 May 2010 17:00:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 137D08FC0A for ; Sun, 2 May 2010 17:00:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o42H0SN5066075 for ; Sun, 2 May 2010 17:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o42H0Sc6066069; Sun, 2 May 2010 17:00:28 GMT (envelope-from gnats) Date: Sun, 2 May 2010 17:00:28 GMT Message-Id: <201005021700.o42H0Sc6066069@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: sparc64/144900: commit references a PR X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 17:00:29 -0000 The following reply was made to PR sparc64/144900; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: sparc64/144900: commit references a PR Date: Sun, 2 May 2010 16:55:33 +0000 (UTC) Author: marius Date: Sun May 2 16:55:13 2010 New Revision: 207529 URL: http://svn.freebsd.org/changeset/base/207529 Log: MFC: r207151 Add a TestFloat based test suite for floating-point implementations currently supporting sparc64. After a `make depend all` there are three programs; testsoftfloat for testing against the SoftFloat in src/lib/libc/softfloat for reference purposes, testemufloat for testing the emulator source in src/lib/libc/sparc64/fpu and testfloat for testing with the installed libc. Support for other architectures can be added as needed. PR: 144900 Submitted by: Peter Jeremy Added: stable/7/tools/test/testfloat/ - copied from r207151, head/tools/test/testfloat/ Modified: stable/7/tools/test/README Directory Properties: stable/7/tools/test/ (props changed) Modified: stable/7/tools/test/README ============================================================================== --- stable/7/tools/test/README Sun May 2 16:55:10 2010 (r207528) +++ stable/7/tools/test/README Sun May 2 16:55:13 2010 (r207529) @@ -10,3 +10,4 @@ Please make a subdir per program, and ad devrandom Programs to test /dev/*random. malloc A program to test and benchmark malloc(). posixshm A program to test POSIX shared memory. +testfloat Programs to test floating-point implementations _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sparc64@FreeBSD.ORG Mon May 3 11:08:25 2010 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF5E4106566C for ; Mon, 3 May 2010 11:08:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C47D08FC24 for ; Mon, 3 May 2010 11:08:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o43B8PNZ033724 for ; Mon, 3 May 2010 11:08:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o43B8PUA033722 for freebsd-sparc64@FreeBSD.org; Mon, 3 May 2010 11:08:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 May 2010 11:08:25 GMT Message-Id: <201005031108.o43B8PUA033722@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sparc64@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 11:08:26 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o sparc/145211 sparc64 [panic] Memory modified after free o sparc/144900 sparc64 [patch] SPARC64 Floating point fixes o sparc/144867 sparc64 [panic] trap: memory address not aligned booting Sunfi o sparc/142102 sparc64 [nfs] [panic] FreeBSD 8.0 kernel panics on sparc64 whe o sparc/141918 sparc64 [ehci] ehci_interrupt: unrecoverable error, controller s sparc/139134 sparc64 kernel output corruption f sparc/127051 sparc64 [hme] hme interfaces "pause" with the message "device o sparc/119244 sparc64 X11Forwarding to X11 server on sparc crashes Xorg o sparc/119240 sparc64 top has WCPU over 100% on UP system s sparc/119239 sparc64 gdb coredumps on sparc64 f sparc/108732 sparc64 ping(8) reports 14 digit time on sparc64 s sparc/107087 sparc64 [hang] system is hung during boot from CD o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o sparc/80890 sparc64 [panic] kmem_malloc(73728): kmem_map too small running o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 16 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon May 3 19:33:57 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE72C1065675; Mon, 3 May 2010 19:33:57 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B718F8FC12; Mon, 3 May 2010 19:33:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o43JXvIp021932; Mon, 3 May 2010 19:33:57 GMT (envelope-from marius@freefall.freebsd.org) Received: (from marius@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o43JXvA6021928; Mon, 3 May 2010 19:33:57 GMT (envelope-from marius) Date: Mon, 3 May 2010 19:33:57 GMT Message-Id: <201005031933.o43JXvA6021928@freefall.freebsd.org> To: peterjeremy@acm.org, marius@FreeBSD.org, freebsd-sparc64@FreeBSD.org From: marius@FreeBSD.org Cc: Subject: Re: sparc64/144900: [patch] SPARC64 Floating point fixes X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 19:33:57 -0000 Synopsis: [patch] SPARC64 Floating point fixes State-Changed-From-To: open->closed State-Changed-By: marius State-Changed-When: Mon May 3 19:33:46 UTC 2010 State-Changed-Why: close http://www.freebsd.org/cgi/query-pr.cgi?pr=144900 From owner-freebsd-sparc64@FreeBSD.ORG Mon May 3 21:00:11 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EA891065670 for ; Mon, 3 May 2010 21:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5F53C8FC18 for ; Mon, 3 May 2010 21:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o43L0Bng092808 for ; Mon, 3 May 2010 21:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o43L0BtT092806; Mon, 3 May 2010 21:00:11 GMT (envelope-from gnats) Date: Mon, 3 May 2010 21:00:11 GMT Message-Id: <201005032100.o43L0BtT092806@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: sparc64/144867: commit references a PR X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 21:00:11 -0000 The following reply was made to PR sparc64/144867; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: sparc64/144867: commit references a PR Date: Mon, 3 May 2010 20:57:36 +0000 (UTC) Author: marius Date: Mon May 3 20:57:16 2010 New Revision: 207585 URL: http://svn.freebsd.org/changeset/base/207585 Log: - Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES on Cassini using the external PCS SERDES otherwise unaligned access traps and other strange effects happen with some machines. Don't touch the MIF which is unused in that case either. These changes require the PHY type to use to be determined via the OFW device tree or from the VPD in machines without the former. - Disable the SERDES pins of Saturn when not used in order to save power and ensure they are enabled otherwise. - In cas_attach() use the correct register offset for CAS_PCS_CONF_EN. - Add some bus space barriers missing in the PCS code path. These changes make the Sun GigaSwift Ethernet 1.0 MMF cards as well as the on-board interfaces found in Sun Fire B100s Blade Server work. PR: 144867 Modified: head/sys/dev/cas/if_cas.c head/sys/dev/cas/if_casreg.h Modified: head/sys/dev/cas/if_cas.c ============================================================================== --- head/sys/dev/cas/if_cas.c Mon May 3 20:31:13 2010 (r207584) +++ head/sys/dev/cas/if_cas.c Mon May 3 20:57:16 2010 (r207585) @@ -76,6 +76,7 @@ __FBSDID("$FreeBSD$"); #include #if defined(__powerpc__) || defined(__sparc64__) +#include #include #include #endif @@ -321,55 +322,82 @@ cas_attach(struct cas_softc *sc) } } - CAS_WRITE_4(sc, CAS_PCS_DATAPATH, CAS_PCS_DATAPATH_MII); - - cas_mifinit(sc); - - /* - * Look for an external PHY. - */ - error = ENXIO; - v = CAS_READ_4(sc, CAS_MIF_CONF); - if ((v & CAS_MIF_CONF_MDI1) != 0) { - v |= CAS_MIF_CONF_PHY_SELECT; - CAS_WRITE_4(sc, CAS_MIF_CONF, v); - switch (sc->sc_variant) { - default: - sc->sc_phyad = -1; - break; + if ((sc->sc_flags & CAS_SERDES) == 0) { + CAS_WRITE_4(sc, CAS_PCS_DATAPATH, CAS_PCS_DATAPATH_MII); + CAS_BARRIER(sc, CAS_PCS_DATAPATH, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); + cas_mifinit(sc); + /* + * Look for an external PHY. + */ + error = ENXIO; + v = CAS_READ_4(sc, CAS_MIF_CONF); + if ((v & CAS_MIF_CONF_MDI1) != 0) { + v |= CAS_MIF_CONF_PHY_SELECT; + CAS_WRITE_4(sc, CAS_MIF_CONF, v); + CAS_BARRIER(sc, CAS_MIF_CONF, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); + /* Enable/unfreeze the GMII pins of Saturn. */ + if (sc->sc_variant == CAS_SATURN) { + CAS_WRITE_4(sc, CAS_SATURN_PCFG, 0); + CAS_BARRIER(sc, CAS_SATURN_PCFG, 4, + BUS_SPACE_BARRIER_READ | + BUS_SPACE_BARRIER_WRITE); + } + switch (sc->sc_variant) { + default: + sc->sc_phyad = -1; + break; + } + error = mii_phy_probe(sc->sc_dev, &sc->sc_miibus, + cas_mediachange, cas_mediastatus); } - error = mii_phy_probe(sc->sc_dev, &sc->sc_miibus, - cas_mediachange, cas_mediastatus); - } - - /* - * Fall back on an internal PHY if no external PHY was found. - */ - if (error != 0 && (v & CAS_MIF_CONF_MDI0) != 0) { - v &= ~CAS_MIF_CONF_PHY_SELECT; - CAS_WRITE_4(sc, CAS_MIF_CONF, v); - switch (sc->sc_variant) { - default: - sc->sc_phyad = -1; - break; + /* + * Fall back on an internal PHY if no external PHY was found. + */ + if (error != 0 && (v & CAS_MIF_CONF_MDI0) != 0) { + v &= ~CAS_MIF_CONF_PHY_SELECT; + CAS_WRITE_4(sc, CAS_MIF_CONF, v); + CAS_BARRIER(sc, CAS_MIF_CONF, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); + /* Freeze the GMII pins of Saturn for saving power. */ + if (sc->sc_variant == CAS_SATURN) { + CAS_WRITE_4(sc, CAS_SATURN_PCFG, + CAS_SATURN_PCFG_FSI); + CAS_BARRIER(sc, CAS_SATURN_PCFG, 4, + BUS_SPACE_BARRIER_READ | + BUS_SPACE_BARRIER_WRITE); + } + switch (sc->sc_variant) { + default: + sc->sc_phyad = -1; + break; + } + error = mii_phy_probe(sc->sc_dev, &sc->sc_miibus, + cas_mediachange, cas_mediastatus); } - error = mii_phy_probe(sc->sc_dev, &sc->sc_miibus, - cas_mediachange, cas_mediastatus); - } - - /* - * Try the external PCS SERDES if we didn't find any PHYs. - */ - if (error != 0) { + } else { + /* + * Use the external PCS SERDES. + */ CAS_WRITE_4(sc, CAS_PCS_DATAPATH, CAS_PCS_DATAPATH_SERDES); + CAS_BARRIER(sc, CAS_PCS_DATAPATH, 4, BUS_SPACE_BARRIER_WRITE); + /* Enable/unfreeze the SERDES pins of Saturn. */ + if (sc->sc_variant == CAS_SATURN) { + CAS_WRITE_4(sc, CAS_SATURN_PCFG, 0); + CAS_BARRIER(sc, CAS_SATURN_PCFG, 4, + BUS_SPACE_BARRIER_WRITE); + } CAS_WRITE_4(sc, CAS_PCS_SERDES_CTRL, CAS_PCS_SERDES_CTRL_ESD); - CAS_WRITE_4(sc, CAS_PCS_CONF_EN, CAS_PCS_CONF_EN); - sc->sc_flags |= CAS_SERDES; + CAS_BARRIER(sc, CAS_PCS_SERDES_CTRL, 4, + BUS_SPACE_BARRIER_WRITE); + CAS_WRITE_4(sc, CAS_PCS_CONF, CAS_PCS_CONF_EN); + CAS_BARRIER(sc, CAS_PCS_CONF, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); sc->sc_phyad = CAS_PHYAD_EXTERNAL; error = mii_phy_probe(sc->sc_dev, &sc->sc_miibus, cas_mediachange, cas_mediastatus); } - if (error != 0) { device_printf(sc->sc_dev, "PHY probe failed: %d\n", error); goto fail_rxmap; @@ -956,8 +984,9 @@ cas_init_locked(struct cas_softc *sc) __func__); #endif - /* Re-initialize the MIF. */ - cas_mifinit(sc); + if ((sc->sc_flags & CAS_SERDES) == 0) + /* Re-initialize the MIF. */ + cas_mifinit(sc); /* step 3. Setup data structures in host memory. */ cas_meminit(sc); @@ -2105,6 +2134,8 @@ cas_mifinit(struct cas_softc *sc) /* Configure the MIF in frame mode. */ CAS_WRITE_4(sc, CAS_MIF_CONF, CAS_READ_4(sc, CAS_MIF_CONF) & ~CAS_MIF_CONF_BB_MODE); + CAS_BARRIER(sc, CAS_MIF_CONF, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); } /* @@ -2219,10 +2250,16 @@ cas_mii_writereg(device_t dev, int phy, CAS_BARRIER(sc, CAS_PCS_CONF, 4, BUS_SPACE_BARRIER_WRITE); CAS_WRITE_4(sc, CAS_PCS_ANAR, val); + CAS_BARRIER(sc, CAS_PCS_ANAR, 4, + BUS_SPACE_BARRIER_WRITE); CAS_WRITE_4(sc, CAS_PCS_SERDES_CTRL, CAS_PCS_SERDES_CTRL_ESD); + CAS_BARRIER(sc, CAS_PCS_CONF, 4, + BUS_SPACE_BARRIER_WRITE); CAS_WRITE_4(sc, CAS_PCS_CONF, CAS_PCS_CONF_EN); + CAS_BARRIER(sc, CAS_PCS_CONF, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); return (0); case MII_ANLPAR: reg = CAS_PCS_ANLPAR; @@ -2233,6 +2270,8 @@ cas_mii_writereg(device_t dev, int phy, return (0); } CAS_WRITE_4(sc, reg, val); + CAS_BARRIER(sc, reg, 4, + BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); return (0); } @@ -2630,15 +2669,20 @@ static struct resource_spec cas_pci_res_ { -1, 0 } }; +#define CAS_LOCAL_MAC_ADDRESS "local-mac-address" +#define CAS_PHY_INTERFACE "phy-interface" +#define CAS_PHY_TYPE "phy-type" +#define CAS_PHY_TYPE_PCS "pcs" + static int cas_pci_attach(device_t dev) { + char buf[sizeof(CAS_LOCAL_MAC_ADDRESS)]; struct cas_softc *sc; int i; #if !(defined(__powerpc__) || defined(__sparc64__)) u_char enaddr[4][ETHER_ADDR_LEN]; - char lma[sizeof("local-mac-address")]; - int found, j; + u_int j, k, lma, pcs[4], phy; #endif sc = device_get_softc(dev); @@ -2679,13 +2723,20 @@ cas_pci_attach(device_t dev) #if defined(__powerpc__) || defined(__sparc64__) OF_getetheraddr(dev, sc->sc_enaddr); + if (OF_getprop(ofw_bus_get_node(dev), CAS_PHY_INTERFACE, buf, + sizeof(buf)) > 0 || OF_getprop(ofw_bus_get_node(dev), + CAS_PHY_TYPE, buf, sizeof(buf)) > 0) { + buf[sizeof(buf) - 1] = '\0'; + if (strcmp(buf, CAS_PHY_TYPE_PCS) == 0) + sc->sc_flags |= CAS_SERDES; + } #else /* - * Dig out VPD (vital product data) and read the MAX address. - * The VPD resides in the PCI Expansion ROM (PCI FCode) and - * can't be accessed via the PCI capability pointer. - * SUNW,pci-ce and SUNW,pci-qge use the Enhanced VPD format - * described in US Patent 7149820. + * Dig out VPD (vital product data) and read the MAC address as well + * as the PHY type. The VPD resides in the PCI Expansion ROM (PCI + * FCode) and can't be accessed via the PCI capability pointer. + * SUNW,pci-ce and SUNW,pci-qge use the Enhanced VPD format described + * in the free US Patent 7149820. */ #define PCI_ROMHDR_SIZE 0x1c @@ -2719,7 +2770,10 @@ cas_pci_attach(device_t dev) #define CAS_ROM_READ_4(sc, offs) \ CAS_READ_4((sc), CAS_PCI_ROM_OFFSET + (offs)) - found = 0; + lma = phy = 0; + memset(enaddr, 0, sizeof(enaddr)); + memset(pcs, 0, sizeof(pcs)); + /* Enable PCI Expansion ROM access. */ CAS_WRITE_4(sc, CAS_BIM_LDEV_OEN, CAS_BIM_LDEV_OEN_PAD | CAS_BIM_LDEV_OEN_PROM); @@ -2768,23 +2822,51 @@ cas_pci_attach(device_t dev) if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE) != 'I') /* no instance property */ continue; - if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) != 'B') - /* no byte array */ - continue; - if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 4) != - ETHER_ADDR_LEN) - continue; - bus_read_region_1(sc->sc_res[CAS_RES_MEM], - CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5, - lma, sizeof(lma)); - if (strcmp(lma, "local-mac-address") != 0) - continue; - bus_read_region_1(sc->sc_res[CAS_RES_MEM], - CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5 + - sizeof(lma), enaddr[found], - sizeof(enaddr[found])); - if (found++ == 4) - break; + if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) == 'B') { + /* byte array */ + if (CAS_ROM_READ_1(sc, + j + PCI_VPD_SIZE + 4) != ETHER_ADDR_LEN) + continue; + bus_read_region_1(sc->sc_res[CAS_RES_MEM], + CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5, + buf, sizeof(buf)); + buf[sizeof(buf) - 1] = '\0'; + if (strcmp(buf, CAS_LOCAL_MAC_ADDRESS) != 0) + continue; + bus_read_region_1(sc->sc_res[CAS_RES_MEM], + CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + + 5 + sizeof(CAS_LOCAL_MAC_ADDRESS), + enaddr[lma], sizeof(enaddr[lma])); + lma++; + if (lma == 4 && phy == 4) + break; + } else if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) == + 'S') { + /* string */ + if (CAS_ROM_READ_1(sc, + j + PCI_VPD_SIZE + 4) != + sizeof(CAS_PHY_TYPE_PCS)) + continue; + bus_read_region_1(sc->sc_res[CAS_RES_MEM], + CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5, + buf, sizeof(buf)); + buf[sizeof(buf) - 1] = '\0'; + if (strcmp(buf, CAS_PHY_INTERFACE) == 0) + k = sizeof(CAS_PHY_INTERFACE); + else if (strcmp(buf, CAS_PHY_TYPE) == 0) + k = sizeof(CAS_PHY_TYPE); + else + continue; + bus_read_region_1(sc->sc_res[CAS_RES_MEM], + CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + + 5 + k, buf, sizeof(buf)); + buf[sizeof(buf) - 1] = '\0'; + if (strcmp(buf, CAS_PHY_TYPE_PCS) == 0) + pcs[phy] = 1; + phy++; + if (lma == 4 && phy == 4) + break; + } } break; default: @@ -2795,14 +2877,24 @@ cas_pci_attach(device_t dev) fail_prom: CAS_WRITE_4(sc, CAS_BIM_LDEV_OEN, 0); - if (found == 0) { + if (lma == 0) { device_printf(dev, "could not determine Ethernet address\n"); goto fail; } i = 0; - if (found > 1 && pci_get_slot(dev) < sizeof(enaddr) / sizeof(*enaddr)) + if (lma > 1 && pci_get_slot(dev) < sizeof(enaddr) / sizeof(*enaddr)) i = pci_get_slot(dev); memcpy(sc->sc_enaddr, enaddr[i], ETHER_ADDR_LEN); + + if (phy == 0) { + device_printf(dev, "could not determine PHY type\n"); + goto fail; + } + i = 0; + if (phy > 1 && pci_get_slot(dev) < sizeof(pcs) / sizeof(*pcs)) + i = pci_get_slot(dev); + if (pcs[i] != 0) + sc->sc_flags |= CAS_SERDES; #endif if (cas_attach(sc) != 0) { Modified: head/sys/dev/cas/if_casreg.h ============================================================================== --- head/sys/dev/cas/if_casreg.h Mon May 3 20:31:13 2010 (r207584) +++ head/sys/dev/cas/if_casreg.h Mon May 3 20:57:16 2010 (r207585) @@ -68,6 +68,7 @@ #define CAS_STATUS4 0x105c /* interrupt status 4 for INTD */ #define CAS_CLEAR_ALIAS4 0x1060 /* clear mask alias 4 for INTD */ #define CAS_STATUS_ALIAS4 0x1064 /* interrupt status alias 4 for INTD */ +#define CAS_SATURN_PCFG 0x106c /* internal MACPHY pin configuration */ #define CAS_CAW_RX_WGHT_MASK 0x00000003 /* RX DMA factor for... */ #define CAS_CAW_RX_WGHT_SHFT 0 /* ...weighted round robin */ @@ -171,6 +172,17 @@ /* INTn enable bit for CAS_INTMASK[2-4] */ #define CAS_INTMASKN_EN 0x00000080 /* INT[B-D] enable */ +#define CAS_SATURN_PCFG_TLA 0x00000001 /* PHY activity LED */ +#define CAS_SATURN_PCFG_FLA 0x00000002 /* PHY 10MBit/sec LED */ +#define CAS_SATURN_PCFG_CLA 0x00000004 /* PHY 100MBit/sec LED */ +#define CAS_SATURN_PCFG_LLA 0x00000008 /* PHY 1000MBit/sec LED */ +#define CAS_SATURN_PCFG_RLA 0x00000010 /* PHY full-duplex LED */ +#define CAS_SATURN_PCFG_PDS 0x00000020 /* PHY debug mode */ +#define CAS_SATURN_PCFG_MTP 0x00000080 /* test point select */ +#define CAS_SATURN_PCFG_GMO 0x00000100 /* GMII observe */ +#define CAS_SATURN_PCFG_FSI 0x00000200 /* freeze GMII/SERDES */ +#define CAS_SATURN_PCFG_LAD 0x00000800 /* MAC LED control active low */ + /* TX DMA registers */ #define CAS_TX_CONF 0x2004 /* TX configuration */ #define CAS_TX_FIFO_WR 0x2014 /* FIFO write pointer */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sparc64@FreeBSD.ORG Tue May 4 03:36:12 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D216106566B; Tue, 4 May 2010 03:36:12 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0697F8FC0C; Tue, 4 May 2010 03:36:11 +0000 (UTC) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id o443a9qu008721; Mon, 3 May 2010 23:36:09 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [64.7.128.104]) by smtp2.sentex.ca (8.14.4/8.14.4) with ESMTP id o443a9FS090259; Mon, 3 May 2010 23:36:09 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-legacy.sentex.ca (Postfix, from userid 666) id 3EC7D241A2; Mon, 3 May 2010 23:36:09 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20100504033609.3EC7D241A2@freebsd-legacy.sentex.ca> Date: Mon, 3 May 2010 23:36:09 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [releng_6 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 03:36:12 -0000 TB --- 2010-05-04 02:41:37 - tinderbox 2.6 running on freebsd-legacy.sentex.ca TB --- 2010-05-04 02:41:37 - starting RELENG_6 tinderbox run for sparc64/sparc64 TB --- 2010-05-04 02:41:37 - cleaning the object tree TB --- 2010-05-04 02:41:49 - cvsupping the source tree TB --- 2010-05-04 02:41:49 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /home/tinderbox/RELENG_6/sparc64/sparc64/supfile TB --- 2010-05-04 02:41:57 - building world TB --- 2010-05-04 02:41:57 - MAKEOBJDIRPREFIX=/obj TB --- 2010-05-04 02:41:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-05-04 02:41:57 - TARGET=sparc64 TB --- 2010-05-04 02:41:57 - TARGET_ARCH=sparc64 TB --- 2010-05-04 02:41:57 - TZ=UTC TB --- 2010-05-04 02:41:57 - __MAKE_CONF=/dev/null TB --- 2010-05-04 02:41:57 - cd /src TB --- 2010-05-04 02:41:57 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2010-05-04 03:33:18 - generating LINT kernel config TB --- 2010-05-04 03:33:18 - cd /src/sys/sparc64/conf TB --- 2010-05-04 03:33:18 - /usr/bin/make -B LINT TB --- 2010-05-04 03:33:18 - building LINT kernel TB --- 2010-05-04 03:33:18 - MAKEOBJDIRPREFIX=/obj TB --- 2010-05-04 03:33:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-05-04 03:33:18 - TARGET=sparc64 TB --- 2010-05-04 03:33:18 - TARGET_ARCH=sparc64 TB --- 2010-05-04 03:33:18 - TZ=UTC TB --- 2010-05-04 03:33:18 - __MAKE_CONF=/dev/null TB --- 2010-05-04 03:33:18 - cd /src TB --- 2010-05-04 03:33:18 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue May 4 03:33:18 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medlow -msoft-float -ffreestanding -Werror /src/sys/dev/an/if_an_pccard.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medlow -msoft-float -ffreestanding -Werror /src/sys/dev/an/if_an_pci.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medlow -msoft-float -ffreestanding -Werror /src/sys/dev/asr/asr.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ata/ata_if.m -c ; cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medlow -msoft-float -ffreestanding -Werror ata_if.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medlow -msoft-float -ffreestanding -Werror /src/sys/dev/ata/ata-all.c /src/sys/dev/ata/ata-all.c: In function `ata_device_ioctl': /src/sys/dev/ata/ata-all.c:452: error: request for member `max_iosize' in something not a structure or union /src/sys/dev/ata/ata-all.c:452: error: request for member `max_iosize' in something not a structure or union *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-05-04 03:36:09 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-05-04 03:36:09 - ERROR: failed to build lint kernel TB --- 2010-05-04 03:36:09 - 2727.24 user 352.25 system 3272.16 real http://tinderbox.freebsd.org/tinderbox-releng_6-RELENG_6-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Tue May 4 05:46:53 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0220106566C for ; Tue, 4 May 2010 05:46:53 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id A378B8FC08 for ; Tue, 4 May 2010 05:46:53 +0000 (UTC) Received: by pvc30 with SMTP id 30so13876pvc.13 for ; Mon, 03 May 2010 22:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=A+7NBPjcytFJHEJ5/TWl7RspRk4S3xl8EVKPXZZDrFo=; b=e7O7QfZq0WvMqeSF1jCv1EzNxP81VgiQE+LuILVHMhsiU4dvPvolqEP2GgnY+tMajA AzY9Ru0AivTDuAzSLkzwxMR0QYzjfcrlWP2KpXXsJHieNlQ66UZGM82YAnDHYnbNXMQS JXh1RnPBmWwTmLGFLc6IDA/r7o1CUIAUmBzXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wfOVff9b6C1ddAt9yUMO5Rt8xfHgLH+LvgzCwAWe05OsnRsdmq8VFtMuWmh1xC4LOF 9ducIWDIme2AC5llnPpaXcpF9nkUs2AJDrwRQGKFY9eSbbvMOPnEuqkpyJ2xqn83M6Yk zDokXT2Ge2snEWIew44R5aV7cCPJ6iqxeB3LQ= MIME-Version: 1.0 Received: by 10.141.14.6 with SMTP id r6mr4113157rvi.69.1272950655031; Mon, 03 May 2010 22:24:15 -0700 (PDT) Received: by 10.140.125.10 with HTTP; Mon, 3 May 2010 22:24:14 -0700 (PDT) In-Reply-To: <20100504033609.3EC7D241A2@freebsd-legacy.sentex.ca> References: <20100504033609.3EC7D241A2@freebsd-legacy.sentex.ca> Date: Mon, 3 May 2010 22:24:14 -0700 Message-ID: From: Xin LI To: FreeBSD Tinderbox Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, sparc64@freebsd.org Subject: Re: [releng_6 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 05:46:53 -0000 Sorry for the breakage. This should have been fixed now. On Mon, May 3, 2010 at 8:36 PM, FreeBSD Tinderbox w= rote: > TB --- 2010-05-04 02:41:37 - tinderbox 2.6 running on freebsd-legacy.sent= ex.ca > TB --- 2010-05-04 02:41:37 - starting RELENG_6 tinderbox run for sparc64/= sparc64 > TB --- 2010-05-04 02:41:37 - cleaning the object tree > TB --- 2010-05-04 02:41:49 - cvsupping the source tree > TB --- 2010-05-04 02:41:49 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -= s /home/tinderbox/RELENG_6/sparc64/sparc64/supfile > TB --- 2010-05-04 02:41:57 - building world > TB --- 2010-05-04 02:41:57 - MAKEOBJDIRPREFIX=3D/obj > TB --- 2010-05-04 02:41:57 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-05-04 02:41:57 - TARGET=3Dsparc64 > TB --- 2010-05-04 02:41:57 - TARGET_ARCH=3Dsparc64 > TB --- 2010-05-04 02:41:57 - TZ=3DUTC > TB --- 2010-05-04 02:41:57 - __MAKE_CONF=3D/dev/null > TB --- 2010-05-04 02:41:57 - cd /src > TB --- 2010-05-04 02:41:57 - /usr/bin/make -B buildworld >>>> Rebuilding the temporary build tree >>>> stage 1.1: legacy release compatibility shims >>>> stage 1.2: bootstrap tools >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3: cross tools >>>> stage 4.1: building includes >>>> stage 4.2: building libraries >>>> stage 4.3: make dependencies >>>> stage 4.4: building everything > TB --- 2010-05-04 03:33:18 - generating LINT kernel config > TB --- 2010-05-04 03:33:18 - cd /src/sys/sparc64/conf > TB --- 2010-05-04 03:33:18 - /usr/bin/make -B LINT > TB --- 2010-05-04 03:33:18 - building LINT kernel > TB --- 2010-05-04 03:33:18 - MAKEOBJDIRPREFIX=3D/obj > TB --- 2010-05-04 03:33:18 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-05-04 03:33:18 - TARGET=3Dsparc64 > TB --- 2010-05-04 03:33:18 - TARGET_ARCH=3Dsparc64 > TB --- 2010-05-04 03:33:18 - TZ=3DUTC > TB --- 2010-05-04 03:33:18 - __MAKE_CONF=3D/dev/null > TB --- 2010-05-04 03:33:18 - cd /src > TB --- 2010-05-04 03:33:18 - /usr/bin/make -B buildkernel KERNCONF=3DLINT >>>> Kernel build for LINT started on Tue May =C2=A04 03:33:18 UTC 2010 >>>> stage 1: configuring the kernel >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3.1: making dependencies >>>> stage 3.2: building everything > [...] > cc -c -O2 -pipe -fno-strict-aliasing =C2=A0-Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes -Wpointer-arith -= Winline -Wcast-qual =C2=A0-fformat-extensions -std=3Dc99 =C2=A0-nostdinc -I= - =C2=A0-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter = -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sy= s/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include= opt_global.h -fno-common -finline-limit=3D15000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -fno-builtin -mcmodel=3Dmedlow = -msoft-float -ffreestanding -Werror =C2=A0/src/sys/dev/an/if_an_pccard.c > cc -c -O2 -pipe -fno-strict-aliasing =C2=A0-Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes -Wpointer-arith -= Winline -Wcast-qual =C2=A0-fformat-extensions -std=3Dc99 =C2=A0-nostdinc -I= - =C2=A0-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter = -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sy= s/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include= opt_global.h -fno-common -finline-limit=3D15000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -fno-builtin -mcmodel=3Dmedlow = -msoft-float -ffreestanding -Werror =C2=A0/src/sys/dev/an/if_an_pci.c > cc -c -O2 -pipe -fno-strict-aliasing =C2=A0-Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes -Wpointer-arith -= Winline -Wcast-qual =C2=A0-fformat-extensions -std=3Dc99 =C2=A0-nostdinc -I= - =C2=A0-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter = -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sy= s/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include= opt_global.h -fno-common -finline-limit=3D15000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -fno-builtin -mcmodel=3Dmedlow = -msoft-float -ffreestanding -Werror =C2=A0/src/sys/dev/asr/asr.c > awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ata/ata_if.m -c ; =C2= =A0cc -c -O2 -pipe -fno-strict-aliasing =C2=A0-Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes -Wpointer-arith = -Winline -Wcast-qual =C2=A0-fformat-extensions -std=3Dc99 =C2=A0-nostdinc -= I- =C2=A0-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter= -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/s= ys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -includ= e opt_global.h -fno-common -finline-limit=3D15000 --param inline-unit-growt= h=3D100 --param large-function-growth=3D1000 -fno-builtin -mcmodel=3Dmedlow= -msoft-float -ffreestanding -Werror =C2=A0ata_if.c > cc -c -O2 -pipe -fno-strict-aliasing =C2=A0-Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes -Wpointer-arith -= Winline -Wcast-qual =C2=A0-fformat-extensions -std=3Dc99 =C2=A0-nostdinc -I= - =C2=A0-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter = -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sy= s/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include= opt_global.h -fno-common -finline-limit=3D15000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -fno-builtin -mcmodel=3Dmedlow = -msoft-float -ffreestanding -Werror =C2=A0/src/sys/dev/ata/ata-all.c > /src/sys/dev/ata/ata-all.c: In function `ata_device_ioctl': > /src/sys/dev/ata/ata-all.c:452: error: request for member `max_iosize' in= something not a structure or union > /src/sys/dev/ata/ata-all.c:452: error: request for member `max_iosize' in= something not a structure or union > *** Error code 1 > > Stop in /obj/sparc64/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2010-05-04 03:36:09 - WARNING: /usr/bin/make returned exit code = =C2=A01 > TB --- 2010-05-04 03:36:09 - ERROR: failed to build lint kernel > TB --- 2010-05-04 03:36:09 - 2727.24 user 352.25 system 3272.16 real > > > http://tinderbox.freebsd.org/tinderbox-releng_6-RELENG_6-sparc64-sparc64.= full > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Xin LI http://www.delphij.net From owner-freebsd-sparc64@FreeBSD.ORG Tue May 4 08:39:22 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EABE1065705; Tue, 4 May 2010 08:39:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id C861F8FC0A; Tue, 4 May 2010 08:39:21 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o448dL8Z023261; Tue, 4 May 2010 04:39:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o448dLlp023257; Tue, 4 May 2010 08:39:21 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 May 2010 08:39:21 GMT Message-Id: <201005040839.o448dLlp023257@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 08:39:22 -0000 TB --- 2010-05-04 08:10:40 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-05-04 08:10:40 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2010-05-04 08:10:40 - cleaning the object tree TB --- 2010-05-04 08:10:56 - cvsupping the source tree TB --- 2010-05-04 08:10:56 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2010-05-04 08:11:24 - building world TB --- 2010-05-04 08:11:24 - MAKEOBJDIRPREFIX=/obj TB --- 2010-05-04 08:11:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-05-04 08:11:24 - TARGET=sparc64 TB --- 2010-05-04 08:11:24 - TARGET_ARCH=sparc64 TB --- 2010-05-04 08:11:24 - TZ=UTC TB --- 2010-05-04 08:11:24 - __MAKE_CONF=/dev/null TB --- 2010-05-04 08:11:24 - cd /src TB --- 2010-05-04 08:11:24 - /usr/bin/make -B buildworld >>> World build started on Tue May 4 08:11:24 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] mkdep -f .depend -a -DREAL_DAEMON_DIR=\"/usr/libexec\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DFACILITY=LOG_DAEMON -DINET6 /src/libexec/tcpd/../../contrib/tcp_wrappers/tcpd.c echo tcpd: /obj/sparc64/src/tmp/usr/lib/libc.a /obj/sparc64/src/tmp/usr/lib/libwrap.a >> .depend ===> libexec/telnetd (depend) rm -f .depend mkdep -f .depend -a -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DSTREAMSPTY -DINET6 -I/src/libexec/telnetd/../../contrib/telnet -DAUTHENTICATION -DENCRYPTION -DKRB5 -DFORWARD -Dnet_write=telnet_net_write /src/libexec/telnetd/../../contrib/telnet/telnetd/global.c /src/libexec/telnetd/../../contrib/telnet/telnetd/slc.c /src/libexec/telnetd/../../contrib/telnet/telnetd/state.c /src/libexec/telnetd/../../contrib/telnet/telnetd/sys_term.c /src/libexec/telnetd/../../contrib/telnet/telnetd/telnetd.c /src/libexec/telnetd/../../contrib/telnet/telnetd/termstat.c /src/libexec/telnetd/../../contrib/telnet/telnetd/utility.c /src/libexec/telnetd/../../contrib/telnet/telnetd/authenc.c echo telnetd: /obj/sparc64/src/tmp/usr/lib/libc.a /obj/sparc64/src/tmp/usr/lib/libutil.a /obj/sparc64/src/tmp/usr/lib/libtermcap.a /obj/sparc64/src/libexec/telnetd/../../lib/libtelnet/libtelnet.a /obj/sparc64/src/tmp/usr/lib/libmp.a /obj/sparc64/src/tmp/usr/lib/libcrypto.a /obj/sparc64/src/tmp/usr/lib/libcrypt.a /obj/sparc64/src/tmp/usr/lib/libpam.a /obj/sparc64/src/tmp/usr/lib/libkrb5.a /obj/sparc64/src/tmp/usr/lib/libhx509.a /obj/sparc64/src/tmp/usr/lib/libasn1.a /obj/sparc64/src/tmp/usr/lib/libroken.a /obj/sparc64/src/tmp/usr/lib/libcom_err.a >> .depend ===> libexec/tftpd (depend) make: don't know how to make tftp-io.c. Stop *** Error code 2 Stop in /src/libexec. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-05-04 08:39:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-05-04 08:39:21 - ERROR: failed to build world TB --- 2010-05-04 08:39:21 - 1226.18 user 273.32 system 1721.04 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Tue May 4 08:56:38 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9E31106566C; Tue, 4 May 2010 08:56:38 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7F18FC1C; Tue, 4 May 2010 08:56:38 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o448ubiu085256; Tue, 4 May 2010 04:56:37 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o448ubKZ085255; Tue, 4 May 2010 08:56:37 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 May 2010 08:56:37 GMT Message-Id: <201005040856.o448ubKZ085255@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 08:56:38 -0000 TB --- 2010-05-04 08:28:16 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-05-04 08:28:16 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2010-05-04 08:28:16 - cleaning the object tree TB --- 2010-05-04 08:28:31 - cvsupping the source tree TB --- 2010-05-04 08:28:31 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2010-05-04 08:31:00 - building world TB --- 2010-05-04 08:31:00 - MAKEOBJDIRPREFIX=/obj TB --- 2010-05-04 08:31:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-05-04 08:31:00 - TARGET=sun4v TB --- 2010-05-04 08:31:00 - TARGET_ARCH=sparc64 TB --- 2010-05-04 08:31:00 - TZ=UTC TB --- 2010-05-04 08:31:00 - __MAKE_CONF=/dev/null TB --- 2010-05-04 08:31:00 - cd /src TB --- 2010-05-04 08:31:00 - /usr/bin/make -B buildworld >>> World build started on Tue May 4 08:31:00 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] mkdep -f .depend -a -DREAL_DAEMON_DIR=\"/usr/libexec\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DFACILITY=LOG_DAEMON -DINET6 /src/libexec/tcpd/../../contrib/tcp_wrappers/tcpd.c echo tcpd: /obj/sun4v/src/tmp/usr/lib/libc.a /obj/sun4v/src/tmp/usr/lib/libwrap.a >> .depend ===> libexec/telnetd (depend) rm -f .depend mkdep -f .depend -a -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DSTREAMSPTY -DINET6 -I/src/libexec/telnetd/../../contrib/telnet -DAUTHENTICATION -DENCRYPTION -DKRB5 -DFORWARD -Dnet_write=telnet_net_write /src/libexec/telnetd/../../contrib/telnet/telnetd/global.c /src/libexec/telnetd/../../contrib/telnet/telnetd/slc.c /src/libexec/telnetd/../../contrib/telnet/telnetd/state.c /src/libexec/telnetd/../../contrib/telnet/telnetd/sys_term.c /src/libexec/telnetd/../../contrib/telnet/telnetd/telnetd.c /src/libexec/telnetd/../../contrib/telnet/telnetd/termstat.c /src/libexec/telnetd/../../contrib/telnet/telnetd/utility.c /src/libexec/telnetd/../../contrib/telnet/telnetd/authenc.c echo telnetd: /obj/sun4v/src/tmp/usr/lib/libc.a /obj/sun4v/src/tmp/usr/lib/libutil.a /obj/sun4v/src/tmp/usr/lib/libtermcap.a /obj/sun4v/src/libexec/telnetd/../../lib/libtelnet/libtelnet.a /obj/sun4v/src/tmp/usr/lib/libmp.a /obj/sun4v/src/tmp/usr/lib/libcrypto.a /obj/sun4v/src/tmp/usr/lib/libcrypt.a /obj/sun4v/src/tmp/usr/lib/libpam.a /obj/sun4v/src/tmp/usr/lib/libkrb5.a /obj/sun4v/src/tmp/usr/lib/libhx509.a /obj/sun4v/src/tmp/usr/lib/libasn1.a /obj/sun4v/src/tmp/usr/lib/libroken.a /obj/sun4v/src/tmp/usr/lib/libcom_err.a >> .depend ===> libexec/tftpd (depend) make: don't know how to make tftp-io.c. Stop *** Error code 2 Stop in /src/libexec. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-05-04 08:56:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-05-04 08:56:37 - ERROR: failed to build world TB --- 2010-05-04 08:56:37 - 1220.91 user 259.43 system 1701.09 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Tue May 4 17:06:17 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6793F1065670; Tue, 4 May 2010 17:06:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 36C5D8FC14; Tue, 4 May 2010 17:06:17 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o44H6G5n009486; Tue, 4 May 2010 13:06:16 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o44H6GJ4009485; Tue, 4 May 2010 17:06:16 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 May 2010 17:06:16 GMT Message-Id: <201005041706.o44H6GJ4009485@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 17:06:17 -0000 TB --- 2010-05-04 16:37:38 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-05-04 16:37:38 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2010-05-04 16:37:38 - cleaning the object tree TB --- 2010-05-04 16:37:43 - cvsupping the source tree TB --- 2010-05-04 16:37:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2010-05-04 16:38:09 - building world TB --- 2010-05-04 16:38:09 - MAKEOBJDIRPREFIX=/obj TB --- 2010-05-04 16:38:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-05-04 16:38:09 - TARGET=sparc64 TB --- 2010-05-04 16:38:09 - TARGET_ARCH=sparc64 TB --- 2010-05-04 16:38:09 - TZ=UTC TB --- 2010-05-04 16:38:09 - __MAKE_CONF=/dev/null TB --- 2010-05-04 16:38:09 - cd /src TB --- 2010-05-04 16:38:09 - /usr/bin/make -B buildworld >>> World build started on Tue May 4 16:38:10 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] mkdep -f .depend -a -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE -I/src/usr.bin/telnet/../../contrib/telnet -I/src/usr.bin/telnet/../../contrib/telnet/libtelnet/ -DINET6 -DIPSEC -DENCRYPTION -DAUTHENTICATION -DIPSEC -DKRB5 -DFORWARD -Dnet_write=telnet_net_write /src/usr.bin/telnet/../../contrib/telnet/telnet/commands.c /src/usr.bin/telnet/../../contrib/telnet/telnet/main.c /src/usr.bin/telnet/../../contrib/telnet/telnet/network.c /src/usr.bin/telnet/../../contrib/telnet/telnet/ring.c /src/usr.bin/telnet/../../contrib/telnet/telnet/sys_bsd.c /src/usr.bin/telnet/../../contrib/telnet/telnet/telnet.c /src/usr.bin/telnet/../../contrib/telnet/telnet/terminal.c /src/usr.bin/telnet/../../contrib/telnet/telnet/utilities.c /src/usr.bin/telnet/../../contrib/telnet/telnet/authenc.c echo telnet: /obj/sparc64/src/tmp/usr/lib/libc.a /obj/sparc64/src/tmp/usr/lib/libtermcap.a /obj/sparc64/src/usr.bin/telnet/../../lib/libtelnet/libtelnet.a /obj/sparc64/src/tmp/usr/lib/libipsec.a /obj/sparc64/src/tmp/usr/lib/libmp.a /obj/sparc64/src/tmp/usr/lib/libcrypto.a /obj/sparc64/src/tmp/usr/lib/libcrypt.a /obj/sparc64/src/tmp/usr/lib/libipsec.a /obj/sparc64/src/tmp/usr/lib/libpam.a /obj/sparc64/src/tmp/usr/lib/libkrb5.a /obj/sparc64/src/tmp/usr/lib/libhx509.a /obj/sparc64/src/tmp/usr/lib/libasn1.a /obj/sparc64/src/tmp/usr/lib/libcom_err.a /obj/sparc64/src/tmp/usr/lib/libroken.a >> .depend ===> usr.bin/tftp (depend) rm -f .depend mkdep -f .depend -a -I/src/usr.bin/tftp/../../libexec/tftpd -I/src/usr.bin/tftp/../../usr.bin/tftp /src/usr.bin/tftp/main.c /src/usr.bin/tftp/tftp.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-utils.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-io.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-file.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-transfer.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-options.c /src/usr.bin/tftp/main.c:80:18: error: tftp.h: No such file or directory /src/usr.bin/tftp/tftp.c:62:18: error: tftp.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/usr.bin/tftp. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-05-04 17:06:16 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-05-04 17:06:16 - ERROR: failed to build world TB --- 2010-05-04 17:06:16 - 1266.74 user 308.34 system 1718.16 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Tue May 4 17:17:54 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDE101065675; Tue, 4 May 2010 17:17:54 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9608FC1C; Tue, 4 May 2010 17:17:54 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o44HHrwV042608; Tue, 4 May 2010 13:17:53 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o44HHrIF042607; Tue, 4 May 2010 17:17:53 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 May 2010 17:17:53 GMT Message-Id: <201005041717.o44HHrIF042607@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 17:17:55 -0000 TB --- 2010-05-04 16:50:45 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-05-04 16:50:45 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2010-05-04 16:50:45 - cleaning the object tree TB --- 2010-05-04 16:50:49 - cvsupping the source tree TB --- 2010-05-04 16:50:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2010-05-04 16:51:15 - building world TB --- 2010-05-04 16:51:15 - MAKEOBJDIRPREFIX=/obj TB --- 2010-05-04 16:51:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-05-04 16:51:15 - TARGET=sun4v TB --- 2010-05-04 16:51:15 - TARGET_ARCH=sparc64 TB --- 2010-05-04 16:51:15 - TZ=UTC TB --- 2010-05-04 16:51:15 - __MAKE_CONF=/dev/null TB --- 2010-05-04 16:51:15 - cd /src TB --- 2010-05-04 16:51:15 - /usr/bin/make -B buildworld >>> World build started on Tue May 4 16:51:15 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] mkdep -f .depend -a -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE -I/src/usr.bin/telnet/../../contrib/telnet -I/src/usr.bin/telnet/../../contrib/telnet/libtelnet/ -DINET6 -DIPSEC -DENCRYPTION -DAUTHENTICATION -DIPSEC -DKRB5 -DFORWARD -Dnet_write=telnet_net_write /src/usr.bin/telnet/../../contrib/telnet/telnet/commands.c /src/usr.bin/telnet/../../contrib/telnet/telnet/main.c /src/usr.bin/telnet/../../contrib/telnet/telnet/network.c /src/usr.bin/telnet/../../contrib/telnet/telnet/ring.c /src/usr.bin/telnet/../../contrib/telnet/telnet/sys_bsd.c /src/usr.bin/telnet/../../contrib/telnet/telnet/telnet.c /src/usr.bin/telnet/../../contrib/telnet/telnet/terminal.c /src/usr.bin/telnet/../../contrib/telnet/telnet/utilities.c /src/usr.bin/telnet/../../contrib/telnet/telnet/authenc.c echo telnet: /obj/sun4v/src/tmp/usr/lib/libc.a /obj/sun4v/src/tmp/usr/lib/libtermcap.a /obj/sun4v/src/usr.bin/telnet/../../lib/libtelnet/libtelnet.a /obj/sun4v/src/tmp/usr/lib/libipsec.a /obj/sun4v/src/tmp/usr/lib/libmp.a /obj/sun4v/src/tmp/usr/lib/libcrypto.a /obj/sun4v/src/tmp/usr/lib/libcrypt.a /obj/sun4v/src/tmp/usr/lib/libipsec.a /obj/sun4v/src/tmp/usr/lib/libpam.a /obj/sun4v/src/tmp/usr/lib/libkrb5.a /obj/sun4v/src/tmp/usr/lib/libhx509.a /obj/sun4v/src/tmp/usr/lib/libasn1.a /obj/sun4v/src/tmp/usr/lib/libcom_err.a /obj/sun4v/src/tmp/usr/lib/libroken.a >> .depend ===> usr.bin/tftp (depend) rm -f .depend mkdep -f .depend -a -I/src/usr.bin/tftp/../../libexec/tftpd -I/src/usr.bin/tftp/../../usr.bin/tftp /src/usr.bin/tftp/main.c /src/usr.bin/tftp/tftp.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-utils.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-io.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-file.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-transfer.c /src/usr.bin/tftp/../../libexec/tftpd/tftp-options.c /src/usr.bin/tftp/main.c:80:18: error: tftp.h: No such file or directory /src/usr.bin/tftp/tftp.c:62:18: error: tftp.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/usr.bin/tftp. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-05-04 17:17:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-05-04 17:17:53 - ERROR: failed to build world TB --- 2010-05-04 17:17:53 - 1278.13 user 295.70 system 1628.63 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Wed May 5 18:00:13 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66449106566C for ; Wed, 5 May 2010 18:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA7E8FC0A for ; Wed, 5 May 2010 18:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o45I0DUT096375 for ; Wed, 5 May 2010 18:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o45I0DKo096374; Wed, 5 May 2010 18:00:13 GMT (envelope-from gnats) Date: Wed, 5 May 2010 18:00:13 GMT Message-Id: <201005051800.o45I0DKo096374@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Rob Farmer Cc: Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rob Farmer List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 18:00:13 -0000 The following reply was made to PR sparc64/144867; it has been noted by GNATS. From: Rob Farmer To: Marius Strobl Cc: bug-followup@freebsd.org Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R Date: Wed, 5 May 2010 10:54:49 -0700 On Sat, Apr 17, 2010 at 1:05 PM, Marius Strobl wrote: > > Could both of you please refetch the following patch and give it try? > http://people.freebsd.org/~marius/cas_mmf.diff > The MD5 hash of the new version is 0d668f21e2b3bb3c9641950bd0153e3d. > > Marius > > Is the patch you sent me the same as what was committed? I just tried to upgrade the system today and am getting a panic again: jumping to kernel entry at 0xc0088000. GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #0: Wed May 5 08:47:13 PDT 2010 root@:/usr/obj/usr/src/sys/GENERIC sparc64 WARNING: WITNESS option enabled, expect reduced performance. real memory = 8589934592 (8192 MB) avail memory = 8381554688 (7993 MB) cpu0: Sun Microsystems UltraSparc-III+ Processor (1200.00 MHz CPU) cpu1: Sun Microsystems UltraSparc-III+ Processor (1200.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs kbd0 at kbdmux0 nexus0: nexus0: mem 0x40000400000-0x40000400047 type memory-controller (no driver attached) nexus0: mem 0x40000c00000-0x40000c00047 type memory-controller (no driver attached) pcib0: mem 0x40004700000-0x40004717fff,0x40004410000-0x4000441004f,0x7ffee000000-0x7ffee0000ff irq 563,560,561,564,550 on nexus0 pcib0: Schizo, version 7, IGN 0x8, bus B, 33MHz pcib0: DVMA map: 0xc0000000 to 0xffffffff 131072 entries, streaming buffer pcib0: [FILTER] pcib0: [FILTER] pcib0: [FILTER] pcib0: [FILTER] pcib0: [FILTER] pci0: on pcib0 ebus0: mem 0x7d000000-0x7dffffff,0x7e000000-0x7e7fffff at device 5.0 on pci0 ebus0: addr 0-0x1fffff (no driver attached) ebus0: addr 0x10000002e-0x10000002f,0x10000002d irq 35 (no driver attached) ebus0: addr 0x100000000-0x1000fffff (no driver attached) ebus0: addr 0x10030002e-0x10030002f,0x100300600-0x100300607 (no driver attached) ebus0: addr 0x100000030-0x100000031 irq 35 (no driver attached) ebus0: addr 0x100000032-0x100000037 (no driver attached) rtc0: addr 0x100300070-0x100300071 irq 36 on ebus0 ebus0: addr 0x100300600-0x100300607 (no driver attached) ebus0: addr 0x100300700-0x100300701 (no driver attached) ebus0: addr 0x100300278-0x100300287,0x10030002e-0x10030002f,0x100700000-0x10070000f irq 28 (no driver attached) uart0: <16550 or compatible> addr 0x1003062f8-0x1003062ff irq 46 on ebus0 uart0: [FILTER] uart1: <16550 or compatible> addr 0x1003083f8-0x1003083ff irq 45 on ebus0 uart1: [FILTER] scc0: addr 0x100400000-0x10040007f irq 34 on ebus0 scc0: [FILTER] uart2: on scc0 uart2: [FILTER] uart2: CTS oflow uart2: console (9600,n,8,1) uart3: on scc0 uart3: [FILTER] uart3: CTS oflow gem0: mem 0x100000-0x11ffff at device 5.1 on pci0 miibus0: on gem0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 2kB RX FIFO, 2kB TX FIFO gem0: Ethernet address: 00:03:ba:3a:0f:f2 gem0: [ITHREAD] ohci0: mem 0x1000000-0x1007fff at device 5.3 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 sym0: <875> port 0x300-0x3ff mem 0x124000-0x1240ff,0x126000-0x126fff at device 6.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: [ITHREAD] sym1: <875> port 0x400-0x4ff mem 0x128000-0x1280ff,0x12a000-0x12afff at device 6.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: [ITHREAD] cas0: mem 0x200000-0x3fffff at device 3.0 on pci0 miibus1: on cas0 gentbi0: PHY 0 on miibus1 gentbi0: 1000baseSX, 1000baseSX-FDX, auto cas0: 16kB RX FIFO, 9kB TX FIFO cas0: Ethernet address: 00:03:ba:3a:0f:f2 cas0: [FILTER] pcib1: mem 0x40004600000-0x40004617fff,0x40004410000-0x4000441004f,0x7ffec000000-0x7ffec0000ff irq 562,560,561,564 on nexus0 pcib1: Schizo, version 7, IGN 0x8, bus A, 66MHz Timecounter "pcib1" frequency 150000000 Hz quality 100 pcib1: DVMA map: 0xc0000000 to 0xffffffff 131072 entries, streaming buffer pcib1: [FILTER] pcib1: [FILTER] pci1: on pcib1 isp0: port 0x300-0x3ff mem 0x100000-0x100fff at device 4.0 on pci1 isp0: [ITHREAD] isp0: invalid NVRAM header isp0: invalid NVRAM header isp0: bad frame length (0) from NVRAM- using 1024 isp0: bad execution throttle of 0- using 16 cas1: mem 0x200000-0x3fffff at device 1.0 on pci1 miibus2: on cas1 gentbi1: PHY 0 on miibus2 gentbi1: 1000baseSX, 1000baseSX-FDX, auto cas1: 16kB RX FIFO, 9kB TX FIFO cas1: Ethernet address: 00:03:ba:3a:0f:f2 cas1: [FILTER] nexus0: type unknown (no driver attached) Timecounter "tick" frequency 1200000000 Hz quality 10 Timecounters tick every 1.000 msec panic: pcib1: PCI bus A error AFAR 0x1000c0 AFSR 0x320000000 PCI CSR 0x60002010f003f IOMMU 0x70003 STATUS 0x2a0 cpuid = 0 KDB: enter: panic [ thread pid 0 tid 100029 ] Stopped at kdb_enter+0x80: ta %xcc, 1 db> bt Tracing pid 0 tid 100029 td 0xfffff800030b2ec0 panic() at panic+0x198 schizo_pci_bus() at schizo_pci_bus+0x2c0 intr_event_handle() at intr_event_handle+0x4c intr_execute_handlers() at intr_execute_handlers+0x8 intr_fast() at intr_fast+0x68 -- interrupt level=0xd pil=0 %o7=0xc0702c64 -- spinlock_exit() at spinlock_exit+0x28 fork_exit() at fork_exit+0x58 fork_trampoline() at fork_trampoline+0x8 db> -- Rob Farmer From owner-freebsd-sparc64@FreeBSD.ORG Thu May 6 08:10:03 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B08DB106566B for ; Thu, 6 May 2010 08:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9FFD68FC17 for ; Thu, 6 May 2010 08:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o468A3i7056571 for ; Thu, 6 May 2010 08:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o468A3sZ056570; Thu, 6 May 2010 08:10:03 GMT (envelope-from gnats) Date: Thu, 6 May 2010 08:10:03 GMT Message-Id: <201005060810.o468A3sZ056570@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Marius Strobl Cc: Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marius Strobl List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 08:10:03 -0000 The following reply was made to PR sparc64/144867; it has been noted by GNATS. From: Marius Strobl To: Rob Farmer Cc: bug-followup@freebsd.org Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R Date: Thu, 6 May 2010 10:01:41 +0200 On Wed, May 05, 2010 at 10:54:49AM -0700, Rob Farmer wrote: > On Sat, Apr 17, 2010 at 1:05 PM, Marius Strobl > wrote: > > > > Could both of you please refetch the following patch and give it try? > > http://people.freebsd.org/~marius/cas_mmf.diff > > The MD5 hash of the new version is 0d668f21e2b3bb3c9641950bd0153e3d. > > > > Marius > > > > > > Is the patch you sent me the same as what was committed? Except for a change in a comment it was. > I just tried > to upgrade the system today and am getting a panic again: This likely is a variation of the problem that when booting from disk the firmware leaves us with a PCI bus error that may be cleared from the status registers but nevertheless triggers an error interrupt, which you already hit earlier. I've to think some more about this. Marius From owner-freebsd-sparc64@FreeBSD.ORG Sat May 8 04:50:02 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 045971065672 for ; Sat, 8 May 2010 04:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D71AF8FC15 for ; Sat, 8 May 2010 04:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o484o1pS077501 for ; Sat, 8 May 2010 04:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o484o11t077500; Sat, 8 May 2010 04:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 8 May 2010 04:50:01 GMT Resent-Message-Id: <201005080450.o484o11t077500@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-sparc64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A35521065670 for ; Sat, 8 May 2010 04:43:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 933BA8FC16 for ; Sat, 8 May 2010 04:43:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o484hPSH053367 for ; Sat, 8 May 2010 04:43:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o484hP2x053366; Sat, 8 May 2010 04:43:25 GMT (envelope-from nobody) Message-Id: <201005080443.o484hP2x053366@www.freebsd.org> Date: Sat, 8 May 2010 04:43:25 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 04:50:02 -0000 >Number: 146387 >Category: sparc64 >Synopsis: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 08 04:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 8.0-STABLE >Organization: n/a >Environment: FreeBSD sunblade100.xxx.xxx 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 22:40:34 UTC 2009 root@araz.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 >Description: On sparc64: > file `which file` /usr/bin/file: ERROR: ELF 64-bit MSB executable, SPARC V9, relaxed memory ordering, version 1 (FreeBSD), statically linkederror reading (File too large) But when I try 'file' from i386 it correctly recognizes sparc64 executables. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-sparc64@FreeBSD.ORG Sat May 8 22:20:04 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 038D4106566B for ; Sat, 8 May 2010 22:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E77AA8FC08 for ; Sat, 8 May 2010 22:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o48MK3j6010773 for ; Sat, 8 May 2010 22:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o48MK3eP010771; Sat, 8 May 2010 22:20:03 GMT (envelope-from gnats) Date: Sat, 8 May 2010 22:20:03 GMT Message-Id: <201005082220.o48MK3eP010771@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Nathan Whitehorn Cc: Subject: Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nathan Whitehorn List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 22:20:04 -0000 The following reply was made to PR sparc64/146387; it has been noted by GNATS. From: Nathan Whitehorn To: Yuri Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables Date: Sat, 08 May 2010 18:19:49 -0400 Yuri wrote: > Description: > > On sparc64: > >> file `which file` >> > /usr/bin/file: ERROR: ELF 64-bit MSB executable, SPARC V9, relaxed memory ordering, version 1 (FreeBSD), statically linkederror reading (File too large) > > But when I try 'file' from i386 it correctly recognizes sparc64 executables. > This same thing happens on 64-bit PowerPC, and on all big-endian systems (32 or 64 bit) when running file on 64-bit big-endian ELF files. It looks like an endian bug in libmagic. -Nathan