You are not logged in.

#1 2014-10-14 18:51:28

xtian
Member
Registered: 2013-08-25
Posts: 179

USB thumb drive mounting buggy ...

Mounting a usb stick has become buggy. How do I begin with troubleshooting this?

$ sudo lsblk
NAME               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
[...]
sdb                  8:16   1   7.3G  0 disk  
└─sdb1               8:17   1   7.3G  0 part  
sr0                 11:0    1  1024M  0 rom   
$ sudo mount /dev/sdb1 /mnt/usb
$ ls /mnt/usb
$ sudo umount /mnt/usb
umount: /mnt/usb: not mounted

However, my USB mounted Nokia N900 mounts this way Ok.
Another usb is ok.
And this particular usb mounts in Windows.

EDITED

Last edited by xtian (2014-10-14 19:10:50)

Offline

#2 2014-10-14 19:32:59

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: USB thumb drive mounting buggy ...

I'd start by checking dmesg. And if that doesn't have anything useful, I'd check the journal.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2014-10-16 17:06:14

xtian
Member
Registered: 2013-08-25
Posts: 179

Re: USB thumb drive mounting buggy ...

Here's the journalctl report for that day. I was copying a file to the usb stick using sudo. When that didn't work I logged in as root and tried it again. I thought I had it. Switched to Windows in dual boot, but the file wasn't there. I tried once more and failed again before uploading to a dropbox. The basic use pattern here is shown in the first post.

Now today I got a chance to get back to this problem, but as the title suggests (buggy) its working again. Everything mounted fine.
I noticed this started after a system update at the end of September. I've since updated twice more.

I'll add to this thread whenever it starts doing it again...

