Bug 649095 - Refuses to install to disks over 2^31 blocks in size [PATCH]
Summary: Refuses to install to disks over 2^31 blocks in size [PATCH]
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: All
OS: Unspecified
low
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-02 23:03 UTC by Rob Gilton
Modified: 2011-03-07 18:14 UTC (History)
4 users (show)

Fixed In Version: anaconda-15.7-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-03 18:09:23 UTC


Attachments (Terms of Use)
Patch to use a long long int to store storage device size (2.10 KB, patch)
2010-11-02 23:03 UTC, Rob Gilton
no flags Details | Diff

Description Rob Gilton 2010-11-02 23:03:57 UTC
Created attachment 457302 [details]
Patch to use a long long int to store storage device size

When preupgrading my machine, anaconda requested a "driver disk" for my machine (and wouldn't let me proceed without one).  I was confused, as my machine has no weird hardware in it, so I went on a debugging spree.

Turns out that it's a bug in the device listing code.  It was using a long int to store the size of a device.  My hard disk is just over this threshold, so it was b0rking at this.

Find a patch attached that fixes this issue.

Comment 1 Chris Lumens 2010-11-03 14:27:48 UTC
Do you know if parted and pyparted also support your device?  If not, you're just going to run into more problems later.

Comment 2 Rob Gilton 2010-11-03 15:21:37 UTC
Yes, parted supports this device.  It's how I partitioned it under F13.

Sorry, I should have been clearer.  This device is a 1.5TB hard disk.  It's not exotic or anything.

This bug is pretty serious, as it means that anyone with a 1.5TB hard disk cannot use preupgrade (it might also affect other methods of upgrade/installation, but I only preupgrade...).

Comment 3 Chris Lumens 2010-11-03 18:09:23 UTC
This will be included in the next build of anaconda for rawhide.  Thanks for the patch.


Note You need to log in before you can comment on or make changes to this bug.