Bug 2162 - ndiswrapper activation with Broadcom bcmwlhigh5.inf causes kernel Oops
Summary: ndiswrapper activation with Broadcom bcmwlhigh5.inf causes kernel Oops
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 2642
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-15 23:20 CEST by Frank Griffin
Modified: 2011-09-23 21:52 CEST (History)
2 users (show)

See Also:
Source RPM: ndiswrapper-1.56-4.mga1.x86_64.rpm
CVE:
Status comment:


Attachments

Description Frank Griffin 2011-07-15 23:20:36 CEST
Trying to use a Netgear N600 USB Wireless NIC with ndiswrapper.  Syslog is:

Jul 15 17:05:58 localhost drakconnect[11313]: ### Program is starting ###
Jul 15 17:06:06 localhost drakconnect[11313]: running: /bin/rpm -q --qf %{name}#012 wireless-tools
Jul 15 17:06:15 localhost drakconnect[11313]: running: dmidecode 
Jul 15 17:06:15 localhost drakconnect[11313]: Found settings for driver "ndiswrapper" in category "network::connection::wireless"
Jul 15 17:06:15 localhost drakconnect[11313]: No kernel_module package for module "ndiswrapper" is required, skipping
Jul 15 17:06:15 localhost drakconnect[11313]: Required tools package for module "ndiswrapper" is already installed, skipping
Jul 15 17:06:24 localhost kernel: rtl8192_SetWirelessMode(), wireless_mode:4, bEnableHT = 0
Jul 15 17:06:24 localhost kernel: InitializeAdapter8192SE(): Set MRC settings on as default!!
Jul 15 17:06:24 localhost kernel: HW_VAR_MRC: Turn on 1T1R MRC!
Jul 15 17:06:51 localhost drakconnect[11313]: running: rmmod usbcore
Jul 15 17:06:51 localhost drakconnect[11313]: running: rmmod ndiswrapper
Jul 15 17:06:51 localhost drakconnect[11313]: running: /sbin/modprobe ndiswrapper
Jul 15 17:06:51 localhost multipathd: no /block/ in '/module/ndiswrapper'
Jul 15 17:06:51 localhost kernel: ndiswrapper version 1.56 loaded (smp=yes, preempt=no)
Jul 15 17:06:51 localhost multipathd: no /block/ in '/devices/virtual/misc/ndiswrapper'
Jul 15 17:06:51 localhost multipathd: no /block/ in '/bus/pci/drivers/ndiswrapper'
Jul 15 17:06:52 localhost kernel: usb 1-2: reset high speed USB device using ehci_hcd and address 2
Jul 15 17:06:52 localhost kernel: ndiswrapper (import:233): unknown symbol: ntoskrnl.exe:'IoUnregisterPlugPlayNotification'
Jul 15 17:06:52 localhost kernel: ndiswrapper (link_pe_images:565): fixing KI_USER_SHARED_DATA address in the driver
Jul 15 17:06:52 localhost kernel: ndiswrapper: driver bcmwlhigh5 (Netgear,11/05/2009, 5.60.180.11) loaded
Jul 15 17:06:55 localhost kernel: BUG: unable to handle kernel paging request at 00000000ffffffd0
Jul 15 17:06:55 localhost kernel: IP: [<ffffffffa0bfcaf9>] USBD_InterfaceIsDeviceHighSpeed+0x9/0x20 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: PGD 50e61067 PUD 0 
Jul 15 17:06:55 localhost kernel: Oops: 0000 [#1] SMP 
Jul 15 17:06:55 localhost kernel: last sysfs file: /sys/bus/pci/drivers/ndiswrapper/uevent
Jul 15 17:06:55 localhost kernel: CPU 0 
Jul 15 17:06:55 localhost kernel: Modules linked in: ndiswrapper(+) fuse ppdev parport nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss af_packet sunrpc ipv6 ip_set nfnetlink vboxnetadp vboxnetflt vboxdrv dm_round_robin dm_multipath scsi_dh binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod cpufreq_ondemand cpufreq_conservative cpufreq_powersave powernow_k8 freq_table mperf nvram fglrx(P) radeon uvcvideo snd_seq_dummy snd_seq_oss ttm snd_seq_midi_event videodev snd_hda_codec_hdmi snd_hda_codec_conexant v4l2_compat_ioctl32 snd_seq snd_seq_device snd_hda_intel snd_pcm_oss drm_kms_helper snd_hda_codec snd_hwdep drm snd_pcm i2c_piix4 i2c_algo_bit i2c_core snd_timer sparse_keymap snd_mixer_oss joydev r8192se_pci evdev snd serio_raw video processor shpchp edac_core rfkill sp5100_tco thermal battery button ac wmi k8temp sg pci_hotplug soundcore snd_page_alloc atl1c ata_piix ahci libahci libata sd_mod scsi_mod crc_t10dif ext4 jbd2 crc16 uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: scsi_wait_scan]
Jul 15 17:06:55 localhost kernel: 
Jul 15 17:06:55 localhost kernel: Pid: 11472, comm: modprobe Tainted: P            2.6.38.8-desktop-5.mga2 #1 TOSHIBA Satellite T135D/Satellite T135D
Jul 15 17:06:55 localhost kernel: RIP: 0010:[<ffffffffa0bfcaf9>]  [<ffffffffa0bfcaf9>] USBD_InterfaceIsDeviceHighSpeed+0x9/0x20 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: RSP: 0018:ffff8800516cf750  EFLAGS: 00010286
Jul 15 17:06:55 localhost kernel: RAX: ffffffffa0bfcaf0 RBX: ffff880096e19800 RCX: ffff880055815700
Jul 15 17:06:55 localhost kernel: RDX: 0000000000000000 RSI: ffff880050f33400 RDI: 00000000ffffff38
Jul 15 17:06:55 localhost kernel: RBP: ffff8800516cf750 R08: 0000000000000000 R09: 0000000000000000
Jul 15 17:06:55 localhost kernel: R10: ffffffffa0bede10 R11: ffff880050f334d0 R12: 0000000000000048
Jul 15 17:06:55 localhost kernel: R13: ffff880061ca5800 R14: 0000000000000000 R15: ffff880050fa5e30
Jul 15 17:06:55 localhost kernel: FS:  00007fca88f68700(0000) GS:ffff8800afc00000(0000) knlGS:00000000f74e7a60
Jul 15 17:06:55 localhost kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 15 17:06:55 localhost kernel: CR2: 00000000ffffffd0 CR3: 0000000050fda000 CR4: 00000000000006f0
Jul 15 17:06:55 localhost kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jul 15 17:06:55 localhost kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jul 15 17:06:55 localhost kernel: Process modprobe (pid: 11472, threadinfo ffff8800516ce000, task ffff8800968196b0)
Jul 15 17:06:55 localhost kernel: Stack:
Jul 15 17:06:55 localhost kernel: ffff8800517a0980 ffffc90004891f89 ffff880096e19800 ffff8800517a0980
Jul 15 17:06:55 localhost kernel: ffff880050f33400 ffff8800516cf798 ffffffffa0be673a 0000000000000000
Jul 15 17:06:55 localhost kernel: 0000000000000000 ffff880055815700 ffffffffa0bfcb10 ffffffffa0bfcb40
Jul 15 17:06:55 localhost kernel: Call Trace:
Jul 15 17:06:55 localhost kernel: [<ffffffffa0be673a>] ? NdisAllocateMemoryWithTag+0x1a/0x40 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcb10>] ? USBD_InterfaceReference+0x0/0x30 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcb40>] ? USBD_InterfaceDereference+0x0/0x30 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcab0>] ? USBD_InterfaceGetUSBDIVersion+0x0/0x40 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcb70>] ? USBD_InterfaceQueryBusTime+0x0/0x30 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcba0>] ? USBD_InterfaceSubmitIsoOutUrb+0x0/0x30 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcbd0>] ? USBD_InterfaceQueryBusInformation+0x0/0x30 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcaf0>] ? USBD_InterfaceIsDeviceHighSpeed+0x0/0x20 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0becddc>] ? ExAllocatePoolWithTag+0x3c/0x80 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcd3b>] ? win2lin3+0x11/0x14 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf8602>] ? mp_init+0x72/0x210 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf0920>] ? IofCallDriver+0x40/0xc0 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf0c76>] ? IoSyncForwardIrp+0x96/0xe0 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfa4db>] ? NdisDispatchPnp+0xab/0xc10 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf0394>] ? IoAllocateIrp+0x54/0x80 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf02b7>] ? IoInitializeIrp+0x37/0x70 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf03aa>] ? IoAllocateIrp+0x6a/0x80 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bfcd27>] ? win2lin2+0xe/0x11 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf0920>] ? IofCallDriver+0x40/0xc0 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf094c>] ? IofCallDriver+0x6c/0xc0 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffff813ef464>] ? _raw_spin_unlock_bh+0x14/0x20
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf0920>] ? IofCallDriver+0x40/0xc0 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf26bd>] ? IoSendIrpTopDev+0xdd/0x130 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffff813ef464>] ? _raw_spin_unlock_bh+0x14/0x20
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf2eec>] ? pnp_start_device+0x4c/0x90 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf332b>] ? wrap_pnp_start_device+0x1bb/0x280 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0bf35c1>] ? wrap_pnp_start_usb_device+0xf1/0x120 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffff812d951e>] ? __pm_runtime_set_status+0x12e/0x200
Jul 15 17:06:55 localhost kernel: [<ffffffffa000e7c5>] ? usb_probe_interface+0x135/0x250 [usbcore]
Jul 15 17:06:55 localhost kernel: [<ffffffff812cfdfb>] ? driver_probe_device+0x14b/0x290
Jul 15 17:06:55 localhost kernel: [<ffffffff812cffeb>] ? __driver_attach+0xab/0xb0
Jul 15 17:06:55 localhost kernel: [<ffffffff812cff40>] ? __driver_attach+0x0/0xb0
Jul 15 17:06:55 localhost kernel: [<ffffffff812ceb9e>] ? bus_for_each_dev+0x5e/0x90
Jul 15 17:06:55 localhost kernel: [<ffffffff812cf97e>] ? driver_attach+0x1e/0x20
Jul 15 17:06:55 localhost kernel: [<ffffffff812cf530>] ? bus_add_driver+0x160/0x2b0
Jul 15 17:06:55 localhost kernel: [<ffffffff812d0276>] ? driver_register+0x76/0x140
Jul 15 17:06:55 localhost kernel: [<ffffffff811b83a1>] ? sysfs_add_file+0x11/0x20
Jul 15 17:06:55 localhost kernel: [<ffffffffa000d4c8>] ? usb_register_driver+0xb8/0x170 [usbcore]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0c1e000>] ? wrapper_init+0x0/0x1000 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0be602c>] ? loader_init+0xcc/0x160 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffffa0c1e07b>] ? wrapper_init+0x7b/0x1000 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: [<ffffffff81000324>] ? do_one_initcall+0x44/0x190
Jul 15 17:06:55 localhost kernel: [<ffffffff8109556b>] ? sys_init_module+0xfb/0x250
Jul 15 17:06:55 localhost kernel: [<ffffffff81002e92>] ? system_call_fastpath+0x16/0x1b
Jul 15 17:06:55 localhost kernel: Code: 00 00 83 79 1c 03 b9 10 01 00 00 0f 45 c1 89 46 04 c7 02 01 00 00 00 c9 c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 66 66 66 66 90 <48> 8b 87 98 00 00 00 83 78 1c 03 c9 0f 94 c0 c3 0f 1f 80 00 00 
Jul 15 17:06:55 localhost kernel: RIP  [<ffffffffa0bfcaf9>] USBD_InterfaceIsDeviceHighSpeed+0x9/0x20 [ndiswrapper]
Jul 15 17:06:55 localhost kernel: RSP <ffff8800516cf750>
Jul 15 17:06:55 localhost kernel: CR2: 00000000ffffffd0
Jul 15 17:06:55 localhost kernel: psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 3 bytes away.
Jul 15 17:06:55 localhost kernel: ---[ end trace b57cf77cb872af45 ]---
Comment 1 Dave Hodgins 2011-07-16 23:18:04 CEST
The first result on a google search on the unknown symbol
IoUnregisterPlugPlayNotification is
http://msdn.microsoft.com/en-us/library/ff550398(v=vs.85).aspx
which states that "This routine is obsolete in Windows 7".

I also found http://sourceforge.net/tracker/index.php?func=detail&aid=3093376&group_id=93482&atid=604452
with a patch for ntoskernal_io.c, although I don't know
where that file is located.  I'm guessing it comes with
the windows driver.

See if you can find the ntoskernal_io.c file, and add the patch.

CC: (none) => davidwhodgins

Ahmad Samir 2011-07-24 15:23:47 CEST

CC: (none) => tmb

Comment 2 Thomas Backlund 2011-09-01 00:58:44 CEST
Patch added in 2.6.38.8-5.mga on the way to 1/updates_testing and to svn for cauldron kernel, so it will be part of next build...
Manuel Hiebel 2011-09-10 14:17:12 CEST

Depends on: (none) => 2642

Comment 3 Manuel Hiebel 2011-09-23 21:52:38 CEST
kernel-2.6.38.8-5 is now in updates
Comment 4 Manuel Hiebel 2011-09-23 21:52:58 CEST
so closing :)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.