Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2009 18:02:30 +0100
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Florian Smeets <flo@kasimir.com>
Cc:        freebsd-sparc64 <freebsd-sparc64@freebsd.org>
Subject:   Re: can anyone make available the whole usIII source tree from perforce please
Message-ID:  <20090222170230.GB69979@alchemy.franken.de>
In-Reply-To: <499B5520.3040801@kasimir.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:<Sun Cassini+ Gigabit Ethernet>  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: <NS DP83065 Saturn Gigabit Ethernet> mem 0x2000000-0x21fffff at 
> device 0.0 on pci1
> miibus1: <MII bus> on cas0
> cas0: 16kB RX FIFO, 9kB TX FIFO
> cas0: Ethernet address: 00:03:ba:XX:XX:XX
> cas0: [ITHREAD]
> cas1: <NS DP83065 Saturn Gigabit Ethernet> mem 0x2400000-0x25fffff at 
> device 1.0 on pci1
> miibus2: <MII bus> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090222170230.GB69979>