hostap driver hangs "hard"

Holger Schurig hs4233 at mail.mn-solutions.de
Thu Dec 22 04:00:26 EST 2005


Okay, I've added lot's of printk's to find out where we hang, here's an except 
of the output:

# [   34.460000] hostap_crypt: registered algorithm 'NULL'
[   34.820000] hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
[   35.100000] hostap_cs: setting Vcc=33 (constant)
[   35.100000] hostap_cs: CS_EVENT_CARD_INSERTION
[   35.110000] prism2_config()
[   35.110000] hostap_cs: setting Vcc=33 (from config)
[   35.110000] Checking CFTABLE_ENTRY 0x01 (default 0x01)
[   35.120000] IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
[   35.130000] io->flags = 0x0046, io.base=0x0000, len=64
[   35.130000] prism2_init_local_data()
[   35.420000] hostap_cs: Registered netdevice wifi0
[   35.460000] hostap_cs: index 0x01: Vcc 3.3, irq 45, io 
0xc88a0000-0xc88a003f
[   35.470000] prism2_hw_config()
[   35.470000] prism2_hw_init()
[   35.470000] hfa384x_cmd_no_wait()
[   35.480000] __hfa384x_cmd_no_wait()
[   36.340000] prism2_hw_init: initialized in 860 ms
[   36.350000] prism2_hw_init2()
[   36.350000] prism2_read_pda()
[   36.350000] prism2_enable_aux_port()
[   36.360000] wifi0: trying to read PDA from 0x007f0000hfa384x_from_aux()
[   36.360000] prism2_interrupt()

So it hangs somewhere in the interrupt routine?  That explains a little bit 
why other kernel interrupts are blocked.

[   46.990000] hostap_tick_timer()
[   47.000000] prism2_pda_ok()
[   47.000000] : failed
[   47.000000] wifi0: trying to read PDA from 0x003f0000hfa384x_from_aux()
[   47.010000] prism2_interrupt()
[   47.010000] prism2_pda_ok()
[   47.010000] : failed
[   47.020000] wifi0: trying to read PDA from 0x00390000hfa384x_from_aux()
[   47.020000] prism2_interrupt()
[   47.030000] prism2_interrupt()
[   47.030000] prism2_pda_ok()
[   47.030000] : failed
[   47.030000] wifi0: trying to read PDA from 0x007f0002hfa384x_from_aux()
[   47.040000] prism2_interrupt()
[   47.040000] prism2_pda_ok()
[   47.050000] : OK
[   47.050000] prism2_enable_aux_port()
[   47.050000] prism2_enable_aux_port: was not enabled!?
[   47.140000] hfa384x_disable_interrupts()
[   47.150000] hfa384x_events_only_cmd()
[   47.150000] prism2_get_version_info(dev, rid fd0b, txt NIC)
[   47.160000] hfa384x_get_rid()
[   47.160000] hfa384x_cmd()
[   47.160000] hfa384x_cmd_issue()
[   47.170000] hostap_cs: CS_EVENT_CARD_REMOVAL
[   47.170000] prism2_release
[   47.170000] prism2_hw_shutdown()
[   47.180000] hfa384x_events_only_cmd()
[   47.180000] wifi0: card already removed or not configured during shutdown
[   47.190000] release - done
[   49.000000] hostap_tick_timer()
[   49.170000] wifi0: hfa384x_cmd: entry still in list? (entry=c3bb4e20, 
type=0, res=0)
[   49.170000] wifi0: hfa384x_cmd: command was not completed (res=0, 
entry=c3bb4e20, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=04c0 INTEN=04c0)
[   49.190000] wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, 
rid=fd0b, len=8)
[   49.190000] Could not get RID for component NIC
[   49.200000] hfa384x_disable_interrupts()
[   49.200000] hostap_cs: Initialization failed
[   49.210000] prism2_config() failed
[   49.250000] prism2_detach
[   49.260000] prism2_free_local_data()
[   49.260000] prism2_crypt_deinit_entries()
[   49.260000] prism2_clear_cmd_queue()
[   49.270000] prism2_download_free_data()
[   49.270000] prism2_download_free_data()
[   49.280000] prism2_clear_set_tim_queue()
  



More information about the HostAP mailing list