ioremap problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,
 
I am new to this group as well as to the driver development.
I am developing a PCI driver with the following specification.
 
CPU        : Intel celeron M 1.4GHz
memory   : 1GB
kernel      : kernel 2.6.15-r1
swap       : 4GB
 
my driver works well with 512M RAM but it gives an error when I
use 1GB of RAM. Error occurs at ioremap() function.
    *ptr = ioremap(base,length) 
    length here is 128MB
The error asks to increase kernel memory space with vmalloc.
Then I gave vmalloc as a kernel parameter (vmalloc=256M)
in grub.conf. it went well in this way.
 
Is this the way to overcome this problem or is it due to some other
problems?(old kernel etc.)
 
I can't update the kernel since the driver is being developed for a
customer specific machine which is already used.
 
Thanks in advance.
 
Sumudu
 

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux