View previous topic :: View next topic |
Author |
Message |
BoNd60 n00b


Joined: 17 Nov 2005 Posts: 73 Location: Paris, France
|
Posted: Tue Nov 22, 2005 10:02 pm Post subject: ndiswrapper & virtual address error [SOLVED] |
|
|
I have a problem with ndiswrapper when probing : when Gnome starts, it launches the module ndiswrapper and, sometimes, the driver causes a kernel panic because it can't handle the "kernel NULL pointer dereference at virtual address xxxx" (the address changes everytime).
My card is a Peabird with a Marvell chipset (PCMCIA), I use ndiswrapper-1.2, gentoo-sources-2.6.12-r10 as kernel and gnome-2.10.2 (but i had this problem with several kernels and versions of gnome)
Can someone help me?
PS : That's the output of dmesg Code: | ndiswrapper version 1.2 loaded (preempt=yes,smp=no)
ndiswrapper: driver mrv8000c (Marvell,09/17/2004,3.1.0.19) loaded
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKF] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:02:00.0 to 64
ndiswrapper: using irq 11
Unable to handle kernel NULL pointer dereference at virtual address 00000029
printing eip:
ce135503
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: ndiswrapper ipv6 pcmcia yenta_socket rsrc_nonstatic pcmcia_core iptable_filter ip_conntrack_ftp ipt_LOG ipt_limit ipt_REJECT ipt_state ip_conntrack ip_tables powernow_k7 cpufreq_powersave cpufreq_performance cpufreq_ondemand video thermal button fan processor battery ac ohci_hcd pktcdvd floppy
CPU: 0
EIP: 0060:[<ce135503>] Tainted: P VLI
EFLAGS: 00010246 (2.6.12-gentoo-r10)
EIP is at 0xce135503
eax: 00000000 ebx: c25107e0 ecx: 00000000 edx: 0000000d
esi: ca016240 edi: ce16e938 ebp: cada9dd8 esp: cada9db8
ds: 007b es: 007b ss: 0068
Process loadndisdriver (pid: 7418, threadinfo=cada8000 task=cb9b1a80)
Stack: 00000004 c25107e0 cb7e100c 00220022 ce1352a4 00280028 ce1352c8 0000000d
cada9dec ce16efa9 c25107e0 ce07115a ce00d021 caeffc00 ce068e7b cada9e0c
cada9e10 cada9e14 00000000 c05aa800 c05aa800 00000000 00000000 00000000
Call Trace:
[<ce068e7b>] miniport_init+0x4b/0x80 [ndiswrapper]
[<ce057554>] ndiswrapper_add_pci_device+0x144/0x310 [ndiswrapper]
[<c022a802>] pci_device_probe_static+0x52/0x70
[<c022a85b>] __pci_device_probe+0x3b/0x50
[<c022a89c>] pci_device_probe+0x2c/0x50
[<c02b72ef>] driver_probe_device+0x2f/0x80
[<c02b7439>] driver_attach+0x59/0x90
[<c02b7938>] bus_add_driver+0x98/0xd0
[<c022ab4b>] pci_register_driver+0x6b/0x90
[<ce058c68>] register_devices+0x3f8/0x590 [ndiswrapper]
[<ce058ed7>] wrapper_ioctl+0xd7/0xe0 [ndiswrapper]
[<c017112f>] do_ioctl+0x6f/0xa0
[<c0171315>] vfs_ioctl+0x65/0x1d0
[<c01714c5>] sys_ioctl+0x45/0x80
[<c01031e1>] syscall_call+0x7/0xb
Code: 94 14 ce 8b 55 fc 85 d2 74 25 c1 e6 05 85 c0 8b ce 8b 35 bc e9 16 ce 89 91 38 e9 16 ce 89 b1 3c e9 16 ce 89 99 54 e9 16 ce 75 04 <83> 4a 1c 04 5f c6 43 31 01 5e 5b c9 c2 04 00 a1 c0 e9 16 ce 53
<3>ndiswrapper (wrapper_init:1531): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver' |
_________________ Oops, I think I'm not DOS compatible
In every situation, don't forget that the answer is 42
Last edited by BoNd60 on Sat Dec 10, 2005 9:39 am; edited 1 time in total |
|
Back to top |
|
 |
BoNd60 n00b


Joined: 17 Nov 2005 Posts: 73 Location: Paris, France
|
Posted: Thu Dec 01, 2005 10:04 pm Post subject: |
|
|
Nobody has an idea? Should I post a bug? _________________ Oops, I think I'm not DOS compatible
In every situation, don't forget that the answer is 42 |
|
Back to top |
|
 |
noup l33t


Joined: 21 Mar 2003 Posts: 917
|
Posted: Thu Dec 01, 2005 10:59 pm Post subject: |
|
|
Some sugestions:
1 - Try with the latest ndiswrapper version (1.5 in portage)
2 - Try disabling "preemptible kernel" in the kernel
3 - Are you sure you're using a valid ini/sys windows binary driver? I once had kernel panics when loading ndiswrapper due to the fact that i was using a driver binary i had laying around on my HD and was somehow corrupted. _________________ noup. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|