Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
finottiOffline
Post subject: partition managers don't work  PostPosted: 02.12.2010, 20:52



Joined: 2010-09-12
Posts: 317

Status: Offline
Hi,

I cannot start partitionmanager or gparted when I have a flash drive inserted. With no flash drive inserted, both seem to work.

Here are the error messages:

      Code:

root@t510[/home/finotti]# partitionmanager
Backtrace has 15 calls on stack:
  15: /lib/libparted.so.0(ped_assert+0x31) [0x7f73d7cda351]
  14: /lib/libparted.so.0(+0x3d296) [0x7f73d7d04296]
  13: /lib/libparted.so.0(+0x3da13) [0x7f73d7d04a13]
  12: /lib/libparted.so.0(+0x3e6cd) [0x7f73d7d056cd]
  11: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7f73d7ce0a3b]
  10: /lib/libparted.so.0(+0x40135) [0x7f73d7d07135]
  9: /lib/libparted.so.0(+0x40325) [0x7f73d7d07325]
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f73d7ce1505]
  7: /usr/lib/libpartitionmanagerprivate.so(+0x343e9) [0x7f73da9293e9]
  6: /usr/lib/libpartitionmanagerprivate.so(_ZN22PartitionManagerWidget11scanDevicesEv+0xf7) [0x7f73da986657]
  5: /usr/lib/libpartitionmanagerprivate.so(_ZN10MainWindow4initEv+0xd6) [0x7f73da9799a6]
  4: /usr/lib/libpartitionmanagerprivate.so(_ZN10MainWindowC1EP7QWidgetP17KActionCollection+0x101) [0x7f73da979bb1]
  3: /usr/bin/partitionmanager-bin() [0x4012b6]
  2: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f73d8433c4d]
  1: /usr/bin/partitionmanager-bin() [0x401079]
KCrash: Application 'partitionmanager-bin' crashing...
sock_file=/root/.kde/socket-t510/kdeinit4__0
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
drkonqi(4557): Unable to find an internal debugger that can work with the KCrash backend


      Code:

root@t510[/home/finotti]# gparted
======================
libparted : 2.3
======================
Backtrace has 15 calls on stack:
  15: /lib/libparted.so.0(ped_assert+0x31) [0x7f82f71ff351]
  14: /lib/libparted.so.0(+0x3d296) [0x7f82f7229296]
  13: /lib/libparted.so.0(+0x3da13) [0x7f82f7229a13]
  12: /lib/libparted.so.0(+0x3e6cd) [0x7f82f722a6cd]
  11: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7f82f7205a3b]
  10: /lib/libparted.so.0(+0x40135) [0x7f82f722c135]
  9: /lib/libparted.so.0(+0x40325) [0x7f82f722c325]
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f82f7206505]
  7: /usr/sbin/gpartedbin() [0x44be94]
  6: /usr/sbin/gpartedbin() [0x45d561]
  5: /usr/sbin/gpartedbin() [0x478cf7]
  4: /usr/lib/libglibmm-2.4.so.1(+0x38632) [0x7f82f5c6c632]
  3: /lib/libglib-2.0.so.0(+0x67784) [0x7f82f50c2784]
  2: /lib/libpthread.so.0(+0x68ba) [0x7f82f46998ba]
  1: /lib/libc.so.6(clone+0x6d) [0x7f82f440102d]
Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:662 in function probe_partition_for_geom() failed.


It seems to be a bug with "parted".

https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/581144

http://www.mail-archive.com/bug-parted@gnu.org/msg03216.html

Any suggestions?

Just in case:

      Code:

root@t510[/home/finotti]# infobash -v3
Host/Kernel/OS  "t510" running Linux 2.6.34-0.slh.11-sidux-amd64 x86_64 [ sidux 2010-01 Ύπνος - kde-full - (201006131622) ]
CPU Info        4x Intel Core i5 M 520 @ 3072 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2400.000 MHz ]                                       
Videocard       nVidia GT218 [NVS 3100M]  X.Org 1.7.7  [ 1366x768@50.0hz ]                                                                           
Network cards   Intel 82577LM Gigabit                                                                                                               
                Intel Centrino Advanced-N 6200                                                                                                       
Processes 179 | Uptime 24min | Memory 1123.8/3828.9MB | HDD ST9320423AS Size 324GB (23%used) | GLX Renderer NVS 3100M/PCI/SSE2 | GLX Version 3.2.0 NVIDIA 195.36.31 | Client Shell | Infobash v3.34


Thanks,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: partition managers don  PostPosted: 02.12.2010, 21:13



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
Use cfdisk in terminal.
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject: Re: RE: partition managers don  PostPosted: 02.12.2010, 21:25



