LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ONE removable device not mounting in Slackware w/ XFCE (https://www.linuxquestions.org/questions/slackware-14/one-removable-device-not-mounting-in-slackware-w-xfce-4175508651/)

Sumguy 06-20-2014 01:04 PM

ONE removable device not mounting in Slackware w/ XFCE
 
My latest problem:

My Cowon x9 MP3 player, which is set to MSC mode, is not being recognized/mounted in Slackware 14 (using the XFCE DE currently).

All of my other devices (Camera; other MP3 player; Thumb drive, etc.) are all recognized and mounted automatically.

The Cowon is recognized and mounted in my other OS (Crunchbang), so I know the problem isn't with the player.....

Any ideas?

ruario 06-20-2014 01:25 PM

Simplify it down a bit. First mount it manually and see if that works.

Before it is plugged in run "lsblk". Then plug it in and run "lsblk" again. Look at the difference. This will tell you its device name (e.g. sdb) and what partitions it might have (.e.g. sdb1).

Once you know this information you can switch to root and try mounting it by hand, e.g.

Code:

# mount /dev/sdb1 /mnt/tmp
(Switch the device information which what you found on your own system).

Do this work? If it did, look at the line in "/etc/mtab" for this device and report back what it says, e.g. "/dev/sdb1 /mnt/tmp ext4 rw 0 0".

ruario 06-20-2014 01:27 PM

It would also help to have your "lsblk" output.

Sumguy 06-20-2014 01:39 PM

O-K, Ruario, here is my "lsblk" output before connecting the player:

Code:

bash-4.2$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 149.1G  0 disk
|-sda1  8:1    0  72.7G  0 part
|-sda2  8:2    0    1K  0 part
|-sda4  8:4    0  18.7G  0 part /
|-sda5  8:5    0  55.9G  0 part /home
`-sda6  8:6    0  1.8G  0 part [SWAP]
sr0    11:0    1  1024M  0 rom

and...it's exactly the same after connecting the player:

Code:

bash-4.2$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 149.1G  0 disk
|-sda1  8:1    0  72.7G  0 part
|-sda2  8:2    0    1K  0 part
|-sda4  8:4    0  18.7G  0 part /
|-sda5  8:5    0  55.9G  0 part /home
`-sda6  8:6    0  1.8G  0 part [SWAP]
sr0    11:0    1  1024M  0 rom

:confused::scratch::banghead:

ruario 06-20-2014 01:58 PM

Is this the same physical machine as you have crunchbag on? EDIT: I guess that is your crunchbag install on sda1

Also, how about you repeat lsblk on Crunchbag and the contents of /etc/mtab when it is mounted.

Sumguy 06-20-2014 02:55 PM

Here is the /mtab from #!(Crunchbang):

Code:

@crunchbang:~$ cat /etc/mtab
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=219514,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=203256k,mode=755 0 0
/dev/block/8:2 / jfs rw,relatime 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=1390180k 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
gvfs-fuse-daemon /home/joe/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
/dev/sdb /media/COWON\040X9 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0

I guess I can try manually mounting now with the highlighted info in Slackware?

And here's lsblk:

Code:

@crunchbang:~$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111.8G  0 disk
├─sda1  8:1    0  74.5G  0 part
├─sda2  8:2    0  32.6G  0 part /
├─sda3  8:3    0    1K  0 part
└─sda5  8:5    0  4.7G  0 part [SWAP]
sr0    11:0    1  1024M  0 rom 
sdb      8:16  1    15G  0 disk /media/COWON X9

FYI: The MP3 player is also not detected in Slackware on my laptop. (It is detected in #! on both the desktop and laptop; and not detected in Slackware on either)

Nh3xus 06-20-2014 04:49 PM

Hi,

You might have to compare the udev rules that comes as presets in Crunchbang with the Slackware's ones.

This might be a useful resource in order to troubleshoot your problem.

Sumguy 06-20-2014 05:11 PM

Quote:

Originally Posted by Nh3xus (Post 5191482)
Hi,

You might have to compare the udev rules that comes as presets in Crunchbang with the Slackware's ones.

This might be a useful resource in order to troubleshoot your problem.

Thanks, but I'm pretty new/clueless at this....so I don't think that would make sense to me.

I did mount my other MP3 player in Slackware, and then checked "lsblk" and "/etc/mtab/", and it looked similar to Crunchbang- i.e. /dev/sdb1...

I tried manually mounting /dev/sdb1 when the problem Cowon player was attached, and just got a message that "the special device /dev/sdb1 doesn't exist".

As long as the player is in MSC mode, the type of filesystem it uses shouldn't matter, right? (I was thinking maybe for some reason it's filesystem isn't supported/can't be recognized by Slackware....)

Richard Cranium 06-20-2014 06:12 PM

I'd like to see the output from running
Code:

lsusb
as root.

Sumguy 06-20-2014 07:08 PM

Here ya go, Mr. Cranium:

Code:

bash-4.2# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


rokytnji 06-20-2014 08:03 PM

Was lsusb ran with the mp3 player plugged in because I do not see it?

Richard Cranium 06-20-2014 08:51 PM

Quote:

Originally Posted by Sumguy (Post 5191518)
Here ya go, Mr. Cranium:

Code:

bash-4.2# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


*Sigh*

My fault. I should have specified "Please run the command 'lsusb' as root when the player in question is plugged in."

rokytnji 06-20-2014 10:57 PM

Quote:


My fault. I should have specified "Please run the command 'lsusb' as root when the player in question is plugged in."
Usually I also like to see the -t option used in lsusb to see what driver is being used also

as root with the usb device plugged in included with lsusb readout

Code:

lsusb -t
and just for giggles

Code:

lsusb -v
since it is only a key stroke and sumguy has nothing pressing him not to supply extra info in this thread.

By the way. Those command readouts would be very helpful in Crunchbang since crunchbang will most definitely show what drivers are being used on the mp3 player.

Sumguy 06-21-2014 01:27 AM

Actually, fellers[sic], the problem MP3 player was plugged in and charging when I ran lsusb.

And I actually ran the -v option the first time I did lsusb....but I didn't post the output of that, since it was quite long, and not asked for....but tomorrow I'll post the output of lsusb -v for both Slack and #!.

Would it also help if I were to post the output of that command while my other player is connected? (The one which is recognized)- just for comparison?

Thanks for all the help so far, everyone! Gotta LOVE this forum! You guys should be getting paid!

Richard Cranium 06-21-2014 06:40 AM

Quote:

Originally Posted by Sumguy (Post 5191583)
Actually, fellers[sic], the problem MP3 player was plugged in and charging when I ran lsusb.

Raises eyebrow. That's unusual. There should be some entry for the device, even if the system doesn't really know what it is.

Please unplug the device, wait ~10 seconds or so, plug it back in, run the commands as suggested by rokytnji, and give us the output of them.


All times are GMT -5. The time now is 02:19 AM.