partman-auto's memory calculation is overestimating
Bug #675665 reported by
Mario Limonciello
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: partman-auto
partman-auto: 93ubuntu1
Current partman-auto's memory calculation is finding a larger amount of memory than is present on my system. I've actually got 4 GB in the system, with the firmware showing 3960 available to the OS.
I was discussing on IRC with cjwatson:
<cjwatson> I copied that from base-installer, whose test is simply "is there RAM above 4GB?"
<cjwatson> and in your case there is - but the partman-auto test needs to be subtler because it actually needs to know how much, minus holes
Attached is the contents of /sys/firmware/
tags: | added: patch |
To post a comment you must log in.
cjwatson mocked up a quick patch that appears to get a much better result.
it shows 4150 when tested.