Jessie-2.0-usb-slot [closed]

Kernels & Hardware, configuring network, installing services

Jessie-2.0-usb-slot [closed]

Postby Tinnitus » 2018-03-29 14:03

Hi,
My usb flash drive isn't detected by the computer kernel throught the 2.0 slot. The usb 3.0 slot runs.

I updated the kernel.
Code: Select all
root@debian:~# uname -a
Linux debian 4.9.0-0.bpo.5-amd64 #1 SMP Debian 4.9.65-3+deb9u2~bpo8+1 (2017-01-05) x86_64 GNU/Linux


Some pieces of information:
Code: Select all
root@debian:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=b7e1b441-2a32-4088-b902-9e03915a145c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=4D9D-7FE8  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
UUID=e5db5cb5-fda3-487e-9aac-1d16699a539e none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0


Code: Select all
root@debian:~# mount -t vfat /dev/sdb /media/dominique
mount: le périphérique spécial /dev/sdb n'existe pas


Code: Select all
root@debian:~# dmesg |grep sdb1
[  110.297897]  sdb: sdb1
[  110.689057] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


Code: Select all
root@debian:~# dmesg |grep sdb
[  110.270060] sd 2:0:0:0: [sdb] 7810176 512-byte logical blocks: (4.00 GB/3.72 GiB)
[  110.270313] sd 2:0:0:0: [sdb] Write Protect is off
[  110.270320] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[  110.270578] sd 2:0:0:0: [sdb] No Caching mode page found
[  110.270587] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[  110.297897]  sdb: sdb1
[  110.300188] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[  110.689057] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


Code: Select all
root@debian:~# dmesg |grep sdb1
[  110.297897]  sdb: sdb
[  110.689057] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


Throught my Usb 3.0 slot :
Code: Select all
root@debian:~# mount -t vfat /dev/sdb /media/dominique
mount: /dev/sdb est déjà monté ou /media/dominique est occupé


Code: Select all
root@debian:~# fsck
fsck de util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/sda2 est monté.
e2fsck: Ne peut continuer, arrêt immédiat.


Thanks for your help.
Bye.
Last edited by Tinnitus on 2018-04-01 00:26, edited 1 time in total.
Tinnitus
 
Posts: 28
Joined: 2013-08-17 14:56

Re: Jessie-2.0-usb-slot

Postby debiman » 2018-03-29 15:03

Tinnitus wrote:
Code: Select all
root@debian:~# mount -t vfat /dev/sdb /media/dominique
mount: le périphérique spécial /dev/sdb n'existe pas


Code: Select all
root@debian:~# dmesg |grep sdb1
[  110.297897]  sdb: sdb1
[  110.689057] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

there seem to be 2 - maybe related, maybe unrelated - problems here:

  1. you can mount partitions only: mount /dev/sdb1 /media/dominique
  2. the dmesg output is pretty clear. did you run fsck and what did it tell you?
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Jessie-2.0-usb-slot

Postby Tinnitus » 2018-03-30 17:46

Hi,
thanks for the answer.

With the key on the 2.0 slot:
Code: Select all
root@debian:~#  mount /dev/sdb1 /media/dominique
mount: le périphérique spécial /dev/sdb1 n'existe pas

/dev/sdb1 is nonexistent!!!

Code: Select all
root@debian:~# fsck -C
fsck de util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/sda2 est monté.
e2fsck: Ne peut continuer, arrêt immédiat.

Cannot continue, immediate stop.

Code: Select all
oot@debian:~# fsck /dev/sdb1
fsck de util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
fsck.ext2: Aucun fichier ou dossier de ce type lors de la tentative d'ouverture de /dev/sdb1
Périphérique peut-être inexistant ?


I am sorry I do not know the material well.
Bye.
Tinnitus
 
Posts: 28
Joined: 2013-08-17 14:56

Re: Jessie-2.0-usb-slot

Postby debiman » 2018-03-31 05:42

i see.
with the stick plugged in, what's the output of
Code: Select all
sudo fdisk -l
sudo lsusb
???
are you sure the usb slot is working? and the stick?

edit:
actually, i think that this:
Code: Select all
FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
is the root of the problem.
you need to fix the filesystem.
(and before you ask, using fsck to repair a filesystem requires reading a bit of documentation & maybe one or two online tutorials)
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Jessie-2.0-usb-slot

Postby Tinnitus » 2018-03-31 07:44

Hi,
On the same computer Debian and Ubuntu are installed.
On Ubuntu all the usb slots run with the stick plugged in.
On Debian only the 3.0 usb slot runs.

With the stick plugged in:
Code: Select all
root@debian:~# fdisk -l

Disque /dev/sda : 931,5 GiB, 1000204886016 octets, 1953525168 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : gpt
Identifiant de disque : A5AC8ACD-7F7B-4D2F-97A3-8262EC390B29

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    1050623   1048576   512M EFI System
/dev/sda2     1050624  987726972 986676349 470,5G Linux filesystem
/dev/sda3  1938923520 1953523711  14600192     7G Linux swap
/dev/sda4   987727872 1938923519 951195648 453,6G Linux filesystem


and
Code: Select all
dominique@debian:~$ lsusb
Bus 002 Device 003: ID 0930:0225 Toshiba Corp.
Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 001 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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


you need to fix the filesystem.
(and before you ask, using fsck to repair a filesystem requires reading a bit of documentation & maybe one or two online tutorials)

The fsck command is usable if the /dev/sdb is mounted.
The "root@debian:~# mount -t vfat /dev/sdb /media/dominique" command doesn't run.

Bye.
Tinnitus
 
Posts: 28
Joined: 2013-08-17 14:56

Re: Jessie-2.0-usb-slot

Postby Tinnitus » 2018-04-01 00:22

Hi,
Now my stick is detected in the 2.0 and 3.0 usb slots.
I don't know why.
Thanks for your attention.
Bye.
Tinnitus
 
Posts: 28
Joined: 2013-08-17 14:56


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable