On Fri, May 28, 2010 at 06:37:59PM -0400, john wrote: > On 28/05/10 14:26, d.sastre.medina@gmail.com wrote: > > On Fri, May 28, 2010 at 10:42:22AM -0400, john wrote: > >> I can no longer read or write or even unmounted a USB flash drive. > >> > >> Something happened during the last two weeks. I am using squeeze and > >> regularly upgrade on a daily basis. The only change to the system I can > >> recall was debfoster run during that period where I deleted some 4 or > >> five libraries. > >> > -------------snip > > > > Please provide more info, i.e. what does mount says when the USB stick > > is plugged in? fdisk -l output would be helpful too. The ouput of tail > > -f /var/log/messages when plugging in the USB stick can be informative > > too. > > here is the aditional information.: > > john@debian:~/Desktop$ umount /media/usb0 > umount: /media/usb0 is not in the fstab (and you are not root) > john@debian:~/Desktop$ fdisk -l > bash: fdisk: command not found This is normal. Only root can issue this commands. > john@debian:~/Desktop$ su > Password: > root@debian:/home/john/Desktop# umount /media/usb0 > root@debian:/home/john/Desktop# fdisk -l > > > Disk /dev/sda: 2079 MB, 2079850496 bytes > 64 heads, 62 sectors/track, 1023 cylinders > Units = cylinders of 3968 * 512 = 2031616 bytes > Disk identifier: 0x6f20736b > > This doesn't look like a partition table > Probably you selected the wrong device. > > Device Boot Start End Blocks Id System > /dev/sda1 ? 196103 483782 570754815+ 72 Unknown > Partition 1 has different physical/logical beginnings (non-Linux?): > phys=(357, 116, 40) logical=(196102, 51, 11) > Partition 1 has different physical/logical endings: > phys=(357, 32, 45) logical=(483781, 40, 51) > Partition 1 does not end on cylinder boundary. > /dev/sda2 ? 42513 530423 968014120 65 Novell Netware 386 > Partition 2 has different physical/logical beginnings (non-Linux?): > phys=(288, 115, 43) logical=(42512, 30, 47) > Partition 2 has different physical/logical endings: > phys=(367, 114, 50) logical=(530422, 52, 42) > Partition 2 does not end on cylinder boundary. > /dev/sda3 ? 471241 959151 968014096 79 Unknown > Partition 3 has different physical/logical beginnings (non-Linux?): > phys=(366, 32, 33) logical=(471240, 18, 30) > Partition 3 has different physical/logical endings: > phys=(357, 32, 43) logical=(959150, 39, 39) > Partition 3 does not end on cylinder boundary. > /dev/sda4 ? 727239 727253 27749+ d Unknown > Partition 4 has different physical/logical beginnings (non-Linux?): > phys=(372, 97, 50) logical=(727238, 12, 25) > Partition 4 has different physical/logical endings: > phys=(0, 10, 0) logical=(727252, 11, 33) > Partition 4 does not end on cylinder boundary. > > Partition table entries are not in disk order This is weird. Is the USB stick partitioned? Looks like it is: /dev/sda{1..4}. Could you try sfdisk -l /dev/sda as root? > root@debian:/var/log# tail -f messages > May 28 18:26:29 debian kernel: [21978.475036] usb 1-6: SerialNumber: > 35A3FB06093932140607 > May 28 18:26:30 debian kernel: [21978.477058] usb 1-6: configuration #1 > chosen from 1 choice > May 28 18:26:30 debian kernel: [21978.481514] scsi3 : SCSI emulation for > USB Mass Storage devices > May 28 18:26:35 debian kernel: [21983.481527] scsi 3:0:0:0: > Direct-Access LEXAR JD FIREFLY 1100 PQ: 0 ANSI: 0 CCS > May 28 18:26:35 debian kernel: [21983.486491] sd 3:0:0:0: [sda] 4062208 > 512-byte logical blocks: (2.07 GB/1.93 GiB) > May 28 18:26:35 debian kernel: [21983.487225] sd 3:0:0:0: [sda] Write > Protect is off > May 28 18:26:35 debian kernel: [21983.496254] sda: > May 28 18:26:35 debian kernel: [21983.562404] sd 3:0:0:0: [sda] Attached > SCSI removable disk > May 28 18:26:35 debian usbmount[10512]: executing command: mount -tvfat > -osync,noexec,nodev,noatime,nodiratime /dev/sda /media/usb0 > May 28 18:26:35 debian usbmount[10512]: executing command: run-parts > /etc/usbmount/mount.d This log entries tell you that your USB stick is identified and assigned a mount point: /dev/sda is mounted in /media/usb0. Everything here is pretty normal stuff. Is there anything under /media/usb0? If you can recover your data from there, I suggest you to back it all up and format the stick. Something like mkfs.vfat -v -F 32 -n FIREFLY /dev/sda should work. man mkfs.vfat for more info. Regards. -- Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB
Attachment:
pgpFylU4wBhgJ.pgp
Description: PGP signature