Joined: 2010-09-12
Posts: 317

Status: Offline
      towo wrote:
Use cfdisk in terminal.


I get:

      Code:

FATAL ERROR: Bad primary partition 2: Partition ends in the final partial cylinder
Press any key to exit cfdisk


Even if no USB drive is plugged...

EDIT: if it helps

      Code:

root@t510[/home/finotti]# fdisk -lu

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2e748f6e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3567615     1782784    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2         3582495    81995759    39206632+   7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3       604659712   625139711    10240000    7  HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4        81995760   604654469   261329355    5  Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5        81995823   143444384    30724281   83  Linux
/dev/sda6       143444448   587657699   222106626   83  Linux
/dev/sda7       587657763   604654469     8498353+  82  Linux swap / Solaris

Partition table entries are not in disk order

 
 View user's profile Send private message  
Reply with quote Back to top
piperOffline
Post subject: RE: Re: RE: partition managers don  PostPosted: 03.12.2010, 01:58
Moderator


Joined: 2010-09-11
Posts: 480
Location: cheektowaga, ny
Status: Offline
maybe some insight

http://linux.derkeiler.com/Mailing-List ... 01509.html

http://www.unixguide.net/linux/faq/09.16.shtml

_________________
debian sid | apt-get into it
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject:   PostPosted: 03.12.2010, 17:30



Joined: 2010-09-12
Posts: 317

Status: Offline
Thanks piper for the links...

I am bit lost with these problems... I tried my older laptop (Lenovo T60), also running aptosid, up to date, but 32-bit. There everything worked, so I assumed it could be a 64-bit thing.

Running from the live CD (on a flash drive with 64bit kernel), I could also use partitionmanager (with USB drives plugged in) with no problem in my new laptop (Lenovo T510, that had the original problem).

I restarted my laptop with my HD installation and did a DU, but I haven't seen any update that could affect this problem. But now partitionmanager and gparted work fine! (????)

cfdisk, with the new laptop never works, giving the error above, unless I specify a device different from the HD. (I *think* that this did not work before, but I am not sure...)

The HD with the "problems" above was partitioned with aptosid's Live CD's partitionmanager... I wonder what caused them.

Anyway, I have no idea what is going on... But I am a bit worried if it will work next time I need it.

Thanks to all,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
devilOffline
Post subject:   PostPosted: 03.12.2010, 17:41



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
(c)fdisk is picky about clen partitioning.
what you have there is the opposite of that.

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject:   PostPosted: 03.12.2010, 19:03



Joined: 2010-09-12
Posts: 317

Status: Offline
      devil wrote:
(c)fdisk is picky about clen partitioning.
what you have there is the opposite of that.


I understand that... I just wish I knew what caused it so that it would not happen again. I guess I will use cfdisk instead of partitionmanager in my next install.

Thanks,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject:   PostPosted: 05.12.2010, 18:09
Team Member


Joined: 2010-08-26
Posts: 170

      finotti wrote:
... I just wish I knew what caused it so that it would not happen again.


/dev/sda1 * 2048 3567615 1782784 7 HPFS/NTFS
/dev/sda2 3582495 81995759 39206632+ 7 HPFS/NTFS
/dev/sda3 604659712 625139711 10240000 7 HPFS/NTFS
/dev/sda4 81995760 604654469 261329355 5 Extended
/dev/sda5 81995823 143444384 30724281 83 Linux
/dev/sda6 143444448 587657699 222106626 83 Linux
/dev/sda7 587657763 604654469 8498353+ 82 Linux swap /
Partition table entries are not in disk order

Cause: you have created the extended partition 4 after created sda3 and probably shrinking the /dev/sda2 partition.

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject:   PostPosted: 05.12.2010, 19:43



Joined: 2010-09-12
Posts: 317

Status: Offline
      Quote:

Cause: you have created the extended partition 4 after created sda3 and probably shrinking the /dev/sda2 partition.


Thank you very much for pointing it out! Now that I remember it, I was trying to just create primary partitions (since it was the default), but in the last one I could not as I had already reached the limit... So I created an extended one. Can you tell me (or send a link) when should I use primary and when should I use extended?

Thanks again,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject:   PostPosted: 06.12.2010, 21:43
Team Member


Joined: 2010-08-26
Posts: 170

linux dont care about primary, extended and logical ones ( created on a extended one) or whatever.

Some other OS are picky with that and not able to boot if they are not using a marked bootable primary partition.

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
diblOffline
Post subject:   PostPosted: 07.12.2010, 01:08



Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
      x-un-i wrote:


Some other OS are picky with that and not able to boot if they are not using a marked bootable primary partition.


Linux doesn't care about the "boot" flag, but some BIOS do care.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio