ndiswrapper wg311v3 AES kernel oops

Bug #295120 reported by Christian Roessner
6
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi,

I do have a Netgear WG311v3 (sad, but true). Unfortunately there seems to be no open source driver available, so I chose the worse variant taking ndiswrapper.

I installed a 64bit version of the driver:

croessner@desktop ~ $ ndiswrapper -l
wg311v3 : driver installed
 device (11AB:1FAA) present

The driver seems to be loaded fine, but using WPA2+AES, the NetworkManager-applet rotates endless, and some stuff at the kernel side dies.

[ 7581.524611] ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
[ 7581.576386] ndiswrapper (link_pe_images:575): fixing KI_USER_SHARED_DATA address in the driver
[ 7581.577122] ndiswrapper: driver wg311v3 (NETGEAR,02/22/2005,3.1.1.7) loaded
[ 7581.577334] ndiswrapper 0000:09:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7581.577769] ndiswrapper: using IRQ 16
[ 7581.837740] wlan0: ethernet device 00:14:6c:74:b7:bb using NDIS driver: wg311v3, version: 0x3010004, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 11AB:1FAA.5.conf
[ 7581.837760] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 7581.838391] usbcore: registered new interface driver ndiswrapper
[ 7586.953166] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7597.520498] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 7597.524044] BUG: unable to handle kernel paging request at ffffc29813969dda
[ 7597.524049] IP: [<ffffc20013917140>] 0xffffc20013917140
[ 7597.524055] PGD 0
[ 7597.524058] Oops: 0000 [1] SMP
[ 7597.524060] CPU 2
[ 7597.524062] Modules linked in: ndiswrapper cbc aes_x86_64 aes_generic ecb crypto_blkcipher ecryptfs af_packet binfmt_misc rfcomm sco bnep l2cap bluetooth ipt_MASQUERADE iptable_nat bridge stp kvm_intel kvm iscsi_trgt crc32c libcrc32c ppdev acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_ondemand freq_table sbs wmi video output pci_slot sbshc container battery ipt_REJECT ipt_LOG xt_limit ipt_addrtype xt_state xt_tcpudp xt_conntrack ip6table_filter ip6_tables ipv6 nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables ac w83627ehf hwmon_vid sbp2 parport_pc lp parport mt352 saa7134_dvb videobuf_dvb dvb_core saa7134_alsa mt20xx tea5767 tda9887 tda8290 tuner saa7134 ir_common compat_ioctl32 videodev v4l1_compat snd_hda_intel v4l2_common snd_pcm_oss snd_mixer_oss videobuf_dma_sg snd_pcm videobuf_core tveeprom snd_seq_dummy iTCO_wdt snd_seq_oss pcspkr iTCO_vendor_support dm_multipath evdev scsi_dh nvidia(P) snd_seq_midi i2c_core snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd button soundcore snd_page_alloc shpchp pci_hotplug ext3 jbd mbcache pata_acpi sd_mod sr_mod usbhid crc_t10dif cdrom hid pata_marvell ata_generic sg ohci1394 ahci ieee1394 skge libata scsi_mod dock sky2 ehci_hcd uhci_hcd usbcore raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear md_mod dm_mirror dm_log dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse compcache lzo_decompress lzo_compress tlsf
[ 7597.524163] Pid: 12870, comm: wrapndis_wq Tainted: P 2.6.27-7-generic #1
[ 7597.524165] RIP: 0010:[<ffffc20013917140>] [<ffffc20013917140>] 0xffffc20013917140
[ 7597.524170] RSP: 0018:ffff88006b871a78 EFLAGS: 00010246
[ 7597.524172] RAX: 00000000ffffffff RBX: ffffc20013956000 RCX: 00000097ffffff68
[ 7597.524175] RDX: ffff88006b9a0c02 RSI: 00000000ffffffff RDI: ffffc20011803680
[ 7597.524177] RBP: ffffc20011824000 R08: 00000000ffffffff R09: 0000000000000000
[ 7597.524179] R10: ffffc20013956000 R11: ffffc200139699b0 R12: 0000000000000001
[ 7597.524181] R13: ffff8800b9d6e200 R14: ffff88006b871b18 R15: ffffc20011824000
[ 7597.524183] FS: 0000000000000000(0000) GS:ffff88012fc02d00(0000) knlGS:0000000000000000
[ 7597.524185] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 7597.524187] CR2: ffffc29813969dda CR3: 000000012b8d1000 CR4: 00000000000026e0
[ 7597.524189] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 7597.524191] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 7597.524194] Process wrapndis_wq (pid: 12870, threadinfo ffff88006b870000, task ffff880062509670)
[ 7597.524196] Stack: 000000000000000b ffffc20011800000 000000000000000b ffffc200118000cc
[ 7597.524201] 0000000000000000 0000000000000010 0000000000000004 ffffc20011824000
[ 7597.524204] ffff880060cff800 ffff8800b9d6e2c0 ffff880060cff800 ffff880060cff800
[ 7597.524208] Call Trace:
[ 7597.524228] [<ffffffffa0eab1a7>] ? win2lin2+0xe/0x11 [ndiswrapper]
[ 7597.524241] [<ffffffffa0e90000>] ? iw_set_bitrate+0x90/0x100 [ndiswrapper]
[ 7597.524246] [<ffffffff80501049>] ? mutex_unlock+0x9/0x20
[ 7597.524263] [<ffffffffa0e9cb0d>] ? KeReleaseSpinLock+0x5d/0x60 [ndiswrapper]
[ 7597.524280] [<ffffffffa0ea5f1a>] ? mp_tx_packets+0x6a/0x5d0 [ndiswrapper]
[ 7597.524284] [<ffffffff802105ba>] ? __switch_to+0x1aa/0x490
[ 7597.524301] [<ffffffffa0ea5ec6>] ? mp_tx_packets+0x16/0x5d0 [ndiswrapper]
[ 7597.524319] [<ffffffffa0ea6508>] ? tx_worker+0x88/0x150 [ndiswrapper]
[ 7597.524336] [<ffffffffa0ea6480>] ? tx_worker+0x0/0x150 [ndiswrapper]
[ 7597.524340] [<ffffffff80262802>] ? run_workqueue+0xc2/0x1a0
[ 7597.524343] [<ffffffff80262b0f>] ? worker_thread+0xaf/0x130
[ 7597.524346] [<ffffffff80267050>] ? autoremove_wake_function+0x0/0x40
[ 7597.524348] [<ffffffff80262a60>] ? worker_thread+0x0/0x130
[ 7597.524351] [<ffffffff80266c1e>] ? kthread+0x4e/0x90
[ 7597.524353] [<ffffffff80213c99>] ? child_rip+0xa/0x11
[ 7597.524356] [<ffffffff80266bd0>] ? kthread+0x0/0x90
[ 7597.524358] [<ffffffff80213c8f>] ? child_rip+0x0/0x11
[ 7597.524359]
[ 7597.524360]
[ 7597.524361] Code: 02 24 01 88 44 24 20 4d 8b c3 48 8b cb e8 09 ff ff ff 8b f0 41 b8 ff ff ff ff 45 33 c9 45 84 ed 75 37 8b ce 48 69 c9 98 00 00 00 <42> 0f b7 8c 19 c2 04 00 00 8b d1 c1 ea 04 f7 d2 83 e2 01 83 e1
[ 7597.524392] RIP [<ffffc20013917140>] 0xffffc20013917140
[ 7597.524397] RSP <ffff88006b871a78>
[ 7597.524399] CR2: ffffc29813969dda
[ 7597.524403] ---[ end trace d7f659d2d48cc80f ]---
[ 7607.696006] wlan0: no IPv6 routers present

Hope, someone cares about this and may be able to fix it :-)

I have attached a bundled log file, which was taken _after_ a reboot of the system. I could not open firefox anymore, when ndiswrapper crashed. So I saved the relevant part of the oops to a file, which you can see above.

Thanks

Christian

Revision history for this message
Christian Roessner (christian-roessner-net) wrote :
Revision history for this message
Christian Roessner (christian-roessner-net) wrote :

Today, I tried ndiswrapper again following this thread:

http://ubuntuforums.org/showthread.php?t=320111&page=3

Same result. So this really seems to be a ndiswrapper bug

Revision history for this message
John M. Linebarger (jmlineb) wrote :

I have the same issue. I have upgraded to ndiswrapper 1.55, but I still have this problem. From searching the Web, it appears that the issue may lie in the scheduling mechanism for the 2.6.28 kernel, so the ndiswrapper problem may be fixed by a kernel upgrade. I tried to do so, but was simply unable to install the kernel under Ubuntu--I kept running into problems with modules. (The kernel compiled fine; I just could never figure out how to transfer the modules from one image to another, so nothing worked when I booted into the new kernel.)

Revision history for this message
Przemek K. (azrael) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu development version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 295120, and any other logs that are relevant for this particular issue.

Changed in ndiswrapper (Ubuntu):
status: New → Incomplete
Revision history for this message
John M. Linebarger (jmlineb) wrote : Re: [Bug 295120] Re: ndiswrapper wg311v3 AES kernel oops
Download full text (7.2 KiB)

Uh, thanks, but I upgraded Ubuntu and replaced my NIC a long time ago ...

----- Original Message -----
From: Przemysław Kulczycki <email address hidden>
To: <email address hidden>
Sent: Sat, 28 Aug 2010 20:04:33 -0000 (UTC)
Subject: [Bug 295120] Re: ndiswrapper wg311v3 AES kernel oops

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu development version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 295120, and any other logs that are relevant for this particular issue.

** Changed in: ndiswrapper (Ubuntu)
       Status: New => Incomplete

--
ndiswrapper wg311v3 AES kernel oops
https://bugs.launchpad.net/bugs/295120
You received this bug notification because you are a direct subscriber
of the bug.

Status in “ndiswrapper” package in Ubuntu: Incomplete

Bug description:
Hi,

I do have a Netgear WG311v3 (sad, but true). Unfortunately there seems to be no open source driver available, so I chose the worse variant taking ndiswrapper.

I installed a 64bit version of the driver:

croessner@desktop ~ $ ndiswrapper -l
wg311v3 : driver installed
    device (11AB:1FAA) present

The driver seems to be loaded fine, but using WPA2+AES, the NetworkManager-applet rotates endless, and some stuff at the kernel side dies.

[ 7581.524611] ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
[ 7581.576386] ndiswrapper (link_pe_images:575): fixing KI_USER_SHARED_DATA address in the driver
[ 7581.577122] ndiswrapper: driver wg311v3 (NETGEAR,02/22/2005,3.1.1.7) loaded
[ 7581.577334] ndiswrapper 0000:09:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7581.577769] ndiswrapper: using IRQ 16
[ 7581.837740] wlan0: ethernet device 00:14:6c:74:b7:bb using NDIS driver: wg311v3, version: 0x3010004, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 11AB:1FAA.5.conf
[ 7581.837760] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 7581.838391] usbcore: registered new interface driver ndiswrapper
[ 7586.953166] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7597.520498] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 7597.524044] BUG: unable to handle kernel paging request at ffffc29813969dda
[ 7597.524049] IP: [] 0xffffc20013917140
[ 7597.524055] PGD 0
[ 7597.524058] Oops: 0000 [1] SMP
[ 7597.524060] CPU 2
[ 7597.524062] Modules linked in: ndiswrapper cbc aes_x86_64 aes_generic ecb crypto_blkcipher ecryptfs af_packet binfmt_misc rfcomm sco bnep l2cap bluetooth ipt_MASQUERADE iptable_nat bridge stp kvm_intel kvm iscsi_trgt crc32c libcrc32c ppdev acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_ondemand freq_table sbs wmi video output pci_slot sbshc container battery ipt_REJECT ipt_LOG xt_limit ipt_addrtype xt_state xt_tcpudp xt_conntrack ip6tabl...

Read more...

Revision history for this message
Przemek K. (azrael) wrote :

In that case I'm closing this bug. Feel free to reopen it if you encounter this problem again, and feel free to report more bugs in the future.
https://help.ubuntu.com/community/ReportingBugs

Changed in ndiswrapper (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.