BUG: unable to handle kernel NULL pointer ...

Help
navilein
2007-10-01
2012-10-06
  • navilein
    navilein
    2007-10-01

    Hi,
    I have got this bug in my ndiswrapper-1.49-rc2 (the same happened with
    ndiswrapper-1.47).
    I've set up an Ad-Hoc connection with another laptop with an IPW2200 ABG
    network card.
    Both systems are running under Linux (gentoo).

    The connection failed all of a sudden, and on my computer (with
    ndiswrapper) i've got this message:

    BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
    printing eip:
    e2f6ef37
    *pde = 00000000
    Oops: 0000 [#1]
    PREEMPT
    Modules linked in: ipt_MASQUERADE xt_state xt_mac iptable_raw iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nfnetlink bridge llc iptable_filter ip_tables x_tables ndiswrapper nls_iso8859_1 ntfs nls_base r128 drm nfsd exportfs lockd sunrpc w83781d hwmon_vid hwmon i2c_isa snd_seq_midi snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq rtc dm_mod button fan thermal processor video dazuko commoncap e100 mii tulip 8250_pnp 8250 serial_core psmouse serio_raw parport_pc parport snd_ens1371 snd_rawmidi snd_seq_device snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801 i2c_core intel_agp agpgart uhci_hcd usbcore ide_cd cdrom
    CPU: 0
    EIP: 0060:[<e2f6ef37>] Tainted: P VLI
    EFLAGS: 00010202 (2.6.22-suspend2-r2 #1)
    EIP is at 0xe2f6ef37
    eax: c69e8000 ebx: e2ac888c ecx: 00000024 edx: 00000004
    esi: 00000000 edi: c69e1c9e ebp: c69e1cc4 esp: c69e1c68
    ds: 007b es: 007b fs: 0000 gs: 0000 ss: 0068
    Process ndis_wq (pid: 12518, ti=c69e0000 task=c8d9aa00 task.ti=c69e0000)
    Stack: e2ac8000 c9530028 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00248001 00000000 00000004 00000003 dfeed800 c02da750
    80000000 0000000e c4a51840 d7ecf8c0 c4a51840 c4a51840 00000000 c69e1d00
    Call Trace:
    [<c0104f8a>] show_trace_log_lvl+0x1a/0x30
    [<c0105049>] show_stack_log_lvl+0xa9/0xd0
    [<c0105276>] show_registers+0x206/0x350
    [<c01054bf>] die+0xff/0x200
    [<c0116249>] do_page_fault+0x2e9/0x630
    [<c032c0ba>] error_code+0x6a/0x70
    [<e2f6f7ec>] 0xe2f6f7ec
    [<e2f6f45b>] 0xe2f6f45b
    [<e2f6f2a5>] 0xe2f6f2a5
    [<e2f62b07>] 0xe2f62b07
    [<e2f6137a>] 0xe2f6137a
    [<e2f60e65>] 0xe2f60e65
    [<e2f64604>] 0xe2f64604
    [<e2f559e4>] 0xe2f559e4
    [<e2f51cd5>] 0xe2f51cd5
    [<e2f45b2a>] 0xe2f45b2a
    [<e2f48852>] 0xe2f48852
    [<e2f3ca70>] 0xe2f3ca70
    [<e2f3eb5a>] 0xe2f3eb5a
    =======================
    Code: 24 6a 04 8d 45 ac 50 ff 75 08 e8 34 4e fe ff 66 8b 45 cc 0c 01 66 89 45 cc 8a 45 0c 88 45 d8 8a 45 14 88 45 d9 8b 75 fc 8d 7d da <a5> 66 a5 8b 45 10 8a 40 01 88 45 e3 8b 45 10 0f b6 00 50 e8 1d
    EIP: [<e2f6ef37>] 0xe2f6ef37 SS:ESP 0068:c69e1c68

    My card is a D-Link DWL-G120 (ID 2001:3701), and I use the prisma02 windows
    drivers.

    After the connection fails (and I get the message above in my
    dmesg), I no longer am able to use the wireless. Whenever i run iwconfig
    (or any command as root), the command gets stuck (like is dead-locked
    forever). Actually even the reboot gets stuck, and I have to manually
    hard-reboot the computer from the power button.

    After I get this error, on the other computer (with the ipw2200 network
    card) it gives messages of the type "ipw2200: Firmware error detected.
    Restarting."

    Both computers are running the same linux (gentoo), the same version, and
    up to date.
    My computer (carrying the ndiswrapper with the Dlink DWL-G120 card) is this
    (uname -a):
    Linux sinbad 2.6.22-suspend2-r2 #1 PREEMPT Tue Sep 25 08:41:49 EDT 2007
    i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

    The other computer with the IPW2200 is this (uname -a):
    Linux verstecken 2.6.22-suspend2-r2 #2 PREEMPT Sun Sep 30 21:20:10 EDT 2007
    i686 Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/Linux

    and its network card is this (lspci):
    Network controller: Intel Corporation PRO/Wireless 2915ABG Network
    Connection (rev 05)
    It uses the ipw2200 driver which is integrated in the kernel (ver. 1.2.0k), with the firmware version
    3.0

    Please ask for more informations if needed.

    Any help what I could do ?

    Thanks.

     

    Related

    Patches: #1