LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2013, 02:16 AM   #1
cristi92b
Member
 
Registered: May 2011
Posts: 94

Rep: Reputation: Disabled
kernel panic when trying to load ndiswrapper module


I downloaded TP-LINK TL-WN822N (rtl8192cu) drivers for Windows XP 64-bit, then
Code:
ndiswrapper -i net8192cu.ini
Code:
ndiswrapper -m
I blacklisted rtl8192cu kernel module
rebooted
after reboot, when I type
Code:
modprobe wlan0
or
Code:
modprobe ndiswrapper
I get a kernel panic
http://s22.postimg.org/o7y9z9vqp/photo_3.jpg

I'm using Fedora 19, kernel 3.9.5

Why do I get a kernel panic?
 
Old 07-30-2013, 10:04 PM   #2
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
Maybe try to use gdb to get an error of relevance. Or maybe one was posted to the logs? I don't know if you are an expert but I am sure not. Using gdb is uncomfortable at best for someone who doesn't really get it. I tried to run modprobe under gdb on my machine as an example. I am of course assuming you are able to boot the system, or can chroot to it.

I did something like this: (I don't know if this is the correct procedure check the man page for more info)

Code:
# gdb modprobe
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sbin/modprobe...(no debugging symbols found)...done.
(gdb) run /sbin/modprobe
I'm not sure if this will give you any useful output as I am not quite sure if you can stick the 'ndiswrapper' on there. Also try checking 'dmesg | tail' sometimes there are clues here. Or you can go and read days worth of logs from dmesg by checking /var/log/dmesg. Hope some of this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to load ndiswrapper module at boot? Canas Linux - Networking 2 01-10-2010 06:23 PM
How to load ndiswrapper module on boot time alek66 SUSE / openSUSE 2 07-11-2006 02:05 PM
ndiswrapper kernel module fails to load Axalon Linux - Wireless Networking 7 05-16-2006 06:55 PM
Rapid module load/unload = Kernel panic mclerand Linux - Kernel 0 05-06-2006 11:02 AM
ndiswrapper module takes an awfully long time to load xiang83 Linux - Hardware 0 02-12-2005 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration