Bug 16213 - HAL doesn't recognize partitions when 2nd partition starts from 4GB boundary
Summary: HAL doesn't recognize partitions when 2nd partition starts from 4GB boundary
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 20:43 UTC by Makoto Dei
Modified: 2008-06-17 10:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
config.h should be included before any other headers (985 bytes, patch)
2008-06-02 20:43 UTC, Makoto Dei
Details | Splinter Review

Description Makoto Dei 2008-06-02 20:43:40 UTC
Created attachment 16883 [details] [review]
config.h should be included before any other headers

HAL doesn't recognize partitions when 2nd partition starts from 4GB boundary like the following.

Disk /dev/sda: 500.1 GB, 500107862016 bytes
64 heads, 32 sectors/track, 476940 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0xf03bf03b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        8192     8388592   82  Linux swap / Solaris
/dev/sda2            8193       73728    67108864    5  Extended


The issue doesn't seem to depend on the size of the 2nd partition (sda2).

Attached patch will fix this issue.
Comment 1 Danny Kukawka 2008-06-17 10:41:53 UTC
patch commited to git, thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.