From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 19:49:56 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10ACF1065758 for ; Mon, 13 Apr 2009 19:49:56 +0000 (UTC) (envelope-from tethys.ocean@gmail.com) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id 670648FC13 for ; Mon, 13 Apr 2009 19:49:54 +0000 (UTC) (envelope-from tethys.ocean@gmail.com) Received: by fxm11 with SMTP id 11so2159169fxm.43 for ; Mon, 13 Apr 2009 12:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dWXnQt9vpv1SdKSrm/ooG86959J0c8u30Vaw2Txw+gA=; b=X6MezSH3QHXSxzECoo0Xc+gcmcMicMdyNdid9kI3+SCtum6ZaWWuXi2bMj/HjlNdyJ B11BI9axZ4yN0ZOB3RfnisuJT3gifP5hruuYUlYJaysyZIwn1MF3CXpUGIbk9QSSPT4x GGqH/jO7UPItJU8uX/FEBs4pKysH9BMuD87Eg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IiSv2OV3grJYszZIv9BK3374DrDQPJRNJYaOAgubXvEIBa38m+GE4kviZAWiX4CzWC pqmlK8BOli/XoRqBKhjsFqNtBURIXijIM2I1yr7xHVdKB8er+yNMt3Exp9B1XhFGM80x 9Br5HcUWZv0bJdfH+ojM5wtzcr5YSeIto7BjQ= MIME-Version: 1.0 Received: by 10.103.169.18 with SMTP id w18mr3530683muo.101.1239652193996; Mon, 13 Apr 2009 12:49:53 -0700 (PDT) In-Reply-To: <49E3545A.1060607@gmail.com> References: <235b80000904130637g70dc9e66t3e62ef1b06814c4f@mail.gmail.com> <49E3545A.1060607@gmail.com> Date: Mon, 13 Apr 2009 22:49:53 +0300 Message-ID: <235b80000904131249pc7860ccj7829224949fa90db@mail.gmail.com> From: tethys ocean To: Manolis Kiagias Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 19:49:57 -0000 thank a lot i found info in UPDATING just below 20090312: The open-source Atheros HAL has been merged from HEAD to STABLE. The kernel compile-time option AH_SUPPORT_AR5416 has been added to support certain newer Atheros parts, particularly PCI-Express chipsets. The following modules are no longer available, and should be removed from MODULES_OVERRIDE and/or loader.conf:- ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample i added some line to my loader.conf shown in below ath_load="YES" ath_hal_load="YES" ath_rate_amrr="YES" and added to my kernel such lines device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath but "make" fail changed just like as shown below /usr/src/sys/modules/ath/../../dev/ath/if_ath.c: In function 'ath_rx_tap': /usr/src/sys/modules/ath/../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' /usr/src/sys/modules/ath/../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 Stop in /usr/src/sys/modules/ath. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 On Mon, Apr 13, 2009 at 6:03 PM, Manolis Kiagias wrote: > tethys ocean wrote: > > I am using 7.1-STABLE FreeBSD 7.1-STABLE # on one of the my servers. > This > > server was working properly for long time. Electricty is often break down > > and this server isnt behind UPS. Today I have found it as shutdown and > than > > opened it but some servis/daemon hasn't work (such as mysql etc) I have > done > > fschk etc. And than I want to update since it is working so so slow. Than > I > > have update source tree and rebuild kernel and "make depend" has been > > passing well and than "make" state fail, error log(stdout) is shown > bellow. > > > > [root@witch /usr/src/sys/i386/compile/WITCH]# make > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > > -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > > -include opt_global.h -fno-common -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 > > ../../../dev/ath/if_ath.c -I../../../dev/ath > > ../../../dev/ath/if_ath.c: In function 'ath_rx_tap': > > ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has > no > > member named 'rs_flags' > > ../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has > no > > member named 'rs_flags' > > *** Error code 1 > > > > Stop in /usr/src/sys/i386/compile/WITCH. > > > > I read some mail and paper about this error it is saying this is bug > freebsd > > bug... but I got suspicious because I did so many times kernel > > rebuild+update source tree. It hasnt fail with this stdout. Why now? > > > > thank a lot > > > > This is probably due to the changes in the atheros driver. You will have > to update your kernel configuration file. Please read /usr/src/UPDATING > and this thread: > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/195075.html > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart.