Driver net8192su (Realtek USB) fails to load

Bug #806619 reported by Dennis Hilmar
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I just bought a really cool USB stick for wifi. The Trendnet N150. Its the smallest on the market, and I (of course) thought it would "just work"... But the world doesn't always turn my way :S

Anyways, I'm running on a 64 bit version of Ubuntu 10.04, which might be the reason it doesn't work. I will try to get my eee installed again and then I can check out if that is the reason.
I can install the 64 bit Windows XP driver, but when I plug the stick in I get a really big crash report in the dmesg.
Here is a short version of the
[ 535.180750] ndiswrapper (link_pe_images:575): fixing KI_USER_SHARED_DATA address in the driver
[ 535.185548] ndiswrapper: driver net8192su (Realtek Semiconductor Corp.,08/05/2009,1084.12.0805.2009) loaded
[ 535.189179] BUG: unable to handle kernel NULL pointer dereference at 000000000000001c
[ 535.189191] IP: [<ffffffffa0d14af0>] USBD_InterfaceIsDeviceHighSpeed+0x10/0x20 [ndiswrapper]
[ 535.189243] PGD 0
[ 535.189250] Oops: 0000 [#1] SMP
[ 535.189257] last sysfs file: /sys/devices/virtual/net/pan0/statistics/collisions
[ 535.189264] CPU 2

I also get a nice stack trace:

[ 535.189516] Call Trace:
[ 535.189554] [<ffffffffa0d05ef0>] ? ExFreePool+0x10/0x20 [ndiswrapper]
[ 535.189593] [<ffffffffa0d14c70>] ? USBD_InterfaceReference+0x0/0x30 [ndiswrapper]
[ 535.189633] [<ffffffffa0d14c40>] ? USBD_InterfaceDereference+0x0/0x30 [ndiswrapper]
[ 535.189672] [<ffffffffa0d14aa0>] ? USBD_InterfaceGetUSBDIVersion+0x0/0x40 [ndiswrapper]
[ 535.189711] [<ffffffffa0d151c0>] ? USBD_InterfaceQueryBusTime+0x0/0x30 [ndiswrapper]
[ 535.189750] [<ffffffffa0d14c10>] ? USBD_InterfaceSubmitIsoOutUrb+0x0/0x30 [ndiswrapper]
[ 535.189790] [<ffffffffa0d14be0>] ? USBD_InterfaceQueryBusInformation+0x0/0x30 [ndiswrapper]
[ 535.189829] [<ffffffffa0d14ae0>] ? USBD_InterfaceIsDeviceHighSpeed+0x0/0x20 [ndiswrapper]
[ 535.189869] [<ffffffffa0d1290f>] ? mp_init+0x6f/0x200 [ndiswrapper]
[ 535.189907] [<ffffffffa0d0aac4>] ? IofCompleteRequest+0x64/0x1c0 [ndiswrapper]
[ 535.189945] [<ffffffffa0d0ccd2>] ? pdoDispatchPnp+0x42/0x100 [ndiswrapper]
[ 535.189984] [<ffffffffa0d13e5c>] ? ndis_start_device+0x2c/0x8b0 [ndiswrapper]
[ 535.190021] [<ffffffffa0d09dfd>] ? IofCallDriver+0x6d/0xd0 [ndiswrapper]
[ 535.190036] [<ffffffff81541ac9>] ? _spin_unlock_bh+0x19/0x20
[ 535.190072] [<ffffffffa0d09dd1>] ? IofCallDriver+0x41/0xd0 [ndiswrapper]
[ 535.190110] [<ffffffffa0d0a3b6>] ? IoSyncForwardIrp+0x96/0xd0 [ndiswrapper]
[ 535.190149] [<ffffffffa0d14783>] ? NdisDispatchPnp+0xa3/0x150 [ndiswrapper]
[ 535.190188] [<ffffffffa0d16717>] ? win2lin2+0xe/0x11 [ndiswrapper]
[ 535.190225] [<ffffffffa0d09dd1>] ? IofCallDriver+0x41/0xd0 [ndiswrapper]
[ 535.190261] [<ffffffffa0d09dfd>] ? IofCallDriver+0x6d/0xd0 [ndiswrapper]
[ 535.190270] [<ffffffff81541ac9>] ? _spin_unlock_bh+0x19/0x20
[ 535.190306] [<ffffffffa0d09dd1>] ? IofCallDriver+0x41/0xd0 [ndiswrapper]
[ 535.190343] [<ffffffffa0d0bdad>] ? IoSendIrpTopDev+0xdd/0x130 [ndiswrapper]
[ 535.190352] [<ffffffff81541ac9>] ? _spin_unlock_bh+0x19/0x20
[ 535.190389] [<ffffffffa0d09c18>] ? IoAttachDeviceToDeviceStack+0x68/0x80 [ndiswrapper]
[ 535.190427] [<ffffffffa0d0c1ac>] ? pnp_start_device+0x4c/0x90 [ndiswrapper]
[ 535.190465] [<ffffffffa0d0c479>] ? wrap_pnp_start_device+0xf9/0x180 [ndiswrapper]
[ 535.190502] [<ffffffffa0d0c5f1>] ? wrap_pnp_start_usb_device+0xf1/0x120 [ndiswrapper]
[ 535.190511] [<ffffffff815402ee>] ? mutex_lock+0x1e/0x50
[ 535.190522] [<ffffffff813dbf84>] ? usb_autopm_do_device+0x84/0x130
[ 535.190530] [<ffffffff813dcc65>] ? usb_probe_interface+0xe5/0x1d0
[ 535.190540] [<ffffffff8136c585>] ? really_probe+0x65/0x170
[ 535.190548] [<ffffffff8136c6d5>] ? driver_probe_device+0x45/0x70
[ 535.190555] [<ffffffff8136c7a0>] ? __device_attach+0x0/0x60
[ 535.190562] [<ffffffff8136c7f3>] ? __device_attach+0x53/0x60
[ 535.190570] [<ffffffff8136b658>] ? bus_for_each_drv+0x68/0x90
[ 535.190577] [<ffffffff8136c8bc>] ? device_attach+0x8c/0xa0
[ 535.190584] [<ffffffff8136b43d>] ? bus_probe_device+0x2d/0x50
[ 535.190591] [<ffffffff81369cb4>] ? device_add+0x2e4/0x4b0
[ 535.190599] [<ffffffff813db2c0>] ? usb_set_configuration+0x480/0x770
[ 535.190608] [<ffffffff813e4de3>] ? generic_probe+0x43/0xc0
[ 535.190615] [<ffffffff8136c462>] ? driver_sysfs_add+0x62/0x90
[ 535.190623] [<ffffffff813db69a>] ? usb_probe_device+0x2a/0x30
[ 535.190630] [<ffffffff8136c585>] ? really_probe+0x65/0x170
[ 535.190637] [<ffffffff8136c6d5>] ? driver_probe_device+0x45/0x70
[ 535.190644] [<ffffffff8136c7a0>] ? __device_attach+0x0/0x60
[ 535.190651] [<ffffffff8136c7f3>] ? __device_attach+0x53/0x60
[ 535.190658] [<ffffffff8136b658>] ? bus_for_each_drv+0x68/0x90
[ 535.190665] [<ffffffff8136c8bc>] ? device_attach+0x8c/0xa0
[ 535.190672] [<ffffffff8136b43d>] ? bus_probe_device+0x2d/0x50
[ 535.190678] [<ffffffff81369cb4>] ? device_add+0x2e4/0x4b0
[ 535.190686] [<ffffffff813d2f41>] ? usb_new_device+0x71/0xe0
[ 535.190693] [<ffffffff813e4eb3>] ? usb_detect_quirks+0x53/0x90
[ 535.190700] [<ffffffff813d3c48>] ? hub_port_connect_change+0x5e8/0x9d0
[ 535.190707] [<ffffffff813d4a32>] ? hub_events+0x3b2/0x5a0
[ 535.190714] [<ffffffff8153f269>] ? thread_return+0x48/0x41f
[ 535.190721] [<ffffffff813d4c75>] ? hub_thread+0x55/0x190
[ 535.190731] [<ffffffff81084cc0>] ? autoremove_wake_function+0x0/0x40
[ 535.190738] [<ffffffff813d4c20>] ? hub_thread+0x0/0x190
[ 535.190745] [<ffffffff81084946>] ? kthread+0x96/0xa0
[ 535.190753] [<ffffffff810131ea>] ? child_rip+0xa/0x20
[ 535.190761] [<ffffffff810848b0>] ? kthread+0x0/0xa0
[ 535.190767] [<ffffffff810131e0>] ? child_rip+0x0/0x20

Tags: n150 trendnet usb
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ndiswrapper (Ubuntu):
status: New → Confirmed
Revision history for this message
A1an (alan-b) wrote :
Download full text (9.7 KiB)

Similar issue with same driver but different vendor

Hardware: ISY USB wireless adapter - IWL 3000

Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid

uname -a
Linux pca3 2.6.32-45-generic #102-Ubuntu SMP Wed Jan 2 22:38:04 UTC 2013 x86_64 GNU/Linux

Jan 15 14:43:38 pca3 kernel: [ 1225.827658] usb 1-6: new high speed USB device using ehci_hcd and address 6
Jan 15 14:43:38 pca3 kernel: [ 1225.981900] usb 1-6: configuration #1 chosen from 1 choice
Jan 15 14:43:38 pca3 kernel: [ 1226.108288] usb 1-6: reset high speed USB device using ehci_hcd and address 6
Jan 15 14:43:39 pca3 kernel: [ 1226.263675] ndiswrapper (link_pe_images:575): fixing KI_USER_SHARED_DATA address in the driver
Jan 15 14:43:39 pca3 kernel: [ 1226.266098] ndiswrapper: driver net8192su (ISY,08/09/2011,1084.53.0809.2011) loaded
Jan 15 14:43:39 pca3 kernel: [ 1226.269758] BUG: unable to handle kernel NULL pointer dereference at 000000000000001c
Jan 15 14:43:39 pca3 kernel: [ 1226.269767] IP: [<ffffffffa0fe6b10>] USBD_InterfaceIsDeviceHighSpeed+0x10/0x20 [ndiswrapper]
Jan 15 14:43:39 pca3 kernel: [ 1226.269809] PGD 0
Jan 15 14:43:39 pca3 kernel: [ 1226.269813] Oops: 0000 [#1] SMP
Jan 15 14:43:39 pca3 kernel: [ 1226.269818] last sysfs file: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/bInterfaceProtocol
Jan 15 14:43:39 pca3 kernel: [ 1226.269823] CPU 2
Jan 15 14:43:39 pca3 kernel: [ 1226.269825] Modules linked in: ndiswrapper rndis_wlan cfg80211 rndis_host cdc_ether usbnet mii cdc_acm rfcomm sco bridge binfmt_misc stp bnep ppdev l2cap pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv snd_hda_codec_realtek btusb snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss bluetooth snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd fbcon tileblit font joydev bitblit softcursor soundcore snd_page_alloc nvidia(P) vga16fb vgastate intel_agp lp parport raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov usbhid hid raid6_pq async_tx raid1 ohci1394 raid0 ieee1394 e1000e multipath linear [last unloaded: ndiswrapper]
Jan 15 14:43:39 pca3 kernel: [ 1226.269906] Pid: 44, comm: khubd Tainted: P 2.6.32-45-generic #102-Ubuntu
Jan 15 14:43:39 pca3 kernel: [ 1226.269910] RIP: 0010:[<ffffffffa0fe6b10>] [<ffffffffa0fe6b10>] USBD_InterfaceIsDeviceHighSpeed+0x10/0x20 [ndiswrapper]
Jan 15 14:43:39 pca3 kernel: [ 1226.269938] RSP: 0018:ffff880116ceb3a8 EFLAGS: 00010246
Jan 15 14:43:39 pca3 kernel: [ 1226.269942] RAX: 0000000000000000 RBX: ffffc90008d4d000 RCX: ffff8800374de400
Jan 15 14:43:39 pca3 kernel: [ 1226.269946] RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc90008d4d000
Jan 15 14:43:39 pca3 kernel: [ 1226.269949] RBP: ffff880116ceb3a8 R08: 0000000000000000 R09: ffff88010a96e000
Jan 15 14:43:39 pca3 kernel: [ 1226.269953] R10: ffffffffa0fd9330 R11: 0000000000000000 R12: ffff88010a96e000
Jan 15 14:43:39 pca3 kernel: [ 1226.269956] R13: ffff880116ceb4b8 R14: 0000000000000000 R15: 0000000000000000
Jan 15 14:43:39 pca3 kernel: [ 1226.269960] FS: 0000000000000000(0000) GS:ffff880028280000(0000) knlGS:0000000000000000
Jan 15 14:43:39 pca3 kernel: [ 1226.269964] CS: 001...

Read more...

Revision history for this message
Bruno Loff (bloff-sites) wrote :

I have the exact same crash using ASUS USB-N10 wireless dongle.

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.