| Summary: | diskdrake fail in libparted | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Italo Ramirez <gualadrake> |
| Component: | RPM Packages | Assignee: | Pascal Terjan <pterjan> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | davidwhodgins, derazhenko, marja11, pterjan, thierry.vignaud |
| Version: | Cauldron | Keywords: | NEEDINFO, Triaged |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | parted | CVE: | |
| Status comment: | |||
|
Description
Italo Ramirez
2011-10-24 02:51:13 CEST
Manuel Hiebel
2011-10-24 18:45:39 CEST
Component:
New RPM package request =>
RPM Packages I cannot recreate the problem here on my i586 cauldron installation. Please attach the output of "sfdisk -l -uS /dev/sda", for each disk (hard drive or flash drive), in the system. CC:
(none) =>
davidwhodgins only 1 HD...
# sfdisk -l -uS /dev/sda
Disco /dev/sda: 60801 cilindros, 255 cabezas, 63 sectores/pista
Atención: la partición extendida no empieza en un lÃmite de cilindro.
DOS y Linux interpretarán el contenido de forma diferente.
Unidades = sectores de 512 bytes, contando desde 0
Disp. Inicio Principio Fin Nº sect. Id Sistema
/dev/sda1 * 2048 206847 204800 7 HPFS/NTFS
/dev/sda2 206848 133097471 132890624 7 HPFS/NTFS
/dev/sda3 133098588 483942059 350843472 5 Extendida
/dev/sda4 0 - 0 0 VacÃa
/dev/sda5 133098591 343220974 210122384 7 HPFS/NTFS
/dev/sda6 343228788 376354754 33125967 83 Linux
/dev/sda7 376354818 378330749 1975932 82 Linux swap / Solaris
/dev/sda8 378330813 483942059 105611247 83 Linux
My partitions HP Pavilion g4 by lshw command:
*-disk
description: ATA Disk
product: ST9500325AS
vendor: Seagate
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 0005
serial: S2W1HZR5
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=638f667a
*-volume:0
description: Windows NTFS volume
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /media/win_c
version: 3.1
serial: 32f4-9589
size: 98MiB
capacity: 100MiB
capabilities: primary bootable ntfs initialized
configuration: clustersize=4096 created=2011-10-16 19:42:59 filesystem=ntfs label=Reservado para el sistema mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 state=mounted
*-volume:1
description: Windows NTFS volume
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
logical name: /media/win_e
version: 3.1
serial: 0ea56cac-3185-5348-8da4-e9600b9471fe
size: 63GiB
capacity: 63GiB
capabilities: primary ntfs initialized
configuration: clustersize=4096 created=2011-10-16 19:43:07 filesystem=ntfs label=Windows 7 mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 state=mounted
*-volume:2
description: Extended partition
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
size: 167GiB
capacity: 167GiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume:0
description: HPFS/NTFS partition
physical id: 5
logical name: /dev/sda5
logical name: /media/win_d
capacity: 100GiB
configuration: mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 state=mounted
*-logicalvolume:1
description: Linux filesystem partition
physical id: 6
logical name: /dev/sda6
logical name: /
capacity: 15GiB
configuration: mount.fstype=ext4 mount.options=rw,noatime,acl,barrier=1,data=ordered state=mounted
*-logicalvolume:2
description: Linux swap / Solaris partition
physical id: 7
logical name: /dev/sda7
capacity: 964MiB
capabilities: nofs
*-logicalvolume:3
description: Linux filesystem partition
physical id: 8
logical name: /dev/sda8
logical name: /home
capacity: 50GiB
configuration: mount.fstype=ext4 mount.options=rw,noatime,acl,barrier=1,data=ordered state=mounted
How was the extended partition created? Normally, the extended partition should end at the end of the drive. It looks like you were trying to add a partition in the free space, but the extended partition is full, and you can only have one extended partition. As a workaround, try running gparted, right click on the extended partition, select resize/move, and decrease the free space following to zero. Then select edit/Apply all operations. After that, try adding another partition again in diskdrake. Please report back if that fixes the problem. Either way, this is a bug in libparted that should be fixed. Hi, thanks for reporting this bug. Assigned to the package maintainer. Keywords:
(none) =>
Triaged
Thierry Vignaud
2011-11-22 13:27:57 CET
CC:
(none) =>
pterjan
Thierry Vignaud
2011-11-22 13:28:09 CET
Summary:
diskdrake fail =>
diskdrake fail in libparted
Thierry Vignaud
2011-11-22 13:29:17 CET
CC:
(none) =>
thierry.vignaud
Pascal Terjan
2011-11-22 14:04:05 CET
Source RPM:
drakxtools =>
parted The error in libparted is: Assertion (head_size <= 63) at dos.c:661 in function probe_partition_for_geom() failed. but it does not say for which partition. We catch the errors detected by libparted and use drakx own code, unfortunately in this case this is not an error but an assert which kills us... Reading https://bugzilla.redhat.com/show_bug.cgi?id=138419 it seems to be a known problem where the "fix" is to fix your partitions table (it seems that a common source of problems is the us of ghost...) What surprises me: 1/ Install succeeded. Did you change any of your partitions after installing Mageia ? 2/ It happens on several machines. Do those machines have something in common ? Like a USB device connected, same CD in the drive, etc.
vladimir derazhenko
2012-01-07 23:20:04 CET
CC:
(none) =>
derazhenko
Manuel Hiebel
2012-01-07 23:26:50 CET
Hardware:
i586 =>
x86_64 @ Italo Please reply to the questions in comment 5 Keywords:
(none) =>
NEEDINFO Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja |