Author Topic: Problems with usb pen drive  (Read 2955 times)

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Problems with usb pen drive
« on: February 16, 2012, 11:49:42 AM »
Hi friends again,

I never used a pen drive before but today I insert one and nothing happened, I opened Pcmanfm and nothing, I when to My PC and had a USB memory, I did click and the cpu got creasy running 100% a long time, I reboot for solve.

I got similar problem with DVDs.

I have other OS in my laptod, another distro... and the pen drive work fine.

Any idea?

Thanks  
« Last Edit: February 17, 2012, 07:32:01 AM by Aleph »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #1 on: February 16, 2012, 12:13:20 PM »
Hi friends again,

I never used a pen drive before but today I insert one and nothing happened, I opened Pcmanfm and nothing, I when to My PC and had a USB memory, I did click and the cpu got creasy running 100% a long time, I reboot for solve.

I got similar problem with DVDs.

I have other OS in my laptod, another distro... and the pen drive work fine.

Any idea?

Thanks  

Is the DVD unit attached to an IDE controller (as opposed to SATA) ?
How is formatted the stick ? ext2/3/4 ? FAT ? NTFS ?

open a terminal and run the following two commands:
Code: [Select]
lspci --nn -k
lsusb

plug in yuour stick and after 5 seconds run the following command:
Code: [Select]
dmesg | tail -15

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #2 on: February 16, 2012, 12:18:28 PM »
Hi As,

Code: [Select]
[salud@localhost ~]$ lspci -n -k
00:00.0 0600: 8086:27a0 (rev 03)
Subsystem: 103c:30aa
Kernel driver in use: agpgart-intel
00:02.0 0300: 8086:27a2 (rev 03)
Subsystem: 103c:30aa
Kernel driver in use: i915
Kernel modules: intelfb, i915
00:02.1 0380: 8086:27a6 (rev 03)
Subsystem: 103c:30aa
00:1b.0 0403: 8086:27d8 (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 0604: 8086:27d0 (rev 01)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 0c03: 8086:27c8 (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 0c03: 8086:27c9 (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.2 0c03: 8086:27ca (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.3 0c03: 8086:27cb (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 0c03: 8086:27cc (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 0604: 8086:2448 (rev e1)
00:1f.0 0601: 8086:27b9 (rev 01)
Subsystem: 103c:30aa
Kernel modules: iTCO_wdt, leds-ss4200, intel-rng
00:1f.1 0101: 8086:27df (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: ata_piix
Kernel modules: piix, ata_piix
00:1f.2 0106: 8086:27c5 (rev 01)
Subsystem: 103c:30aa
Kernel driver in use: ahci
Kernel modules: ahci
02:06.0 0607: 104c:8039
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket
02:06.1 0c00: 104c:803a
Subsystem: 103c:30aa
Kernel driver in use: firewire_ohci
Kernel modules: firewire-ohci
02:0e.0 0200: 14e4:170c (rev 02)
Subsystem: 103c:30aa
Kernel driver in use: b44
Kernel modules: b44
08:00.0 0280: 14e4:4311 (rev 01)
Subsystem: 103c:1364
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb, wl
[salud@localhost ~]$

Code: [Select]
[salud@localhost ~]$ dmesg | tail -15
scsi6 : usb-storage 5-4:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver uas
scsi 6:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdb] 8224768 512-byte logical blocks: (4.21 GB/3.92 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[salud@localhost ~]$

Code: [Select]
[salud@localhost ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
[salud@localhost ~]$
« Last Edit: February 16, 2012, 12:21:06 PM by Aleph »

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #3 on: February 16, 2012, 12:24:08 PM »
I unplugged the pen and my system crashed :(

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #4 on: February 16, 2012, 12:26:16 PM »
Hi Aleph,

Quote
[salud@localhost ~]$ dmesg | tail -15
scsi6 : usb-storage 5-4:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver uas
scsi 6:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdb] 8224768 512-byte logical blocks: (4.21 GB/3.92 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[salud@localhost ~]$

Look fine and already mounted, try the command mount to see where it get mounted ...


I unplugged the pen and my system crashed :(

did you unmounted /dev/sdb1 before to unplug the stick ?

Which DE are you running ?

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #5 on: February 16, 2012, 12:34:01 PM »
Hi AS,

how unmount if I can't see the pen?

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #6 on: February 16, 2012, 12:39:12 PM »
Hi AS,

how unmount if I can't see the pen?

KDE use "Device notifier" on the system tray ... other DE use different way but I don't know all ...

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #7 on: February 16, 2012, 12:41:41 PM »
Code: [Select]
[salud@localhost ~]$ mount /dev/sdb1
mount: según mtab, /dev/sdb1 ya está montado en /media/Volumen nuevo
montaje erróneo
[salud@localhost ~]$

Code: [Select]
[salud@localhost ~]$ umount /media/Volumen nuevo
umount: /media/Volumen no está montado (según mtab)
[salud@localhost ~]$ umount /dev/sdb1

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #8 on: February 16, 2012, 12:48:22 PM »
Code: [Select]
[salud@localhost ~]$ mount /dev/sdb1
mount: según mtab, /dev/sdb1 ya está montado en /media/Volumen nuevo
montaje erróneo
[salud@localhost ~]$

Code: [Select]
[salud@localhost ~]$ umount /media/Volumen nuevo
umount: /media/Volumen no está montado (según mtab)
[salud@localhost ~]$ umount /dev/sdb1

try to use double quotes, *nix doesn't like space character in the mid of a name:
Code: [Select]
umount  "/media/Volumen nuevo"or
Code: [Select]
umount  /dev/sdb1
Still don't know which Desktop Environment are you running.

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #9 on: February 16, 2012, 01:14:16 PM »
This work:

Code: [Select]
[salud@localhost ~]$ umount  "/media/Volumen nuevo"
[salud@localhost ~]$ umount  "/media/Volumen nuevo"
umount: /media/Volumen nuevo no está montado (según mtab)
[salud@localhost ~]$

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #10 on: February 16, 2012, 01:17:06 PM »
This work:

Code: [Select]
[salud@localhost ~]$ umount  "/media/Volumen nuevo"
[salud@localhost ~]$ umount  "/media/Volumen nuevo"
umount: /media/Volumen nuevo no está montado (según mtab)
[salud@localhost ~]$

Yes ,I know  :D

Is your original issue solved ?

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #11 on: February 16, 2012, 02:19:20 PM »
No, no, I refered only about the command...

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #12 on: February 16, 2012, 02:24:14 PM »
No, no, I refered only about the command...

OK ... which DE ?

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 370
Re: Problems with usb pen drive
« Reply #13 on: February 16, 2012, 02:24:53 PM »
LXDE

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #14 on: February 16, 2012, 02:30:54 PM »
LXDE

open a terminal and type:
Code: [Select]
udevadm  monitorthen plug in your stick.

What happen ?

(press CTRL + C  to quit udevadm)