Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25307 - [parted] linux's "2-part" versioning scheme (3.x instead of 2.6.x) renders (G)parted unstartable

Attached to Project: Arch Linux
Opened by Ali Kaasinen (vanukas) - Friday, 29 July 2011, 12:34 GMT
Last edited by Giovanni Scafora (giovanni) - Friday, 29 July 2011, 19:23 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I was about to report this already when this change was still in [linux]'s trunk but whatever.

This commit introduced with [linux] has rendered (g)parted unusable: http://projects.archlinux.org/svntogit/packages.git/commit/linux/trunk?id=fe6ea2ce1a67a3e4dc749d580939fd805b839921

Since gparted wants to get the kernel version as a 3-part scheme (as in 2.6.x times) linux 3.0's 2-part one requires patching:
gpartedbin: arch/linux.c:2834: linux_disk_commit: Assertion `_have_blkpg ()' failed.

So just apply this to [parted] and then rebuild [gparted] (I verified with the AUR package 'parted-git' that this is the one they use in Git): http://thread.gmane.org/gmane.comp.gnu.parted.devel/3529/focus=3539

Additional info:
* package version(s): linux 3.0-2, parted 3.0-2, gparted 0.9.0-2

Steps to reproduce:
1) Install [linux]
2) Install [gparted]
3) Boot (to the new kernel)
4) Try to open gparted

ps. I can't attach the patch because no matter in what form did I try to the apply it it just wouldn't work. I had to do it manually :p.
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Friday, 29 July 2011, 19:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in parted-3.0-3
Comment by Giovanni Scafora (giovanni) - Friday, 29 July 2011, 18:51 GMT
I'm patching parted right now and I'm rebuilding gparted against it.
Please, let me know if parted-3.0-3 and gparted-0.9.0-3 work fine now, then I will be closing this bug report.
Comment by Ali Kaasinen (vanukas) - Friday, 29 July 2011, 19:01 GMT
Sure.
Comment by Ali Kaasinen (vanukas) - Friday, 29 July 2011, 19:20 GMT
Ok, I'm confirming it works. Close it away.
Comment by Giovanni Scafora (giovanni) - Friday, 29 July 2011, 19:23 GMT
Thanks a lot for your contribution!

Loading...