From owner-freebsd-sparc64@FreeBSD.ORG Sun Feb 22 17:02:32 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 5552A106564A for ; Sun, 22 Feb 2009 17:02:32 +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 DC8AA8FC08 for ; Sun, 22 Feb 2009 17:02:31 +0000 (UTC) (envelope-from marius@alchemy.franken.de) 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 n1MH2UlZ071729; Sun, 22 Feb 2009 18:02:30 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n1MH2UL2071728; Sun, 22 Feb 2009 18:02:30 +0100 (CET) (envelope-from marius) Date: Sun, 22 Feb 2009 18:02:30 +0100 From: Marius Strobl To: Florian Smeets Message-ID: <20090222170230.GB69979@alchemy.franken.de> References: <1233668470.1364.45.camel@main.lerwick.hopto.org> <20090203220737.GA7715@alchemy.franken.de> <1233756984.45384.31.camel@main.lerwick.hopto.org> <499B5520.3040801@kasimir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <499B5520.3040801@kasimir.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64 Subject: Re: can anyone make available the whole usIII source tree from perforce please 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, 22 Feb 2009 17:02:32 -0000 On Wed, Feb 18, 2009 at 01:24:00AM +0100, Florian Smeets wrote: > On 04.02.2009 15:16 Uhr, Craig Butler wrote: > >Hi Marius, > > > >Thanks for all your hard work and pointers so far. I have compiled and > >installed the new kernel (cas is statically compiled in). Unfortunately > >its panic'ing on boot with the following; > > > >cas0: at device 10.0 on pci0 > >panic: trap: memory address not aligned > >cpuid = 0 > >Uptime: 1s > > > > FWIW, i compiled a kernel with these changes and the cards probe fine. > > cas0: mem 0x2000000-0x21fffff at > device 0.0 on pci1 > miibus1: on cas0 > cas0: 16kB RX FIFO, 9kB TX FIFO > cas0: Ethernet address: 00:03:ba:XX:XX:XX > cas0: [ITHREAD] > cas1: mem 0x2400000-0x25fffff at > device 1.0 on pci1 > miibus2: on cas1 > cas1: 16kB RX FIFO, 9kB TX FIFO > cas1: Ethernet address: 00:03:ba:XX:XX:XX > cas1: [ITHREAD] > > I don't have a cable connected yet, as the machine is remote, but I'll > be sure to test it soon. > FYI, the above panic likely isn't a problem of cas(4) but arises from the fact that the resource of that NIC starts at 0 according to its BAR, which is somewhat uncommon but nevertheless should work yet seems to trigger a bug at some other level. Marius