Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

ndiswrapper -- segment fault

  • Victor Chapman
    Victor Chapman
    2008-12-11

    I have a Dynex usb dongle. The firmware is from Broadcom.

    Here is a kernel dump of the problem.. perhaps someone can suggest a solution . TIA

    > ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
    > usb 2-4.1: reset high speed USB device using ehci_hcd and address 8
    > ndiswrapper: driver ndiswdm (Dynex,08/27/2007,4.118.3.0) loaded
    > BUG: unable to handle kernel NULL pointer dereference at 00000010
    > IP: [<f94de375>] :ndiswrapper:NdisMQueryAdapterResources+0x1b/0x94
    > pdpt = 00000000250b4001 pde = 0000000000000000
    > Oops: 0000 [#1] SMP
    > last sysfs file:
    > /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.1/input/input4/modalias
    > Modules linked in: ndiswrapper(+) udf crc_itu_t binfmt_misc snd_pcm_oss
    > snd_mixer_oss snd_seq_midi snd_seq_midi_event snd_opl3_synth
    > snd_seq_midi_emul snd_seq iptable_filter ip_tables ip6_tables x_tables
    > bridge bnep microcode firmware_class nls_iso8859_1 nls_cp437 vfat fat
    > fuse loop dm_mod rfcomm l2cap ppdev ov511 compat_ioctl32 snd_cmipci
    > ov51x_jpeg gameport videodev snd_pcm v4l1_compat snd_page_alloc
    > snd_opl3_lib snd_timer snd_hwdep snd_mpu401_uart rtc_cmos rtc_core
    > snd_rawmidi parport_pc rtc_lib snd_seq_device parport iTCO_wdt snd
    > 8139too sr_mod iTCO_vendor_support i2c_i801 soundcore cdrom mii sg
    > usb_storage usbhid usblp hid ff_memless nvidia(P) i2c_core hci_usb btusb
    > button intel_agp shpchp bluetooth agpgart pci_hotplug sd_mod ehci_hcd
    > uhci_hcd usbcore edd ext3 mbcache jbd fan ata_piix libata scsi_mod dock
    > thermal processor [last unloaded: speedstep_lib]
    >
    > Pid: 3789, comm: modprobe Tainted: P N (2.6.25.18-0.2-pae #1)
    > EIP: 0060:[<f94de375>] EFLAGS: 00210282 CPU: 0
    > EIP is at NdisMQueryAdapterResources+0x1b/0x94 [ndiswrapper]
    > EAX: f50a0780 EBX: e50b9a00 ECX: e7845ac8 EDX: e48f7800
    > ESI: 00000000 EDI: e7845ac0 EBP: e7845aa4 ESP: e7845a94
    > DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    > Process modprobe (pid: 3789, ti=e7844000 task=e50ea0a0
    > task.ti=e7844000)
    > Stack: 00200282 e50b9a00 e48f7800 e50b9a00 e7845b84 f953c86d e7845ac4
    > e50b9a00
    > e7845ac8 e7845ac0 00000000 000000b8 00000000 e7845b0c e7845b0c
    > e50b9a00
    > e7845adc f94e2f4f e7845aec f94e2f69 e78a2f20 00000000 e7845afc
    > f94e80b6
    > Call Trace:
    > [<f953c86d>] 0xf953c86d
    > DWARF2 unwinder stuck at 0xf953c86d
    >
    > Leftover inexact backtrace:
    >
    > [<f94e2f4f>] ? ExFreePoolWithTag+0x38/0x45 [ndiswrapper]
    > [<f94e2f69>] ? ExFreePool+0xd/0x11 [ndiswrapper]
    > [<f94e80b6>] ? RtlFreeAnsiString+0x18/0x31 [ndiswrapper]
    > [<f94e0ca7>] ? NdisReadNetworkAddress+0xd6/0x119 [ndiswrapper]
    > [<f94e0bc7>] ? NdisReadConfiguration+0x90/0x9a [ndiswrapper]
    > [<f94e0b37>] ? NdisReadConfiguration+0x0/0x9a [ndiswrapper]
    > [<f94ea3a7>] ? mp_init+0x74/0x173 [ndiswrapper]
    > [<f94eab5d>] ? NdisDispatchPnp+0x6c/0xcba [ndiswrapper]
    > [<c02e5102>] ? _spin_unlock_bh+0xe/0x10
    > [<f94e19af>] ? get_current_nt_thread+0x40/0x46 [ndiswrapper]
    > [<f94e5667>] ? IoQueueThreadIrp+0xe/0x137 [ndiswrapper]
    > [<f94e5586>] ? IoBuildAsynchronousFsdRequest+0x1f/0xf2 [ndiswrapper]
    > [<f94e591f>] ? IoBuildSynchronousFsdRequest+0x1b/0x38 [ndiswrapper]
    > [<f94e5931>] ? IoBuildSynchronousFsdRequest+0x2d/0x38 [ndiswrapper]
    > [<f94e4db8>] ? IofCallDriver+0x66/0x8c [ndiswrapper]
    > [<f94e64c3>] ? IoSendIrpTopDev+0x72/0xa6 [ndiswrapper]
    > [<f94e66ce>] ? pnp_start_device+0x39/0x72 [ndiswrapper]
    > [<f94e6893>] ? wrap_pnp_start_device+0x18c/0x1af [ndiswrapper]
    > [<f94e695a>] ? wrap_pnp_start_usb_device+0xa4/0xac [ndiswrapper]
    > [<c01b5d16>] ? sysfs_addrm_finish+0x4c/0x1a1
    > [<c01b594d>] ? sysfs_find_dirent+0x16/0x27
    > [<c02e3dfa>] ? mutex_lock+0xe/0x1e
    > [<f95eb73b>] ? usb_autopm_do_device+0xb1/0xb9 [usbcore]
    > [<f95ebd3c>] ? usb_probe_interface+0xc6/0x108 [usbcore]
    > [<c024fe9d>] ? driver_probe_device+0xa0/0x136
    > [<c024ff8e>] ? driver_attach+0x5b/0x91
    > [<c024f879>] ? bus_for_each_dev+0x36/0x5e
    > [<c024fd42>] ? driver_attach+0x14/0x16
    > [<c024ff33>] ?
    driver_attach+0x0/0x91
    > [<c024f27e>] ? bus_add_driver+0x9d/0x1ba
    > [<c0250104>] ? driver_register+0x47/0xa7
    > [<f95ebf31>] ? usb_register_driver+0x66/0xc0 [usbcore]
    > [<f94dbbe1>] ? loader_init+0xda/0x109 [ndiswrapper]
    > [<f881c071>] ? wrapper_init+0x71/0x9e [ndiswrapper]
    > [<c0145011>] ? sys_init_module+0x198b/0x1ab8
    > [<c01554ba>] ? disable_irq+0x0/0x2a
    > [<c010910e>] ? sys_mmap2+0x63/0x7b
    > [<c01059e4>] ? sysenter_past_esp+0x6d/0xa9
    > [<c02e0000>] ? init_transmeta+0x1e/0x28e
    > =======================
    > Code: 10 ff 75 0c ff 75 08 e8 b3 fe ff ff c9 c2 18 00 55 89 e5 57 56 53
    > 83 ec 04 8b 45 0c 8b 7d 14 8b 80 9c 01 00 00 8b 40 04 8b 70 68 <8b> 46
    > 10 89 45 f0 8b 0f 8d 44 00 01 c1 e0 03 83 f9 17 77 0d 89
    > EIP: [<f94de375>] NdisMQueryAdapterResources+0x1b/0x94 [ndiswrapper]
    > SS:ESP 0068:e7845a94
    > ---[ end trace 808256160c4c7904 ]---

     

    Related

    Patches: #1