Find the answer to your Linux question:
Results 1 to 4 of 4
I have an ARM PXA-255 board with an LCD support. I have ported kernel 2.6.26.3 on it and am trying to make frame buffer driver up for my board. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7

    kmalloc is failing and kernel is hanging


    I have an ARM PXA-255 board with an LCD support. I have ported kernel 2.6.26.3 on it and am trying to make frame buffer driver up for my board. I m able to able to get the backlight on tho LCD panel. In pxafb.c file, the function pxafb_probe is calling pxafb_init_fbinfo function. This pxafb_init_fbinfo is then allocating some memory by calling kmalloc. The kmalloc fails here and my kernel hangs.

    I am able to able to figure out the problem as kmalloc as returning a valid address to the variable fbi. I also tried with GFP_ATOMIC flag in kmalloc but still the problem exists.
    Any help to solve this problem will be highly appreciated.

  2. #2
    Linux Newbie
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    109
    Can you show some code lines.

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    25
    did you get an oops message?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2008
    Posts
    5
    kay kar raha hai babua

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •