On 3.3 kernels vmalloc size needs to be increased
Bug #934034 reported by
Philippe Langlais
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IglooCommunity |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Since merge of io mapping into vmalloc area by N. Pitre, the vmalloc is too small for hwmem.
We get this error "kernel BUG at lib/ioremap.c:27!"
a temporary fix is:
Stop in u-boot with a key press then use the following commands:
setenv commonargs 'setenv bootargs console=${console} ip=dhcp vmalloc=300M'
saveenv
boot
The final solution for ubuntu kernel, is to set vmalloc size to 300M in default u-boot command line.
Related branches
lp:~mathieu.poirier-deactivatedaccount/linaro-image-tools/vmalloc300
- linaro-image-tools maintainers: Pending requested
-
Diff: 43 lines (+4/-4)2 files modifiedlinaro_image_tools/media_create/android_boards.py (+2/-2)
linaro_image_tools/media_create/tests/test_media_create.py (+2/-2)
Changed in igloocommunity: | |
importance: | Medium → Critical |
Changed in igloocommunity: | |
milestone: | none → 2012.03 |
Changed in igloocommunity: | |
assignee: | Lee Jones (lag) → Mathieu Poirier (mathieu.poirier) |
Changed in igloocommunity: | |
status: | Confirmed → Fix Committed |
description: | updated |
summary: |
- On 3.3 kernels vmalloc size needs to be increased by 16M + On 3.3 kernels vmalloc size needs to be increased |
Changed in igloocommunity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On 12-02-17 03:51 AM, Philippe Langlais wrote:
> Public bug reported:
>
> Since merge of io mapping into vmalloc area by N. Pitre, the vmalloc is too small for hwmem.
> We get this error "kernel BUG at lib/ioremap.c:27!"
>
> a temporary fix is:
> Stop in u-boot with a key press then use the following commands:
> setenv commonargs 'setenv bootargs console=${console} ip=dhcp vmalloc=272M'
> saveenv
> boot
>
> The final solution, is to set vmalloc size to 272M in default u-boot
> command line.
>
> ** Affects: igloocommunity
> Importance: Undecided
> Status: New
>
Would it not be better to provide this via device tree?
--
Scott Bambrough
Technical Director, Member Services
Linaro Ltd.