User Tools

Site Tools


r8187

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
r8187 [2008/11/18 22:56] – fix for "asm/semaphore.h: No such file or directory" compile error message darkaudaxr8187 [2009/04/01 20:51] – enhance SKB BUG fix darkaudax
Line 1: Line 1:
 ====== General ====== ====== General ======
  
-The r8187 driver works properly for the Realtek RTL8187L chipset.  Support for the RTL8187B chipset is under development but is not fully working.+The r8187 driver works properly for the Realtek RTL8187L chipset.  Support for the RTL8187B chipset is under development but is not fully working. See [[r8187b]] for the RTL8187B ieee80211 driver.
  
-This page only deals with the ieee80211 version of the r8187 driver. For the mac80211 rtl8187 version see the [[mac80211|mac80211 page]].  To understand the differences, see [[install_drivers#mac80211_versus_ieee80211_stacks|mac80211 versus ieee80211 stacks]] write-up.+This page only deals with the ieee80211 version of the r8187 driver. For the mac80211 rtl8187 version see the [[rtl8187|rtl8187 page]].  To understand the differences, see [[install_drivers#mac80211_versus_ieee80211_stacks|mac80211 versus ieee80211 stacks]] write-up.
  
 **IMPORTANT**\\ **IMPORTANT**\\
Line 196: Line 196:
  
 Solution: This typically occurs after you have upgraded your kernel version. Delete the all the patch files and install a fresh version.  You should now be able to compile it successfully. Also ensure that you have matching kernel header files. Solution: This typically occurs after you have upgraded your kernel version. Delete the all the patch files and install a fresh version.  You should now be able to compile it successfully. Also ensure that you have matching kernel header files.
 +
  
  
Line 207: Line 208:
   * Having legacy USB support enabled in your BIOS. Try disabling this option.   * Having legacy USB support enabled in your BIOS. Try disabling this option.
  
-**Note:** VMWare Workstation 6.0 and VMWare Player 2.0 use USB 1.1 and when injecting at high speed, injection uses all USB bandwith (so, nearly no packets are received) and you can notice a lot of packets lost in airodump-ng.+**Note:** VMWare Workstation 6.0 and VMWare Player 2.0 use USB 1.1 and when injecting at high speed, injection uses all USB bandwith (so, nearly no packets are received) and you can notice a lot of packets lost in airodump-ng.
  
  
Line 253: Line 254:
   * To remove them from system log files, edit /etc/syslog.conf or /etc/rsyslog.conf depending on your system.  Add "kern.!debug" to definition of each file receiving the debug messages.   * To remove them from system log files, edit /etc/syslog.conf or /etc/rsyslog.conf depending on your system.  Add "kern.!debug" to definition of each file receiving the debug messages.
  
 +Another more radical approach is to comment out the kernel messages in the kernel source code.  This will also mean recompiling your kernel.
 +
 +Change net/core/skbuff.c in your kernel source:
 +
 +   void skb_truesize_bug(struct sk_buff *skb)
 +   {
 +         printk(KERN_ERR "SKB BUG: Invalid truesize (%u) "
 +                "len=%u, sizeof(sk_buff)=%Zd\n",
 +                skb->truesize, skb->len, sizeof(struct sk_buff));
 +   }
 +   EXPORT_SYMBOL(skb_truesize_bug);
 +
 +to:
 +
 +   void skb_truesize_bug(struct sk_buff *skb)
 +   {
 +   (void)skb;
 +   //      printk(KERN_ERR "SKB BUG: Invalid truesize (%u) "
 +   //             "len=%u, sizeof(sk_buff)=%Zd\n",
 +   //             skb->truesize, skb->len, sizeof(struct sk_buff));
 +   }
 +   EXPORT_SYMBOL(skb_truesize_bug);
 +
 +This effectively eliminates the kernel from reporting the SKB BUG messages.
  
 ===== "iwe_stream_add_event" compile error message ===== ===== "iwe_stream_add_event" compile error message =====
Line 272: Line 297:
 See this [[http://tinyshell.be/aircrackng/forum/index.php?topic=4305.msg24483#msg24483|forum entry]]: See this [[http://tinyshell.be/aircrackng/forum/index.php?topic=4305.msg24483#msg24483|forum entry]]:
  
-Please note a repair apparently needed in ' rtl8187_2.6.7.patch' for kernel 2.6.27 +/-+Please note a repair apparently needed in ' rtl8187_2.6.27.patch' for kernel 2.6.27 +/-
  
 Unmodified, you will get the following error : Unmodified, you will get the following error :
r8187.txt · Last modified: 2017/01/09 21:35 by mister_x