RE: ifconfig issue

Claas Hilbrecht <[email protected]> Wed, 02 Mar 2005 10:05:08 +0100
Newsgroups gmane.linux.drivers.prism54.user
Message-ID <5299A610C3D712625F81CC44@[192.168.1.22]>
> I am having the same problem whenever I enable either wds or hostapd
> support. I am using kernel 2.4.26 and the latest prism54 cvs. Can someone
> help?

I think the problem is described here: 
<http://groups.google.de/groups?q=rtnl_lock&start=50&hl=de&lr=&scoring=d&selm=20030412090014%246421%40gated-at.bofh.it&rnum=53>. 
The basic is that:

register_netdevice() is called under rtnl_lock.  It calls
net_run_sbin_hotplug() which ends up waiting on ifconfig.  But
ifconfig needs rtnl_lock.

I wonder how anyone get hostapd runnig with prism54. I tried with kernel 
2.4.27 and will try kernel 2.4.29 in a few days.

-- 
 Claas Hilbrecht
 http://www.jucs-kramkiste.de