Re: Re: Hostapd SIGSEGV with rt2x00

Petr Novak n_petr at seznam.cz
Mon Aug 4 09:11:42 EDT 2008


>>Johannes Berg wrote:
>> On Sun, 2008-08-03 at 17:46 +0200, n_petr wrote:
>>> Hello,
>>> yesterday I recieved SIGSEGV from hostapd on:
>>> kernel: 2.6.27-rc1-wl
>>> driver: rt2500pci
>>> version: 2.1.8
>>> compiled: Aug 2 2008 18:48:26
>>>
>>> # hostapd.conf
>>> interface=wlan0
>>> driver=nl80211
>>> ssid=stealth
>>> hw_mode=g
>>>
>>> # hostapd -dd /etc/hostapd/hostapd.conf
>>> Configuration file: /etc/hostapd/hostapd.conf
>>> Failed to create interface mon.wlan0.
>>> nl80211 driver initialization failed.
>>> wlan0: Unable to setup interface.
>>> Flushing old station entries
>>> Deauthenticate all stations
>>> Neoprávněný přístup do paměti (SIGSEGV)
>>>
>>> # dmesg
>>> [ 873.450929] hostapd[5818]: segfault at 0 ip 0804c6af sp bff23f60 error 4 in hostapd[8048000+53000]
>>> [ 1950.047936] hostapd[6591]: segfault at 0 ip 0804c6af sp bfca1070 error 4 in hostapd[8048000+53000]
>>> [ 1985.862599] hostapd[6610]: segfault at 0 ip 0804c6af sp bfe36a00 error 4 in hostapd[8048000+53000]
>>>
>>> I am using Hostapd from git. You can see more info in:
>>> http://sourceforge.net/mailarchive/forum.php?thread_name=1343.1215-14058-167311540-1217705175%40seznam.cz&forum_name=rt2400-devel
>>>
>>> Is it sufficient report for fix this bug?
>> 
>> Umm, no. Compile with debugging information and run with gdb.
>> 
>> johannes
>> 
>
>I get the same error when I forget to patch the kernel sources with 
>allow-ap-vlan-modes.patch .  Did you remember to patch the kernel ?
>
>Andrew.

Oh, sorry. We do not have this patch in current rt2x00.git. I forgot to check it. Recompile with patch solved the problem.

Thank you very much, Petr Novak.


More information about the HostAP mailing list