You are not logged in.

#1 2017-02-06 04:07:58

dbickin
Member
Registered: 2015-09-30
Posts: 76

USB drive not auto-mounting

Okay, still slowly trying to get Bunsen to work for me.

Under Crunchbang, if I put a USB stick in a slot, the drive would be mounted, and I could begin using it. Under BunsenLab, the stick lights up, but it doesn't mount. I CAN start Thunar, and click on the drive's icon, and that will mount the drive, but I do not want to use Thunar.

How can I get the drive to behave as it used to?

Thanks,
David

Offline

#2 2017-02-06 07:28:48

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: USB drive not auto-mounting

Edit the file at ~/.config/openbox/autostart and add this line:

thunar --daemon &

Offline

#3 2017-02-06 15:10:55

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: USB drive not auto-mounting

Well, it is wrapped in an "if bl-file-manager is thunar" clause, but the daemon is being called, and I see thunar in ps -A.

I tried launching the daemon from the terminal, and sure enough, it says:
D-BUS name arg.xfce.Thunar already registered.

Yet now, if I insert the USB,
I see in the terminal:

thunar-volman: unsupported USB device type
thunar-volman: unsupported USB device type
thunar-volman: Could not detect the volume corresponding to the device

But Thunar does opens and the device is mounted.

Rebooted, and when inserting the USB I find the following in .xsession-errors:

thunar-volman: unsupported USB device type
thunar-volman: unsupported USB device type
thunar-volman: Could not detect the volume corresponding to the device
thunar-volman: Could not detect the volume corresponding to the device

Same as above, but the last line doubled, and thunar doesn't open.

Ideas?
David

Offline

#4 2017-02-06 15:32:23

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: USB drive not auto-mounting

^It looks the file system on your USB is not recognized. It may mean various things ...

Please, remove your USB, close Thunar, insrt USB, and post output of following commands from terminal(!):

$ lsblk    # below is example output, it means that the USB disk is on /dev/sdc
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.9G  0 disk 
├─sda1   8:1    0   200M  0 part 
├─sda2   8:2    0  31.1G  0 part 
├─sda3   8:3    0 619.9M  0 part 
└─sda4   8:4    0   434G  0 part /
sdc      8:32   1  58.9G  0 disk 
└─sdc1   8:33   1  58.9G  0 part

Now that we know it is on 'sdc' (yours will probably be 'sdb'), to find what file system is on it, execute:

$ sudo fdisk -l /dev/sdc   # if the output from previos command indicates that USB 
                           # is on 'sdb' then change it accordingly, '/dev/sdb'

Here is how it might look like, for USB with FAT95 file system:

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3788f93f

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdc1        8064 123469823 123461760 58.9G  c W95 FAT32 (LBA)

Postpone all your duties; if you die, you won't have to do them ..

Offline

#5 2017-02-06 16:34:08

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: USB drive not auto-mounting

OT

@ iMBeCil

Curious as to why yours skips sdb  ?

/OT


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2017-02-06 16:48:56

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: USB drive not auto-mounting

Sector11 wrote:

OT

@ iMBeCil

Curious as to why yours skips sdb  ?

/OT

Ah ... No idea. At first I thought that one UBS port is 'sdb', other is 'sdc'. But, simple experiment I did shows that both USB ports result in 'sdc' after inserting USB stick. Perhaps it has something to do with additional thunderbolt ports on my MacBook laptop?

Anyway, I'm too lazy to research it ...  smile


Postpone all your duties; if you die, you won't have to do them ..

Offline

#7 2017-02-06 17:53:13

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: USB drive not auto-mounting

Getting a little weirder.

I have been trying with two USB devices. Neither was working, but now one of them works maybe 50% of the time. Not positive, but it seems to work the first time, then not the second time, then it will work the third time.

The other device hasn't worked yet. And in xsessions-error, I see instead of the repeated "Could not detect volume" message, it has a "unknown block device type".

Anyway, for the device that is now working 1/2 the time:

Disk /dev/sdb: 3.6 GiB, 3880452096 bytes, 7579008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x18ec9de8

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1        2048 7577599 7575552  3.6G  b W95 FAT32

For the never working device:

Disk /dev/sdb: 7.3 GiB, 7815856128 bytes, 15265344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc3072e18

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1        8064 15265343 15257280  7.3G  c W95 FAT32 (LBA)

Both work without fail on my Crunchbang machine.

Offline

#8 2017-02-06 18:37:07

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: USB drive not auto-mounting

Interesting ...

I just checked my #! install that always auto-mounts USB devices when plugged in.  It has the line HoaS mentioned: ~/.config/openbox/autostart

### Start Thunar Daemon ###
thunar --daemon &

That my BL never had activated... it does now and mounts the same stick automatically.

So of course I have to ask - just to eliminate a possible OOPS!  Do you have "thunar-volman" installed?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#9 2017-02-06 18:42:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: USB drive not auto-mounting

My vote is on hardware failure, perhaps the USB connector in the laptop has a dry joint.

@OP: do you suffer these problems if you load the "live" ISO image?

Also, please open a terminal window and run this command:

udevadm monitor

Then plug the USB stick in and post the new output that appears in the terminal.

Offline

#10 2017-02-06 19:24:25

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: USB drive not auto-mounting

@Sector11 - yes, thunar-volman is installed.

@Head_on_a_Stick - The laptop is certainly not in top shape. The letters T and M are sticky, making it hard to use.

Bad contacts doesn't really seem likely as the drive WILL mount, if I open thunar and click on the icon. It is only the auto-mounting bit that isn't working correctly.

I get the same behavior when running BL live.

Both USB drive work flawlessly when running Crunchbang live.

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

######## inserting the 8GB usb, which never auto-mounts

KERNEL[767.821848] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)
KERNEL[767.822373] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
KERNEL[767.823297] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6 (scsi)
KERNEL[767.823316] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/scsi_host/host6 (scsi_host)
UDEV  [767.828218] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)
UDEV  [767.833092] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
UDEV  [767.834022] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6 (scsi)
UDEV  [767.834934] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[768.905741] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0 (scsi)
KERNEL[768.905767] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[768.905782] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[768.905796] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV  [768.906779] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0 (scsi)
KERNEL[768.907049] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[768.907175] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV  [768.907874] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV  [768.909927] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV  [768.910934] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV  [768.911854] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [768.912665] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
KERNEL[769.707548] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [769.710359] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[769.730231] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
KERNEL[769.730276] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
UDEV  [769.812221] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV  [769.888489] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
KERNEL[770.067987] add      /module/fat (module)
UDEV  [770.068515] add      /module/fat (module)
KERNEL[770.090867] add      /module/vfat (module)
UDEV  [770.091278] add      /module/vfat (module)
KERNEL[770.129775] add      /module/nls_cp437 (module)
UDEV  [770.130266] add      /module/nls_cp437 (module)
KERNEL[770.140424] add      /module/nls_utf8 (module)
UDEV  [770.140867] add      /module/nls_utf8 (module)

### removing 8GB usb

KERNEL[791.665027] change   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
KERNEL[791.680447] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
UDEV  [791.683843] change   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV  [791.695713] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
KERNEL[793.897059] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV  [793.897651] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[793.897965] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[793.897982] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
KERNEL[793.897996] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[793.898759] remove   /devices/virtual/bdi/8:16 (bdi)
UDEV  [793.899136] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[793.899367] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
KERNEL[793.899386] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[793.899401] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0 (scsi)
KERNEL[793.899414] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[793.899428] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6 (scsi)
KERNEL[793.899579] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
KERNEL[793.899671] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)
UDEV  [793.900491] remove   /devices/virtual/bdi/8:16 (bdi)
UDEV  [793.901101] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/scsi_host/host6 (scsi_host)
UDEV  [793.901703] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV  [793.902053] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV  [793.902372] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV  [793.906438] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV  [793.906669] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6/target6:0:0 (scsi)
UDEV  [793.907020] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host6 (scsi)
UDEV  [793.908351] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
UDEV  [793.908776] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)

###inserting 4GB usb, it did auto-mount this time.

KERNEL[800.946549] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)
KERNEL[800.947395] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
KERNEL[800.951275] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7 (scsi)
KERNEL[800.951308] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/scsi_host/host7 (scsi_host)
UDEV  [800.955143] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)
UDEV  [800.961365] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
UDEV  [800.962518] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7 (scsi)
UDEV  [800.963628] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/scsi_host/host7 (scsi_host)
KERNEL[801.983206] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0 (scsi)
KERNEL[801.983231] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[801.983246] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[801.983259] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV  [801.984767] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0 (scsi)
KERNEL[801.985247] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[801.985460] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV  [801.986739] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0 (scsi)
UDEV  [801.989929] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
UDEV  [801.991897] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV  [801.993741] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [801.995143] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[803.603043] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [803.603747] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[803.612916] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
KERNEL[803.612962] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb/sdb1 (block)
UDEV  [803.753412] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV  [803.903322] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb/sdb1 (block)

### removing 4GB usb

KERNEL[816.444341] change   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
KERNEL[816.452585] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb/sdb1 (block)
UDEV  [816.464340] change   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV  [816.475048] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb/sdb1 (block)
KERNEL[820.862789] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
KERNEL[820.863274] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[820.863292] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[820.863306] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[820.864786] remove   /devices/virtual/bdi/8:16 (bdi)
KERNEL[820.865021] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
KERNEL[820.865041] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[820.865056] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0 (scsi)
KERNEL[820.865069] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/scsi_host/host7 (scsi_host)
KERNEL[820.865083] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7 (scsi)
KERNEL[820.865241] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
KERNEL[820.865336] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)
UDEV  [820.867531] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV  [820.871379] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/scsi_host/host7 (scsi_host)
UDEV  [820.871747] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
UDEV  [820.871994] remove   /devices/virtual/bdi/8:16 (bdi)
UDEV  [820.872447] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV  [820.872938] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [820.873361] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV  [820.873716] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0/7:0:0:0 (scsi)
UDEV  [820.874183] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7/target7:0:0 (scsi)
UDEV  [820.874529] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0/host7 (scsi)
UDEV  [820.875089] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.0 (usb)
UDEV  [820.875998] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-5 (usb)

Offline

#11 2017-02-06 19:44:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: USB drive not auto-mounting

My BunsenLabs system does not actually mount a USB stick until I click on it in thunar, I presume that this is the intended, stock behaviour.

I always remove gvfs from my systems so I can't really help any more, sorry.

EDIT: just tried installing gvfs and I also get those error messages but the stick mounts normally, I think they are not relevant.

Last edited by Head_on_a_Stick (2017-02-06 20:00:38)

Offline

#12 2017-02-06 20:33:46

photonucleon
Thursday
From: out of that impossible sky
Registered: 2015-09-29
Posts: 299

Re: USB drive not auto-mounting

Have you tried opening Thunar, then clicking through 'Edit menu > Preferences' then in the preferences window going to the 'Advanced' tab, then clicking 'Configure the management of removable drives...' near the bottom of that tab, then making sure the options for auto mounting removable media are checked? (It's a fairly ridiculous set of option screens to click through, I know...)

Last edited by photonucleon (2017-02-06 20:35:53)


The servant lifted off a kind of ottoman a long peacock-blue drapery, rather of the nature of a domino, on the front of which was emblazoned a large golden sun, and which was splashed here and there with flaming stars and crescents. “You’re to be dressed as Thursday, sir,” said the valet somewhat affably.

Offline

#13 2017-02-06 20:51:59

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: USB drive not auto-mounting

Yup, it is clicked.

Offline

#14 2017-02-06 20:55:21

photonucleon
Thursday
From: out of that impossible sky
Registered: 2015-09-29
Posts: 299

Re: USB drive not auto-mounting

Hmm. I've just double-checked on my BL system, and USB drives seem to mount automatically for me. I'm not sure what else it could be... hmm


The servant lifted off a kind of ottoman a long peacock-blue drapery, rather of the nature of a domino, on the front of which was emblazoned a large golden sun, and which was splashed here and there with flaming stars and crescents. “You’re to be dressed as Thursday, sir,” said the valet somewhat affably.

Offline

#15 2017-02-06 22:16:44

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: USB drive not auto-mounting

dbickin wrote:

...
Both work without fail on my Crunchbang machine.

Strange. One more thing I can think of is to look at the output of the command 'dmesg' ... before you plug in stick, execute:

$ sudo dmesg -w

and then connect USB stick. Although I wouldn't hope for anything new ... HoaS's 'udevadm monitor' seems to be informative enough.

BTW, do you have any other USB normally working on your BL comp? I mean, it is very very strange that on certain computer USB works, and on other not. Together with terminal commands output you gave us, it really seems that hardware is 'borked' somehow ... Or something is wrong with thunar(-*) setup ...

(Let me emphasize that I don't use BL, nor thunar ... so I cannot test all possibilities.)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#16 2017-02-07 02:31:53

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: USB drive not auto-mounting

dmesg seems to just show that sdb: sdb1 have been attached. Except for something about no caching mode page found, there is nothing that looks like error messages.

So let me give up on getting automounting to work. I gather I can kill thunar, or at least unclick its setting to auto-mount, then I would need to come up with a alternative.

For a permanently attached drive I would put an entry in fstab, then call mount and umount to attach and remove. Do I do the same for a temporary drive?

David

Offline

#17 2017-02-07 07:16:58

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: USB drive not auto-mounting

dbickin wrote:

.... I gather I can kill thunar, or at least unclick its setting to auto-mount, then I would need to come up with a alternative.

A udev rule can be used for hot-plugging a drive - lots of sample scripts and methods online if you search them out.

For a permanently attached drive I would put an entry in fstab, then call mount and umount to attach and remove. Do I do the same for a temporary drive?

David

Only if it is attached when booting AFAIK.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#18 2017-02-07 07:22:18

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: USB drive not auto-mounting

You can add a removable device to fstab if you want but be sure to add this option to stop systemd from complaining loudly and delaying the boot process if it is not inserted:

nofail

I use pmount to mount devices without sudo.

Last edited by Head_on_a_Stick (2017-02-07 07:33:30)

Offline

#19 2017-02-07 16:54:11

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: USB drive not auto-mounting

Well, thanks for all the help. But in the end, it looks like BunsenLab and this laptop simply don't like each other.

The keyboard is much much more flakier than it is with Crunchbang, to the point where it is unusable. There is the whole usb mounting kerfuffle, and now, I find that media files stutter and act weird, while they played flawlessly before installing BunsenLab.

Don't know if I get a new laptop and try Bunsen on that, or just put Crunchbang back on this one. (Does the CB infrastructure exist enough to actually do a new install??)

I won't mark the problem as solved, but it is moot at this point.

David

Offline

#20 2017-02-07 19:56:45

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: USB drive not auto-mounting

dbickin wrote:

...Does the CB infrastructure exist enough to actually do a new install?...

Sort of. You could install it, but since there is no longer a CB repo, you won't be able to run cb-welcome. Subsequent wheezy update/upgrades will be severely limited and/or likely to break something.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB