Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 16:28:55 GMT
From:      Sascha Luck <sascha@c4inet.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   sparc64/94483: ath_hal does not work on 6-release/sparc64
Message-ID:  <200603151628.k2FGStaY072269@www.freebsd.org>
Resent-Message-ID: <200603151630.k2FGUHJx091476@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94483
>Category:       sparc64
>Synopsis:       ath_hal does not work on 6-release/sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-sparc64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 15 16:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sascha Luck
>Release:        6.1-PRERELEASE
>Organization:
>Environment:
FreeBSD serval.c4inet.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #6: Thu Mar  9 03:28:16 GMT 2006     root@serval.c4inet.net:/usr/obj/usr/src/sys/SERVAL  sparc64
>Description:
ath_hal on sparc64 does not load

(/usr/src/sys/modules/ath_hal)

root@serval# make
Warning: Object directory not changed from original
/usr/src/sys/modules/ath_hal
make: don't know how to make
/usr/src/sys/modules/ath_hal/../../contrib/dev/ath/public/sparc64-elf.hal.o.uu.
Stop

This file is actually called sparc64-be-elf.hal.o.uu. After copying to
'sparc64-elf.hal.o.uu', the module builds cleanly but doesn't load. The
only error message when trying to load it is:

serval# link_elf: symbol  undefined

>How-To-Repeat:
change to /usr/src/sys/modules/ath_hal

'make'

edit Makefile:

change to /usr/src/sys/contrib/dev/ath/public/

cp sparc64-be-elf.hal.o.uu sparc64-elf.hal.o.uu
cp sparc64-be-elf.inc sparc64-elf.inc
cp sparc64-be-elf.opt_ah.h sparc64-elf.opt_ah.h

change to /usr/src/sys/modules/ath_hal

make install

kldload ath_hal

 
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:



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