#17 crash on loading ndiswrapper

closed
nobody
None
5
2012-10-06
2004-02-21
Kees
No

Tried ndiswrapper several months now. Never got it to work.
Latest try is with ndiswrapper from cvs (2004-02-21)
Below is the information. Hope this helps solving the bug.

uname -a

Linux localhost.localdomain 2.6.2-1.81 #1 Sat Feb 14
09:37:09 EST 2004 i686 i686 i386 GNU/Linux

lspci output:

0000:02:01.0 Network controller: Intel Corp.
PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

ndiswrapper -l output:

Installed ndis drivers:
w70n51 present

dmesg output:

ndiswrapper: no version for "struct_module" found:
kernel tainted.
ndiswrapper version 0.4+CVS loaded
Putting driver size 2370688
Image is at E0B84000
Importing rva 000220dc: ntoskrnl.exe : strlen
Importing rva 000220e0: ntoskrnl.exe : memcpy
Importing rva 000220e4: ntoskrnl.exe : memset
Importing rva 00022000: HAL.dll : WRITE_PORT_ULONG
Importing rva 00022004: HAL.dll : READ_PORT_ULONG
Importing rva 00022008: HAL.dll : KeStallExecutionProcessor
Importing rva 00022010: NDIS.SYS : NdisMUnmapIoSpace
Importing rva 00022014: NDIS.SYS :
NdisAllocateMemoryWithTag
Importing rva 00022018: NDIS.SYS : NdisMRegisterMiniport
Importing rva 0002201c: NDIS.SYS : NdisInitializeWrapper
Importing rva 00022020: NDIS.SYS :
NdisMRegisterAdapterShutdownHandler
Importing rva 00022024: NDIS.SYS : NdisSetTimer
Importing rva 00022028: NDIS.SYS : NdisWriteErrorLogEntry
Importing rva 0002202c: NDIS.SYS :
NdisMDeregisterAdapterShutdownHandler
Importing rva 00022030: NDIS.SYS : NdisInitializeEvent
Importing rva 00022034: NDIS.SYS : NdisMSetAttributesEx
Importing rva 00022038: NDIS.SYS : NdisMCancelTimer
Importing rva 0002203c: NDIS.SYS : NdisMInitializeTimer
Importing rva 00022040: NDIS.SYS : NdisReadConfiguration
Importing rva 00022044: NDIS.SYS : NdisCloseConfiguration
Importing rva 00022048: NDIS.SYS :
NdisMAllocateSharedMemory
Importing rva 0002204c: NDIS.SYS :
NdisUnicodeStringToAnsiString
Importing rva 00022050: NDIS.SYS : NdisOpenConfiguration
Importing rva 00022054: NDIS.SYS : NdisFreeMemory
Importing rva 00022058: NDIS.SYS : NdisWriteConfiguration
Importing rva 0002205c: NDIS.SYS : NdisInitializeString
Importing rva 00022060: NDIS.SYS : NdisScheduleWorkItem
Importing rva 00022064: NDIS.SYS : NdisQueryBufferSafe
Importing rva 00022068: NDIS.SYS :
NDIS_BUFFER_TO_SPAN_PAGES
Importing rva 0002206c: NDIS.SYS : NdisQueryBufferOffset
Importing rva 00022070: NDIS.SYS : NdisSetEvent
Importing rva 00022074: NDIS.SYS : NdisMFreeSharedMemory
Importing rva 00022078: NDIS.SYS : NdisWaitEvent
Importing rva 0002207c: NDIS.SYS : NdisResetEvent
Importing rva 00022080: NDIS.SYS : NdisMSetPeriodicTimer
Importing rva 00022084: NDIS.SYS : NdisGetCurrentSystemTime
Importing rva 00022088: NDIS.SYS : NdisReadNetworkAddress
Importing rva 0002208c: NDIS.SYS : NdisMSleep
Importing rva 00022090: NDIS.SYS : NdisReleaseSpinLock
Importing rva 00022094: NDIS.SYS : NdisAcquireSpinLock
Importing rva 00022098: NDIS.SYS : NdisAllocateBuffer
Importing rva 0002209c: NDIS.SYS : NdisFreeBuffer
Importing rva 000220a0: NDIS.SYS : NdisUnchainBufferAtBack
Importing rva 000220a4: NDIS.SYS : NdisAllocateSpinLock
Importing rva 000220a8: NDIS.SYS : NdisAllocatePacket
Importing rva 000220ac: NDIS.SYS : NdisAllocateBufferPool
Importing rva 000220b0: NDIS.SYS : NdisAllocatePacketPool
Importing rva 000220b4: NDIS.SYS : NdisFreePacketPool
Importing rva 000220b8: NDIS.SYS : NdisFreeBufferPool
Importing rva 000220bc: NDIS.SYS : NdisFreePacket
Importing rva 000220c0: NDIS.SYS : NdisFreeSpinLock
Importing rva 000220c4: NDIS.SYS :
NdisMQueryAdapterResources
Importing rva 000220c8: NDIS.SYS :
NdisMInitializeScatterGatherDma
Importing rva 000220cc: NDIS.SYS : NdisMRegisterInterrupt
Importing rva 000220d0: NDIS.SYS : NdisMMapIoSpace
Importing rva 000220d4: NDIS.SYS : NdisMDeregisterInterrupt
ndiswrapper adding w70n51.sys
add_device 8086:1043:8086:2562 0
add_device 8086:1043:8086:2521 0
add_device 8086:1043:8086:2586 0
add_device 8086:1043:8086:2593 0
add_device 8086:1043:8086:2522 0
add_device 8086:1043:8086:2523 0
add_device 8086:1043:8086:2585 0
add_device 8086:1043:8086:2565 0
add_device 8086:1043:8086:2560 0
add_device 8086:1043:8086:2582 0
add_device 8086:1043:8086:2561 0
add_device 8086:1043:8086:252c 0
add_device 8086:1043:8086:2527 0
add_device 8086:1043:8086:2570 0
add_device 8086:1043:8086:2587 0
add_device 8086:1043:8086:2563 0
add_device 8086:1043:8086:2520 0
add_device 8086:1043:ffffffff:ffffffff 1
add_device 8086:1043:8086:2581 0
add_device 8086:1043:8086:2529 0
add_device 8086:1043:8086:252d 0
add_device 8086:1043:8086:2583 0
add_device 8086:1043:8086:2566 0
add_device 8086:1043:8086:2598 0
add_device 8086:1043:8086:2580 0
add_device 8086:1043:8086:2567 0
add_device 8086:1043:8086:2592 0
add_device 8086:1043:8086:2554 0
add_device 8086:1043:8086:2550 0
add_device 8086:1043:8086:2553 0
add_device 8086:1043:8086:2555 0
add_device 8086:1043:8086:2524 0
add_device 8086:1043:8086:2528 0
add_device 8086:1043:8086:2551 0
add_device 8086:1043:8086:25a0 0
add_device 8086:1043:8086:2525 0
add_device 8086:1043:8086:2596 0
add_device 8086:1043:8086:2590 0
add_device 8086:1043:8086:252b 0
add_device 8086:1043:8086:2591 0
Calling entry at E0B84300 rva(00010300)
NdisInitializeWrapper handle=cf719dec, SS1=e0b7cfd4,
SS2=e0b84300
NdisMRegisterMiniport driver: e0db5710
NdisMRegisterMiniport Version 67.97
NdisMRegisterMiniport Len: cf719df4:00000044
Past entry: Version: 0.0

00000000 (rva 00000000):EnableInterruptHandler
00000000 (rva 00000000):halt
00000000 (rva 00000000):HandleInterruptHandler
00000000 (rva 00000000):init
00000000 (rva 00000000):ISRHandler
00000000 (rva 00000000):query
00000000 (rva 00000000):ReconfigureHandler
00000000 (rva 00000000):ResetHandler
00000000 (rva 00000000):SendHandler
00000000 (rva 00000000):SetInformationHandler
00000000 (rva 00000000):TransferDataHandler
00000000 (rva 00000000):ReturnPacketHandler
00000000 (rva 00000000):SendPacketsHandler
00000000 (rva 00000000):AllocateCompleteHandler
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
kernel/printk.c:500:
spin_lock(kernel/printk.c:c03610a8) already locked by
kernel/printk.c/500
Debug: sleeping function called from invalid context at
include/linux/rwsem.h:43in_atomic():0, irqs_disabled():1
Call Trace:
[<c011f9a0>] do_page_fault+0x0/0x4cc
[<c0125f40>] might_sleep+0x90/0xb0
[<c011fa0a>] do_page_fault+0x6a/0x4cc
[<c012a1f7>] printk+0x257/0x3b0
[<c012a1f7>] printk+0x257/0x3b0
[<c011f9a0>] do_page_fault+0x0/0x4cc
[<c010c649>] error_code+0x2d/0x38
[<c012007b>] remap_area_pages+0x18b/0x320
[<c01f7f8d>] vsnprintf+0x33d/0x4d0
[<c012a0fd>] printk+0x15d/0x3b0
[<c014c560>] file_read_actor+0x0/0xd0
[<e0b74000>] ndis_init_one+0xd0/0x530 [ndiswrapper]
[<e0b72c61>] call_entry+0xd1/0xe0 [ndiswrapper]
[<e0b7451e>] start_driver+0xe/0x1c0 [ndiswrapper]
[<e0b75254>] misc_ioctl+0x134/0x26b [ndiswrapper]
[<c0176c10>] filp_dtor+0x0/0x170
[<c019292c>] dput+0x1c/0x620
[<e00ff525>] ext3_release_dir+0x15/0x20 [ext3]
[<c0177011>]
fput+0x91/0xf0
[<c018e4af>] sys_ioctl+0xcf/0x240
[<c01754bf>] filp_close+0x4f/0x80
[<c010c49f>] syscall_call+0x7/0xb

Unable to handle kernel paging request at virtual
address 00620061
printing eip:
c01f7f8d
*pde = 070bf067
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c01f7f8d>] Tainted: P
EFLAGS: 00010097
EIP is at vsnprintf+0x33d/0x4d0
eax: 00620061 ebx: 0000000a ecx: 00620061 edx:
fffffffe
esi: c041a5f8 edi: 00000000 ebp: c041a9df esp:
cf719e00
ds: 007b es: 007b ss: 0068
Process loadndisdriver (pid: 11010, threadinfo=cf718000
task=cb3a90c0)
Stack: 00000000 00000000 00000010 00000008 00000000
00000041 ffffffff ffffffff
00000400 c041a5e0 e0b7b7cc c041a5e0 00000246
c032f59e 00000000 c012a0fd
cf719e9c 00000000 00000000 00000000 00000000
e0b91610 e0b854d0 e0b84860
Call Trace:
[<c012a0fd>] printk+0x15d/0x3b0
[<c014c560>] file_read_actor+0x0/0xd0
[<e0b74000>] ndis_init_one+0xd0/0x530 [ndiswrapper]
[<e0b72c61>] call_entry+0xd1/0xe0 [ndiswrapper]
[<e0b7451e>] start_driver+0xe/0x1c0 [ndiswrapper]
[<e0b75254>] misc_ioctl+0x134/0x26b [ndiswrapper]
[<c0176c10>] filp_dtor+0x0/0x170
[<c019292c>] dput+0x1c/0x620
[<e00ff525>] ext3_release_dir+0x15/0x20 [ext3]
[<c0177011>] __fput+0x91/0xf0
[<c018e4af>] sys_ioctl+0xcf/0x240
[<c01754bf>] filp_close+0x4f/0x80
[<c010c49f>] syscall_call+0x7/0xb

Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 83 e7
10 89 c3 75

[root@localhost ndiswrapper]#

Related

Patches: #1

Discussion

  • Giridhar Pemmasani

    Logged In: YES
    user_id=918798

    Try the latest CVS and disable SMP/Hyperthreading. See the FAQ.

     
  • Pontus Fuchs

    Pontus Fuchs - 2004-03-12

    Logged In: YES
    user_id=57077

    I'm cloing this issue because it it seems dead. Please
    reopen if not.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks