Hi All,
Thanks for your quick response.
Valdis,
I tried with strace stuff, but I faced CPU halt issue. Actually along with those error logs..sometime I m facing CPU HALT issue after executing #hostapd -B /etc/hostapd.conf.
Pranay,
I tried your way to debug kernel for finding the root cause of error log 'Failed to update rate sets in kernel module'.
But prior to that I started to debugging for
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
those two logs.
Till now I found that before execution of __dev_open(net/core/dev,c) function for 'wlan0' network interface, 'netif_carrier_off'(net/sched/sch_generic.c) function get called for 'wlan0',
I am still looking to find the cause execution of net_carrier_off function before execution of __dev_open function for 'wlan0' network interface. This behavior I am not observing with my other wired and pseudo network interfaces.
'Failed to update rate sets in kernel module'
This error log may come because of previous issue as wlan0 device is not active till this point.
One more thing I tried, I cross compiled 'hostapd' version 2.4 for my target board and executed that on target board.I did not get above mentioned error log and till now no CPU halt issue.
Previously i was working with hostapd 0.7.3.
So is it like, hostapd old version is not compatible with new linux kernel version as hostapd 0.7.3 version is running with no issue at linux 3.4.
Any advice and suggestions will be appreciable/helpful.
Thanks,
Amit Gupta