Hi Dave,

Dave Meador wrote:
kmalloc is returning 0 when I try to allocate 24335 bytes inside a FEC
driver that I am porting to coldfire uclinux 547x.  I have enabled the
kernel feature "[*] Allow allocating large blocks (> 1MB) of memory" to
see if this fixes my problem, but no joy.

Does anyone have an idea of what I can do to get past this?

Can you show the code?

Regards
Greg



Here is a snippet of my kernel output when loading:
...
ColdFire internal UART serial driver ttyS0 at MMIO 0x10008600 (irq = 99) is a ColdFire UART ttyS1 at MMIO 0x10008700 (irq = 100) is a ColdFire UART ttyS2 at MMIO 0x10008800 (irq = 101) is a ColdFire UART RAMDISK driver initialized: 1 RAM disks of 2048K size 1024 blocksize loop: loaded (max 8 devices) ColdFire internal FEC driver version 0.11a FEC init - kmalloc request size 24335 bytes FEC init - kmalloc result 0x0 ...
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to