In my knowledge, segmentation fault is caused by user space program. I have not had segmentation fault error in kernel or driver level programming. Am I right?<BR><BR><B><I>Pavel Roskin &lt;proski@gnu.org&gt;</I></B> wrote:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, 2007-03-19 at 20:45 -0700, hong zhang wrote:<BR>&gt; List,<BR>&gt; <BR>&gt; Version 4.9 hostapd will cause segmentation fault sometimes on<BR>&gt; IXP425--Gatework 2348 board. The chance is 50%. When I run "hoastapd<BR>&gt; ap_conf", it returns following even after I do "echo 2<BR>&gt; &gt; /proc/cpu/alignment". See following errors message,<BR>&gt; <BR>&gt; Bad mode in data abort handler detected: mode IRQ_32<BR>&gt; Internal error: Oops - bad mode: 0 [#1]<BR>&gt; Modules linked in: wlan_ccmp wlan_acl wlan_tkip wlan_xauth wlan_wep<BR>&gt; ath_pci ath_hal ath_rate_onoeCPU: 0<BR>[skip]<BR>&gt; Backtrace:<BR>&gt; [<BF0FF5D4>] (zz002db51c+0x0/0x3b4
 [ath_hal]) from [<BF0FBEDC>]<BR>&gt; (zz0002dbd2+0x21c/0xde8 [ath_hal) r8 = C03D2F20 r7 = 00000000 r6 =<BR>&gt; C03D3178 r5 = C0378000<BR>&gt; r4 = C03D2260<BR>&gt; [<BF0FBCC0>] (zz0002dbd2+0x0/0xde8 [ath_hal]) from [<BF11E89C>]<BR>&gt; (ath_init+0xec/0x25c [ath_pci])<BR><BR>Names starting with "zz" are internal functions of closed-source HAL<BR>(hardware abstraction layer) used in MadWifi. I believe there are<BR>similar reports in MadWifi bug tracking system.<BR><BR>I don't see any evidence that hostapd has anything to do with the<BR>problem. I think bringing the interface up without hostapd would have<BR>the same effect.<BR><BR>-- <BR>Regards,<BR>Pavel Roskin<BR><BR></BLOCKQUOTE><BR>