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--