crashes disklabel sector size 4096

Bug #408971 reported by andso
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gparted

tested on xubuntu 8.04 (and prior 9.04)
with 2 drives
external usb drive Samsung S1 mini 120 Go - HXSU012BA
sell as is.
-----------------------------------------------------------------------
système---> gparted
see gparted-samsung-1.png
the bootable flag is forgotten
wrong size of 13.97 GiB unallocated
-----------------------------------------------------------------------
$ gksu gparted
======================
libparted : 1.7.1
======================
Incapable d'ouvrir /dev/sda - étiquette de disque non reconnue.
-----------------------------------------------------------------------
$ sudo parted /dev/sda1 print
Erreur: Incapable d'ouvrir /dev/sda1 - étiquette de disque non reconnue.
-----------------------------------------------------------------------
$ sudo fdisk -l
[sudo] password for :
Note: taille de secteur est 4096 (et non pas 512)

Disque /dev/sda: 120.0 Go, 120034123776 octets
255 heads, 63 sectors/track, 1824 cylinders
Units = cylindres of 16065 * 4096 = 65802240 bytes
Identifiant disque: 0x9fc86b64

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 1824 117209988 c W95 FAT32 (LBA)

-----------------------------------------------------------------------
système---> gparted
i want to create a disk label
 gparted-samsung-2.png
 gparted-samsung-3.png
gparted close unexpectially
and
$ sudo parted /dev/sda1 print
Erreur: Incapable d'ouvrir /dev/sda1 - étiquette de disque non reconnue.
-----------------------------------------------------------------------
$ sudo fdisk -l
Note: taille de secteur est 4096 (et non pas 512)

Disque /dev/sda: 120.0 Go, 120034123776 octets
255 heads, 63 sectors/track, 1824 cylinders
Units = cylindres of 16065 * 4096 = 65802240 bytes
Identifiant disque: 0x00079162

Périphérique Amorce Début Fin Blocs Id Système
-----------------------------------------------------------------------
$ sudo parted /dev/sda1 mklabel msdos
AVERTISSEMENT: Le périphérique /dev/sda a des secteurs logiques de taille
4096. Pour l'instant le support n'en est que partiel, sous Parted et ce de
manière très expérimentale.

*** stack smashing detected ***: <unknown> terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7dee138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7dee0f0]
/lib/libparted-1.7.so.1[0xb7f095e4]
/lib/libparted-1.7.so.1[0xb7ef8c18]
[0x0]
======= Memory map: ========
08048000-08056000 r-xp 00000000 08:2d 253994 /sbin/parted
08056000-08057000 rw-p 0000e000 08:2d 253994 /sbin/parted
08057000-08078000 rw-p 08057000 00:00 0 [heap]
b7bb0000-b7bba000 r-xp 00000000 08:2d 75528 /lib/libgcc_s.so.1
b7bba000-b7bbb000 rw-p 0000a000 08:2d 75528 /lib/libgcc_s.so.1
b7bc9000-b7bd9000 r--p 00000000 08:2d 124461 /usr/share/locale-langpack/fr/LC_MESSAGES/parted.mo
b7bd9000-b7c18000 r--p 00000000 08:2d 100364 /usr/lib/locale/fr_FR.utf8/LC_CTYPE
b7c18000-b7c19000 r--p 00000000 08:2d 100365 /usr/lib/locale/fr_FR.utf8/LC_NUMERIC
b7c19000-b7c1a000 r--p 00000000 08:2d 101248 /usr/lib/locale/fr_FR.utf8/LC_TIME
b7c1a000-b7cfb000 r--p 00000000 08:2d 100367 /usr/lib/locale/fr_FR.utf8/LC_COLLATE
b7cfb000-b7cfc000 r--p 00000000 08:2d 100615 /usr/lib/locale/fr_FR.utf8/LC_MONETARY
b7cfc000-b7cfd000 rw-p b7cfc000 00:00 0
b7cfd000-b7d00000 r-xp 00000000 08:2d 73742 /lib/libuuid.so.1.2
b7d00000-b7d01000 rw-p 00002000 08:2d 73742 /lib/libuuid.so.1.2
b7d01000-b7e4a000 r-xp 00000000 08:2d 73752 /lib/tls/i686/cmov/libc-2.7.so
b7e4a000-b7e4b000 r--p 00149000 08:2d 73752 /lib/tls/i686/cmov/libc-2.7.so
b7e4b000-b7e4d000 rw-p 0014a000 08:2d 73752 /lib/tls/i686/cmov/libc-2.7.so
b7e4d000-b7e50000 rw-p b7e4d000 00:00 0
b7e50000-b7e7d000 r-xp 00000000 08:2d 73793 /lib/libncurses.so.5.6
b7e7d000-b7e80000 rw-p 0002c000 08:2d 73793 /lib/libncurses.so.5.6
b7e80000-b7e82000 r-xp 00000000 08:2d 73755 /lib/tls/i686/cmov/libdl-2.7.so
b7e82000-b7e84000 rw-p 00001000 08:2d 73755 /lib/tls/i686/cmov/libdl-2.7.so
b7e84000-b7e85000 rw-p b7e84000 00:00 0
b7e85000-b7eb1000 r-xp 00000000 08:2d 73987 /lib/libreadline.so.5.2
b7eb1000-b7eb5000 rw-p 0002c000 08:2d 73987 /lib/libreadline.so.5.2
b7eb5000-b7eb6000 rw-p b7eb5000 00:00 0
b7eb6000-b7f14000 r-xp 00000000 08:2d 73872 /lib/libparted-1.7.so.1.0.0
b7f14000-b7f16000 rw-p 0005d000 08:2d 73872 /lib/libparted-1.7.so.1.0.0
b7f16000-b7f17000 rw-p b7f16000 00:00 0
b7f17000-b7f18000 r--p 00000000 08:2d 100370 /usr/lib/locale/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7f18000-b7f19000 r--p 00000000 08:2d 100371 /usr/lib/locale/fr_FR.utf8/LC_PAPER
b7f19000-b7f1a000 r--p 00000000 08:2d 100372 /usr/lib/locale/fr_FR.utf8/LC_NAME
b7f1a000-b7f1b000 r--p 00000000 08:2d 101249 /usr/lib/locale/fr_FR.utf8/LC_ADDRESS
b7f1b000-b7f1c000 r--p 00000000 08:2d 101250 /usr/lib/locale/fr_FR.utf8/LC_TELEPHONE
b7f1c000-b7f1d000 r--p 00000000 08:2d 100375 /usr/lib/locale/fr_FR.utf8/LC_MEASUREMENT
b7f1d000-b7f24000 r--s 00000000 08:2d 82870 /usr/lib/gconv/gconv-modules.cache
b7f24000-b7f25000 r--p 00000000 08:2d 101251 /usr/lib/locale/fr_FR.utf8/LC_IDENTIFICATION
b7f25000-b7f27000 rw-p b7f25000 00:00 0
b7f27000-b7f28000 r-xp b7f27000 00:00 0 [vdso]
b7f28000-b7f42000 r-xp 00000000 08:2d 75416 /lib/ld-2.7.so
b7f42000-b7f44000 rw-p 00019000 08:2d 75416 /lib/ld-2.7.so
bf964000-bf979000 rw-p bffeb000 00:00 0 [stack]
Abandon
-----------------------------------------------------------------------
is this wrong ?:
taille de secteur est 4096 (et non pas 512)
e.g. sector size is 4096 (and not 512).

I think i have to find a tool and perform a low format.
Expecially for a newbie, it is not possible to work with gparted.
No issue proposed in ubuntu

http://<email address hidden>/msg01962.html

Revision history for this message
andso (andso) wrote :
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.