From nobody@FreeBSD.org  Sun Sep 13 14:53:17 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4CEDE106568F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Sep 2009 14:53:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 36A2C8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Sep 2009 14:53:17 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8DErGT3027985
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Sep 2009 14:53:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n8DErGZJ027984;
	Sun, 13 Sep 2009 14:53:16 GMT
	(envelope-from nobody)
Message-Id: <200909131453.n8DErGZJ027984@www.freebsd.org>
Date: Sun, 13 Sep 2009 14:53:16 GMT
From: Dave Johnson <ctfreebad@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update kernel error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138781
>Category:       kern
>Synopsis:       Update kernel error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 13 15:00:16 UTC 2009
>Closed-Date:    Sun Sep 13 15:19:14 UTC 2009
>Last-Modified:  Sun Sep 13 15:19:14 UTC 2009
>Originator:     Dave Johnson
>Release:        7.1-RELEASE FreeBSD 7.1-RELEASE
>Organization:
>Environment:
FreeBSD fw.xxxxx.co.za 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Total clean install of Version 7.1

Theconly "Other" software installed is cvsup

Have done a cvsup.src on 13:09:2009 at 14.03  

Running make buildkernel KERNCONF=FIREWALL I get the following error

cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr
ototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wn
o-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/
contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-c
ommon -finline-limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno
-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror  /usr/src/sys/dev/ath
/if_ath.c -I/usr/src/sys/dev/ath
/usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
/usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no m
ember named 'rs_flags'
/usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no m
ember named 'rs_flags'
*** Error code 1

Stop in /usr/obj/usr/src/sys/FIREWALL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
>How-To-Repeat:

Run kernel update twice with the same results
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Sun Sep 13 15:11:01 UTC 2009 
State-Changed-Why:  
This is mentioned in /usr/src/UPDATING. 

The issue is that you are usiung a kernel config file from 7.1 while 
trying to build 7.2 or later.  Basically, you need to remove any ath* 
options, and replace them with: 

device          ath    
device          ath_hal 
options         AH_SUPPORT_AR5416  
device          ath_rate_sample 

Note that these days it is usually better to not have an entire custom 
kernel file, but just to have one that contains "include GENERIC" and then 
add/remove devices and options as required. 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun Sep 13 15:11:01 UTC 2009 
Responsible-Changed-Why:  
Track 

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