7.2-PRERELEASE Kernel NOT build - ath driver error - rs_flags

View: New views
3 Messages — Rating Filter:   Alert me  

7.2-PRERELEASE Kernel NOT build - ath driver error - rs_flags

by Marco-158 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

on short notice i was not able to find how to commit a bug, so possibly
you also can me put to the right direction for further descriptions. i
checked out recent kernel tree 7.2-PRERELEASE. Which is not building on
my x86.

[...]
/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 member named 'rs_flags'
/usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status'
has no member named 'rs_flags'
*** Error code 1

Stop in /usr/obj/usr/src/sys/NEWKERNEL
*** Error code 1

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


[....]

my os:
FreeBSD  7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #15: Thu Dec 11 22:27:40
CET 2008     root@:/usr/obj/usr/src/sys/NEWKERNEL  i386

best regards,
 marco
_______________________________________________
freebsd-bugs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@..."

Re: 7.2-PRERELEASE Kernel NOT build - ath driver error - rs_flags

by Manolis Kiagias-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marco wrote:

> Hello,
>
> on short notice i was not able to find how to commit a bug, so possibly
> you also can me put to the right direction for further descriptions. i
> checked out recent kernel tree 7.2-PRERELEASE. Which is not building on
> my x86.
>
> [...]
> /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 member named 'rs_flags'
> /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status'
> has no member named 'rs_flags'
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/NEWKERNEL
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
>  

I guess you are using a kernel configuration file created for 7.0 or
7.1. There have been some changes in the atheros code.
Have a look at the new /usr/src/sys/i386/conf/GENERIC file. You will
need to delete your older ath related entries from your NEWKERNEL file
and replace them with these:

device          ath  
device          ath_hal
options         AH_SUPPORT_AR5416
device          ath_rate_sample

info on this is also in /usr/src/UPDATING

_______________________________________________
freebsd-bugs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@..."

Re: 7.2-PRERELEASE Kernel NOT build - ath driver error - rs_flags

by Marco-158 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

yes you were right, old kernel config, adopting the new one everything
works fine.

best regards,
 marco

Manolis Kiagias wrote:

> Marco wrote:
>  
>> Hello,
>>
>> on short notice i was not able to find how to commit a bug, so possibly
>> you also can me put to the right direction for further descriptions. i
>> checked out recent kernel tree 7.2-PRERELEASE. Which is not building on
>> my x86.
>>
>> [...]
>> /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 member named 'rs_flags'
>> /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status'
>> has no member named 'rs_flags'
>> *** Error code 1
>>
>> Stop in /usr/obj/usr/src/sys/NEWKERNEL
>> *** Error code 1
>>
>> Stop in /usr/src.
>> *** Error code 1
>>
>>  
>>    
>
> I guess you are using a kernel configuration file created for 7.0 or
> 7.1. There have been some changes in the atheros code.
> Have a look at the new /usr/src/sys/i386/conf/GENERIC file. You will
> need to delete your older ath related entries from your NEWKERNEL file
> and replace them with these:
>
> device          ath  
> device          ath_hal
> options         AH_SUPPORT_AR5416
> device          ath_rate_sample
>
> info on this is also in /usr/src/UPDATING
>
>
>  

_______________________________________________
freebsd-bugs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@..."