Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

a patch for getting frames with bad CRC: msg#00011

Subject: a patch for getting frames with bad CRC
Here is the reference to the code allowing to receive frames with wrong
FCS (bad CRC): <ftp://fly.isti.cnr.it/pub/software/linux/orinoco/>.

The code is based on the 0.13e driver version, plus the monitor mode
patch, plus the Dragorn patch.  It adds a simple patch for enabling an
"ignore_crc" mode using the iwpriv interface: iwpriv ignore_crc 0|1.



I also tried starting from the more recent 0.14alpha[12] and 0.15rc[12]
drivers, but with my 2.4.30 kernel the 0.14 will not compile:

orinoco_cs.c:642: error:
 variable `orinoco_driver' has initializer but incomplete type

and 0.15 compiles but generates a kernel error as soon as ifconfig is
called:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
e084300d
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    
0010:[uhci:__insmod_uhci_O/home/lib.modules/2.4.30-pre2-pr-hrt-1kHz-1/+-884723/96]
    Tainted: PF
EFLAGS: 00010246
eax: 00000000   ebx: d15ff800   ecx: 00000000   edx: 000048ad
esi: c0320df4   edi: d86cbca0   ebp: c0320d80   esp: cd7a1e84
ds: 0018   es: 0018   ss: 0018
Process ifconfig (pid: 2678, stackpage=cd7a1000)
Stack: d86cbca0 c0320df4 c0320d80 cd7a1ea4 d15ff800 000048ad 00000000 e0843000 
       c0228b5c d15ff800 d86cbca0 00000000 c03211c8 ce3b7a64 ce3b7a1c d86cbca0 
       c025d622 d15ff800 c0320d80 00000000 d96aa3e0 d15ff800 00000000 ce3b79c0 
Call Trace:    [neigh_parms_alloc+100/236] [inetdev_init+158/376]
               [inet_set_ifa+82/184] [devinet_ioctl+1225/1676]
               [inet_ioctl+316/508] [sock_ioctl+88/116]
               [sys_ioctl+571/644] [error_code+52/64] [system_call+51/56]
Code: 10 00 00 00 00 00 00 01 00 00 00 03 00 00 00 02 00 00 00 f0 
Using defaults from ksymoops -t elf32-i386 -a i386


>>ebx; d15ff800 <_end+11243c48/205474a8>
>>esi; c0320df4 <arp_tbl+74/12c>
>>edi; d86cbca0 <_end+183100e8/205474a8>
>>ebp; c0320d80 <arp_tbl+0/12c>
>>esp; cd7a1e84 <_end+d3e62cc/205474a8>

Code;  00000000 Before first symbol
00000000 <_EIP>:
Code;  00000000 Before first symbol
   0:   10 00                     adc    %al,(%eax)
Code;  00000002 Before first symbol
   2:   00 00                     add    %al,(%eax)
Code;  00000004 Before first symbol
   4:   00 00                     add    %al,(%eax)
Code;  00000006 Before first symbol
   6:   00 01                     add    %al,(%ecx)
Code;  00000008 Before first symbol
   8:   00 00                     add    %al,(%eax)
Code;  0000000a Before first symbol
   a:   00 03                     add    %al,(%ebx)
Code;  0000000c Before first symbol
   c:   00 00                     add    %al,(%eax)
Code;  0000000e Before first symbol
   e:   00 02                     add    %al,(%edx)
Code;  00000010 Before first symbol
  10:   00 00                     add    %al,(%eax)
Code;  00000012 Before first symbol
  12:   00 f0                     add    %dh,%al


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005


<Prev in Thread] Current Thread [Next in Thread>