Flash-based Devices Not Mounted Under Buster

Kernels & Hardware, configuring network, installing services

Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-06-30 00:57

I have Buster with Xfce, but I do not see my USB stick (which I installed from) or my camera whenever they are plugged in. Interestingly enough, I selected to auto-mount everything I could, but they just don't appear on the desktop.

I went into Settings>Removable Drives and Media>Camera and checked the box for "Import digital photographs when connected" and then defined it to open Shotwell. That works, but still nothing shows up on the desktop, mounted or unmounted. That's never happened to me before.

I am wondering if it is something to do with Buster.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-06-30 02:43

I don't think anything should be showing on the Desktop, but am not sure I understand correctly, if you meant the Desktop directory, or what you mean there ?
On mine, all mounted devices show in the file manager, as explained here:
https://docs.xfce.org/xfce/thunar/using-removable-media

If you want the devices to be mounted to your Desktop directory, and have them show there, I don't know for sure, but maybe something like:
Code: Select all
$ cd Desktop
$ mkdir usb
$ su -
# password:
# mount /mount /dev/sdc1  /home/yourusername/Desktop/usb/
# exit
$

You can check , by running:
Code: Select all
# # mount | grep sdc1

Note:, "sdc1" is just a example, yours may be something different.
you can check using:
Code: Select all
$ lsblk

==== Also, if XFCE is autmounting the devices somewhere else, and the device or devices are all ready mounted, you will not be able to manually mount them to your Desktop, you would need to "umount" them first. (Unmount, or eject )
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-06-30 02:59

Applications>Settings>Desktop, Icon tab, bottom choice 'Default Icons' check box 'Removable Devices"

Then they will show on the desktop.
CwF
 
Posts: 812
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-06-30 03:20

On mine, I have that checked, but nothing shows on the Desktop. That was on VM Debian Buster with XFCE, also looking at it now, but XFCE4 on OpenBSD, and even though it is "ticked", nothing on the Desktop, so I do not think it is just Debian Buster,.... NO files or folders show, on either one, this does seem new behaviour to me, because I never liked having folders,files,etc showing on my Desktop, and I all ways had to use the settings menu to change that, but on BOTH of these recent installations, I never did need to do that,... hoping that makes sense.
Thanks though, you are right, what you say should make them show, but it doesn't.
===== edited ===
I did get it where folders and files show, but still nothing on mounted devices,
I don't usually use the XFCE, so don't really know , but it does seem to be the same on either OS, not just Buster.
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby cds60601 » 2019-06-30 16:20

IIRC, when I used to use Gnome and Gnome-disks, I would set it to auto mount and I seem to recall it mounting either under /media/$user/something or /mnt/$user/something

Have a look there when you pop in the media.
Server: Debian 10, Workstation: Debian Sid (BSPWM)
Laptop: Debian Sid (BSPWM)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 199
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-06-30 21:29

Thank you, Everyone.

The icon setting were already checked for everything. Normally, Xfce does put an icon on the desktop for every drive, whether mounted or not. In all past uses of Xfce, the icons for removable drives and devices (all seen as drives if they are flash-based) always shows up whenever plugged in. I remember no time when they did not.

No problems on Debian 9 (Stretch) or Xubuntu's last four versions. Now only on Buster. Something changed from 9 to 10.

I looked under /media and /mnt, but the camera's storage does not appear. And I cannot see it mounted anywhere else, mainly because I don't have any idea where else to look.

I think we have here an incompatibility with Buster that needs addressing while in testing.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-06-30 21:58

Double check the idea with a usb thumb or something else, maybe it is only the camera and not all devices. Make sure the camera doesn't have different modes, mine do. Otherwise, my 2 buster examples are working fine, any storage device shows up on the desktop.
CwF
 
Posts: 812
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-06-30 23:02

I know of no camera settings that would make a difference, nor have I ever changed any. I didn't see any mode setting in the camera menu.

What is a little surprising is that plugging it in and turning it on will bring up Shotwell as I've set it to do. That is always preceded by two pop-ups which announce "Camera Detected". So if the environment detects the camera, how is it accessible if not mounted? That question has got me bluffed for sure.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-07-01 00:20

I did not know what "Shotwell" is, so I looked via a search,..
So if the environment detects the camera, how is it accessible if not mounted?

It is getting mounted, but not where you expect, some where within this "Shotwell" program, it is mounted, so my question :
turning it on will bring up Shotwell

Does Shotwell show on your Desktop ?
And I cannot see it mounted anywhere else, mainly because I don't have any idea where else to look.

If it is mounted within Shotwell, I don't see how it could be mounted any where else, But , on all my mounted devices, they show in Thunar, the XFCE file manager,...
I did notice in my search, Shotwell is a Gnome program, all though I suppose it could run in XFCE,...
You can check , and confirm, or see where it is actually mounted using 1 of several commands:
Code: Select all
# findmnt –l
Note:, only if you have util-linux   installed
$ lsblk
$ df       
 $ mount 

There may be some additional commands , but offhand I don't know.
Please show us the out put of some of these. Thanks.
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-07-01 01:45

If it is mounted and functional in shotwell then maybe it's mounted in /run/user/100x/something.
CwF
 
Posts: 812
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-01 18:01

lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 500M 0 part /mnt/05f6e662-3822-46b4-8e03-ef0042eae19f
├─sda2 8:2 0 4G 0 part
├─sda3 8:3 0 50G 0 part /mnt/119eb3c9-50fb-48c8-b5b4-c6bf7f8d1044
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 57.4G 0 part /mnt/ab6a49c9-6450-4693-8f73-a10072390844
sdb 8:16 0 223.6G 0 disk
└─sdb1 8:17 0 223.6G 0 part /mnt/86c4b726-eb14-4239-8537-5fbeefb7dafc
sdc 8:32 0 37.3G 0 disk
├─sdc1 8:33 0 33.3G 0 part /mnt/5ca1525c-eaf4-4a18-bfa4-81c538074a32
├─sdc2 8:34 0 1K 0 part
└─sdc5 8:37 0 4G 0 part
sdd 8:48 1 114.6G 0 disk
├─sdd1 8:49 1 3.6G 0 part
└─sdd2 8:50 1 2.6M 0 part
nvme0n1 259:0 0 232.9G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 218.5G 0 part /
└─nvme0n1p3 259:3 0 14G 0 part [SWAP]

df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 7117732 0 7117732 0% /dev
tmpfs 1435124 17736 1417388 2% /run
/dev/nvme0n1p2 224422548 8459560 204493268 4% /
tmpfs 7175620 28888 7146732 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 7175620 0 7175620 0% /sys/fs/cgroup
/dev/sda3 51475068 36882912 11954332 76% /mnt/119eb3c9-50fb-48c8-b5b4-c6bf7f8d1044
/dev/sda5 59073700 53550224 2499656 96% /mnt/ab6a49c9-6450-4693-8f73-a10072390844
/dev/sda1 487652 224879 233077 50% /mnt/05f6e662-3822-46b4-8e03-ef0042eae19f
/dev/sdb1 230619284 160081080 58800348 74% /mnt/86c4b726-eb14-4239-8537-5fbeefb7dafc
/dev/nvme0n1p1 523248 5196 518052 1% /boot/efi
tmpfs 1435124 48 1435076 1% /run/user/1000
/dev/sdc1 34078388 19828448 12489124 62% /mnt/5ca1525c-eaf4-4a18-bfa4-81c538074a32

mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=7117732k,nr_inodes=1779433,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1435124k,mode=755)
/dev/nvme0n1p2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12224)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
/dev/sda3 on /mnt/119eb3c9-50fb-48c8-b5b4-c6bf7f8d1044 type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sda5 on /mnt/ab6a49c9-6450-4693-8f73-a10072390844 type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sda1 on /mnt/05f6e662-3822-46b4-8e03-ef0042eae19f type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sdb1 on /mnt/86c4b726-eb14-4239-8537-5fbeefb7dafc type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1435124k,mode=700,uid=1000,gid=1000)
/dev/sdc1 on /mnt/5ca1525c-eaf4-4a18-bfa4-81c538074a32 type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)

findmnt -l returned nothing.

I saw nothing under /run/user, but it looks like there is something listed as tmpfs. By the way, I ran these commands while the camera was plugged in and Shotwell was running.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-03 14:23

I got this reply https://forum.xfce.org/viewtopic.php?pid=53245#p53245 at the Xfce forum, but cannot tell if it applies or not. Do you think this is an underlying OS bug?
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-07-03 16:12

I don't think it is, but to be honest, I do not have the means to test this accurately, IE: Debian Buster, with XFCE4, on a bare metal machine,

CwF wrote:Double check the idea with a usb thumb or something else, maybe it is only the camera and not all devices. Make sure the camera doesn't have different modes, mine do. Otherwise, my 2 buster examples are working fine, any storage device shows up on the desktop.

Seems like if it was a OS thing, CWF would be experiencing the same, or similar,
On my XFCE4, but on OpenBsd, all the mounted usb devices do show, on the Desktop, but the Debian Buster, with XFCE4, is on a VM (Qemu), and I don't know how to create virtual usb devices, so that I can test it,....How ever there are several other issues I am running into with XFCE on both, the VM (Buster) and on OpenBsd, .....Really, we need more input from others also using XFCE4 on Debian Buster,...sorry I can't really add anything more use full, at this time,...maybe later in the week, I am waiting on a new PC, one with 2 HD's, so I can put Debian on 1 of the drives, I do not want a 'dual' boot, setup, but will be able to have Debian on a entirely different drive, if things go wrong, it will not affect the other drive, but any way that is another topic.
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-03 16:23

I like your thinking about the new system. That would be the perfect test bed. I have multiple drives and I let the UEFI boot give me which one to boot into. It works great. Sadly, I don't have my Debian 9 drive recognized right now. Getting new board today, and maybe it will boot. If it does, I will immediately know if the issue is OS-related.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-07-03 16:37

KitchM clarify for me. generic storage USB and the like DO show up or not? Camera is a different point.

Camera is what camera exactly? Camera usb is like phones and mp3 players and whatever which may not be a storage device, setiings are on the device, not the debian machine. Don't remember the mode names, but it's as storage, as camera (control the camera over usb) and some video over usb.

GarryRicketson wrote:VM (Qemu), and I don't know how to create virtual usb devices, so that I can test it,....

something like:
Code: Select all
virsh -c qemu:///system attach-disk domain_name /path/virt_usb_disk.qcow2 sdx --targetbus usb --subdriver qcow2

Note, passing the camera would be the test. Mounting the virtual usb will test the desktop icon feature only.
CwF
 
Posts: 812
Joined: 2018-06-20 15:16

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable