Ubiquity: partman resize operation aborted

Bug #95488 reported by jtholmes
This bug report is a duplicate of:  Bug #95400: resize logic not 64-bit clean. Edit Remove
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Incomplete
Undecided
Colin Watson

Bug Description

Binary package hint: ubiquity

Feisty daily/current id 20070322 ubuntu Live CD

Resizing of existing partition(s) continue to fail on this machine
Could be my machine

Particulars
First, I installed Ubuntu from Live CD and
selected Guide me Use entire disk 80g drive

Ubuntu partitioned drive thus
76.9g for /
3.1g for swap
Install went smoothly with no problems
no warnings or errors

Next booted from Live CD again and selected Install

got to partman
Selected Manual
Selected 76.9g slice
Selected Edit Partition
Set New Partition size to 12000
Use as: ext3
Mount point: /
Selected OK

Dialog Window Appears containing the following
   Window Title Bar Contents
     Write Previous changes to Disk and Continue
    Window Contents
     Before you can select a new partition size, any previous
     changes have to be written to disk.

     You cannot undo this operation

     Please note that the resizing operation may take a long time.

     Allows selecting
      Go Back or Continue

Selected Continue
Several (unreadable) Dialog windows flash upon screen
Then Please Dialog display on window
Then Error Msg
   An error occured while writing the
    changes to the storage devices

   The resize operation is aborted
    Only selection is OK
    Selected OK

Back to Partman Screen as it originally displayed

I have included the messages, partman, and syslog logs

Revision history for this message
jtholmes (jtholmes) wrote :
Revision history for this message
jtholmes (jtholmes) wrote :
Revision history for this message
jtholmes (jtholmes) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

It looks like something's passing a negative partition size to partman. Could you please run the installer with 'ubiquity --debug' from a terminal window, reproduce this problem, and attach /var/log/installer/debug, /var/log/syslog, and /var/log/partman to this bug, following the directions in http://wiki.ubuntu.com/DebuggingUbiquity/AttachingLogs? Thanks in advance.

Changed in ubiquity:
assignee: nobody → kamion
status: Unconfirmed → Needs Info
Revision history for this message
jtholmes (jtholmes) wrote : Re: [Bug 95488] Re: Ubiquity: partman resize operation aborted

Interesting, ubiquity --debug itself crashed in id 20070322
I will resync with 20070325 and try what you asked.
I vim'd the ubiquity python script and found no --debug flag
but since I dont know much about python that could be just fine.

I will post after the test with 20070325 later tonight.

jt

Colin Watson wrote:
> It looks like something's passing a negative partition size to partman.
> Could you please run the installer with 'ubiquity --debug' from a
> terminal window, reproduce this problem, and attach
> /var/log/installer/debug, /var/log/syslog, and /var/log/partman to this
> bug, following the directions in
> http://wiki.ubuntu.com/DebuggingUbiquity/AttachingLogs? Thanks in
> advance.
>
> ** Changed in: ubiquity (Ubuntu)
> Assignee: (unassigned) => Colin Watson
> Status: Unconfirmed => Needs Info
>
>

Revision history for this message
jtholmes (jtholmes) wrote :

ran ubiquity a root, doesnt like that

Here are the --debug files

jt

Revision history for this message
jtholmes (jtholmes) wrote :
Revision history for this message
jtholmes (jtholmes) wrote :
Revision history for this message
jtholmes (jtholmes) wrote :

colin
It might help you folks if you know this.

When I run parted /dev/sda (as root) from the
command line and execute

resize 1 0 20%
I get the error
Error: File system has an incompatible feature enabled.

The file system in question was created by
20070322 ubuntu installer,
Option
Guide me- use entire disk

Actually any parted resize I try to do no matter what the params it fails with the
incompat feature enabled error above.

hope that helps some
jt

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks. This is also bug 95400, which I'll fix shortly.

Revision history for this message
Colin Watson (cjwatson) wrote :

It's normal that you can't use 'resize' from a parted shell to resize these file systems; partman works around libparted's lack of support for this by doing it in resize2fs. The problem was a different one, namely that the shell's arithmetic operations were using 32-bit numbers rather than 64-bit ones and so the size calculations all came out wrong for large partitions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.