From nobody@FreeBSD.org  Wed Mar 30 20:11:15 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7FE6016A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Mar 2005 20:11:15 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 21F5E43D53
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Mar 2005 20:11:15 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2UKBEXd043686
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Mar 2005 20:11:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2UKBEqK043685;
	Wed, 30 Mar 2005 20:11:14 GMT
	(envelope-from nobody)
Message-Id: <200503302011.j2UKBEqK043685@www.freebsd.org>
Date: Wed, 30 Mar 2005 20:11:14 GMT
From: guo <embix@optushome.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: AMD64 build if "device ath_hal" "device ath" fails 
X-Send-Pr-Version: www-2.3

>Number:         79381
>Category:       amd64
>Synopsis:       AMD64 build if "device ath_hal" "device ath" fails
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 30 20:20:08 GMT 2005
>Closed-Date:    Wed Mar 30 20:35:22 GMT 2005
>Last-Modified:  Wed Mar 30 20:35:22 GMT 2005
>Originator:     guo
>Release:        5-CURRENT
>Organization:
>Environment:
FreeBSD p22-bsd.ixwin.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sun Mar 20 00:48:36 CST 2005     tc@p22-bsd.ixwin.com:/usr/obj/usr/src/sys/p22at  amd64

>Description:
make buildkernl breaks with error messages:

ah_osdep.o(.text+0x157): In function `ath_hal_modevent':
: undefined reference to `ath_hal_version'
ah_osdep.o(.data+0x1b8): undefined reference to `ath_hal_version'
if_ath.o(.text+0x1ed2): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x1f43): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x268a): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x26af): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x4a47): In function `ath_attach':
: undefined reference to `ath_hal_attach'
if_ath.o(.text+0x4b58): In function `ath_attach':
: undefined reference to `ath_hal_init_channels'
if_ath.o(.text+0x4b80): In function `ath_attach':
: undefined reference to `ath_hal_mhz2ieee'
if_ath_pci.o(.text+0xad): In function `ath_pci_probe':
: undefined reference to `ath_hal_probe'
*** Error code 1

>How-To-Repeat:
1. add the following two lines into the sys/amd64/conf/GENERIC kernel
   device ath
   device ath_hal

2. cd /usr/src

3. make buildkernel

>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brooks 
State-Changed-When: Wed Mar 30 20:33:42 GMT 2005 
State-Changed-Why:  
There is no ath_hal binary for amd64 on 5.x and the support will not be 
MFC'd from 6.x due to major source incompatabilities.  If you want to use 
Atheros cards on amd64, you will have to run 6-CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79381 
>Unformatted:
