gparted just crash when my thumbdrive (Kingston DataTraveler G3 4Gb) is pluged in.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gparted (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gparted
gparted just crash when my thumbdrive (Kingston DataTraveler G3 4Gb) is pluged in.
fdisk works fine.
The thumbdrive is brand new.
The only thing I did was to create a startup disk using a disc image.
Here is the log :
$ sudo gparted /dev/sdb
=======
libparted : 2.2
=======
Backtrace : 16 appels sur la pile:
16: /lib/libparted.
15: /lib/libparted.
14: /lib/libparted.
13: /lib/libparted.
12: /lib/libparted.
11: /lib/libparted.
10: /lib/libparted.
9: /lib/libparted.
8: /lib/libparted.
7: /usr/sbin/
6: /usr/sbin/
5: /usr/sbin/
4: /usr/lib/
3: /lib/libglib-
2: /lib/tls/
1: /lib/tls/
Assertion (head_size <= 63) à ../../.
$ lsusb -vvv
Bus 002 Device 008: ID 0951:1643 Kingston Technology
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0951 Kingston Technology
idProduct 0x1643
bcdDevice 1.00
iManufacturer 1 Kingston
iProduct 2 DataTraveler G3
iSerial 3 001CC0EC34B5BA8
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigura
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gparted 0.5.1-1ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-
NonfreeKernelMo
Architecture: i386
Date: Sun Oct 10 18:36:59 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
PATH=(custom, no user)
LANG=fr_CH.utf8
SHELL=/bin/bash
SourcePackage: gparted
As fdisk works with this key, I used it to invesitgate further.
What I did is simply remove the boot flag, remove the partition, create a new DOS partition.
What I notice is the geometry change.
Now gparted works perfectly with my Thumbdrive.
Here is the log :
$ sudo fdisk /dev/sdb
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Commande (m pour l'aide): c
Fanion de compatibilité DOS non positionné
Commande (m pour l'aide): m
Commande d'action
a bascule le fanion d'amorce
b éditer l'étiquette BSD du disque
c basculer le fanion de compatibilité DOS
d supprimer la partition
l lister les types de partitions connues
m afficher ce menu
n ajouter une nouvelle partition
o créer une nouvelle table vide de partitions DOS
p afficher la table de partitions
q quitter sans enregistrer les changements
s créer une nouvelle étiquette vide pour disque de type Sun
t modifier l'id de système de fichiers d'une partition
u modifier les unités d'affichage/saisie
v vérifier la table de partitions
w écrire la table sur le disque et quitter
x fonctions avancées (pour experts seulement)
Commande (m pour l'aide): p
Disque /dev/sdb: 4011 Mo, 4011851776 octets
88 têtes, 24 secteurs/piste, 3710 cylindres
Unités = cylindres de 2112 * 512 = 1081344 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0xc3072e18
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 4 3711 3913792 c W95 FAT32 (LBA)
Commande (m pour l'aide): a
Numéro de partition (1-4): 1
Commande (m pour l'aide): p
Disque /dev/sdb: 4011 Mo, 4011851776 octets
88 têtes, 24 secteurs/piste, 3710 cylindres
Unités = cylindres de 2112 * 512 = 1081344 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0xc3072e18
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 4 3711 3913792 c W95 FAT32 (LBA)
Commande (m pour l'aide): d
Partition sélectionnée 1
Commande (m pour l'aide): p
Disque /dev/sdb: 4011 Mo, 4011851776 octets
88 têtes, 24 secteurs/piste, 3710 cylindres
Unités = cylindres de 2112 * 512 = 1081344 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0xc3072e18
Périphérique Amorce Début Fin Blocs Id Système
Commande (m pour l'aide): p
Disque /dev/sdb: 4011 Mo, 4011851776 octets
88 têtes, 24 secteurs/piste, 3710 cylindres
Unités = cylindres de 2112 * 512 = 1081344 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0xc3072e18
Périphérique Amorce Début Fin Blocs Id Système
Commande (m pour l'aide): m
Commande d'action
a bascule le fanion d'amorce
b éditer l'étiquette BSD du disque
c basculer le fanion de compatib...