Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41036 - app-admin/partgui-0.2.3 does not open a gui, and parted v1.6.6 is dangerous.
Summary: app-admin/partgui-0.2.3 does not open a gui, and parted v1.6.6 is dangerous.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 15:57 UTC by Georg Sahli
Modified: 2004-02-18 22:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace log from parted (parted-strace.txt,169.42 KB, text/plain)
2004-02-17 14:35 UTC, Georg Sahli
Details
strace log from partgui (partgui-strace.txt,136.94 KB, text/plain)
2004-02-17 14:50 UTC, Georg Sahli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Sahli 2004-02-09 15:57:07 UTC
partgui 
[ebuild  N    ] sys-apps/parted-1.6.6
[ebuild  N    ] sys-fs/xfsprogs-2.6.0
[ebuild  N    ] app-admin/partgui-0.2.3

did emerge fine.
After (first and more) start of partgui as root, it did ask for my mouse at the console and I had strong HD activities overminutes, and it does completly nothing.
A click on the icon does nothing too.

I had start later for testing parted (in v.1.6.6) at the console with no parameter and it did shock me, with that message:

Using /dev/ataraid/disc0/disc
Information: The operating system thinks the geometry on /dev/ataraid/disc0/disc is 9964/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted)
(parted)
(parted) q
Information: Don't forget to update /etc/fstab, if necessary.

I believe it did change something with my Windows partitions without asking me.
One linux is on hda, 2 others on hdb and Windows on ataraid.

Please warn in future users for tools, which change partitions informations without human admin/ access.

I did start parted twice, now it did crache. I hope my Windows does not die.


Reproducible: Always
Steps to Reproduce:
1.start from console or KDE3.2 icon
2.
3.

Actual Results:  
1) gui = does not start
2) parted = dangerous


Expected Results:  
a gui and no changes without user/admin check

Kernel 2.4.24
KDE 3.2
HD:
/dev/hda       (bigger than 64GB)
/dev/hdb       (bigger than 64GB)
/dev/ataraid   (bigger than 64GB, Promise)
Comment 1 Georg Sahli 2004-02-09 16:29:45 UTC
Additional: Did check all systems and partitions found no problems.

Note: Could remember that /dev/ataraid/disc0 was an older wrong partition entry on dev/hda which is more than one year old.
This harddrive was ones connected to the Promise RAID controller an still it carries old RAID information on which I can't remove, equal which tool I did use
PartitionMagic or fdisk (dos) fdisk (linux) nor the Windows partition-manager.

It looks like it did change old entries, which are no longer in use. The fault is a little more minor.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-11 00:52:26 UTC
I made little changes (soon in portage as -r1) to stop this (for X11) senseless question about the mouse. About your other problems:

I can not reproduce this "do nothing and rattle with HD" situation - tried on
two different machines. Perhaps it has something to do with your broken RAID stuff.

parted always tells about updating fstab, even if you do nothing. I really doubt there were any changes to your partition table by just running and quitting parted.

Please use "strace" to check what the program really does when it seems to do nothing.

For now I will set this bug to "minor" severity.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-16 00:50:22 UTC
Georg? What about the strace results?
Comment 4 Georg Sahli 2004-02-17 14:35:47 UTC
Created attachment 25801 [details]
strace log from parted
Comment 5 Georg Sahli 2004-02-17 14:50:52 UTC
Created attachment 25803 [details]
strace log from partgui

Sorry, had some other troubles (not with the computer).
'parted' is still in the same version.
Due to strong error messages from partgui-0.2.3 I did it unmerge some time ago,
and I was unable to re-emerge it. Today I could it emerge new with this
versions:
[ebuild  N ] sys-fs/xfsprogs-2.6.3
[ebuild  N ] app-admin/partgui-0.2.3-r1

But partgui is still not working and ends with a floating point error (hadn't
see error message before).
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-17 22:48:02 UTC
Your error descriptions are a little inconsistant - you said first that it does nothing, and now you talk of a floating point exception. Did the behaviour change? That would be very strange because it is exactly the same program you get in -r1.

I'd guess from the FPE that parted has some problems with the partition data (see also the message "Error: Can't have a partition outside the disk!") - perhaps you could use the bug tracker on http://sourceforge.net/projects/part-gui/ to help the author with this bug. Calling this UPSTREAM for now.
Comment 7 Georg Sahli 2004-02-18 09:38:21 UTC
Yes, the errors before did change from reboot to reboot, sometimes I got my console/terminal prompt back, sometimes not (then "CTRL & C", was not working) - when this happend I had to kill the terminal window!

After re-emerging yesterday, the fault was everytime the same: Floating point exception.

Try to contact author from part-gui, but without a working parted application, I did belive that I'am not very helpfull to him.
Comment 8 Georg Sahli 2004-02-18 09:43:18 UTC
Little correction: sometimes not breakable with "CTRL & C" means that I had it 3 times, by many tries.
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-18 22:52:06 UTC
Sorry for mixing up the problems, indeed - if you can't use parted a bugreport would be not very helpful :-)

So I think this one applies if you have time for a bug hunt:

 * send bug reports, requests for help, feature requests, comments, etc. to
bug-parted@gnu.org.