LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Connected pendrive can't be found in /dev/ folder. (https://www.linuxquestions.org/questions/linux-desktop-74/connected-pendrive-can%27t-be-found-in-dev-folder-4175473726/)

kisssandoradam 08-17-2013 12:01 PM

Connected pendrive can't be found in /dev/ folder.
 
Hi.
I've installed Fedora 19 x64 with KDE from the official Fedora installation DVD and I have a little problem with that. When I connect my 8GB Kingston pendrive to my notebook, it cannot be mounted, because there is no entry in the /dev/ folder, but with other pendrives i have no problem. Under other distros I didn't have problem with this. Can you help me? (Reinstalling OS is not a solution for me!) (I tried to install Fedora 19 with XFCE to an other drive and with that I had no problem.)

On my current system i runned the following commands:

Before I plug in the pendrive:
[adam@localhost ~]$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04fc:0005 Sunplus Technology Co., Ltd USB OpticalWheel Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6441 Microdia
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here you can see the /dev/ folder:

[adam@localhost dev]$ ls -al
total 4
drwxr-xr-x. 19 root root 3480 Aug 17 19:02 .
dr-xr-xr-x. 21 root root 4096 Aug 17 18:41 ..
crw-------. 1 root root 10, 235 Aug 17 16:40 autofs
drwxr-xr-x. 2 root root 360 Aug 17 16:40 block
drwxr-xr-x. 2 root root 80 Aug 17 19:02 bsg
crw-------. 1 root root 10, 234 Aug 17 16:40 btrfs-control
drwxr-xr-x. 3 root root 60 Aug 17 18:40 bus
lrwxrwxrwx. 1 root root 3 Aug 17 16:40 cdrom -> sr0
drwxr-xr-x. 2 root root 3700 Aug 17 19:02 char
crw-------. 1 root root 5, 1 Aug 17 16:40 console
lrwxrwxrwx. 1 root root 11 Aug 17 16:40 core -> /proc/kcore
drwxr-xr-x. 6 root root 140 Aug 17 16:40 cpu
crw-------. 1 root root 10, 62 Aug 17 16:40 cpu_dma_latency
drwxr-xr-x. 5 root root 100 Aug 17 16:40 disk
drwxr-xr-x. 2 root root 80 Aug 17 16:40 dri
crw-rw----. 1 root video 29, 0 Aug 17 16:40 fb0
lrwxrwxrwx. 1 root root 13 Aug 17 16:40 fd -> /proc/self/fd
crw-rw-rw-. 1 root root 1, 7 Aug 17 16:40 full
crw-rw-rw-. 1 root root 10, 229 Aug 17 16:40 fuse
crw-------. 1 root root 250, 0 Aug 17 19:02 hidraw0
crw-------. 1 root root 10, 228 Aug 17 16:40 hpet
drwxr-xr-x. 2 root root 0 Aug 17 16:40 hugepages
prw-------. 1 root root 0 Aug 17 16:40 initctl
drwxr-xr-x. 4 root root 520 Aug 17 19:02 input
crw-r--r--. 1 root root 1, 11 Aug 17 16:40 kmsg
crw-rw----+ 1 root root 10, 232 Aug 17 16:40 kvm
srw-rw-rw-. 1 root root 0 Aug 17 16:40 log
brw-rw----. 1 root disk 7, 0 Aug 17 16:40 loop0
brw-rw----. 1 root disk 7, 1 Aug 17 16:40 loop1
brw-rw----. 1 root disk 7, 2 Aug 17 16:40 loop2
brw-rw----. 1 root disk 7, 3 Aug 17 16:40 loop3
brw-rw----. 1 root disk 7, 4 Aug 17 16:40 loop4
brw-rw----. 1 root disk 7, 5 Aug 17 16:40 loop5
brw-rw----. 1 root disk 7, 6 Aug 17 16:40 loop6
brw-rw----. 1 root disk 7, 7 Aug 17 16:40 loop7
crw-------. 1 root root 10, 237 Aug 17 16:40 loop-control
crw-rw----. 1 root lp 6, 0 Aug 17 16:40 lp0
crw-rw----. 1 root lp 6, 1 Aug 17 16:40 lp1
crw-rw----. 1 root lp 6, 2 Aug 17 16:40 lp2
crw-rw----. 1 root lp 6, 3 Aug 17 16:40 lp3
drwxr-xr-x. 2 root root 60 Aug 17 18:40 mapper
crw-------. 1 root root 10, 227 Aug 17 16:40 mcelog
crw-------. 1 root root 249, 0 Aug 17 16:40 media0
crw-------. 1 root root 10, 58 Aug 17 16:40 mei
crw-r-----. 1 root kmem 1, 1 Aug 17 16:40 mem
drwxrwxrwt. 2 root root 40 Aug 17 18:40 mqueue
drwxr-xr-x. 2 root root 60 Aug 17 16:40 net
crw-------. 1 root root 10, 61 Aug 17 16:40 network_latency
crw-------. 1 root root 10, 60 Aug 17 16:40 network_throughput
crw-rw-rw-. 1 root root 1, 3 Aug 17 16:40 null
crw-------. 1 root root 10, 144 Aug 17 16:40 nvram
crw-------. 1 root root 1, 12 Aug 17 16:40 oldmem
crw-r-----. 1 root kmem 1, 4 Aug 17 16:40 port
crw-------. 1 root root 108, 0 Aug 17 16:40 ppp
crw-rw-rw-. 1 root tty 5, 2 Aug 17 19:03 ptmx
drwxr-xr-x. 2 root root 0 Aug 17 18:40 pts
crw-rw-rw-. 1 root root 1, 8 Aug 17 16:40 random
drwxr-xr-x. 2 root root 60 Aug 17 18:40 raw
crw-r--r--. 1 root root 10, 59 Aug 17 16:40 rfkill
lrwxrwxrwx. 1 root root 4 Aug 17 16:40 rtc -> rtc0
crw-------. 1 root root 254, 0 Aug 17 16:40 rtc0
brw-rw----. 1 root disk 8, 0 Aug 17 16:40 sda
brw-rw----. 1 root disk 8, 1 Aug 17 16:40 sda1
brw-rw----. 1 root disk 8, 2 Aug 17 16:40 sda2
brw-rw----. 1 root disk 8, 3 Aug 17 18:42 sda3
brw-rw----. 1 root disk 8, 4 Aug 17 16:40 sda4
brw-rw----. 1 root disk 8, 5 Aug 17 16:40 sda5
brw-rw----. 1 root disk 8, 6 Aug 17 16:40 sda6
crw-rw----. 1 root disk 21, 0 Aug 17 16:40 sg0
crw-rw----+ 1 root cdrom 21, 1 Aug 17 16:40 sg1
drwxrwxrwt. 2 root root 140 Aug 17 19:03 shm
crw-------. 1 root root 10, 231 Aug 17 16:40 snapshot
drwxr-xr-x. 3 root root 360 Aug 17 16:40 snd
brw-rw----+ 1 root cdrom 11, 0 Aug 17 16:40 sr0
lrwxrwxrwx. 1 root root 15 Aug 17 16:40 stderr -> /proc/self/fd/2
lrwxrwxrwx. 1 root root 15 Aug 17 16:40 stdin -> /proc/self/fd/0
lrwxrwxrwx. 1 root root 15 Aug 17 16:40 stdout -> /proc/self/fd/1
crw-rw-rw-. 1 root tty 5, 0 Aug 17 18:43 tty
crw--w----. 1 root tty 4, 0 Aug 17 16:40 tty0
crw--w----. 1 root tty 4, 1 Aug 17 16:40 tty1
crw--w----. 1 root tty 4, 10 Aug 17 16:40 tty10
crw--w----. 1 root tty 4, 11 Aug 17 16:40 tty11
crw--w----. 1 root tty 4, 12 Aug 17 16:40 tty12
crw--w----. 1 root tty 4, 13 Aug 17 16:40 tty13
crw--w----. 1 root tty 4, 14 Aug 17 16:40 tty14
crw--w----. 1 root tty 4, 15 Aug 17 16:40 tty15
crw--w----. 1 root tty 4, 16 Aug 17 16:40 tty16
crw--w----. 1 root tty 4, 17 Aug 17 16:40 tty17
crw--w----. 1 root tty 4, 18 Aug 17 16:40 tty18
crw--w----. 1 root tty 4, 19 Aug 17 16:40 tty19
crw--w----. 1 root tty 4, 2 Aug 17 16:40 tty2
crw--w----. 1 root tty 4, 20 Aug 17 16:40 tty20
crw--w----. 1 root tty 4, 21 Aug 17 16:40 tty21
crw--w----. 1 root tty 4, 22 Aug 17 16:40 tty22
crw--w----. 1 root tty 4, 23 Aug 17 16:40 tty23
crw--w----. 1 root tty 4, 24 Aug 17 16:40 tty24
crw--w----. 1 root tty 4, 25 Aug 17 16:40 tty25
crw--w----. 1 root tty 4, 26 Aug 17 16:40 tty26
crw--w----. 1 root tty 4, 27 Aug 17 16:40 tty27
crw--w----. 1 root tty 4, 28 Aug 17 16:40 tty28
crw--w----. 1 root tty 4, 29 Aug 17 16:40 tty29
crw--w----. 1 root tty 4, 3 Aug 17 16:40 tty3
crw--w----. 1 root tty 4, 30 Aug 17 16:40 tty30
crw--w----. 1 root tty 4, 31 Aug 17 16:40 tty31
crw--w----. 1 root tty 4, 32 Aug 17 16:40 tty32
crw--w----. 1 root tty 4, 33 Aug 17 16:40 tty33
crw--w----. 1 root tty 4, 34 Aug 17 16:40 tty34
crw--w----. 1 root tty 4, 35 Aug 17 16:40 tty35
crw--w----. 1 root tty 4, 36 Aug 17 16:40 tty36
crw--w----. 1 root tty 4, 37 Aug 17 16:40 tty37
crw--w----. 1 root tty 4, 38 Aug 17 16:40 tty38
crw--w----. 1 root tty 4, 39 Aug 17 16:40 tty39
crw--w----. 1 root tty 4, 4 Aug 17 16:40 tty4
crw--w----. 1 root tty 4, 40 Aug 17 16:40 tty40
crw--w----. 1 root tty 4, 41 Aug 17 16:40 tty41
crw--w----. 1 root tty 4, 42 Aug 17 16:40 tty42
crw--w----. 1 root tty 4, 43 Aug 17 16:40 tty43
crw--w----. 1 root tty 4, 44 Aug 17 16:40 tty44
crw--w----. 1 root tty 4, 45 Aug 17 16:40 tty45
crw--w----. 1 root tty 4, 46 Aug 17 16:40 tty46
crw--w----. 1 root tty 4, 47 Aug 17 16:40 tty47
crw--w----. 1 root tty 4, 48 Aug 17 16:40 tty48
crw--w----. 1 root tty 4, 49 Aug 17 16:40 tty49
crw--w----. 1 root tty 4, 5 Aug 17 16:40 tty5
crw--w----. 1 root tty 4, 50 Aug 17 16:40 tty50
crw--w----. 1 root tty 4, 51 Aug 17 16:40 tty51
crw--w----. 1 root tty 4, 52 Aug 17 16:40 tty52
crw--w----. 1 root tty 4, 53 Aug 17 16:40 tty53
crw--w----. 1 root tty 4, 54 Aug 17 16:40 tty54
crw--w----. 1 root tty 4, 55 Aug 17 16:40 tty55
crw--w----. 1 root tty 4, 56 Aug 17 16:40 tty56
crw--w----. 1 root tty 4, 57 Aug 17 16:40 tty57
crw--w----. 1 root tty 4, 58 Aug 17 16:40 tty58
crw--w----. 1 root tty 4, 59 Aug 17 16:40 tty59
crw--w----. 1 root tty 4, 6 Aug 17 16:40 tty6
crw--w----. 1 root tty 4, 60 Aug 17 16:40 tty60
crw--w----. 1 root tty 4, 61 Aug 17 16:40 tty61
crw--w----. 1 root tty 4, 62 Aug 17 16:40 tty62
crw--w----. 1 root tty 4, 63 Aug 17 16:40 tty63
crw--w----. 1 root tty 4, 7 Aug 17 16:40 tty7
crw--w----. 1 root tty 4, 8 Aug 17 16:40 tty8
crw--w----. 1 root tty 4, 9 Aug 17 16:40 tty9
crw-rw----. 1 root dialout 4, 64 Aug 17 16:40 ttyS0
crw-rw----. 1 root dialout 4, 65 Aug 17 16:40 ttyS1
crw-rw----. 1 root dialout 4, 66 Aug 17 16:40 ttyS2
crw-rw----. 1 root dialout 4, 67 Aug 17 16:40 ttyS3
crw-------. 1 root root 10, 223 Aug 17 16:40 uinput
crw-rw-rw-. 1 root root 1, 9 Aug 17 16:40 urandom
crw-------. 1 root root 251, 0 Aug 17 16:40 usbmon0
crw-------. 1 root root 251, 1 Aug 17 16:40 usbmon1
crw-------. 1 root root 251, 2 Aug 17 16:40 usbmon2
crw-------. 1 root root 251, 3 Aug 17 16:40 usbmon3
crw-------. 1 root root 251, 4 Aug 17 16:40 usbmon4
drwxr-xr-x. 4 root root 80 Aug 17 16:40 v4l
crw-rw----. 1 root tty 7, 0 Aug 17 16:40 vcs
crw-rw----. 1 root tty 7, 1 Aug 17 16:40 vcs1
crw-rw----. 1 root tty 7, 2 Aug 17 16:40 vcs2
crw-rw----. 1 root tty 7, 3 Aug 17 16:40 vcs3
crw-rw----. 1 root tty 7, 4 Aug 17 16:40 vcs4
crw-rw----. 1 root tty 7, 5 Aug 17 16:40 vcs5
crw-rw----. 1 root tty 7, 6 Aug 17 16:40 vcs6
crw-rw----. 1 root tty 7, 128 Aug 17 16:40 vcsa
crw-rw----. 1 root tty 7, 129 Aug 17 16:40 vcsa1
crw-rw----. 1 root tty 7, 130 Aug 17 16:40 vcsa2
crw-rw----. 1 root tty 7, 131 Aug 17 16:40 vcsa3
crw-rw----. 1 root tty 7, 132 Aug 17 16:40 vcsa4
crw-rw----. 1 root tty 7, 133 Aug 17 16:40 vcsa5
crw-rw----. 1 root tty 7, 134 Aug 17 16:40 vcsa6
crw-------. 1 root root 10, 63 Aug 17 16:40 vga_arbiter
crw-------. 1 root root 10, 238 Aug 17 16:40 vhost-net
crw-rw----+ 1 root video 81, 0 Aug 17 16:40 video0
crw-------. 1 root root 10, 130 Aug 17 16:40 watchdog
crw-------. 1 root root 253, 0 Aug 17 16:40 watchdog0
crw-rw-rw-. 1 root root 1, 5 Aug 17 16:40 zero


After I plugged in the pendrive:
[adam@localhost ~]$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04fc:0005 Sunplus Technology Co., Ltd USB OpticalWheel Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6441 Microdia
Bus 001 Device 004: ID 0951:1643 Kingston Technology DataTraveler G3
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here you can see the /dev/ folder:

[adam@localhost dev]$ ls -al
total 4
drwxr-xr-x. 19 root root 3480 Aug 17 19:02 .
dr-xr-xr-x. 21 root root 4096 Aug 17 18:41 ..
crw-------. 1 root root 10, 235 Aug 17 16:40 autofs
drwxr-xr-x. 2 root root 360 Aug 17 16:40 block
drwxr-xr-x. 2 root root 80 Aug 17 19:02 bsg
crw-------. 1 root root 10, 234 Aug 17 16:40 btrfs-control
drwxr-xr-x. 3 root root 60 Aug 17 18:40 bus
lrwxrwxrwx. 1 root root 3 Aug 17 16:40 cdrom -> sr0
drwxr-xr-x. 2 root root 3700 Aug 17 19:02 char
crw-------. 1 root root 5, 1 Aug 17 16:40 console
lrwxrwxrwx. 1 root root 11 Aug 17 16:40 core -> /proc/kcore
drwxr-xr-x. 6 root root 140 Aug 17 16:40 cpu
crw-------. 1 root root 10, 62 Aug 17 16:40 cpu_dma_latency
drwxr-xr-x. 5 root root 100 Aug 17 16:40 disk
drwxr-xr-x. 2 root root 80 Aug 17 16:40 dri
crw-rw----. 1 root video 29, 0 Aug 17 16:40 fb0
lrwxrwxrwx. 1 root root 13 Aug 17 16:40 fd -> /proc/self/fd
crw-rw-rw-. 1 root root 1, 7 Aug 17 16:40 full
crw-rw-rw-. 1 root root 10, 229 Aug 17 16:40 fuse
crw-------. 1 root root 250, 0 Aug 17 19:02 hidraw0
crw-------. 1 root root 10, 228 Aug 17 16:40 hpet
drwxr-xr-x. 2 root root 0 Aug 17 16:40 hugepages
prw-------. 1 root root 0 Aug 17 16:40 initctl
drwxr-xr-x. 4 root root 520 Aug 17 19:02 input
crw-r--r--. 1 root root 1, 11 Aug 17 16:40 kmsg
crw-rw----+ 1 root root 10, 232 Aug 17 16:40 kvm
srw-rw-rw-. 1 root root 0 Aug 17 16:40 log
brw-rw----. 1 root disk 7, 0 Aug 17 16:40 loop0
brw-rw----. 1 root disk 7, 1 Aug 17 16:40 loop1
brw-rw----. 1 root disk 7, 2 Aug 17 16:40 loop2
brw-rw----. 1 root disk 7, 3 Aug 17 16:40 loop3
brw-rw----. 1 root disk 7, 4 Aug 17 16:40 loop4
brw-rw----. 1 root disk 7, 5 Aug 17 16:40 loop5
brw-rw----. 1 root disk 7, 6 Aug 17 16:40 loop6
brw-rw----. 1 root disk 7, 7 Aug 17 16:40 loop7
crw-------. 1 root root 10, 237 Aug 17 16:40 loop-control
crw-rw----. 1 root lp 6, 0 Aug 17 16:40 lp0
crw-rw----. 1 root lp 6, 1 Aug 17 16:40 lp1
crw-rw----. 1 root lp 6, 2 Aug 17 16:40 lp2
crw-rw----. 1 root lp 6, 3 Aug 17 16:40 lp3
drwxr-xr-x. 2 root root 60 Aug 17 18:40 mapper
crw-------. 1 root root 10, 227 Aug 17 16:40 mcelog
crw-------. 1 root root 249, 0 Aug 17 16:40 media0
crw-------. 1 root root 10, 58 Aug 17 16:40 mei
crw-r-----. 1 root kmem 1, 1 Aug 17 16:40 mem
drwxrwxrwt. 2 root root 40 Aug 17 18:40 mqueue
drwxr-xr-x. 2 root root 60 Aug 17 16:40 net
crw-------. 1 root root 10, 61 Aug 17 16:40 network_latency
crw-------. 1 root root 10, 60 Aug 17 16:40 network_throughput
crw-rw-rw-. 1 root root 1, 3 Aug 17 16:40 null
crw-------. 1 root root 10, 144 Aug 17 16:40 nvram
crw-------. 1 root root 1, 12 Aug 17 16:40 oldmem
crw-r-----. 1 root kmem 1, 4 Aug 17 16:40 port
crw-------. 1 root root 108, 0 Aug 17 16:40 ppp
crw-rw-rw-. 1 root tty 5, 2 Aug 17 19:03 ptmx
drwxr-xr-x. 2 root root 0 Aug 17 18:40 pts
crw-rw-rw-. 1 root root 1, 8 Aug 17 16:40 random
drwxr-xr-x. 2 root root 60 Aug 17 18:40 raw
crw-r--r--. 1 root root 10, 59 Aug 17 16:40 rfkill
lrwxrwxrwx. 1 root root 4 Aug 17 16:40 rtc -> rtc0
crw-------. 1 root root 254, 0 Aug 17 16:40 rtc0
brw-rw----. 1 root disk 8, 0 Aug 17 16:40 sda
brw-rw----. 1 root disk 8, 1 Aug 17 16:40 sda1
brw-rw----. 1 root disk 8, 2 Aug 17 16:40 sda2
brw-rw----. 1 root disk 8, 3 Aug 17 18:42 sda3
brw-rw----. 1 root disk 8, 4 Aug 17 16:40 sda4
brw-rw----. 1 root disk 8, 5 Aug 17 16:40 sda5
brw-rw----. 1 root disk 8, 6 Aug 17 16:40 sda6
crw-rw----. 1 root disk 21, 0 Aug 17 16:40 sg0
crw-rw----+ 1 root cdrom 21, 1 Aug 17 16:40 sg1
drwxrwxrwt. 2 root root 140 Aug 17 19:03 shm
crw-------. 1 root root 10, 231 Aug 17 16:40 snapshot
drwxr-xr-x. 3 root root 360 Aug 17 16:40 snd
brw-rw----+ 1 root cdrom 11, 0 Aug 17 16:40 sr0
lrwxrwxrwx. 1 root root 15 Aug 17 16:40 stderr -> /proc/self/fd/2
lrwxrwxrwx. 1 root root 15 Aug 17 16:40 stdin -> /proc/self/fd/0
lrwxrwxrwx. 1 root root 15 Aug 17 16:40 stdout -> /proc/self/fd/1
crw-rw-rw-. 1 root tty 5, 0 Aug 17 18:43 tty
crw--w----. 1 root tty 4, 0 Aug 17 16:40 tty0
crw--w----. 1 root tty 4, 1 Aug 17 16:40 tty1
crw--w----. 1 root tty 4, 10 Aug 17 16:40 tty10
crw--w----. 1 root tty 4, 11 Aug 17 16:40 tty11
crw--w----. 1 root tty 4, 12 Aug 17 16:40 tty12
crw--w----. 1 root tty 4, 13 Aug 17 16:40 tty13
crw--w----. 1 root tty 4, 14 Aug 17 16:40 tty14
crw--w----. 1 root tty 4, 15 Aug 17 16:40 tty15
crw--w----. 1 root tty 4, 16 Aug 17 16:40 tty16
crw--w----. 1 root tty 4, 17 Aug 17 16:40 tty17
crw--w----. 1 root tty 4, 18 Aug 17 16:40 tty18
crw--w----. 1 root tty 4, 19 Aug 17 16:40 tty19
crw--w----. 1 root tty 4, 2 Aug 17 16:40 tty2
crw--w----. 1 root tty 4, 20 Aug 17 16:40 tty20
crw--w----. 1 root tty 4, 21 Aug 17 16:40 tty21
crw--w----. 1 root tty 4, 22 Aug 17 16:40 tty22
crw--w----. 1 root tty 4, 23 Aug 17 16:40 tty23
crw--w----. 1 root tty 4, 24 Aug 17 16:40 tty24
crw--w----. 1 root tty 4, 25 Aug 17 16:40 tty25
crw--w----. 1 root tty 4, 26 Aug 17 16:40 tty26
crw--w----. 1 root tty 4, 27 Aug 17 16:40 tty27
crw--w----. 1 root tty 4, 28 Aug 17 16:40 tty28
crw--w----. 1 root tty 4, 29 Aug 17 16:40 tty29
crw--w----. 1 root tty 4, 3 Aug 17 16:40 tty3
crw--w----. 1 root tty 4, 30 Aug 17 16:40 tty30
crw--w----. 1 root tty 4, 31 Aug 17 16:40 tty31
crw--w----. 1 root tty 4, 32 Aug 17 16:40 tty32
crw--w----. 1 root tty 4, 33 Aug 17 16:40 tty33
crw--w----. 1 root tty 4, 34 Aug 17 16:40 tty34
crw--w----. 1 root tty 4, 35 Aug 17 16:40 tty35
crw--w----. 1 root tty 4, 36 Aug 17 16:40 tty36
crw--w----. 1 root tty 4, 37 Aug 17 16:40 tty37
crw--w----. 1 root tty 4, 38 Aug 17 16:40 tty38
crw--w----. 1 root tty 4, 39 Aug 17 16:40 tty39
crw--w----. 1 root tty 4, 4 Aug 17 16:40 tty4
crw--w----. 1 root tty 4, 40 Aug 17 16:40 tty40
crw--w----. 1 root tty 4, 41 Aug 17 16:40 tty41
crw--w----. 1 root tty 4, 42 Aug 17 16:40 tty42
crw--w----. 1 root tty 4, 43 Aug 17 16:40 tty43
crw--w----. 1 root tty 4, 44 Aug 17 16:40 tty44
crw--w----. 1 root tty 4, 45 Aug 17 16:40 tty45
crw--w----. 1 root tty 4, 46 Aug 17 16:40 tty46
crw--w----. 1 root tty 4, 47 Aug 17 16:40 tty47
crw--w----. 1 root tty 4, 48 Aug 17 16:40 tty48
crw--w----. 1 root tty 4, 49 Aug 17 16:40 tty49
crw--w----. 1 root tty 4, 5 Aug 17 16:40 tty5
crw--w----. 1 root tty 4, 50 Aug 17 16:40 tty50
crw--w----. 1 root tty 4, 51 Aug 17 16:40 tty51
crw--w----. 1 root tty 4, 52 Aug 17 16:40 tty52
crw--w----. 1 root tty 4, 53 Aug 17 16:40 tty53
crw--w----. 1 root tty 4, 54 Aug 17 16:40 tty54
crw--w----. 1 root tty 4, 55 Aug 17 16:40 tty55
crw--w----. 1 root tty 4, 56 Aug 17 16:40 tty56
crw--w----. 1 root tty 4, 57 Aug 17 16:40 tty57
crw--w----. 1 root tty 4, 58 Aug 17 16:40 tty58
crw--w----. 1 root tty 4, 59 Aug 17 16:40 tty59
crw--w----. 1 root tty 4, 6 Aug 17 16:40 tty6
crw--w----. 1 root tty 4, 60 Aug 17 16:40 tty60
crw--w----. 1 root tty 4, 61 Aug 17 16:40 tty61
crw--w----. 1 root tty 4, 62 Aug 17 16:40 tty62
crw--w----. 1 root tty 4, 63 Aug 17 16:40 tty63
crw--w----. 1 root tty 4, 7 Aug 17 16:40 tty7
crw--w----. 1 root tty 4, 8 Aug 17 16:40 tty8
crw--w----. 1 root tty 4, 9 Aug 17 16:40 tty9
crw-rw----. 1 root dialout 4, 64 Aug 17 16:40 ttyS0
crw-rw----. 1 root dialout 4, 65 Aug 17 16:40 ttyS1
crw-rw----. 1 root dialout 4, 66 Aug 17 16:40 ttyS2
crw-rw----. 1 root dialout 4, 67 Aug 17 16:40 ttyS3
crw-------. 1 root root 10, 223 Aug 17 16:40 uinput
crw-rw-rw-. 1 root root 1, 9 Aug 17 16:40 urandom
crw-------. 1 root root 251, 0 Aug 17 16:40 usbmon0
crw-------. 1 root root 251, 1 Aug 17 16:40 usbmon1
crw-------. 1 root root 251, 2 Aug 17 16:40 usbmon2
crw-------. 1 root root 251, 3 Aug 17 16:40 usbmon3
crw-------. 1 root root 251, 4 Aug 17 16:40 usbmon4
drwxr-xr-x. 4 root root 80 Aug 17 16:40 v4l
crw-rw----. 1 root tty 7, 0 Aug 17 16:40 vcs
crw-rw----. 1 root tty 7, 1 Aug 17 16:40 vcs1
crw-rw----. 1 root tty 7, 2 Aug 17 16:40 vcs2
crw-rw----. 1 root tty 7, 3 Aug 17 16:40 vcs3
crw-rw----. 1 root tty 7, 4 Aug 17 16:40 vcs4
crw-rw----. 1 root tty 7, 5 Aug 17 16:40 vcs5
crw-rw----. 1 root tty 7, 6 Aug 17 16:40 vcs6
crw-rw----. 1 root tty 7, 128 Aug 17 16:40 vcsa
crw-rw----. 1 root tty 7, 129 Aug 17 16:40 vcsa1
crw-rw----. 1 root tty 7, 130 Aug 17 16:40 vcsa2
crw-rw----. 1 root tty 7, 131 Aug 17 16:40 vcsa3
crw-rw----. 1 root tty 7, 132 Aug 17 16:40 vcsa4
crw-rw----. 1 root tty 7, 133 Aug 17 16:40 vcsa5
crw-rw----. 1 root tty 7, 134 Aug 17 16:40 vcsa6
crw-------. 1 root root 10, 63 Aug 17 16:40 vga_arbiter
crw-------. 1 root root 10, 238 Aug 17 16:40 vhost-net
crw-rw----+ 1 root video 81, 0 Aug 17 16:40 video0
crw-------. 1 root root 10, 130 Aug 17 16:40 watchdog
crw-------. 1 root root 253, 0 Aug 17 16:40 watchdog0
crw-rw-rw-. 1 root root 1, 5 Aug 17 16:40 zero

There should be an entry with name: "sdb".

I'm waiting for your answer. Adam

lleb 08-17-2013 12:36 PM

you are looking in the wrong place. as root type the following command when you plug in the USB device:

Code:

# tail -f /var/log/messages
you will see the USB device connect and you will see its path /dev/sdX#

kisssandoradam 08-17-2013 02:53 PM

I tried it:

Aug 17 19:51:50 localhost kernel: [ 1334.473645] usb 1-1.1: new high-speed USB device number 4 using ehci-pci
Aug 17 19:51:51 localhost kernel: [ 1334.560989] usb 1-1.1: New USB device found, idVendor=0951, idProduct=1643
Aug 17 19:51:51 localhost kernel: [ 1334.560994] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 17 19:51:51 localhost kernel: [ 1334.560996] usb 1-1.1: Product: DataTraveler G3
Aug 17 19:51:51 localhost kernel: [ 1334.560997] usb 1-1.1: Manufacturer: Kingston
Aug 17 19:51:51 localhost kernel: [ 1334.560998] usb 1-1.1: SerialNumber: 001CC0EC3504AAA097DA3363
Aug 17 19:51:51 localhost kernel: [ 1334.562007] usb-storage 1-1.1:1.0: USB Mass Storage device detected
Aug 17 19:51:51 localhost kernel: [ 1334.562894] scsi7 : usb-storage 1-1.1:1.0
Aug 17 19:51:51 localhost mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Aug 17 19:51:51 localhost mtp-probe: bus: 1, device: 4 was not an MTP device
Aug 17 19:51:52 localhost kernel: [ 1335.563708] scsi 7:0:0:0: Direct-Access Kingston DataTraveler G3 1.00 PQ: 0 ANSI: 2
Aug 17 19:51:52 localhost kernel: [ 1335.564057] sd 7:0:0:0: Attached scsi generic sg2 type 0
Aug 17 19:51:52 localhost kernel: [ 1335.565327] sd 7:0:0:0: [sdb] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB)
Aug 17 19:51:52 localhost kernel: [ 1335.568470] sd 7:0:0:0: [sdb] Write Protect is off
Aug 17 19:51:52 localhost kernel: [ 1335.569203] sd 7:0:0:0: [sdb] No Caching mode page present
Aug 17 19:51:52 localhost kernel: [ 1335.569207] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Aug 17 19:52:14 localhost fprintd[5587]: ** Message: No devices in use, exit
Aug 17 19:52:22 localhost kernel: [ 1366.136430] usb 1-1.1: reset high-speed USB device number 4 using ehci-pci
Aug 17 19:52:53 localhost kernel: [ 1397.128561] usb 1-1.1: reset high-speed USB device number 4 using ehci-pci


But there is no sdb in /dev/ folder!

kosnick 08-18-2013 02:47 AM

Hi there,
well its funny since yesterday i was reading a book about it. So i said, lets dig in...
The book mentioned about usbmgr and hotplug which after a little search it seems these are obsolete (i am reading this book for the LPI exams.. damn)
As you mention, indeed in my case, plugging in the pendrive, the sdb# comes up under /dev.
Maybe the modules in your kernel are not there, as they should be (which would be strange to my opinion). modinfo usb-storage will show that. In my case i got an answer, which i think it means that the module is there.
Another search in google, directed me to www.linux-usb.org . There i found out that mass storage driver presents the USB device as a SCSI device and indeed more /proc/scsi/scsi showed just exactly that in my case. I can see my usb there.
Another thing i found out, is that under /dev/bus/usb/001 a new file comes up everytime i plug in the pendrive. The last one was 006.
Comparing my /var/log/kern.log.1 to your /var/log/messages (well i am on Ubuntu so i guess there is no /var/log/messages in my case)i saw that they differ in the last 3 lines (of YOUR output). So another googling with reset high-speed USB device number 4 using ehci-pci showed that it is probably a kernel bug. And the solutions are:
patch for the kernel
downgrade to previous kernel
Here are the links where i found out about those:
https://bbs.archlinux.org/viewtopic.php?id=167705
http://marc.info/?l=linux-usb&m=137523956310060&w=2
(the second one being the answer of gmesalazar in post 8)
I hope this helps.
p.s. removing the pendrive
- removes file 006 from /dev/bus/usb/001
- removes the record from the /proc/scsi/scsi file

kisssandoradam 08-18-2013 06:04 AM

Thank you for your answer!
I rebooted with the original 3.9.5 kernel and it worked. With the latest one still not working. Where can i report this bug?

kisssandoradam 08-19-2013 03:16 PM

Updating to the newest 3.10.7 kernel fixed this bug.

lleb 08-20-2013 07:18 PM

Quote:

Originally Posted by kisssandoradam (Post 5011302)
Thank you for your answer!
I rebooted with the original 3.9.5 kernel and it worked. With the latest one still not working. Where can i report this bug?

file a bugzilla for your distro. odds are that the new kernel fix already had this reported.

glad you got it working.


All times are GMT -5. The time now is 07:36 PM.