From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 16:18:22 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A9771065694 for ; Sun, 6 Dec 2009 16:18:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E656A8FC19 for ; Sun, 6 Dec 2009 16:18:21 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHJoO-0001Dw-N0; Sun, 06 Dec 2009 16:18:20 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHJoN-0002j7-Ny; Sun, 06 Dec 2009 16:18:16 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6GIFYZ070160; Sun, 6 Dec 2009 16:18:15 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6GIFSj070159; Sun, 6 Dec 2009 16:18:15 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 16:18:15 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091206161815.GA70140@mech-cluster241.men.bris.ac.uk> References: <20091201154904.GA11679@mech-cluster241.men.bris.ac.uk> <20091201165752.GA12095@mech-cluster241.men.bris.ac.uk> <20091201215130.GA64974@alchemy.franken.de> <20091202124137.GA20168@mech-cluster241.men.bris.ac.uk> <20091202125915.GA20276@mech-cluster241.men.bris.ac.uk> <20091202192134.GA6562@alchemy.franken.de> <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> <20091203141711.GA43641@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091203141711.GA43641@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.1 X-Spam-Level: -- Cc: freebsd-sparc64@freebsd.org, Marius Strobl Subject: Solved: Re: trouble installing to sun blade 1500 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, 06 Dec 2009 16:18:22 -0000 On Thu, Dec 03, 2009 at 02:17:11PM +0000, Anton Shterenlikht wrote: > On Thu, Dec 03, 2009 at 01:16:09PM +0000, Anton Shterenlikht wrote: > > On Wed, Dec 02, 2009 at 08:21:34PM +0100, Marius Strobl wrote: > > > On Wed, Dec 02, 2009 at 12:59:15PM +0000, Anton Shterenlikht wrote: > > > > On Wed, Dec 02, 2009 at 12:41:37PM +0000, Anton Shterenlikht wrote: > > > > > On Tue, Dec 01, 2009 at 10:51:30PM +0100, Marius Strobl wrote: > > > > > > > > > > > > > > I get to OK prompt, type "boot cdrom", but the process > > > > > > > > > stops after a few seconds with: > > > > > > > > > > > > > > > > > > jumping to kernel entry at 0xc0088000. > > > > > > > > > > > > > > > > > > > > > You're using an unsupported framebuffer (see the release notes). > > > > > > > > > > yes, I missed that, thank you > > > > > > > > > > > This unfortunately isn't sufficient information and my Blade 1500 > > > > > > doesn't exhibit this problem. Could you please put the full dmesg > > > > > > output online somewhere (this should be easy to capture when > > > > > > using a serial console)? Can you boot to single user? after upgrading to the latest firmware, I can load 8.0 to silver and red 1500 blades: http://seis.bris.ac.uk/~mexas/freebsd/ Now my problem is graphics, or at least a text console. It looks like I've this graphics card (Sun data calles is graphics accelerator, but this the only graphics device in my 1500 blades, there is no other): Option Part description: X3780A 375-3153 XVR-600 Graphics Accelerator 3D LABS 54-001047-001 XVR-600 64MB PCI GRAPHICS CARD Anybody used this card with Sun? Is this card really not supported at all, even for text console? If I can get nowhere with this card, any advice for a card I could buy for Sun Blade 1500 (red or silver)? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 16:20:00 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EBE9106566B for ; Sun, 6 Dec 2009 16:20:00 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4D50A8FC23 for ; Sun, 6 Dec 2009 16:20:00 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHJq0-0000L2-Ow for freebsd-sparc64@freebsd.org; Sun, 06 Dec 2009 16:19:58 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHJpz-0006Bo-Sa for freebsd-sparc64@freebsd.org; Sun, 06 Dec 2009 16:19:56 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6GJt8Y070172 for ; Sun, 6 Dec 2009 16:19:55 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6GJtnU070171 for freebsd-sparc64@freebsd.org; Sun, 6 Dec 2009 16:19:55 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 16:19:55 +0000 From: Anton Shterenlikht To: freebsd-sparc64@freebsd.org Message-ID: <20091206161955.GB70140@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Subject: dmesg from 8.0 and 7.2 Sun Blade 1500, red and silver 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, 06 Dec 2009 16:20:00 -0000 http://seis.bris.ac.uk/~mexas/freebsd/ feel free to use these dmesg e.g for http://wiki.freebsd.org/FreeBSD/sparc64/dmesgs many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 19:29:58 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2005C106566B for ; Sun, 6 Dec 2009 19:29:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id D30508FC14 for ; Sun, 6 Dec 2009 19:29:57 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHMnq-0003MN-0x for freebsd-sparc64@freebsd.org; Sun, 06 Dec 2009 19:29:56 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHMnp-00070e-8b for freebsd-sparc64@freebsd.org; Sun, 06 Dec 2009 19:29:53 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6JTruF071023 for ; Sun, 6 Dec 2009 19:29:53 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6JTrsj071022 for freebsd-sparc64@freebsd.org; Sun, 6 Dec 2009 19:29:53 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 19:29:52 +0000 From: Anton Shterenlikht To: freebsd-sparc64@freebsd.org Message-ID: <20091206192952.GA71015@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: machfb(4) missing? 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, 06 Dec 2009 19:29:58 -0000 On http://www.freebsd.org/relnotes/CURRENT/hardware/proc.html#PROC-SPARC64 a mention is made of machfb(4) driver. However, the link is dead, and I cannot find any mention of this driver on my current machines. Can somebody please clarify? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 19:35:37 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BE9410656A6 for ; Sun, 6 Dec 2009 19:35:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 09D608FC2F for ; Sun, 6 Dec 2009 19:35:36 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHMtJ-0003S3-G4; Sun, 06 Dec 2009 19:35:36 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHMtI-0006yA-PI; Sun, 06 Dec 2009 19:35:33 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6JZWBE071058; Sun, 6 Dec 2009 19:35:32 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6JZWbl071057; Sun, 6 Dec 2009 19:35:32 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 19:35:32 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091206193532.GA71048@mech-cluster241.men.bris.ac.uk> References: <20091206192952.GA71015@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091206192952.GA71015@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.1 X-Spam-Level: -- Cc: freebsd-sparc64@freebsd.org Subject: Re: machfb(4) and creator(4) missing? 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, 06 Dec 2009 19:35:37 -0000 On Sun, Dec 06, 2009 at 07:29:52PM +0000, Anton Shterenlikht wrote: > On > > http://www.freebsd.org/relnotes/CURRENT/hardware/proc.html#PROC-SPARC64 > > a mention is made of machfb(4) driver. However, the link is dead, > and I cannot find any mention of this driver on my current > machines. > > Can somebody please clarify? creator(4) link also leads to: Sorry, no data found for `creator(4)'. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 19:58:26 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E85401065676 for ; Sun, 6 Dec 2009 19:58:26 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A70E68FC17 for ; Sun, 6 Dec 2009 19:58:26 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHNFO-0005Yy-Nl for freebsd-sparc64@freebsd.org; Sun, 06 Dec 2009 19:58:25 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHNFN-00078a-Sx for freebsd-sparc64@freebsd.org; Sun, 06 Dec 2009 19:58:22 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6JwLpZ071179 for ; Sun, 6 Dec 2009 19:58:21 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6JwLhm071178 for freebsd-sparc64@freebsd.org; Sun, 6 Dec 2009 19:58:21 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 19:58:21 +0000 From: Anton Shterenlikht To: freebsd-sparc64@freebsd.org Message-ID: <20091206195821.GA71155@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: xvr 600 graphical accelerator ? 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, 06 Dec 2009 19:58:27 -0000 Can I use XVR 600 graphical accelerator with fbsd? http://www.sun.com/desktop/products/graphics/xvr600/index.xml This is the card I was given with my blade 1500 box. The specs are very impressive, but is the card supported by fbsd at all? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 20:08:56 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA80106566B for ; Sun, 6 Dec 2009 20:08:56 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-vw0-f194.google.com (mail-vw0-f194.google.com [209.85.212.194]) by mx1.freebsd.org (Postfix) with ESMTP id DADDE8FC0A for ; Sun, 6 Dec 2009 20:08:55 +0000 (UTC) Received: by vws32 with SMTP id 32so762548vws.8 for ; Sun, 06 Dec 2009 12:08:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=pMb3qh/4kOslklORVUGWSUYh2pn41ycgGny/EaFz99E=; b=JmDHa5LdvAmTP9bE94vhnRhgCHQ+70Fg+7Q69pRwF+1VMWW+ZOfyZ1I3aSfd14Hhi0 W/a9Avj2oY+qVhDK7qNDDfBAzmyIuBgbRc8jJz7eNjOBLzwRrJHYYLyRBidEmGQIe0E0 CNepJw48yF73jKnCu29bdh4iguF0jW5f1//9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QETd+0gnCjPgJIDFL+gWf0wZmHSXL0y7CLflsUGmIefNlCAFU+h7BU6PMU03Ojn2uw SJExTxGgLAjcq6JEgrY7YoyoM11lMRJN40n05Pk9c/0vo0ZsFD7FlmsvTW+U9oVJwBXL KMbA4UHCTiLPSdagd+hohUJ9zecIlgFqhU9HQ= Received: by 10.220.126.155 with SMTP id c27mr7333494vcs.21.1260130134948; Sun, 06 Dec 2009 12:08:54 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm10954674vws.7.2009.12.06.12.08.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Dec 2009 12:08:54 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 6 Dec 2009 12:07:44 -0800 From: Pyun YongHyeon Date: Sun, 6 Dec 2009 12:07:44 -0800 To: Anton Shterenlikht Message-ID: <20091206200744.GA1205@michelle.cdnetworks.com> References: <20091206192952.GA71015@mech-cluster241.men.bris.ac.uk> <20091206193532.GA71048@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091206193532.GA71048@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: machfb(4) and creator(4) missing? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 20:08:56 -0000 On Sun, Dec 06, 2009 at 07:35:32PM +0000, Anton Shterenlikht wrote: > On Sun, Dec 06, 2009 at 07:29:52PM +0000, Anton Shterenlikht wrote: > > On > > > > http://www.freebsd.org/relnotes/CURRENT/hardware/proc.html#PROC-SPARC64 > > > > a mention is made of machfb(4) driver. However, the link is dead, > > and I cannot find any mention of this driver on my current > > machines. > > > > Can somebody please clarify? > > creator(4) link also leads to: > > Sorry, no data found for `creator(4)'. > The web interface seems to lack "Architecture" type. The machfb(4) and creator(4) are installed only on sparc64 so if you have sparc64 installed system just use man(1) instead of web interface. I don't know who is responsible to add the cgi interface for the man page but adding architecture to the interface wouldn't be hard. You can check other man pages in the following location if you have no clue what you have to read. /usr/src/share/man/man4/man4.sparc64 > > many thanks > anton From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 20:11:50 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECBDA106566B for ; Sun, 6 Dec 2009 20:11:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7738FC14 for ; Sun, 6 Dec 2009 20:11:50 +0000 (UTC) Received: by qyk6 with SMTP id 6so1704586qyk.3 for ; Sun, 06 Dec 2009 12:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=D6iZAZ6CmTwYvYqxGPpPWUDcbwAzWHRmjs/qQDHF/TE=; b=ZZ7tjDCszKLTnbGEhCSPADwEqQSOEWBo+naxqx3J22J4pw743AGG710ny2NRUgPjE3 P1+JB0bwhKn5owyLkzjApAUeJH/eZDJEKUnD646Z3HFcyklraD9oY4saseTKZ5GLC2hk Xp6ocQOLih/Ly51+nDCGGFWyIJQgya3GPE9JA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=AVE6IHZDlqjllbxZkzjZJfLz7oczdA/R48o4hjUaNy3iytqfR2L1fU2DmOIyFeezNB AQEVI7nqReSjh3DxA5bd+UgCt5wX6ALqbniXUyxLkf92eDYnXx058/8BuV8QTtp0AdKw wEGF0MN3a1AIucyV9kj8D47vDC4aa1CzE9BWs= Received: by 10.224.43.138 with SMTP id w10mr3070041qae.197.1260130309699; Sun, 06 Dec 2009 12:11:49 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm12532029qwd.26.2009.12.06.12.11.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Dec 2009 12:11:48 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 6 Dec 2009 12:10:35 -0800 From: Pyun YongHyeon Date: Sun, 6 Dec 2009 12:10:35 -0800 To: Anton Shterenlikht Message-ID: <20091206201035.GB1205@michelle.cdnetworks.com> References: <20091206195821.GA71155@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091206195821.GA71155@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: xvr 600 graphical accelerator ? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 20:11:51 -0000 On Sun, Dec 06, 2009 at 07:58:21PM +0000, Anton Shterenlikht wrote: > Can I use XVR 600 graphical accelerator with fbsd? > > http://www.sun.com/desktop/products/graphics/xvr600/index.xml > > This is the card I was given with my blade 1500 box. > The specs are very impressive, but is the card supported > by fbsd at all? > I'm afraid it wouldn't. You may have to use serial console until someone make driver for XVR600. Don't know Marius have a plan to write a driver. > many thanks > anton From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 20:19:45 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34E631065672 for ; Sun, 6 Dec 2009 20:19:45 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E57818FC19 for ; Sun, 6 Dec 2009 20:19:44 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHNa1-0005za-CJ; Sun, 06 Dec 2009 20:19:44 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHNa0-00008P-F1; Sun, 06 Dec 2009 20:19:41 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6KJeC2071326; Sun, 6 Dec 2009 20:19:40 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6KJeBr071325; Sun, 6 Dec 2009 20:19:40 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 20:19:40 +0000 From: Anton Shterenlikht To: Pyun YongHyeon Message-ID: <20091206201940.GA71316@mech-cluster241.men.bris.ac.uk> References: <20091206195821.GA71155@mech-cluster241.men.bris.ac.uk> <20091206201035.GB1205@michelle.cdnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091206201035.GB1205@michelle.cdnetworks.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Cc: freebsd-sparc64@freebsd.org Subject: Re: xvr 600 graphical accelerator ? 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, 06 Dec 2009 20:19:45 -0000 On Sun, Dec 06, 2009 at 12:10:35PM -0800, Pyun YongHyeon wrote: > On Sun, Dec 06, 2009 at 07:58:21PM +0000, Anton Shterenlikht wrote: > > Can I use XVR 600 graphical accelerator with fbsd? > > > > http://www.sun.com/desktop/products/graphics/xvr600/index.xml > > > > This is the card I was given with my blade 1500 box. > > The specs are very impressive, but is the card supported > > by fbsd at all? > > > > I'm afraid it wouldn't. You may have to use serial console until > someone make driver for XVR600. Don't know Marius have a plan to > write a driver. I see OpenBSD have drivers for this and other xvr cards: http://www.openbsd.org/45.html under what's new: # ifb(4), a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (accelerated). # wildcatfb(4), an X driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (unaccelerated). Is it feasible to port a driver from obsd to fbsd? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 6 20:25:09 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D7F3106579A for ; Sun, 6 Dec 2009 20:25:09 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id DCD168FC1E for ; Sun, 6 Dec 2009 20:25:08 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHNfF-00065f-IA; Sun, 06 Dec 2009 20:25:08 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHNfE-0000Dj-Lt; Sun, 06 Dec 2009 20:25:05 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB6KP4Qe071374; Sun, 6 Dec 2009 20:25:04 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB6KP4M9071373; Sun, 6 Dec 2009 20:25:04 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 6 Dec 2009 20:25:04 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091206202504.GA71361@mech-cluster241.men.bris.ac.uk> References: <20091206195821.GA71155@mech-cluster241.men.bris.ac.uk> <20091206201035.GB1205@michelle.cdnetworks.com> <20091206201940.GA71316@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091206201940.GA71316@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 X-Spam-Level: ----- Cc: freebsd-sparc64@freebsd.org Subject: Re: xvr 600 graphical accelerator ? 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, 06 Dec 2009 20:25:09 -0000 On Sun, Dec 06, 2009 at 08:19:40PM +0000, Anton Shterenlikht wrote: > On Sun, Dec 06, 2009 at 12:10:35PM -0800, Pyun YongHyeon wrote: > > On Sun, Dec 06, 2009 at 07:58:21PM +0000, Anton Shterenlikht wrote: > > > Can I use XVR 600 graphical accelerator with fbsd? > > > > > > http://www.sun.com/desktop/products/graphics/xvr600/index.xml > > > > > > This is the card I was given with my blade 1500 box. > > > The specs are very impressive, but is the card supported > > > by fbsd at all? > > > > > > > I'm afraid it wouldn't. You may have to use serial console until > > someone make driver for XVR600. Don't know Marius have a plan to > > write a driver. > > I see OpenBSD have drivers for this and other xvr cards: > > http://www.openbsd.org/45.html > > under what's new: > > # ifb(4), a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (accelerated). > # wildcatfb(4), an X driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (unaccelerated). > > Is it feasible to port a driver from obsd to fbsd? just noticed that the web man pages for these 2 drivers also seem to be missing: http://www.openbsd.org/cgi-bin/man.cgi?query=ifb&sektion=4&arch=sparc64 Sorry, no data found for `ifb(4)'. http://www.openbsd.org/cgi-bin/man.cgi?query=wildcatfb&sektion=4&arch=sparc64 Sorry, no data found for `wildcatfb(4)'. many thanks for your help and advice -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 10:05:43 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 516A8106566B; Mon, 7 Dec 2009 10:05:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 127EE8FC1A; Mon, 7 Dec 2009 10:05:42 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHaTK-0002FW-TD; Mon, 07 Dec 2009 10:05:42 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHaTK-0004ew-AT; Mon, 07 Dec 2009 10:05:38 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB7A5a8I033518; Mon, 7 Dec 2009 10:05:36 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB7A5as9033517; Mon, 7 Dec 2009 10:05:36 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 7 Dec 2009 10:05:36 +0000 From: Anton Shterenlikht To: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Message-ID: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Subject: current sparc buildkernel error 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, 07 Dec 2009 10:05:43 -0000 On FreeBSD 8.0-RELEASE sparc64 I've successfully build current world, but on buildkernel I get: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type *** Error code 1 Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 11:07:03 2009 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD5181065692 for ; Mon, 7 Dec 2009 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BBE138FC2B for ; Mon, 7 Dec 2009 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB7B733a068609 for ; Mon, 7 Dec 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB7B738r068607 for freebsd-sparc64@FreeBSD.org; Mon, 7 Dec 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Dec 2009 11:07:03 GMT Message-Id: <200912071107.nB7B738r068607@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, 07 Dec 2009 11:07:03 -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 -------------------------------------------------------------------------------- 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 o sparc/113556 sparc64 [panic] trap: memory address not aligned; Rebooting... 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/80410 sparc64 [netgraph] netgraph is causing crash with mpd on sparc o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 13 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 15:33:18 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B1B6106566C; Mon, 7 Dec 2009 15:33:18 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id F12458FC0C; Mon, 7 Dec 2009 15:33:17 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id nB7FWN33051223; Mon, 7 Dec 2009 16:32:23 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id nB7FWNQt051222; Mon, 7 Dec 2009 16:32:23 +0100 (CET) (envelope-from marius) Date: Mon, 7 Dec 2009 16:32:23 +0100 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20091207153223.GA51206@alchemy.franken.de> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 07 Dec 2009 15:33:18 -0000 On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: > On FreeBSD 8.0-RELEASE sparc64 > > I've successfully build current world, but on buildkernel I get: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > *** Error code 1 > This should be fixed in r200215. AFAICT it was only exposed by UP kernel builds. Marius From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 15:57:44 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7C3A1065670 for ; Mon, 7 Dec 2009 15:57:44 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5F98C8FC18 for ; Mon, 7 Dec 2009 15:57:44 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id nB7FvDtn051436; Mon, 7 Dec 2009 16:57:13 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id nB7FvDsO051435; Mon, 7 Dec 2009 16:57:13 +0100 (CET) (envelope-from marius) Date: Mon, 7 Dec 2009 16:57:13 +0100 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20091207155713.GF6562@alchemy.franken.de> References: <20091201154904.GA11679@mech-cluster241.men.bris.ac.uk> <20091201165752.GA12095@mech-cluster241.men.bris.ac.uk> <20091201215130.GA64974@alchemy.franken.de> <20091202124137.GA20168@mech-cluster241.men.bris.ac.uk> <20091202125915.GA20276@mech-cluster241.men.bris.ac.uk> <20091202192134.GA6562@alchemy.franken.de> <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> <20091203141711.GA43641@mech-cluster241.men.bris.ac.uk> <20091206161815.GA70140@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="GxcwvYAGnODwn7V8" Content-Disposition: inline In-Reply-To: <20091206161815.GA70140@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Solved: Re: trouble installing to sun blade 1500 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, 07 Dec 2009 15:57:45 -0000 --GxcwvYAGnODwn7V8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 06, 2009 at 04:18:15PM +0000, Anton Shterenlikht wrote: > On Thu, Dec 03, 2009 at 02:17:11PM +0000, Anton Shterenlikht wrote: > > On Thu, Dec 03, 2009 at 01:16:09PM +0000, Anton Shterenlikht wrote: > > > On Wed, Dec 02, 2009 at 08:21:34PM +0100, Marius Strobl wrote: > > > > On Wed, Dec 02, 2009 at 12:59:15PM +0000, Anton Shterenlikht wrote: > > > > > On Wed, Dec 02, 2009 at 12:41:37PM +0000, Anton Shterenlikht wrote: > > > > > > On Tue, Dec 01, 2009 at 10:51:30PM +0100, Marius Strobl wrote: > > > > > > > > > > > > > > > > I get to OK prompt, type "boot cdrom", but the process > > > > > > > > > > stops after a few seconds with: > > > > > > > > > > > > > > > > > > > > jumping to kernel entry at 0xc0088000. > > > > > > > > > > > > > > > > > > > > > > > > You're using an unsupported framebuffer (see the release notes). > > > > > > > > > > > > yes, I missed that, thank you > > > > > > > > > > > > > This unfortunately isn't sufficient information and my Blade 1500 > > > > > > > doesn't exhibit this problem. Could you please put the full dmesg > > > > > > > output online somewhere (this should be easy to capture when > > > > > > > using a serial console)? Can you boot to single user? > > after upgrading to the latest firmware, I can load 8.0 > to silver and red 1500 blades: > > http://seis.bris.ac.uk/~mexas/freebsd/ > > Now my problem is graphics, or at least a text console. > It looks like I've this graphics card (Sun data calles > is graphics accelerator, but this the only graphics > device in my 1500 blades, there is no other): > > Option Part description: > X3780A 375-3153 XVR-600 Graphics Accelerator > > 3D LABS 54-001047-001 XVR-600 64MB PCI GRAPHICS CARD > > Anybody used this card with Sun? > Is this card really not supported at all, even for > text console? What you can do with 7.2 (with 8.0 an later this currently requires the attached patch) in order to get a more or rather less working text console with any hardware is to build a kernel with ofw_console(4), but this requires all other console and related drivers to be removed, i.e. ddb(4), atkbdc(4) and its child drivers, kbdmux(4), sc(4), creator(4), machfb(4), splash(4), puc(4), scc(4), uart(4) and all of usb(4). > > If I can get nowhere with this card, any advice for > a card I could buy for Sun Blade 1500 (red or silver)? Sun PGX64 would be a good choice as they even allow to use accelerated X with decent resolution (which is unlikely to ever work with most of the XVR cards as Sun didn't open source their drivers nor release the necessary documentation). Marius --GxcwvYAGnODwn7V8 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ofw_console.c.diff" --- ofw_console.c (revision 194038) +++ ofw_console.c (working copy) @@ -44,6 +44,8 @@ #include +#define OFWCONS_NAME "ttyo" + #ifndef OFWCONS_POLL_HZ #define OFWCONS_POLL_HZ 4 /* 50-100 works best on Ultra2 */ #endif @@ -96,8 +98,8 @@ * XXX: devices on platforms where the sab driver works. */ tp = tty_alloc(&ofw_ttydevsw, NULL); - tty_makedev(tp, NULL, "%s", output); - tty_makealias(tp, "ofwcons"); + tty_makedev(tp, NULL, "%s%d", OFWCONS_NAME, 0); + tty_makealias(tp, output); } } @@ -184,8 +186,7 @@ ofw_cninit(struct consdev *cp) { - /* XXX: This is the alias, but that should be good enough */ - strcpy(cp->cn_name, "ofwcons"); + strcpy(cp->cn_name, OFWCONS_NAME); } --GxcwvYAGnODwn7V8-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 16:03:58 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD51D106566B; Mon, 7 Dec 2009 16:03:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 8A5E78FC12; Mon, 7 Dec 2009 16:03:57 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHg41-0000jX-Av; Mon, 07 Dec 2009 16:03:56 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHg40-0003Yd-MC; Mon, 07 Dec 2009 16:03:53 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB7G3qLo082805; Mon, 7 Dec 2009 16:03:52 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB7G3qoh082804; Mon, 7 Dec 2009 16:03:52 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 7 Dec 2009 16:03:52 +0000 From: Anton Shterenlikht To: Marius Strobl Message-ID: <20091207160352.GE82748@mech-cluster241.men.bris.ac.uk> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207153223.GA51206@alchemy.franken.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 07 Dec 2009 16:03:58 -0000 On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: > On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: > > On FreeBSD 8.0-RELEASE sparc64 > > > > I've successfully build current world, but on buildkernel I get: > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > > *** Error code 1 > > > > This should be fixed in r200215. AFAICT it was only exposed by > UP kernel builds. well, my box has only one cpu, so I disabled SMP and am building UP kernel. Are you saying I better enable SMP? Anyway, I'll update the sources and try again. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 16:08:14 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57BD1106566B; Mon, 7 Dec 2009 16:08:14 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7B78FC14; Mon, 7 Dec 2009 16:08:12 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id nB7G883T051582; Mon, 7 Dec 2009 17:08:08 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id nB7G88m9051581; Mon, 7 Dec 2009 17:08:08 +0100 (CET) (envelope-from marius) Date: Mon, 7 Dec 2009 17:08:08 +0100 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20091207160808.GH6562@alchemy.franken.de> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> <20091207160352.GE82748@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207160352.GE82748@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 07 Dec 2009 16:08:14 -0000 On Mon, Dec 07, 2009 at 04:03:52PM +0000, Anton Shterenlikht wrote: > On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: > > On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: > > > On FreeBSD 8.0-RELEASE sparc64 > > > > > > I've successfully build current world, but on buildkernel I get: > > > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > > > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > > > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > > > *** Error code 1 > > > > > > > This should be fixed in r200215. AFAICT it was only exposed by > > UP kernel builds. > > well, my box has only one cpu, so I disabled SMP > and am building UP kernel. Are you saying I better > enable SMP? No, I just say that the test builds ran by developers and the tinderboxes didn't catch it because GENERIC contains options SMP. Marius From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 16:12:35 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58B40106566B for ; Mon, 7 Dec 2009 16:12:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD578FC0A for ; Mon, 7 Dec 2009 16:12:34 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHgCJ-000796-Ut; Mon, 07 Dec 2009 16:12:34 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHgCJ-0003ph-6n; Mon, 07 Dec 2009 16:12:27 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB7GCQWs082873; Mon, 7 Dec 2009 16:12:26 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB7GCQ0R082872; Mon, 7 Dec 2009 16:12:26 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 7 Dec 2009 16:12:26 +0000 From: Anton Shterenlikht To: Marius Strobl Message-ID: <20091207161226.GA82835@mech-cluster241.men.bris.ac.uk> References: <20091201165752.GA12095@mech-cluster241.men.bris.ac.uk> <20091201215130.GA64974@alchemy.franken.de> <20091202124137.GA20168@mech-cluster241.men.bris.ac.uk> <20091202125915.GA20276@mech-cluster241.men.bris.ac.uk> <20091202192134.GA6562@alchemy.franken.de> <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> <20091203141711.GA43641@mech-cluster241.men.bris.ac.uk> <20091206161815.GA70140@mech-cluster241.men.bris.ac.uk> <20091207155713.GF6562@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207155713.GF6562@alchemy.franken.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: freebsd-sparc64@freebsd.org Subject: Re: Solved: Re: trouble installing to sun blade 1500 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, 07 Dec 2009 16:12:35 -0000 On Mon, Dec 07, 2009 at 04:57:13PM +0100, Marius Strobl wrote: > > > > Now my problem is graphics, or at least a text console. > > It looks like I've this graphics card (Sun data calles > > is graphics accelerator, but this the only graphics > > device in my 1500 blades, there is no other): > > > > Option Part description: > > X3780A 375-3153 XVR-600 Graphics Accelerator > > > > 3D LABS 54-001047-001 XVR-600 64MB PCI GRAPHICS CARD > > > > Anybody used this card with Sun? > > Is this card really not supported at all, even for > > text console? > > What you can do with 7.2 (with 8.0 an later this currently > requires the attached patch) in order to get a more or > rather less working text console with any hardware is to > build a kernel with ofw_console(4), but this requires all > other console and related drivers to be removed, i.e. > ddb(4), atkbdc(4) and its child drivers, kbdmux(4), sc(4), > creator(4), machfb(4), splash(4), puc(4), scc(4), uart(4) > and all of usb(4). > > > > > If I can get nowhere with this card, any advice for > > a card I could buy for Sun Blade 1500 (red or silver)? > > Sun PGX64 would be a good choice as they even allow to > use accelerated X with decent resolution (which is > unlikely to ever work with most of the XVR cards as > Sun didn't open source their drivers nor release the > necessary documentation). what about OpenBSD drivers: http://www.openbsd.org/45.html under what's new: # ifb(4), a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (accelerated). # wildcatfb(4), an X driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (unaccelerated). Is it feasible to port a driver from obsd to fbsd? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 7 16:49:47 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E009C106566C for ; Mon, 7 Dec 2009 16:49:47 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 51AEC8FC1D for ; Mon, 7 Dec 2009 16:49:46 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id nB7Gnf82052028; Mon, 7 Dec 2009 17:49:41 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id nB7GnfRF052027; Mon, 7 Dec 2009 17:49:41 +0100 (CET) (envelope-from marius) Date: Mon, 7 Dec 2009 17:49:41 +0100 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20091207164941.GI6562@alchemy.franken.de> References: <20091201165752.GA12095@mech-cluster241.men.bris.ac.uk> <20091201215130.GA64974@alchemy.franken.de> <20091202124137.GA20168@mech-cluster241.men.bris.ac.uk> <20091202125915.GA20276@mech-cluster241.men.bris.ac.uk> <20091202192134.GA6562@alchemy.franken.de> <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> <20091203141711.GA43641@mech-cluster241.men.bris.ac.uk> <20091206161815.GA70140@mech-cluster241.men.bris.ac.uk> <20091207155713.GF6562@alchemy.franken.de> <20091207161226.GA82835@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207161226.GA82835@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Solved: Re: trouble installing to sun blade 1500 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, 07 Dec 2009 16:49:48 -0000 On Mon, Dec 07, 2009 at 04:12:26PM +0000, Anton Shterenlikht wrote: > On Mon, Dec 07, 2009 at 04:57:13PM +0100, Marius Strobl wrote: > > > > > > Now my problem is graphics, or at least a text console. > > > It looks like I've this graphics card (Sun data calles > > > is graphics accelerator, but this the only graphics > > > device in my 1500 blades, there is no other): > > > > > > Option Part description: > > > X3780A 375-3153 XVR-600 Graphics Accelerator > > > > > > 3D LABS 54-001047-001 XVR-600 64MB PCI GRAPHICS CARD > > > > > > Anybody used this card with Sun? > > > Is this card really not supported at all, even for > > > text console? > > > > What you can do with 7.2 (with 8.0 an later this currently > > requires the attached patch) in order to get a more or > > rather less working text console with any hardware is to > > build a kernel with ofw_console(4), but this requires all > > other console and related drivers to be removed, i.e. > > ddb(4), atkbdc(4) and its child drivers, kbdmux(4), sc(4), > > creator(4), machfb(4), splash(4), puc(4), scc(4), uart(4) > > and all of usb(4). > > > > > > > > If I can get nowhere with this card, any advice for > > > a card I could buy for Sun Blade 1500 (red or silver)? > > > > Sun PGX64 would be a good choice as they even allow to > > use accelerated X with decent resolution (which is > > unlikely to ever work with most of the XVR cards as > > Sun didn't open source their drivers nor release the > > necessary documentation). > > what about OpenBSD drivers: http://www.openbsd.org/45.html > > under what's new: > > # ifb(4), a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (accelerated). > # wildcatfb(4), an X driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (unaccelerated). > > Is it feasible to port a driver from obsd to fbsd? > Given that the subsystems related to console drivers differ quite heavily between FreeBSD and Net/OpenBSD it's more like writing a new driver based on information obtained from other drivers and experimentation with the hardware rather than porting one but yes it's possible (see creator(4) and machfb(4)). Marius From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 12:40:34 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6D1F106566B; Tue, 8 Dec 2009 12:40:34 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A21A08FC14; Tue, 8 Dec 2009 12:40:34 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHzMf-0005go-Dk; Tue, 08 Dec 2009 12:40:33 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHzMe-0005Tt-EX; Tue, 08 Dec 2009 12:40:25 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB8CeOl1020329; Tue, 8 Dec 2009 12:40:24 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB8CeO9x020328; Tue, 8 Dec 2009 12:40:24 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 8 Dec 2009 12:40:24 +0000 From: Anton Shterenlikht To: Marius Strobl Message-ID: <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207153223.GA51206@alchemy.franken.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 08 Dec 2009 12:40:35 -0000 On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: > On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: > > On FreeBSD 8.0-RELEASE sparc64 > > > > I've successfully build current world, but on buildkernel I get: > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > > *** Error code 1 > > > > This should be fixed in r200215. AFAICT it was only exposed by > UP kernel builds. I updated the sources, but still get the same error: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type *** Error code 1 1 error This is on FreeBSD 8.0-RELEASE sparc64. buildworld stage went fine. What is r200215? I tried to search for it, but got nothing. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 13:03:11 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FD481065670 for ; Tue, 8 Dec 2009 13:03:11 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4D58FC22 for ; Tue, 8 Dec 2009 13:03:10 +0000 (UTC) Received: by servww6.ww.uni-erlangen.de (Postfix, from userid 512) id 0585862091; Tue, 8 Dec 2009 14:03:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by servww6.ww.uni-erlangen.de (Postfix) with ESMTP id CF2666208F; Tue, 8 Dec 2009 14:03:07 +0100 (CET) Date: Tue, 8 Dec 2009 14:03:07 +0100 (CET) From: Gheorghe Ardelean To: Anton Shterenlikht In-Reply-To: <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 08 Dec 2009 13:03:11 -0000 On Tue, 8 Dec 2009, Anton Shterenlikht wrote: > On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: >> On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: >>> On FreeBSD 8.0-RELEASE sparc64 >>> >>> I've successfully build current world, but on buildkernel I get: >>> >>> cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c >>> /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': >>> /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type >>> *** Error code 1 >>> >> >> This should be fixed in r200215. AFAICT it was only exposed by >> UP kernel builds. > > I updated the sources, but still get the same error: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > *** Error code 1 > 1 error > > This is on FreeBSD 8.0-RELEASE sparc64. > > buildworld stage went fine. > > What is r200215? I tried to search for it, but got nothing. This is the SVN revision of the file containing the fix. You can explore via the WEB interface the repository and check for changes and change logs: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sparc64/sparc64/trap.c regards, Gheorghe. From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 13:11:36 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 960451065670; Tue, 8 Dec 2009 13:11:36 +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 6F16F8FC0C; Tue, 8 Dec 2009 13:11:36 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id nB8DBZxj012880; Tue, 8 Dec 2009 08:11:35 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id nB8DBZtT012860; Tue, 8 Dec 2009 13:11:35 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 8 Dec 2009 13:11:35 GMT Message-Id: <200912081311.nB8DBZtT012860@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, 08 Dec 2009 13:11:36 -0000 TB --- 2009-12-08 12:13:19 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-12-08 12:13:19 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2009-12-08 12:13:19 - cleaning the object tree TB --- 2009-12-08 12:13:36 - cvsupping the source tree TB --- 2009-12-08 12:13:36 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2009-12-08 12:14:04 - building world TB --- 2009-12-08 12:14:04 - MAKEOBJDIRPREFIX=/obj TB --- 2009-12-08 12:14:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-12-08 12:14:04 - TARGET=sparc64 TB --- 2009-12-08 12:14:04 - TARGET_ARCH=sparc64 TB --- 2009-12-08 12:14:04 - TZ=UTC TB --- 2009-12-08 12:14:04 - __MAKE_CONF=/dev/null TB --- 2009-12-08 12:14:04 - cd /src TB --- 2009-12-08 12:14:04 - /usr/bin/make -B buildworld >>> World build started on Tue Dec 8 12:14:05 UTC 2009 >>> 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 >>> World build completed on Tue Dec 8 13:07:56 UTC 2009 TB --- 2009-12-08 13:07:56 - generating LINT kernel config TB --- 2009-12-08 13:07:56 - cd /src/sys/sparc64/conf TB --- 2009-12-08 13:07:56 - /usr/bin/make -B LINT TB --- 2009-12-08 13:07:56 - building LINT kernel TB --- 2009-12-08 13:07:56 - MAKEOBJDIRPREFIX=/obj TB --- 2009-12-08 13:07:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-12-08 13:07:56 - TARGET=sparc64 TB --- 2009-12-08 13:07:56 - TARGET_ARCH=sparc64 TB --- 2009-12-08 13:07:56 - TZ=UTC TB --- 2009-12-08 13:07:56 - __MAKE_CONF=/dev/null TB --- 2009-12-08 13:07:56 - cd /src TB --- 2009-12-08 13:07:56 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Dec 8 13:07:56 UTC 2009 >>> 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 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/dpt/dpt_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/dpt/dpt_scsi.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/eisa/eisa_if.m -c ; cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror eisa_if.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/e1000/if_em.c -I/src/sys/dev/e1000 cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/e1000/if_igb.c -I/src/sys/dev/e1000 cc1: warnings being treated as errors /src/sys/dev/e1000/if_igb.c: In function 'igb_rxeof': /src/sys/dev/e1000/if_igb.c:4234: warning: statement with no effect *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-12-08 13:11:35 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-12-08 13:11:35 - ERROR: failed to build lint kernel TB --- 2009-12-08 13:11:35 - 2728.12 user 588.29 system 3496.53 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 13:15:15 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72177106566B; Tue, 8 Dec 2009 13:15:15 +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 E11EC8FC19; Tue, 8 Dec 2009 13:15:14 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id nB8DFETJ027215; Tue, 8 Dec 2009 08:15:14 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id nB8DFEmd027214; Tue, 8 Dec 2009 13:15:14 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 8 Dec 2009 13:15:14 GMT Message-Id: <200912081315.nB8DFEmd027214@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, 08 Dec 2009 13:15:15 -0000 TB --- 2009-12-08 12:17:22 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-12-08 12:17:22 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-12-08 12:17:22 - cleaning the object tree TB --- 2009-12-08 12:17:43 - cvsupping the source tree TB --- 2009-12-08 12:17:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-12-08 12:18:07 - building world TB --- 2009-12-08 12:18:07 - MAKEOBJDIRPREFIX=/obj TB --- 2009-12-08 12:18:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-12-08 12:18:07 - TARGET=sun4v TB --- 2009-12-08 12:18:07 - TARGET_ARCH=sparc64 TB --- 2009-12-08 12:18:07 - TZ=UTC TB --- 2009-12-08 12:18:07 - __MAKE_CONF=/dev/null TB --- 2009-12-08 12:18:07 - cd /src TB --- 2009-12-08 12:18:07 - /usr/bin/make -B buildworld >>> World build started on Tue Dec 8 12:18:08 UTC 2009 >>> 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 >>> World build completed on Tue Dec 8 13:11:29 UTC 2009 TB --- 2009-12-08 13:11:29 - generating LINT kernel config TB --- 2009-12-08 13:11:29 - cd /src/sys/sun4v/conf TB --- 2009-12-08 13:11:29 - /usr/bin/make -B LINT TB --- 2009-12-08 13:11:29 - building LINT kernel TB --- 2009-12-08 13:11:29 - MAKEOBJDIRPREFIX=/obj TB --- 2009-12-08 13:11:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-12-08 13:11:29 - TARGET=sun4v TB --- 2009-12-08 13:11:29 - TARGET_ARCH=sparc64 TB --- 2009-12-08 13:11:29 - TZ=UTC TB --- 2009-12-08 13:11:29 - __MAKE_CONF=/dev/null TB --- 2009-12-08 13:11:29 - cd /src TB --- 2009-12-08 13:11:29 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Dec 8 13:11:29 UTC 2009 >>> 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 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/dcons/dcons_os.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/de/if_de.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/eisa/eisa_if.m -c ; cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror eisa_if.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/e1000/if_em.c -I/src/sys/dev/e1000 cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -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=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/e1000/if_igb.c -I/src/sys/dev/e1000 cc1: warnings being treated as errors /src/sys/dev/e1000/if_igb.c: In function 'igb_rxeof': /src/sys/dev/e1000/if_igb.c:4234: warning: statement with no effect *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-12-08 13:15:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-12-08 13:15:14 - ERROR: failed to build lint kernel TB --- 2009-12-08 13:15:14 - 2731.07 user 582.67 system 3472.08 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 14:17:57 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E752C1065672; Tue, 8 Dec 2009 14:17:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB368FC19; Tue, 8 Dec 2009 14:17:57 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NI0sy-0001U6-Uj; Tue, 08 Dec 2009 14:17:56 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NI0sy-00065h-8N; Tue, 08 Dec 2009 14:17:52 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB8EHqcd063642; Tue, 8 Dec 2009 14:17:52 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB8EHp7Y063641; Tue, 8 Dec 2009 14:17:51 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 8 Dec 2009 14:17:51 +0000 From: Anton Shterenlikht To: Gheorghe Ardelean Message-ID: <20091208141751.GA63628@mech-cluster241.men.bris.ac.uk> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.9 X-Spam-Level: --- Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 08 Dec 2009 14:17:58 -0000 On Tue, Dec 08, 2009 at 02:03:07PM +0100, Gheorghe Ardelean wrote: > On Tue, 8 Dec 2009, Anton Shterenlikht wrote: > > > On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: > >> On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: > >>> On FreeBSD 8.0-RELEASE sparc64 > >>> > >>> I've successfully build current world, but on buildkernel I get: > >>> > >>> cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > >>> /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > >>> /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > >>> *** Error code 1 > >>> > >> > >> This should be fixed in r200215. AFAICT it was only exposed by > >> UP kernel builds. > > > > I updated the sources, but still get the same error: > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > > *** Error code 1 > > 1 error > > > > This is on FreeBSD 8.0-RELEASE sparc64. > > > > buildworld stage went fine. > > > > What is r200215? I tried to search for it, but got nothing. > > This is the SVN revision of the file containing the fix. > You can explore via the WEB interface the repository and check for > changes and change logs: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sparc64/sparc64/trap.c Gheorghe, thank you I got the kernel built, but only after I enabled SMP. As this is US-IIIi UP box, it would make more sense to disable this option, but then I don't know what effect it would cause. In other words, is there a negative effect of running SMP kernel on a UP machine? The full kernel config file is below. many thanks anton # # $FreeBSD: src/sys/sparc64/conf/GENERIC,v 1.160 2009/10/13 19:02:03 jhb Exp $ cpu SUN4U ident DALET # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. # Use the following to compile in values accessible to the kernel # through getenv() (or kenv(1) in userland). The format of the file # is 'variable=value', see kenv(1) # # env "GENERIC.env" makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols # Platforms supported # At this time all platforms are supported, as-is. options SCHED_4BSD # 4BSD scheduler #options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # Standard busses device ebus device isa device pci device sbus device central device fhc # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives # Do NOT enable ATA_STATIC_ID -- cmd646 controller will be !ata2!, # and you will not mount an ATA /. #options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_ALLOW_MEMIO # Attempt to use memory mapped I/O #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. #device isp # Qlogic family #device ispfw # Firmware module for Qlogic host adapters #device mpt # LSI-Logic MPT-Fusion #device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D #device esp # NCR53c9x (FEPS/FAS366) # SCSI peripherals #device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers #device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers #device amr # AMI MegaRAID #device mlx # Mylex DAC960 family # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer # syscons is the default console driver, resembling an SCO console device sc device creator # Creator, Creator3D and Elite3D framebuffers device machfb # ATI Mach64 framebuffers device splash # Splash screen and screen saver support options KBD_INSTALL_CDEV # install a CDEV entry in /dev # Builtin hardware device auxio # auxiliary I/O device device eeprom # eeprom (really a front-end for the MK48Txx) device mk48txx # Mostek MK48Txx clocks device rtc # rtc (really a front-end for the MC146818) device mc146818 # Motorola MC146818 and compatible clocks # Serial (COM) ports device puc # Multi-channel uarts device scc # Serial communications controllers. device uart # Multi-uart driver # Parallel port #device ppc #device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device ixgb # Intel PRO/10GbE Ethernet Card #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device bfe # Broadcom BCM440x 10/100 Ethernet device bge # Broadcom BCM570xx Gigabit Ethernet #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device gem # Sun GEM/Sun ERI/Apple GMAC #device hme # Sun HME (Happy Meal Ethernet) #device nge # NatSemi DP83820 gigabit Ethernet #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') #device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Wireless NIC cards #device wlan # 802.11 support #options IEEE80211_DEBUG # enable debug msgs #options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's #options IEEE80211_SUPPORT_MESH # enable 802.11s D3.0 support #device wlan_wep # 802.11 WEP support #device wlan_ccmp # 802.11 CCMP support #device wlan_tkip # 802.11 TKIP support #device wlan_amrr # AMRR transmit rate control algorithm #device ath # Atheros pci/cardbus NIC's #device ath_hal # Atheros HAL (Hardware Access Layer) #options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors #device ath_rate_sample # SampleRate tx rate control for ath # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 18:59:42 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09BEC106566C; Tue, 8 Dec 2009 18:59:42 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 73CF18FC15; Tue, 8 Dec 2009 18:59:40 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id nB8IxPmB073719; Tue, 8 Dec 2009 19:59:26 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id nB8IxPPN073718; Tue, 8 Dec 2009 19:59:25 +0100 (CET) (envelope-from marius) Date: Tue, 8 Dec 2009 19:59:25 +0100 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20091208185925.GJ6562@alchemy.franken.de> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error 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, 08 Dec 2009 18:59:42 -0000 On Tue, Dec 08, 2009 at 12:40:24PM +0000, Anton Shterenlikht wrote: > On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: > > On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: > > > On FreeBSD 8.0-RELEASE sparc64 > > > > > > I've successfully build current world, but on buildkernel I get: > > > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > > > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > > > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > > > *** Error code 1 > > > > > > > This should be fixed in r200215. AFAICT it was only exposed by > > UP kernel builds. > > I updated the sources, but still get the same error: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > *** Error code 1 > 1 error This suggests that you are using sources prior to r200215 as line 561 now is a comment. > > This is on FreeBSD 8.0-RELEASE sparc64. > > buildworld stage went fine. > > What is r200215? I tried to search for it, but got nothing. > This is the SVN revision at which the UP compile problem was fixed. It was exported to CVS as src/sys/sparc64/sparc64/trap.c rev. 1.99. Marius From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 8 20:20:22 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ECF81065697 for ; Tue, 8 Dec 2009 20:20:22 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 9CE848FC17 for ; Tue, 8 Dec 2009 20:20:21 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id nB8KKHkO074440; Tue, 8 Dec 2009 21:20:17 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id nB8KKH01074439; Tue, 8 Dec 2009 21:20:17 +0100 (CET) (envelope-from marius) Date: Tue, 8 Dec 2009 21:20:16 +0100 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20091208202016.GM6562@alchemy.franken.de> References: <20091201154904.GA11679@mech-cluster241.men.bris.ac.uk> <20091201165752.GA12095@mech-cluster241.men.bris.ac.uk> <20091201215130.GA64974@alchemy.franken.de> <20091202124137.GA20168@mech-cluster241.men.bris.ac.uk> <20091202125915.GA20276@mech-cluster241.men.bris.ac.uk> <20091202192134.GA6562@alchemy.franken.de> <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: trouble installing to sun blade 1500 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, 08 Dec 2009 20:20:22 -0000 On Thu, Dec 03, 2009 at 01:16:09PM +0000, Anton Shterenlikht wrote: > On Wed, Dec 02, 2009 at 08:21:34PM +0100, Marius Strobl wrote: > > On Wed, Dec 02, 2009 at 12:59:15PM +0000, Anton Shterenlikht wrote: > > > On Wed, Dec 02, 2009 at 12:41:37PM +0000, Anton Shterenlikht wrote: > > > > On Tue, Dec 01, 2009 at 10:51:30PM +0100, Marius Strobl wrote: > > > > > > > > > > > > I get to OK prompt, type "boot cdrom", but the process > > > > > > > > stops after a few seconds with: > > > > > > > > > > > > > > > > jumping to kernel entry at 0xc0088000. > > > > > > > > > > > > > > > > > > You're using an unsupported framebuffer (see the release notes). > > > > > > > > yes, I missed that, thank you > > > > > > > > > This unfortunately isn't sufficient information and my Blade 1500 > > > > > doesn't exhibit this problem. Could you please put the full dmesg > > > > > output online somewhere (this should be easy to capture when > > > > > using a serial console)? Can you boot to single user? > > > > > > > > a multi-user boot dmesg: > > > > http://seis.bris.ac.uk/~mexas/dmesg-blade1500-8.0 > > > > > > > > a single user boot went ok, but some disk problems: > > > > http://seis.bris.ac.uk/~mexas/dmesg-blade1500-8.0-single-user > > > > > > just to add on that. After fixing disk with fsck, boot into single > > > user mode is fine, and no further disk problems reported. > > > But multi-user mode still panics, just as before. > > > > > > > Hrm, the only noticeable difference between your Blade 1500 > > and mine is that on yours the generic vgapci(4) attaches to > > the otherwise unsupported framebuffer. I gave such a setup > > a try but that didn't trigger a panic (this actually wasn't > > likely to). Could you please build and install a debugging > > kernel in single user mode (a `mount -a` should re-mount / > > read-write), i.e. a kernel with the following options: > > makeoptions DEBUG=-g > > options KDB > > options DDB > > If that kernel panics you should end up in the debugger > > prompt. Please issue a `bt` there and provide its output. > > done: > > > Trying to mount root from ufs:/dev/ad0a > Setting hostuuid: . > Setting hostid: 0xd41d8cd9. > Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: memory addres > s not aligned > cpuid = 0 > KDB: enter: panic > [thread pid 50 tid 100062 ] > Stopped at kdb_enter+0x80: ta %xcc, 1 > db> > db> bt > Tracing pid 50 tid 100062 td 0xfffff80001532380 > panic() at panic+0x20c > trap() at trap+0x4d0 > -- memory address not aligned sfar=0xfddfa187 sfsr=0x40029 %o7=0xc06d6ed8 -- > stack_capture() at stack_capture+0x114 > stack_save_td() at stack_save_td+0x60 > sysctl_kern_proc_kstack() at sysctl_kern_proc_kstack+0x330 > sysctl_root() at sysctl_root+0x1c4 > userland_sysctl() at userland_sysctl+0x208 > __sysctl() at __sysctl+0x70 > syscall() at syscall+0x2e8 > -- syscall (202, FreeBSD ELF64, __sysctl) %o7=0x1016b0 -- > userland() at 0x4046bac8 > user trace: trap %o7=0x1016b0 > pc 0x4046bac8, sp 0x7fdffffd001 > pc 0x101fb8, sp 0x7fdffffd961 > pc 0x102ba4, sp 0x7fdffffdae1 > pc 0x100f70, sp 0x7fdffffe451 > pc 0x40208d94, sp 0x7fdffffe511 > done > db> > > Is this any help? > Thanks, I think I have fixed this in r200272. Marius From owner-freebsd-sparc64@FreeBSD.ORG Thu Dec 10 00:01:21 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 182C51065672 for ; Thu, 10 Dec 2009 00:01:21 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id C365C8FC13 for ; Thu, 10 Dec 2009 00:01:20 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NIWSz-0007jA-ED; Thu, 10 Dec 2009 00:01:19 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NIWSy-0005ld-2r; Thu, 10 Dec 2009 00:01:08 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBA016LH086912; Thu, 10 Dec 2009 00:01:06 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBA016n6086911; Thu, 10 Dec 2009 00:01:06 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 10 Dec 2009 00:01:06 +0000 From: Anton Shterenlikht To: Marius Strobl Message-ID: <20091210000105.GA84992@mech-cluster241.men.bris.ac.uk> References: <20091201215130.GA64974@alchemy.franken.de> <20091202124137.GA20168@mech-cluster241.men.bris.ac.uk> <20091202125915.GA20276@mech-cluster241.men.bris.ac.uk> <20091202192134.GA6562@alchemy.franken.de> <20091203131609.GA86854@mech-cluster241.men.bris.ac.uk> <20091203141711.GA43641@mech-cluster241.men.bris.ac.uk> <20091206161815.GA70140@mech-cluster241.men.bris.ac.uk> <20091207155713.GF6562@alchemy.franken.de> <20091207161226.GA82835@mech-cluster241.men.bris.ac.uk> <20091207164941.GI6562@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207164941.GI6562@alchemy.franken.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: freebsd-sparc64@freebsd.org Subject: Re: Solved: Re: trouble installing to sun blade 1500 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, 10 Dec 2009 00:01:21 -0000 On Mon, Dec 07, 2009 at 05:49:41PM +0100, Marius Strobl wrote: > On Mon, Dec 07, 2009 at 04:12:26PM +0000, Anton Shterenlikht wrote: > > On Mon, Dec 07, 2009 at 04:57:13PM +0100, Marius Strobl wrote: > > > > > > > > Now my problem is graphics, or at least a text console. > > > > It looks like I've this graphics card (Sun data calles > > > > is graphics accelerator, but this the only graphics > > > > device in my 1500 blades, there is no other): > > > > > > > > Option Part description: > > > > X3780A 375-3153 XVR-600 Graphics Accelerator > > > > > > > > 3D LABS 54-001047-001 XVR-600 64MB PCI GRAPHICS CARD > > > > > > > > Anybody used this card with Sun? > > > > Is this card really not supported at all, even for > > > > text console? > > > > > > What you can do with 7.2 (with 8.0 an later this currently > > > requires the attached patch) in order to get a more or > > > rather less working text console with any hardware is to > > > build a kernel with ofw_console(4), but this requires all > > > other console and related drivers to be removed, i.e. > > > ddb(4), atkbdc(4) and its child drivers, kbdmux(4), sc(4), > > > creator(4), machfb(4), splash(4), puc(4), scc(4), uart(4) > > > and all of usb(4). > > > > > > > > > > > If I can get nowhere with this card, any advice for > > > > a card I could buy for Sun Blade 1500 (red or silver)? > > > > > > Sun PGX64 would be a good choice as they even allow to > > > use accelerated X with decent resolution (which is > > > unlikely to ever work with most of the XVR cards as > > > Sun didn't open source their drivers nor release the > > > necessary documentation). > > > > what about OpenBSD drivers: http://www.openbsd.org/45.html > > > > under what's new: > > > > # ifb(4), a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (accelerated). > > # wildcatfb(4), an X driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and XVR-1200 framebuffers (unaccelerated). > > > > Is it feasible to port a driver from obsd to fbsd? > > > > Given that the subsystems related to console drivers differ > quite heavily between FreeBSD and Net/OpenBSD it's more like > writing a new driver based on information obtained from > other drivers and experimentation with the hardware rather > than porting one but yes it's possible (see creator(4) and > machfb(4)). ok, too bad.. Anyway, I've three xvr-600 cards. I'm willing to give away one to fbsd-sparc team if somebody is interested in developing a driver for it. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 12 21:31:45 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7A2E106566B for ; Sat, 12 Dec 2009 21:31:45 +0000 (UTC) (envelope-from sr@genyosha.net) Received: from ns1.genyosha.net (ns1.genyosha.net [216.103.76.253]) by mx1.freebsd.org (Postfix) with ESMTP id 709808FC0C for ; Sat, 12 Dec 2009 21:31:45 +0000 (UTC) Received: from dragon.genyosha.net (dragon.genyosha.net [216.103.76.254]) by ns1.genyosha.net (8.14.3/8.14.3) with ESMTP id nBCLViMf010764 for ; Sat, 12 Dec 2009 13:31:45 -0800 (PST) (envelope-from sr@genyosha.net) Received: from dragon.genyosha.net (localhost [127.0.0.1]) by dragon.genyosha.net (8.14.3/8.14.3) with ESMTP id nBCLViXn092233 for ; Sat, 12 Dec 2009 13:31:44 -0800 (PST) (envelope-from sr@dragon.genyosha.net) Received: (from sr@localhost) by dragon.genyosha.net (8.14.3/8.14.3/Submit) id nBCLViIe092232 for freebsd-sparc64@freebsd.org; Sat, 12 Dec 2009 13:31:44 -0800 (PST) (envelope-from sr) Date: Sat, 12 Dec 2009 13:31:44 -0800 From: Steve Rikli To: freebsd-sparc64@freebsd.org Message-ID: <20091212213144.GB92184@dragon.genyosha.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Resend: free Ultra60 for pick-up in Silicon Valley CA, USA 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, 12 Dec 2009 21:31:45 -0000 I haven't had any takers for the Ultra60 locally yet, so if someone in the USA would like me to try to ship it and is willing to reimburse me for the cost of shipping, I'm willing to box it up and send it. If there is no interest this time around I'll be advertising it on Craigslist.org jfyi. Cheers, sr. On Tue, Nov 24, 2009 at 07:34:37PM -0800, Steve Rikli wrote: > I have an Ultra60 to give away to a good home. It is located in > Silicon Valley CA, USA and due to the size/weight I don't believe > I'll be able to ship it, so local pick-ups only, please. > > Basic specs are: > > Ultra60, 2*450MHz CPU, 2GB RAM, 2*72GB SCSI disks, DVD, > 2*hme, QLogic SCSI card, SysKonnect GigE > > I also have a spare set of slower (360MHz) CPUs leftover from before > the upgrade; they haven't been used in a while but they were good > when I pulled them, and I'll send them along too. > > Full dmesg is included below. > > Cheers, > sr. > -- > console is /pci@1f,4000/ebus@1/se@14,400000:a > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, > 2006, 2007 > The NetBSD Foundation, Inc. All rights reserved. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > > NetBSD 4.0.1 (GENERIC) #0: Wed Oct 8 01:13:20 PDT 2008 > builds@wb32:/home/builds/ab/netbsd-4-0-1-RELEASE/sparc64/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/sparc64/compile/GENERIC > total memory = 2048 MB > avail memory = 1996 MB > timecounter: Timecounters tick every 10.000 msec > bootpath: /pci@1f,4000/scsi@3/disk@0,0:a > mainbus0 (root): SUNW,Ultra-60: hostid 80be7627 > cpu0 at mainbus0: SUNW,UltraSPARC-II @ 450.036 MHz, UPA id 0 > cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 4096K external (64 b/l) > cpu at mainbus0 not configured > psycho0 at mainbus0 addr 0xfffb4000 > SUNW,psycho: impl 0, version 4: ign 7c0 bus range 0 to 0; PCI bus 0 > DVMA map: fe000000 to ffffe000 > IOTSB: 2196000 to 219e000 > pci0 at psycho0 > pci0: i/o space, memory space enabled > ebus0 at pci0 dev 1 function 0 > ebus0: Sun Microsystems PCIO Ebus2, revision 0x01 > auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 > power at ebus0 addr 724000-724003 not configured > SUNW,pll at ebus0 addr 504000-504002 not configured > sc at ebus0 addr 500000-500007 not configured > sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2 > sabtty0 at sab0 port 0: console i/o > sabtty1 at sab0 port 1 > com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo > kbd0 at com0 > com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo > ms0 at com1 > wsmouse0 at ms0 mux 0 > lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ipl 34 > fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not configured > clock0 at ebus0 addr 0-1fff: mk48t59 > flashprom at ebus0 addr 0-fffff not configured > audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: CS4231A > audio0 at audiocs0: full duplex > hme0 at pci0 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1 > hme0: interrupting at ivec 3021 > hme0: Ethernet address 08:00:20:be:76:27 > ukphy0 at hme0 phy 1: Generic IEEE 802.3u media interface > ukphy0: OUI 0x0006b8, model 0x000c, rev. 1 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > esiop0 at pci0 dev 3 function 0: Symbios Logic 53c875 (ultra-wide scsi) > esiop0: using on-board RAM > esiop0: interrupting at ivec 1820 > scsibus0 at esiop0: 16 targets, 8 luns per target > esiop1 at pci0 dev 3 function 1: Symbios Logic 53c875 (ultra-wide scsi) > esiop1: using on-board RAM > esiop1: interrupting at ivec 1826 > scsibus1 at esiop1: 16 targets, 8 luns per target > hme1 at pci0 dev 2 function 1: Sun Happy Meal Ethernet, rev. 1 > hme1: interrupting at ivec 3011 > hme1: Ethernet address 08:00:20:be:76:27 > ukphy1 at hme1 phy 1: Generic IEEE 802.3u media interface > ukphy1: OUI 0x0006b8, model 0x000c, rev. 1 > ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > skc0 at pci0 dev 4 function 0: ivec 18 > skc0: interrupt moderation is 0 us > skc0: SK-9821 V2.0 Gigabit Ethernet 10/100/1000Base-T Adapter rev. (0x1) > sk0 at skc0 port A: Ethernet address 00:00:5a:9b:13:1e > makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3 > makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > isp0 at pci0 dev 5 function 0: QLogic 1020 Fast Wide SCSI HBA > isp0: interrupting at ivec 1c > scsibus2 at isp0: 16 targets, 8 luns per target > psycho1 at mainbus0 addr 0xfffc6000 > SUNW,psycho: impl 0, version 4: ign 7c0 bus range 128 to 128; PCI bus 128 > pci1 at psycho1 > pci1: i/o space, memory space enabled > Sun Microsystems PCIO Ebus2 (miscellaneous bridge, revision 0x01) at pci1 dev 1 function 0 not configured > hme2 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1 > hme2: interrupting at ivec 3001 > hme2: Ethernet address 08:00:20:be:76:27 > ukphy2 at hme2 phy 1: Generic IEEE 802.3u media interface > ukphy2: OUI 0x0006b8, model 0x000c, rev. 1 > ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > timer0 at mainbus0 addr 0xfff9fc00 irq vectors 7ec and 7ed > ffb0 at mainbus0 addr 0xfeb80000: Creator3D, model SUNW,501-4788, dac 10 > ffb0: attached to /dev/fb0 > wsdisplay1 at ffb0 kbdmux 1 > wsmux1: connecting to wsdisplay1 > wsdisplay1: screen 0-3 added (sunffb, sun emulation) > pcons at mainbus0 not configured > timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 > timecounter: Timecounter "tick-counter" frequency 450036421 Hz quality 100 > wskbd0 at kbd0 mux 1 > kbd0: reset failed > wskbd0: connecting to wsdisplay1 > Kernelized RAIDframe activated > scsibus0: waiting 2 seconds for devices to settle... > scsibus1: waiting 2 seconds for devices to settle... > scsibus2: waiting 2 seconds for devices to settle... > sd0 at scsibus0 target 0 lun 0: disk fixed > sd0: 70092 MB, 29902 cyl, 8 head, 600 sec, 512 bytes/sect x 143550456 sectors > sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing > sd1 at scsibus0 target 1 lun 0: disk fixed > sd1: 70092 MB, 29902 cyl, 8 head, 600 sec, 512 bytes/sect x 143550456 sectors > sd1: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing > cd0 at scsibus0 target 6 lun 0: cdrom removable > cd0: sync (50.00ns offset 16), 8-bit (20.000MB/s) transfers > root on sd0a dumps on sd0b > root file system type: ffs