linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "abc xyz" <abc50xyz@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: kmalloc is failing and kernel is hanging
Date: Wed, 3 Dec 2008 17:22:41 +0530	[thread overview]
Message-ID: <aa4f58ed0812030352i6ee5bd3ake14bf37aaf18fa0c@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 674 bytes --]

Hi All,

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.


-- 
Regards,
Volatile

[-- Attachment #1.2: Type: text/html, Size: 762 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #3: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

                 reply	other threads:[~2008-12-03 11:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa4f58ed0812030352i6ee5bd3ake14bf37aaf18fa0c@mail.gmail.com \
    --to=abc50xyz@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).