From: Bjørn Mork (bjorn_at_mork.no)
Date: 2002-04-21 18:49:21 UTC
Jouni Malinen <jkmaline_at_cc.hut.fi> writes:
> A new version of Prism2 Host AP driver was just released and it is now > available from http://people.ssh.com/jkm/Prism2/
This version crashed here. I compiled it with
#define PRISM2_USE_CMD_COMPL_INTERRUPT
and no other changes. ksymoops output:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 02ca0000, %cr3 = 02ca0000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c01b080e>]
EFLAGS: 00010202
eax: c384da77 ebx: 00000000 ecx: 00000000 edx: c384da75
esi: 00000001 edi: c271971c ebp: c271973c esp: c27196cc
ds: 0018 es: 0018 ss: 0018
Process cardmgr (pid: 49, process nr: 8, stackpage=c2719000)
Stack: c1d70000 c271973c 00000002 00000001 c2719900 c2719b2c cccccccd 00000000
c2719900 c01b08aa 00000000 c384da75 c271971c 00000001 00000000 00000021 c01eed45 c3844412 00000000 c384da75 00000000 c011264d cccccccd 00000000 Call Trace: [<c01b08aa>] [<c384da75>] [<c3844412>] [<c384da75>] [<c011264d>] [<c384af40>] [<c38517a0>]Code: 88 03 43 eb 4e 4a 89 54 24 34 eb 47 8d b6 00 00 00 00 83 f9
[<c384af24>] [<c384d854>] [<c38217e0>] [<c3818700>] [<c381849a>] [<c3817900>] [<c01c0018>] [<c3818957>]
[<c381874c>] [<c3819cb5>] [<c01afd69>] [<c0112514>] [<c011264d>] [<c38217e0>] [<c38217e0>] [<c3819a00>]
[<c3818957>] [<c3817ee2>] [<c3818700>] [<c381849a>] [<c3817900>] [<c01c0018>] [<c3818957>] [<c381874c>]
[<c3819cb5>] [<c01afd69>] [<c0112514>] [<c011264d>] [<c384b193>] [<c38517a0>] [<c38217e0>] [<c381689d>]
[<c0108f99>] [<c3817d6b>] [<c010f130>] [<c010f707>] [<c3851ed0>] [<c3851821>] [<c0112514>] [<c3817aaa>]
[<c384a58f>] [<c3817b99>] [<c38517a0>] [<c384b10c>] [<c38236bd>] [<c3824120>] [<c010f130>] [<c010f707>]
[<c014829c>] [<c014788d>] [<c014787c>] [<c0170ba1>] [<c0131e89>] [<c0145263>] [<c0145e79>] [<c012b341>]
[<c01305b0>] [<c012b366>] [<c0123e0a>] [<c011af42>] [<c012dd77>] [<c0107b90>]
Warning: trailing garbage ignored on Code: line Text: 'Code: 88 03 43 eb 4e 4a 89 54 24 34 eb 47 8d b6 00 00 00 00 83 f9 ' Garbage: ' '
>>EIP: c01b080e <vsprintf+28e/310> Trace: c01b08aa <sprintf+1a/e8c> Trace: c384da75 <cleanup_module+2661/????> Trace: c3844412 <prism2_init_dev+22/a0> Trace: c384da75 <cleanup_module+2661/????> Trace: c011264d <printk+15d/170> Trace: c384af40 <prism2_config+874/8d8> Trace: c38517a0 <cleanup_module+638c/????> Trace: c384af24 <prism2_config+858/8d8> Trace: c381874c <get_first_tuple+d0/d8> Trace: c3818957 <get_next_tuple+a7/240> Trace: c3819cb5 <validate_cis+13d/188> Trace: c0108f99 <enable_irq+39/70> Trace: c384a58f <prism2_attach+10f/140> Trace: c014829c <memcpy_fromiovec+3c/70> Trace: c01305b0 <dput+f0/160> Code: c01b080e <vsprintf+28e/310> 00000000 <_EIP>: <=== Code: c01b080e <vsprintf+28e/310> 0: 88 03 mov %al,(%ebx) <=== Code: c01b0810 <vsprintf+290/310> 2: 43 inc %ebx Code: c01b0811 <vsprintf+291/310> 3: eb 4e jmp c01b0861 <vsprintf+2e1/310> Code: c01b0813 <vsprintf+293/310> 5: 4a dec %edx Code: c01b0814 <vsprintf+294/310> 6: 89 54 24 34 mov %edx,0x34(%esp,1) Code: c01b0818 <vsprintf+298/310> a: eb 47 jmp c01b0861 <vsprintf+2e1/310> Code: c01b081a <vsprintf+29a/310> c: 8d b6 00 00 00 00 lea 0x0(%esi),%esi Code: c01b0820 <vsprintf+2a0/310> 12: 83 f9 00 cmp $0x0,%ecx > * fixed BAP setup problems (BAP0 and BAP1 cannot apparently be setup > correctly, even though they can be used concurrently for > reading/writing) > - this removes at least some corruption problems (e.g., "no SNAP?" > messages) > - this fixes some card hangs (which would usually cause > "hfa384x_setup_bap - timeout3" messages)
Too bad, since I was curious about the effect of these changes..
Bjørn