"reserve" kernel boot parameter does not work correctly in x86_64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Fix Released
|
Medium
|
Keng-Yu Lin | ||
Jaunty |
Fix Released
|
Medium
|
Keng-Yu Lin |
Bug Description
SRU Justificatoin:
IMPACT: kernel parameter "reserve=" is not handled well on AMD64 and the value in /proc/iomem is not padded by 0xf in the front. The bug LP#187671 depends on this bug.
FIX: A patch from Zhang Rui fixed. The patch is also summitted to the mainline. The status on mainline bugzilla is "RESOLVED CODE_FIX". It may be merged into the mainline some day.
TEST: I tested on Karmic, Jaunty and Intrepid. The value in /proc/iomem is correct after applying this patch. The original reporter also tested on 2.6.28-11 kernel and reported to work well.
---
I'm running up-to-date Jaunty, kernel 2.6.28-11.42, x86_64.
In order to circumvent bug #187671 (which is caused by a bad BIOS configuration of the MMIO regions for certain laptops) I added the kernel option "reserve=
However, the kernel boot parameter does not work correctly on the 64-bit kernel. The option I specified is interpreted so that the following line appears at the end of /proc/iomem:
ffffffffffb0000
which is clearly incorrect: it looks like the 32-bit address is being padded with ones instead of zeros. Specifying "reserve=
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux: | |
status: | Incomplete → Fix Released |
Changed in linux (Ubuntu): | |
assignee: | nobody → Keng-Yü Lin (lexical) |
status: | Triaged → In Progress |
description: | updated |
Changed in linux (Ubuntu Jaunty): | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in linux (Ubuntu Jaunty): | |
assignee: | nobody → Keng-Yü Lin (lexical) |
tags: |
added: verification-done removed: verification-needed |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in linux: | |
importance: | Unknown → Medium |
I've reported this as bug 13253 on the kernel bugzilla: http:// bugzilla. kernel. org/show_ bug.cgi? id=13253