HI
    I am using mbuff driver for my application
  and  in my applicaytion i am calling 4 times mbuff_alloc() call.
  its showing the allocated menmory is 4096, 4096, 106496, 4096 bytes for 4
memory segmnets
  proc file system.
  I am  facing some problems some times, 
  I am getting the following mentioed error indication__alloc_pages: 3-order
allocation failed.
  Could u pls  any one tell me what could be the peoblem.
  
     i am thinking that this is because of lack system resores like memory
to allocate
  when the mbuff driver is getting called. which internally uses vmalloc()
call

    Whether it is correct or not.
        pls suggest me any solutuion for this problem.   

advance Thanks
chandu

  some times i am getting the following messages immediately after  i
inserted the module
  ------------------------------------------ 
time taken(ns) : -1422669536<3>__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.

-----------------------------------------

and if this is the case  when i am trying to unload the module
   it giving the message  ....
------------------------------------------------------
Unable to handle kernel NULL pointer dereference at virtual address 000000c8
 printing eip:
c1821608
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<c1821608>]
EFLAGS: 00010202
eax: 00000002   ebx: f3898b20   ecx: 10967ba2   edx: 000000bc
esi: 000000bc   edi: 00000000   ebp: c0857f78   esp: c0857f6c
ds: 0018   es: 0018   ss: 0018
Process rmmod (pid: 901, stackpage=c0857000)
Stack: c1844000 c1844000 00000000 c0857f84 c184e72a 00000000 c0857f8c
c1850e2a
       c0856000 c0117cab c1844000 fffffff0 c0d7d000 c0116fe2 c1844000
00000000
       c0856000 00000005 00000001 bfffeacc c0856000 c0109167 bffffc7c
bffffb6c
Call Trace: [<c1844000>] [<c1844000>] [<c184e72a>] [<c1850e2a>] [<c0117cab>]
[<c1844000>] [<c0116fe2>]
       [<c1844000>] [<c0109167>]

Code: f0 0f b3 87 c8 00 00 00 b8 01 00 00 00 f0 0f ab 87 c0 00 00
Segmentation fault
[r
---------------------------------------------


***********************************************************************
Disclaimer: 
This document is intended for transmission to the named recipient only.  If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail, which
must be interpreted accordingly. Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company.
***********************************************************************


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to