LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-05-2017, 04:34 PM   #1
andros976
Member
 
Registered: Dec 2016
Posts: 49

Rep: Reputation: Disabled
cannot mount usb harddisk


Hi guys, new problem for me. I never had this kinda of problem in my linux life !...

if i connect the usb drive , nothing is automounted. Before it works, now not (in the middle i ve compiled some kernel)

if i type

Code:
bash-4.3# lsusb
Bus 001 Device 005: ID 04e8:6124 Samsung Electronics Co., Ltd D3 Station External Hard Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0c45:5101 Microdia 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

so how you can see in first position, the device is taken over

but if i type
Code:
fdisk -l
that file sistem is not recognized.

and the problem is i could not mount manually cause
there is no /dev/sdxx that refers to my hardisk

what kind of control i can do

thanx
 
Old 03-05-2017, 04:49 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Run the command 'lsblk' ( without the quotes ) as root, and post the results; without the USB disk plugged, and then plug it, and re-run the command.

The basics, are you sure the disk is in working order? Is there a drive light on it? On or off?

Is this the only USB drive you have plugged?

Auto mounts on Slackware go to /run/media/yourusername/ Have you looked there?

What file system is on the disk? Have you got support in the kernel for the file system on the disk?

Last edited by camorri; 03-05-2017 at 04:53 PM.
 
Old 03-05-2017, 05:10 PM   #3
andros976
Member
 
Registered: Dec 2016
Posts: 49

Original Poster
Rep: Reputation: Disabled
without hd plugged

Code:
bash-4.3# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb      8:16   0   3.7T  0 disk 
`-sdb1   8:17   0   3.7T  0 part /mnt/films
sr0     11:0    1  1024M  0 rom  
sda      8:0    0 149.1G  0 disk 
|-sda2   8:2    0     2G  0 part 
`-sda1   8:1    0    70G  0 part /
then i plug it

Code:
bash-4.3# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb      8:16   0   3.7T  0 disk 
`-sdb1   8:17   0   3.7T  0 part /mnt/films
sr0     11:0    1  1024M  0 rom  
sda      8:0    0 149.1G  0 disk 
|-sda2   8:2    0     2G  0 part 
`-sda1   8:1    0    70G  0 part /
i dont have any /run/media/yourusername
this means that harddisk is not automounted , i know.

the file system is ntfs, but i compiled it like modules in the kernel

this is my .config

Code:
<M> MSDOS fs support 
<M> VFAT (Windows-95) fs support[*]   Enable FAT UTF-8 option by default
....
<M> NTFS filesystem support             [*]   NTFS debugging support[*]   NTFS write support
i dont know...
 
Old 03-05-2017, 05:22 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Do you get any new lines in your dmesg output after plugging the drive in? That could provide information on what is happening.

Have you also tried reverting to a previous kernel to see if it is some misconfiguration in your kernel?
 
Old 03-05-2017, 06:57 PM   #5
andros976
Member
 
Registered: Dec 2016
Posts: 49

Original Poster
Rep: Reputation: Disabled
i insert an usb pen and i notice these new rows

in /var/log/messages

Code:
Mar  6 01:49:19 MyMediaCenter kernel: [  451.896045] usb 1-2: new high-speed USB device number 3 using ehci-pci
Mar  6 01:49:19 MyMediaCenter kernel: [  452.018581] usb 1-2: New USB device found, idVendor=0951, idProduct=168a
Mar  6 01:49:19 MyMediaCenter kernel: [  452.018586] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar  6 01:49:19 MyMediaCenter kernel: [  452.018589] usb 1-2: Product: DT Micro
Mar  6 01:49:19 MyMediaCenter kernel: [  452.018593] usb 1-2: Manufacturer: Kingston
Mar  6 01:49:19 MyMediaCenter kernel: [  452.018595] usb 1-2: SerialNumber: 001D7D06D2A0FD4079693291
Mar  6 01:49:19 MyMediaCenter mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2" 
Mar  6 01:49:19 MyMediaCenter mtp-probe: bus: 1, device: 3 was not an MTP device
i tried some old kernel but nothing
 
Old 03-05-2017, 07:02 PM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
i tried some old kernel but nothing
Which 'old kernel'? Stock linux kernels work with NTFS and the NTFS-3g module. What version of Slackware are you running?
 
Old 03-05-2017, 09:10 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I would try reverting your kernel to the stock kernel and see if it detects the device. If it does, you'll need to go through your kernel options to see what is causing your problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
any ideas how to mount a harddisk/stick using mount via BUS METHOD? frenchn00b Linux - General 2 12-10-2009 01:22 PM
How to mount 80 Gb USB HardDisk makkays Linux - Hardware 7 08-07-2007 07:35 AM
Static mount of USB harddisk Yalla-One Linux - Hardware 5 05-24-2006 09:51 PM
mount-problem usb harddisk: not a valid block device micha Mandriva 2 11-21-2004 10:29 AM
Format and mount problem - External USB harddisk darn dao Linux - Hardware 1 11-03-2004 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration