You are not logged in.

#1 2017-07-08 14:51:43

mo_ozi
Member
Registered: 2017-07-08
Posts: 4

extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Hi all

I searched the internet but did not find the same problem:
If I plug a NTFS formatted external hard drive (2TB WD Elements) into the USB 3 port of the HP Elitebook, nothing happens in dmesg, lsusb, lsblk, fdisk, or /dev that means nothing appears related to sdX other than the internal hard drive (in my case sda).
On a windows machine, however, the drive works fine without any problems.
Also, other external hard drives and USB pen drives work fine on the mentioned HP laptop.

Thank you very much for any idea!
Best,
Chris

uname -a
Linux ... 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux
pacman -Q udisks2
udisks2 2.7.0-1
pacman -Q ntfs-3g
ntfs-3g 2017.3.23-1
lsmod | grep xhci
xhci_pci               16384  0
xhci_hcd              184320  1 xhci_pci
usbcore               208896  6 uvcvideo,usbhid,usb_storage,xhci_pci,btusb,xhci_hcd
lsmod | grep ehci
..nothing..
dmesg | grep -i usb
[    1.413619] ACPI: bus type USB registered
[    1.413641] usbcore: registered new interface driver usbfs
[    1.413650] usbcore: registered new interface driver hub
[    1.413672] usbcore: registered new device driver usb
[    1.415590] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    1.417029] hub 1-0:1.0: USB hub found
[    1.426136] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.426290] hub 2-0:1.0: USB hub found
[    1.429944] usb: port power management may be unreliable
[    1.800181] usb 1-7: new full-speed USB device number 2 using xhci_hcd
[    2.156777] usb 1-8: new full-speed USB device number 3 using xhci_hcd
[    2.516776] usb 1-9: new high-speed USB device number 4 using xhci_hcd
[    2.764628] usbcore: registered new interface driver btusb
[    2.819172] input: HP HD Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/input/input15
[    2.819314] usbcore: registered new interface driver uvcvideo
[    2.819316] USB Video Class driver (1.1.1)
dmesg | grep error
[    2.491060] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8000C-28.ucode failed with error -2
[   18.402066] mei_wdt: probe of mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:02 failed with error -22
dmesg | grep Error
[    2.643886] ACPI Error: Needed [Buffer/String/Package], found [Integer] ffff88041eb002d0 (20170119/exresop-593)
[    2.643896] ACPI Error: Method parse/execution failed [\_SB.WMIV.WVPO] (Node ffff88042089ef00), AE_AML_OPERAND_TYPE (20170119/psparse-543)
[    2.643969] ACPI Error: Method parse/execution failed [\_SB.WMIV.WMPV] (Node ffff88042089e3e8), AE_AML_OPERAND_TYPE (20170119/psparse-543)
dmesg | grep ERROR
..nothing..

General note: to use this forum here, I had to change network.http.sendRefererHeader from default 0 to 2 in about:config using the latest firefox 54.0.1.

Offline

#2 2017-07-08 16:47:32

GenkiSky
Member
From: This account is henceforth dis
Registered: 2017-04-04
Posts: 82

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Just to make sure, does

zgrep NTFS /proc/config.gz

show that CONFIG_NTFS_FS is set to =m? If so, does

lsmod | grep ntfs

show it loaded? If not, try `modprobe ntfs` (run as root), make sure it shows up in lsmod, then try plugging in the drive again. Normally plugging in the drive should autoload the module, but just sanity checking here.

Offline

#3 2017-07-08 16:50:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,561

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

dmesg -w; plug in drive, see what happens

Offline

#4 2017-07-08 20:10:29

mo_ozi
Member
Registered: 2017-07-08
Posts: 4

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Hi

zgrep NTFS /proc/config.gz
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
sudo modprobe ntfs
lsmod | grep ntfs
ntfs                  204800  0
dmesg | grep ntfs
[  283.286329] ntfs: driver 2.1.32 [Flags: R/W MODULE].

I plugged in again but nothing happened in dmesg, lsusb, lsblk, fdisk or dev/.

@Scimmia: as I said, nothing happens in dmesg as I plug in the drive.

Last edited by mo_ozi (2017-07-08 22:37:55)

Offline

#5 2017-07-09 04:37:33

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Is it just a specific external drive that does not work or no usb drive work at all?

And what if you run either of these (as root):

modprobe uas
modprobe usb-storage

Do you have some no-systemd setup which got rid of udev maybe?

Offline

#6 2017-07-09 10:39:19

mo_ozi
Member
Registered: 2017-07-08
Posts: 4

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

tom.ty89 wrote:

Is it just a specific external drive that does not work or no usb drive work at all?

It is only that specific one. Other external drives and pen drives work well.

lsmod | grep uas
uas                    24576  0
usb_storage            65536  1 uas
scsi_mod              155648  4 sd_mod,usb_storage,libata,uas
usbcore               208896  7 uvcvideo,usbhid,usb_storage,xhci_pci,btusb,uas,xhci_hcd
lsmod | grep usb
usb_storage            65536  1 uas
usbhid                 45056  0
btusb                  40960  0
btrtl                  16384  1 btusb
btbcm                  16384  2 hci_uart,btusb
btintel                16384  2 hci_uart,btusb
bluetooth             487424  7 btrtl,hci_uart,btintel,btqca,btbcm,btusb
hid                   110592  3 i2c_hid,hid_generic,usbhid
scsi_mod              155648  4 sd_mod,usb_storage,libata,uas
usbcore               208896  7 uvcvideo,usbhid,usb_storage,xhci_pci,btusb,uas,xhci_hcd
usb_common             16384  1 usbcore

So everything ok here?

tom.ty89 wrote:

Do you have some no-systemd setup which got rid of udev maybe?

What do you mean by that? wink
Thanks for ideas!

Offline

#7 2017-07-09 11:00:00

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

General note: to use this forum here, I had to change network.http.sendRefererHeader from default 0 to 2 in about:config using the latest firefox 54.0.1.

mozilla bug from 2006 suggests default value for network.http.sendRefererHeader has been 2 for a very long time.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2017-07-09 12:03:07

bbj
Member
Registered: 2017-07-09
Posts: 1

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Maybe you can find something helpful here:

https://bbs.archlinux.org/viewtopic.php?id=211523

Offline

#9 2017-07-09 12:13:52

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Hmm just notice that you mentioned that "it works on a windows machine" but not "windows on the same machine". So it might have something to do with power. Can you feel the disk spinning when it is plugged? Or does its LED, if any, lights up.

Offline

#10 2017-07-09 20:56:48

mo_ozi
Member
Registered: 2017-07-08
Posts: 4

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

bbj wrote:

Maybe you can find something helpful here:

https://bbs.archlinux.org/viewtopic.php?id=211523

I followed that post and put options usb-storage quirks=1058:10B8:u (vid:pid which I got from a windows machine that detects the hard drive; control panel -> device manager -> usb mass storage -> details -> hardware ID) into /etc/modprobe.d/usb-storage.conf. Then, after sudo mkinitcpio -p linux and rebooting, nothing changed sad

tom.ty89 wrote:

Hmm just notice that you mentioned that "it works on a windows machine" but not "windows on the same machine". So it might have something to do with power. Can you feel the disk spinning when it is plugged? Or does its LED, if any, lights up.

Good question, the disk is not detected in windows on the same machine (but on other windows machines, where I got the vid and pid from as mentioned above). But the LED lights up everytime, it spins and it makes some normal hard drive running noise.

Thanks for more ideas

Last edited by mo_ozi (2017-07-09 21:08:02)

Offline

#11 2017-07-10 10:22:05

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: extern NTFS drive not in dmesg,lsusb,lsblk,fdisk,/dev but fine on win

Try the suggestion (uas) in post #5 .

An alternative would be to try connecting through a USB2 port .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB