CAMBRIA and more than one atheros card

John Hay jhay at meraka.org.za
Thu Jul 10 04:02:37 UTC 2014


On Wed, Jul 09, 2014 at 06:46:12AM +0200, John Hay wrote:
> Hi Guys,
> 
> The problem is back / still there. I initially saw the problem during
> boot, with the interface configs in rc.conf, but because it is so
> mixed with the rest, I took it out and put it in the script, then
> after multi-user boot was finished, I did a login and ran the script,
> with the output I showed in the initial post.
> 
> So I put the interface configs back into rc.conf and I'm seeing the
> same problem, here is a cut during boot:
> 
> ###############
> Starting file system checks:
> /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s1a: clean, 93385 free (33 frags, 11669 blocks, 0.0% fragmentation)
> Mounting local file systems:.
> Writing entropy file:.
> Setting hostname: tst-cambria-11.
> wlan0: Ethernet address: 00:21:a4:35:70:42
> wlan1: Ethernet address: 00:21:a4:35:6c:96
> ath1: unable to start recv logic
> wlan2: Ethernet address: 00:21:a4:32:38:c2
> ath2: unable to start recv logic
> ###############
> 
> Looking at the vmstat -z output the 256 Bucket fail is much higher than
> if I let it boot to multiuser and then configured the interfaces. It
> was in the 6000, while now it is much higher:
> 
> Without wlan configs in rc.conf, but configured afterwards:
> 16 Bucket:               64,      0,      15,     300,    3139,  16,   0
> 256 Bucket:            1024,      0,      31,       1,     592,6062,   0
> vmem btag:               28,      0,    4496,     256,    4496,  32,   0
> 
> With wlan configs in rc.conf:
> 16 Bucket:               64,      0,      16,     299,    8611,  16,   0
> 256 Bucket:            1024,      0,      26,       6,     773,16928,   0
> vmem btag:               28,      0,    4405,      59,    4405,  30,   0
> 
> Both of them boot from a ro compact-flash with md /etc and /var, but
> they are small 4.3M and 2.1M. I have hacked in the use of tmpfs, but
> that did not make a difference.
> 

I forgot to add my rc.conf. Maybe that will give a clue?

##############
hostname="tst-cambria-11"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc country ZA"
ifconfig_wlan0_ipv6="inet6 auto_linklocal"

wlans_ath1="wlan1"
create_args_wlan1="wlanmode adhoc country ZA"
ifconfig_wlan1_ipv6="inet6 auto_linklocal"

wlans_ath2="wlan2"
create_args_wlan2="wlanmode adhoc country ZA"
ifconfig_wlan2_ipv6="inet6 auto_linklocal"

ifconfig_npe0_ipv6="inet6 auto_linklocal"
ifconfig_wlan0="-bgscan channel 140 ssid mesh bssid 02:8c:ca:fe:ca:00"
ifconfig_wlan1="-bgscan channel 136 ssid mesh bssid 02:88:ca:fe:ca:00"
ifconfig_wlan2="-bgscan channel 13 ssid hotspot bssid 02:0d:ca:fe:ca:00"
ipv6_prefix_wlan0="fd35:ac5b:b116:10"
ipv6_prefix_wlan1="fd35:ac5b:b116:10"
ipv6_prefix_wlan2="fd35:ac5b:b116:38f4"
ipv4_addrs_wlan2="10.56.244.1/24"
ipv6_prefix_npe0="fd35:ac5b:b116:ee99"
ipv4_addrs_npe0="10.238.153.1/24"

varsize=5120
olsr_enable="NO"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
devd_enable="NO"
hostid_enable="NO"
mixer_enable="NO"
casperd_enable="NO"
########################

I checked booting with the above rc.conf that fails the second and third
wlan, even if I then login and ifconfig destroy the wlans and run my
script to configure them, they still fail.

So why would the creation and configuration of the wlan interfaces work
if it is not done during the boot, but after multi-user is reached?

Regards

John
-- 
John Hay -- jhay at meraka.csir.co.za / jhay at meraka.org.za / jhay at FreeBSD.org


More information about the freebsd-wireless mailing list