From owner-freebsd-sparc64@FreeBSD.ORG Sun Jul 31 23:52:10 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE07616A41F; Sun, 31 Jul 2005 23:52:10 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77BEB43D48; Sun, 31 Jul 2005 23:52:10 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by patsy.ijs.si (Postfix) with ESMTP id 485A417BA85; Mon, 1 Aug 2005 01:52:09 +0200 (CEST) Received: from patsy.ijs.si ([127.0.0.1]) by localhost (patsy.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06548-01-10; Mon, 1 Aug 2005 01:52:01 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) by patsy.ijs.si (Postfix) with ESMTP id 47A4F17B9BF; Mon, 1 Aug 2005 01:52:01 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (Postfix) with ESMTP id 0DF901702B; Mon, 1 Aug 2005 01:52:01 +0200 (CEST) From: Dejan Lesjak To: Matthias Muthmann Date: Mon, 1 Aug 2005 01:52:00 +0200 User-Agent: KMail/1.8.1 References: <200506201856.19739.dejan.lesjak@ijs.si> <1121275965.32505.6.camel@localhost> <200507152346.27359.dejan.lesjak@ijs.si> In-Reply-To: <200507250807.j6P87KF1091067@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508010152.00699.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si Cc: x11@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: sparc64 X and kbd keyboard driver 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: Sun, 31 Jul 2005 23:52:11 -0000 On Friday 15 of July 2005 23:46, Dejan Lesjak wrote: > Since xorg-server port works on sparc64 as it is now, I'd try to avoid > bumping revision for this change only for now and if possible bundle it > with possible other fixes should any be needed before ports are frozen for > FreeBSD 6.0 release. If no other fixes are needed I'd commit this and bump > revision just before the freeze so there are updated packages for release. > How does this sound? After a bit more thinking, since both versions work there doesn't seem to be a need to bump revision so it's not bumped. Regardless, 6.0 release packages should contain this fix as they are built from scratch, rather than incrementally, but I digress :) Thanks again for pointing out the patch in Xorg CVS and testing the fix! Dejan From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 1 11:02:14 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDF2D16A424 for ; Mon, 1 Aug 2005 11:02:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DB3B43D58 for ; Mon, 1 Aug 2005 11:02:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j71B2EOs017329 for ; Mon, 1 Aug 2005 11:02:14 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j71B2C11017323 for freebsd-sparc64@freebsd.org; Mon, 1 Aug 2005 11:02:12 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 1 Aug 2005 11:02:12 GMT Message-Id: <200508011102.j71B2C11017323@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 01 Aug 2005 11:02:15 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/06/15] sparc64/82262sparc64 [kbd] Critical Sparc64 Bug Init Binkley K 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/09/14] sparc64/71729sparc64 printf in kernel thread causes panic on S o [2004/10/21] sparc64/72962sparc64 [sysinstall] Sysinstall panics on sparc64 o [2004/11/02] sparc64/73413sparc64 [patch] pthread(libkse) library is broken o [2005/02/12] sparc64/77417sparc64 [panic] with high usage of cpu when lan u o [2005/04/27] sparc64/80410sparc64 netgraph is causing crash with mpd on spa o [2005/05/11] sparc64/80890sparc64 panic: kmem_malloc(73728): kmem_map too s o [2005/06/15] sparc64/82261sparc64 DMA-support on Sparc64 broken o [2005/06/23] sparc64/82569sparc64 USB mass storage plug/unplug causes syste 8 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/10/22] sparc64/72998sparc64 [patch] set_mcontext() change syscalls pa o [2005/06/26] sparc64/82681sparc64 dc state messages 2 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 1 20:28:14 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69A9B16A41F; Mon, 1 Aug 2005 20:28:14 +0000 (GMT) (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 F19CA43D48; Mon, 1 Aug 2005 20:28:13 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j71KRS07056649; Mon, 1 Aug 2005 16:27:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.3/8.13.3) with ESMTP id j71KSDM0095593; Mon, 1 Aug 2005 16:28:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 016127304D; Mon, 1 Aug 2005 16:28:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050801202812.016127304D@freebsd-current.sentex.ca> Date: Mon, 1 Aug 2005 16:28:12 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.86, clamav-milter version 0.86 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 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: Mon, 01 Aug 2005 20:28:14 -0000 TB --- 2005-08-01 19:57:47 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-08-01 19:57:47 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-08-01 19:57:47 - cleaning the object tree TB --- 2005-08-01 19:58:06 - checking out the source tree TB --- 2005-08-01 19:58:06 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-08-01 19:58:06 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-08-01 20:03:56 - building world (CFLAGS=-O2 -pipe) TB --- 2005-08-01 20:03:56 - cd /src TB --- 2005-08-01 20:03:56 - /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 [...] /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here *** Error code 1 Stop in /src/lib/libmemstat. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-08-01 20:28:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-08-01 20:28:12 - ERROR: failed to build world TB --- 2005-08-01 20:28:12 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 2 12:18:52 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 954BD16A41F; Tue, 2 Aug 2005 12:18:52 +0000 (GMT) (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 0FE7B43D45; Tue, 2 Aug 2005 12:18:51 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j72CI5wj086846; Tue, 2 Aug 2005 08:18:05 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.3/8.13.3) with ESMTP id j72CIoJI014151; Tue, 2 Aug 2005 08:18:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id A51AA7304D; Tue, 2 Aug 2005 08:18:50 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050802121850.A51AA7304D@freebsd-current.sentex.ca> Date: Tue, 2 Aug 2005 08:18:50 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 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, 02 Aug 2005 12:18:52 -0000 TB --- 2005-08-02 11:48:27 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-08-02 11:48:27 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-08-02 11:48:27 - cleaning the object tree TB --- 2005-08-02 11:48:34 - checking out the source tree TB --- 2005-08-02 11:48:34 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-08-02 11:48:34 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-08-02 11:54:24 - building world (CFLAGS=-O2 -pipe) TB --- 2005-08-02 11:54:24 - cd /src TB --- 2005-08-02 11:54:24 - /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 [...] /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here *** Error code 1 Stop in /src/lib/libmemstat. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-08-02 12:18:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-08-02 12:18:50 - ERROR: failed to build world TB --- 2005-08-02 12:18:50 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 2 14:43:37 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D39A16A41F for ; Tue, 2 Aug 2005 14:43:37 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dot.ece.ufl.edu [128.227.220.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 6097143D45 for ; Tue, 2 Aug 2005 14:43:36 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 14418 invoked by uid 0); 2 Aug 2005 14:43:35 -0000 Received: from kawaja@ece.ufl.edu by mail.ece.ufl.edu by uid 0 with qmail-scanner-1.14 (uvscan: v4.3.20/vJul 20 02:22. Clear:. Processed in 3.054029 secs); 02 Aug 2005 14:43:35 -0000 Received: from felix.ece.ufl.edu (128.227.180.132) by dot.ece.ufl.edu with SMTP; 2 Aug 2005 14:43:32 -0000 Date: Tue, 2 Aug 2005 10:33:32 -0400 (EDT) From: jason kawaja To: freebsd-sparc64@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Qmail-Scanner: uvscan: v4.3.20/vJul 20 02:22. Subject: vinum unable to write config on 5.4 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, 02 Aug 2005 14:43:37 -0000 e450, dual cpu, sparc. freebsd 5.3-release works no problems, 5.4-release and higher (updates) seem to not write vinum config to the disk. after creating a vinum config, the device is able to be mounted fine (config loaded) but after a reboot the config is no longer there and must be manually recreated to access the vinum partition. upon attempting to "resetconfig" on 5.4 the follow message is displayed : vinum -> resetconfig WARNING! This command will completely wipe out your vinum configuration. All data will be lost. If you really want to do this, enter the text NO FUTURE Enter text -> NO FUTURE Can't find vinum config: Inappropriate ioctl for device if i create a vinum partition on a 5.3-release then the 5.4-release can read it fine, but is unable to make changes to the vinum config. ideas on changes between the two (5.3 - 5.4) that may have induced this behavior? -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 3 03:33:28 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 366D616A41F; Wed, 3 Aug 2005 03:33:28 +0000 (GMT) (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 BEE2043D45; Wed, 3 Aug 2005 03:33:27 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j733Wdmp040214; Tue, 2 Aug 2005 23:32:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.3/8.13.3) with ESMTP id j733XQWS065278; Tue, 2 Aug 2005 23:33:26 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 6F2917304D; Tue, 2 Aug 2005 23:33:26 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050803033326.6F2917304D@freebsd-current.sentex.ca> Date: Tue, 2 Aug 2005 23:33:26 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.86, clamav-milter version 0.86 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 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: Wed, 03 Aug 2005 03:33:28 -0000 TB --- 2005-08-03 03:03:12 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-08-03 03:03:12 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-08-03 03:03:12 - cleaning the object tree TB --- 2005-08-03 03:03:20 - checking out the source tree TB --- 2005-08-03 03:03:20 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-08-03 03:03:20 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-08-03 03:09:13 - building world (CFLAGS=-O2 -pipe) TB --- 2005-08-03 03:09:13 - cd /src TB --- 2005-08-03 03:09:13 - /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 [...] /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here *** Error code 1 Stop in /src/lib/libmemstat. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-08-03 03:33:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-08-03 03:33:26 - ERROR: failed to build world TB --- 2005-08-03 03:33:26 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 3 05:33:58 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73F0316A41F for ; Wed, 3 Aug 2005 05:33:58 +0000 (GMT) (envelope-from bel@orel.ru) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC85843D48 for ; Wed, 3 Aug 2005 05:33:57 +0000 (GMT) (envelope-from bel@orel.ru) Received: from [192.168.99.99] (pf1.net.orel.ru [213.59.64.75]) by tts.orel.ru (8.13.1/8.13.1/bel) with ESMTP id j735XqIi018431; Wed, 3 Aug 2005 09:33:52 +0400 Message-ID: <42F05738.1020505@orel.ru> Date: Wed, 03 Aug 2005 09:33:44 +0400 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050419) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jason kawaja References: In-Reply-To: X-Enigmail-Version: 0.91.0.0 OpenPGP: url=http://keyserver.veridis.com:11371/export?id=-4584918800852016142 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Zombi-Check: on netra2.orel.ru Cc: freebsd-sparc64@freebsd.org Subject: Re: vinum unable to write config on 5.4 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: Wed, 03 Aug 2005 05:33:58 -0000 Hi, Jason! jason kawaja wrote: > e450, dual cpu, sparc. > > freebsd 5.3-release works no problems, 5.4-release and higher (updates) > seem to not write vinum config to the disk. after creating a vinum > config, the device is able to be mounted fine (config loaded) but after > a reboot the config is no longer there and must be manually recreated to > access the vinum partition. > > upon attempting to "resetconfig" on 5.4 the follow message is displayed : > > vinum -> resetconfig > WARNING! This command will completely wipe out your vinum configuration. > All data will be lost. If you really want to do this, enter the text > > NO FUTURE > Enter text -> NO FUTURE > Can't find vinum config: Inappropriate ioctl for device > > if i create a vinum partition on a 5.3-release then the 5.4-release can > read it fine, but is unable to make changes to the vinum config. > > ideas on changes between the two (5.3 - 5.4) that may have induced this > behavior? Can be it will help: http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035547.html -- Best Regards, Andrew Belashov. From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 3 18:25:15 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8CA316A41F for ; Wed, 3 Aug 2005 18:25:15 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE5543D45 for ; Wed, 3 Aug 2005 18:25:15 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from localhost (ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id j73IPDsh071232 for ; Wed, 3 Aug 2005 11:25:13 -0700 (PDT) (envelope-from john@jnielsen.net) From: John Nielsen To: freebsd-sparc64@freebsd.org Date: Wed, 3 Aug 2005 14:24:47 -0400 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508031424.48114.john@jnielsen.net> X-Virus-Scanned: ClamAV 0.85.1/1002/Wed Aug 3 03:29:36 2005 on ns1.jnielsen.net X-Virus-Status: Clean Subject: disks not configured from sysinstall 6.0-BETA1 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: Wed, 03 Aug 2005 18:25:16 -0000 I'm new to the list (and to sparc64 in general), but I wanted to congratulate you all on getting FreeBSD on sparc64 to Tier 1 quality in such a short amount of time, and on the progress that continues to be made. I recently inherited an Ultra 5 box at work and (naturally) am installing FreeBSD on it. Not having a serial console handy, I was pleased to see that the 6.0-BETA1 CD boots with a usable console. I went through the setup process as usual, configuring my disks as follows: ad0b 768M swap ad0a ~8G / +S ad1 ~40G /squid After selecting my distributions and media (CDROM), I got the "Last chance!" warning. Instead of starting the install at that point, it failed with consecutive errors about not finding / or swap. Nothing was printed to the debug console, but the disks were simply not touched. After running sunlabel and newfs manually from the fixit shell, the installation went smoothly. Any ideas? I didn't see any PR's that looked relevant, so I was wondering if I should submit one. Am I omitting any relevant details? Thanks, JN From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 3 19:04:16 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0849716A41F for ; Wed, 3 Aug 2005 19:04:16 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dot.ece.ufl.edu [128.227.220.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 5906943D48 for ; Wed, 3 Aug 2005 19:04:15 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 68739 invoked by uid 0); 3 Aug 2005 19:04:14 -0000 Received: from kawaja@ece.ufl.edu by mail.ece.ufl.edu by uid 0 with qmail-scanner-1.14 (uvscan: v4.3.20/vAug 3 11:15. Clear:. Processed in 1.590744 secs); 03 Aug 2005 19:04:13 -0000 Received: from felix.ece.ufl.edu (128.227.180.132) by dot.ece.ufl.edu with SMTP; 3 Aug 2005 19:04:12 -0000 Date: Wed, 3 Aug 2005 19:03:48 +0000 (UTC) From: jason kawaja To: freebsd-sparc64@freebsd.org In-Reply-To: <42F05738.1020505@orel.ru> Message-ID: References: <42F05738.1020505@orel.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Qmail-Scanner: uvscan: v4.3.20/vAug 3 11:15. Subject: Re: vinum unable to write config on 5.4 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: Wed, 03 Aug 2005 19:04:16 -0000 On Wed, 3 Aug 2005, Andrew Belashov wrote: > jason kawaja wrote: [snip] >> vinum -> resetconfig >> WARNING! This command will completely wipe out your vinum configuration. >> All data will be lost. If you really want to do this, enter the text >> >> NO FUTURE >> Enter text -> NO FUTURE >> Can't find vinum config: Inappropriate ioctl for device >> >> if i create a vinum partition on a 5.3-release then the 5.4-release can >> read it fine, but is unable to make changes to the vinum config. >> >> ideas on changes between the two (5.3 - 5.4) that may have induced this >> behavior? > > Can be it will help: > > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035547.html that put me on the right path, thanks. im gonna conclude that in 5.4 the original vinum on sparc64 is unable to write configuration information to disk, that appears to be the only problem (in my case). shown below are the steps i took to remove a vinum configuration and then create it (both steps on 5.4-RELEASE-p6) once the vinum.ko was unloaded and geom_vinum.ko loaded : resetconfig steps ----------------- gvinum rm stripe.p0.s0 gvinum rm stripe.p0.s1 gvinum rm d1 gvinum rm d2 gvinum rm stripe.p0 (error displayed on above command, ignored) gvinum rm stripe (error displayed on above command, ignored) gvinum saveconfig reboot (maybe just reload module, but i rebooted) create steps ------------ gvinum create gvinum.cfg # drive d1 device /dev/da1d # drive d2 device /dev/da2d # volume stripe # plex org striped 4096k # (ive done my own testing, dont talk to me about 4096k) # sd drive d1 # sd drive d2 # (normally use "size 0" for subdisks but gvinum didnt like that) gvinum saveconfig newfs -U /dev/gvinum/stripe fsck -t ufs /dev/gvinum/stripe (above is a preference, i like to fsck new partitions) other changes ------------- - inside /boot/loader.conf add following line geom_vinum_load="YES" - may not be needed: inside /etc/rc.d/vinum alter the following variable start_cmd="gvinum start" - add entry in /etc/fstab /var/log/vinum_history is no longer updated, guess that's a gvinum issue and not sparc64 specific though. next round of testing is to create a mirror, break it abnormally and attempt to attach a new device to establish the mirror again. -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 3 19:42:51 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A974B16A41F; Wed, 3 Aug 2005 19:42:51 +0000 (GMT) (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 021E643D48; Wed, 3 Aug 2005 19:42:50 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j73Jg15q096434; Wed, 3 Aug 2005 15:42:01 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.3/8.13.3) with ESMTP id j73Jgn8T012742; Wed, 3 Aug 2005 15:42:49 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id CA13A7304D; Wed, 3 Aug 2005 15:42:48 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050803194248.CA13A7304D@freebsd-current.sentex.ca> Date: Wed, 3 Aug 2005 15:42:48 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 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: Wed, 03 Aug 2005 19:42:51 -0000 TB --- 2005-08-03 19:12:22 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-08-03 19:12:22 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-08-03 19:12:22 - cleaning the object tree TB --- 2005-08-03 19:12:28 - checking out the source tree TB --- 2005-08-03 19:12:28 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-08-03 19:12:28 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-08-03 19:18:30 - building world (CFLAGS=-O2 -pipe) TB --- 2005-08-03 19:18:30 - cd /src TB --- 2005-08-03 19:18:30 - /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 [...] /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:104: error: conflicting types for 'realloc' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:189: error: previous declaration of 'realloc' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here /obj/sparc64/src/tmp/usr/include/stdlib.h:265: error: conflicting types for 'reallocf' /obj/sparc64/src/tmp/usr/include/sys/malloc.h:191: error: previous declaration of 'reallocf' was here *** Error code 1 Stop in /src/lib/libmemstat. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-08-03 19:42:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-08-03 19:42:48 - ERROR: failed to build world TB --- 2005-08-03 19:42:48 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 4 09:46:10 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B44B16A41F for ; Thu, 4 Aug 2005 09:46:10 +0000 (GMT) (envelope-from arvan80@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C9CA43D46 for ; Thu, 4 Aug 2005 09:46:09 +0000 (GMT) (envelope-from arvan80@gmail.com) Received: by wproxy.gmail.com with SMTP id i13so343559wra for ; Thu, 04 Aug 2005 02:46:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JVT4IMjlOMRISNQY9GTyfJVKQ60QA/zbwfnX6aDeKcWSeXckuai+x+Z3Jn6VD2l+fa0qQUp9UmDPITO3N7TqNl1hFDU+mU/KSu668LoSVJySEyWB9FjfbD1g+yVeFKdd3smEyFX47wzRER4+MbPVA0OKex01w9Ng0uI0Ov+CGdU= Received: by 10.54.54.39 with SMTP id c39mr1427146wra; Thu, 04 Aug 2005 02:46:09 -0700 (PDT) Received: by 10.54.11.23 with HTTP; Thu, 4 Aug 2005 02:46:09 -0700 (PDT) Message-ID: Date: Thu, 4 Aug 2005 17:46:09 +0800 From: =?GB2312?B?sKLOxA==?= To: freebsd-sparc64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Sun Blade 100 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?GB2312?B?sKLOxA==?= List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 09:46:10 -0000 hello.my workstation is Sun Blade 100.and i burned FreeBSD 5.3 Sparc64. when i boot from cdrom,i got some information ,and then system is waitting,it seems that doing nothing.what can i do? the information is below: nothing to audoload yet jumping to kernel entry at 0xc0040000 does anyone can give me some advise?????thanks a lot. --=20 Best Wishes, Yours Arvan From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 4 12:45:45 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 162F816A41F for ; Thu, 4 Aug 2005 12:45:45 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE9343D46 for ; Thu, 4 Aug 2005 12:45:44 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from localhost (ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id j74Cjhsh080014; Thu, 4 Aug 2005 05:45:44 -0700 (PDT) (envelope-from john@jnielsen.net) From: John Nielsen To: freebsd-sparc64@freebsd.org, =?utf-8?q?=E9=98=BF=E6=96=87?= Date: Thu, 4 Aug 2005 08:45:35 -0400 User-Agent: KMail/1.8.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200508040845.35665.john@jnielsen.net> X-Virus-Scanned: ClamAV 0.85.1/1002/Wed Aug 3 03:29:36 2005 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: Re: Sun Blade 100 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: Thu, 04 Aug 2005 12:45:45 -0000 On Thursday 04 August 2005 05:46, =E9=98=BF=E6=96=87 wrote: > hello.my workstation is Sun Blade 100.and i burned FreeBSD 5.3 Sparc64. > when i boot from cdrom,i got some information ,and then system is > waitting,it seems that doing nothing.what can i do? > the information is below: > nothing to audoload yet > jumping to kernel entry at 0xc0040000 > > does anyone can give me some advise?????thanks a lot. Boot with a serial console or use a 6.0-BETA CD. JN From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 4 16:54:36 2005 Return-Path: X-Original-To: sparc64@FreeBSD.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE87F16A420 for ; Thu, 4 Aug 2005 16:54:36 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18AAB43D48 for ; Thu, 4 Aug 2005 16:54:36 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 04 Aug 2005 13:09:15 -0400 From: John Baldwin To: sparc64@FreeBSD.org Date: Thu, 4 Aug 2005 12:53:17 -0400 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508041253.18343.jhb@FreeBSD.org> Cc: Subject: Patch to fix locking nits in hme 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: Thu, 04 Aug 2005 16:54:37 -0000 I have a patch to fix several nits in the hme(4) driver's locking including: - Using the driver lock instead of Giant in a busdma callback. - Using callout_drain() in detach. - Locking access to the mii registers with the driver lock. - Clearing the RUNNING and OACTIVE flags in stop. - Re-enabling updating the media from hme_init_locked(). - Making the mutex non-recursive. - Fixing locking in ioctl. Patch is at http://www.freebsd.org/~jhb/patches/hme_locking.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 4 18:05:13 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EC9416A41F; Thu, 4 Aug 2005 18:05:13 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB67243D45; Thu, 4 Aug 2005 18:05:12 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id j74I5Awc067960; Thu, 4 Aug 2005 20:05:10 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id j74I55qE067959; Thu, 4 Aug 2005 20:05:05 +0200 (CEST) (envelope-from marius) Date: Thu, 4 Aug 2005 20:05:05 +0200 From: Marius Strobl To: John Baldwin Message-ID: <20050804200505.A67677@newtrinity.zeist.de> References: <200508041253.18343.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200508041253.18343.jhb@FreeBSD.org>; from jhb@freebsd.org on Thu, Aug 04, 2005 at 12:53:17PM -0400 X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-7; AVE: 6.31.1.0; VDF: 6.31.1.54; host: newtrinity.zeist.de) Cc: sparc64@freebsd.org Subject: Re: Patch to fix locking nits in hme 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: Thu, 04 Aug 2005 18:05:13 -0000 On Thu, Aug 04, 2005 at 12:53:17PM -0400, John Baldwin wrote: > I have a patch to fix several nits in the hme(4) driver's locking including: > > - Using the driver lock instead of Giant in a busdma callback. > - Using callout_drain() in detach. > - Locking access to the mii registers with the driver lock. > - Clearing the RUNNING and OACTIVE flags in stop. > - Re-enabling updating the media from hme_init_locked(). > - Making the mutex non-recursive. > - Fixing locking in ioctl. > > Patch is at http://www.freebsd.org/~jhb/patches/hme_locking.patch > @@ -871,11 +859,7 @@ #endif /* Set the current media. */ - /* - * HME_UNLOCK(sc); - * mii_mediachg(sc->sc_mii); - * HME_LOCK(sc); - */ + mii_mediachg(sc->sc_mii); Calling mii_mediachg() will trigger some unsolved problems with the MIF configuration (most likely) which used to cause dhclient(8) not working on Ultra 2 and result in no link at all on Netra T1. From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 4 18:16:57 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB74616A41F for ; Thu, 4 Aug 2005 18:16:57 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39DEA43D48 for ; Thu, 4 Aug 2005 18:16:57 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 04 Aug 2005 14:31:36 -0400 From: John Baldwin To: Marius Strobl Date: Thu, 4 Aug 2005 14:17:22 -0400 User-Agent: KMail/1.8 References: <200508041253.18343.jhb@FreeBSD.org> <20050804200505.A67677@newtrinity.zeist.de> In-Reply-To: <20050804200505.A67677@newtrinity.zeist.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508041417.23972.jhb@FreeBSD.org> Cc: sparc64@freebsd.org Subject: Re: Patch to fix locking nits in hme 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: Thu, 04 Aug 2005 18:16:58 -0000 On Thursday 04 August 2005 02:05 pm, Marius Strobl wrote: > On Thu, Aug 04, 2005 at 12:53:17PM -0400, John Baldwin wrote: > > I have a patch to fix several nits in the hme(4) driver's locking > > including: > > > > - Using the driver lock instead of Giant in a busdma callback. > > - Using callout_drain() in detach. > > - Locking access to the mii registers with the driver lock. > > - Clearing the RUNNING and OACTIVE flags in stop. > > - Re-enabling updating the media from hme_init_locked(). > > - Making the mutex non-recursive. > > - Fixing locking in ioctl. > > > > Patch is at http://www.freebsd.org/~jhb/patches/hme_locking.patch > > @@ -871,11 +859,7 @@ > #endif > > /* Set the current media. */ > - /* > - * HME_UNLOCK(sc); > - * mii_mediachg(sc->sc_mii); > - * HME_LOCK(sc); > - */ > + mii_mediachg(sc->sc_mii); > > Calling mii_mediachg() will trigger some unsolved problems with > the MIF configuration (most likely) which used to cause dhclient(8) > not working on Ultra 2 and result in no link at all on Netra T1. Ok. I had assumed it was commented out due to locking problems rather than that. I can comment it back out. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Sat Aug 6 15:17:55 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAE7016A41F; Sat, 6 Aug 2005 15:17:55 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF44343D99; Sat, 6 Aug 2005 15:17:54 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.3/8.13.3) with ESMTP id j76FHrEq049816; Sat, 6 Aug 2005 11:17:53 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.3/8.13.3) with ESMTP id j76FHrJF082360; Sat, 6 Aug 2005 11:17:53 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 7CDF07304D; Sat, 6 Aug 2005 11:17:53 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050806151753.7CDF07304D@freebsd-current.sentex.ca> Date: Sat, 6 Aug 2005 11:17:53 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.86, clamav-milter version 0.86 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 205.211.164.50 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: Sat, 06 Aug 2005 15:17:56 -0000 TB --- 2005-08-06 14:13:06 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-08-06 14:13:06 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-08-06 14:13:06 - cleaning the object tree TB --- 2005-08-06 14:13:26 - checking out the source tree TB --- 2005-08-06 14:13:26 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-08-06 14:13:26 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-08-06 14:19:34 - building world (CFLAGS=-O2 -pipe) TB --- 2005-08-06 14:19:34 - cd /src TB --- 2005-08-06 14:19:34 - /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 [...] cc -O2 -pipe -c /src/usr.bin/vis/foldit.c cc -O2 -pipe -o vis vis.o foldit.o gzip -cn /src/usr.bin/vis/vis.1 > vis.1.gz ===> usr.bin/vmstat (all) cc -O2 -pipe -c /src/usr.bin/vmstat/vmstat.c cc -O2 -pipe -o vmstat vmstat.o -ldevstat -lkvm -lmemstat vmstat.o(.text+0x2174): In function `main': : undefined reference to `memstat_kvm_malloc' *** Error code 1 Stop in /src/usr.bin/vmstat. *** 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 --- 2005-08-06 15:17:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-08-06 15:17:53 - ERROR: failed to build world TB --- 2005-08-06 15:17:53 - tinderbox aborted