Oct 14 13:25:31 MasterShake login[358]: LOGIN ON tty1 BY xtian
Oct 14 13:25:50 MasterShake sudo[592]: xtian : TTY=tty1 ; PWD=/home/mastershake/xtian ; USER=root ; COMMAND=/usr/bin/mount /dev/sdb1 /mnt/usb1
Oct 14 13:25:50 MasterShake sudo[592]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
Oct 14 13:25:50 MasterShake sudo[592]: pam_unix(sudo:session): session closed for user root
Oct 14 13:25:50 MasterShake systemd[1]: Unit mnt-usb1.mount is bound to inactive service. Stopping, too.
Oct 14 13:25:50 MasterShake systemd[1]: Unmounting /mnt/usb1...
Oct 14 13:25:50 MasterShake systemd[1]: Unmounted /mnt/usb1.
Oct 14 13:26:28 MasterShake sudo[602]: xtian : TTY=tty1 ; PWD=/home/mastershake/xtian ; USER=root ; COMMAND=/usr/bin/ls /mnt/usb1
Oct 14 13:26:28 MasterShake sudo[602]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
Oct 14 13:26:28 MasterShake sudo[602]: pam_unix(sudo:session): session closed for user root
Oct 14 13:27:40 MasterShake sudo[607]: xtian : TTY=tty1 ; PWD=/home/mastershake/xtian/ ; USER=root ; USER=root ; COMMAND=/usr/bin/cp bk-Fitzpatrick_Kravitz /mnt/usb1
Oct 14 13:27:40 MasterShake sudo[607]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
Oct 14 13:27:40 MasterShake sudo[607]: pam_unix(sudo:session): session closed for user root
Oct 14 13:27:58 MasterShake sudo[610]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
Oct 14 14:00:27 MasterShake login[354]: LOGIN ON tty1 BY xtian
Oct 14 14:00:46 MasterShake sudo[599]: xtian : TTY=tty1 ; PWD=/home/mastershake/xtian ; USER=root ; COMMAND=/usr/bin/mount /dev/sdb1 /mnt/usb1
Oct 14 14:00:46 MasterShake sudo[599]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
Oct 14 14:00:46 MasterShake systemd[1]: Unit mnt-usb1.mount is bound to inactive service. Stopping, too.
Oct 14 14:00:46 MasterShake systemd[1]: Unmounting /mnt/usb1...
Oct 14 14:00:46 MasterShake sudo[599]: pam_unix(sudo:session): session closed for user root
Oct 14 14:00:46 MasterShake systemd[1]: Unmounted /mnt/usb1.
Oct 14 14:01:19 MasterShake kernel: usb 7-1: USB disconnect, device number 2
Oct 14 14:01:33 MasterShake sudo[617]: xtian : TTY=tty1 ; PWD=/mnt ; USER=root ; COMMAND=/usr/bin/umount /mnt/usb1
Oct 14 14:01:33 MasterShake sudo[617]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
Oct 14 14:01:33 MasterShake sudo[617]: pam_unix(sudo:session): session closed for user root
Oct 14 14:01:42 MasterShake su[619]: (to root) xtian on tty1
Oct 14 14:01:42 MasterShake su[619]: pam_unix(su-l:session): session opened for user root by xtian(uid=1000)
Oct 14 14:02:54 MasterShake kernel: usb 7-1: new high-speed USB device number 5 using ehci-pci
Oct 14 14:02:55 MasterShake kernel: usb-storage 7-1:1.0: USB Mass Storage device detected
Oct 14 14:02:55 MasterShake kernel: scsi3 : usb-storage 7-1:1.0
Oct 14 14:02:56 MasterShake kernel: scsi 3:0:0:0: Direct-Access     Kingston DataTraveler SE9 PMAP PQ: 0 ANSI: 4
Oct 14 14:02:57 MasterShake kernel: sd 3:0:0:0: [sdb] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
Oct 14 14:02:57 MasterShake kernel: sd 3:0:0:0: [sdb] Write Protect is off
Oct 14 14:02:57 MasterShake kernel: sd 3:0:0:0: [sdb] Mode Sense: 23 00 00 00
Oct 14 14:02:57 MasterShake kernel: sd 3:0:0:0: [sdb] No Caching mode page found
Oct 14 14:02:57 MasterShake kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
Oct 14 14:02:57 MasterShake kernel:  sdb: sdb1
Oct 14 14:02:57 MasterShake kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk
Oct 14 14:03:20 MasterShake kernel: usb 7-1: USB disconnect, device number 5
Oct 14 14:03:23 MasterShake kernel: usb 8-1: new high-speed USB device number 3 using ehci-pci
Oct 14 14:03:23 MasterShake kernel: usb-storage 8-1:1.0: USB Mass Storage device detected
Oct 14 14:03:23 MasterShake kernel: scsi4 : usb-storage 8-1:1.0
Oct 14 14:03:24 MasterShake kernel: scsi 4:0:0:0: Direct-Access     Kingston DataTraveler SE9 PMAP PQ: 0 ANSI: 4
Oct 14 14:03:25 MasterShake kernel: sd 4:0:0:0: [sdb] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
Oct 14 14:03:25 MasterShake kernel: sd 4:0:0:0: [sdb] Write Protect is off
Oct 14 14:03:25 MasterShake kernel: sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
Oct 14 14:03:25 MasterShake kernel: sd 4:0:0:0: [sdb] No Caching mode page found
Oct 14 14:03:25 MasterShake kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Oct 14 14:03:25 MasterShake kernel:  sdb: sdb1
Oct 14 14:03:25 MasterShake kernel: sd 4:0:0:0: [sdb] Attached SCSI removable disk
Oct 14 14:03:41 MasterShake systemd[1]: Unit mnt-usb.mount is bound to inactive service. Stopping, too.
Oct 14 14:03:41 MasterShake systemd[1]: Unmounting /mnt/usb...
Oct 14 14:03:41 MasterShake systemd[1]: Unmounted /mnt/usb.
Oct 14 14:04:09 MasterShake su[619]: pam_unix(su-l:session): session closed for user root
Oct 14 14:04:13 MasterShake sudo[661]: xtian : TTY=tty1 ; PWD=/mnt ; USER=root ; COMMAND=/usr/bin/wifi-menu
Oct 14 14:04:13 MasterShake sudo[661]: pam_unix(sudo:session): session opened for user root by xtian(uid=0)
lines 3151-3195

Last edited by xtian (2014-10-16 17:08:05)

Offline

#4 2014-10-16 17:22:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: USB thumb drive mounting buggy ...

Not a Kernel issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB