Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-10-2019, 03:08 AM
|
#1
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Rep: 
|
HP ProBook 6450b: eSATA support
Hi all!
I'm trying to use an external HDD using his interface, system doesn't seem to notice it, since this drive is detected by my home NAS without any issue.
Code:
# lspci -vvv | grep -i 'sata'
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
Code:
# rescan-scsi-bus.sh
Scanning SCSI subsystem for new devices
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: SATA SSD Rev: M030
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Hitachi HTS54503 Rev: C60N
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 4 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 5 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
0 new or changed device(s) found.
0 remapped or resized device(s) found.
0 device(s) removed.
Is the eSATA port maybe controlled by another chip? In the BIOS options it's activated, by the way.
I guess it depends on a missing kernel module.
And yes, that's an external 3.5" HDD, power is provided, as a blue LED confirms.
Thanks in advance!
|
|
|
12-10-2019, 05:45 AM
|
#2
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,419
|
Quote:
Originally Posted by l1m0n4d3
Is the eSATA port maybe controlled by another chip?
|
It's not unusual:
Code:
# inxi -SDM
System: Host: fi965 Kernel: 4.12.14-lp150.12.82-default x86_64 bits: 64 Console: tty 3 Distro: openSUSE Leap 15.0
Machine: Type: Desktop Mobo: ASUSTeK model: P5B-Deluxe v: Rev 1.xx serial: MB-1234567890 BIOS: American Megatrends v: 1238
date: 09/30/2008
Drives: Local Storage: total: 1.60 TiB used: 238.92 GiB (14.6%)
ID-1: /dev/sda vendor: Western Digital model: WD5000AAKS-75YGA0 size: 465.76 GiB
ID-2: /dev/sdb vendor: Seagate model: ST3500418AS size: 465.76 GiB
ID-3: /dev/sdc vendor: Seagate model: ST3500630AS size: 465.76 GiB
ID-4: /dev/sdh vendor: Apacer model: APS-SL3N-256 size: 238.47 GiB # in Rosewill eSATA case
# lsscsi | grep -i ata
[0:0:0:0] disk ATA WDC WD5000AAKS-7 1C02 /dev/sda
[1:0:0:0] disk ATA ST3500418AS CC46 /dev/sdb
[3:0:0:0] disk ATA ST3500630AS E /dev/sdc
[6:0:0:0] disk ATA APS-SL3N-256 11.2 /dev/sdh
# lspci | grep -i ata
00:1f.2 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
# lsmod | egrep -i 'ata|ahci|scsi' | sort
ahci 40960 29
ata_generic 16384 0
iscsi_boot_sysfs 16384 1 iscsi_ibft
iscsi_ibft 16384 0
libahci 40960 1 ahci
pata_jmicron 16384 0
scsi_dh_alua 20480 0
scsi_dh_emc 16384 0
scsi_dh_rdac 16384 0
# dmesg | tail -n24
[ 242.909330] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 242.909459] ata7.00: ATA-11: APS-SL3N-256, SBFM11.2, max UDMA/133
[ 242.909461] ata7.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 242.909590] ata7.00: configured for UDMA/133
[ 242.909595] ata7: EH complete
[ 242.909748] scsi 6:0:0:0: Direct-Access ATA APS-SL3N-256 11.2 PQ: 0 ANSI: 5
[ 242.911414] sd 6:0:0:0: [sdh] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[ 242.911432] sd 6:0:0:0: [sdh] Write Protect is off
[ 242.911434] sd 6:0:0:0: [sdh] Mode Sense: 00 3a 00 00
[ 242.911463] sd 6:0:0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 242.914521] sd 6:0:0:0: Attached scsi generic sg8 type 0
[ 242.929339] ata7.00: exception Emask 0x10 SAct 0x20 SErr 0x780100 action 0x6
[ 242.929341] ata7.00: irq_stat 0x08000000
[ 242.929343] ata7: SError: { UnrecovData 10B8B Dispar BadCRC Handshk }
[ 242.929345] ata7.00: failed command: READ FPDMA QUEUED
[ 242.929349] ata7.00: cmd 60/08:28:00:08:5d/00:00:07:00:00/40 tag 5 ncq dma 4096 in
res 40/00:28:00:08:5d/00:00:07:00:00/40 Emask 0x10 (ATA bus error)
[ 242.929350] ata7.00: status: { DRDY }
[ 242.929353] ata7: hard resetting link
[ 243.405333] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 243.405599] ata7.00: configured for UDMA/133
[ 243.405608] ata7: EH complete
[ 243.405695] sdh: sdh1 sdh2 sdh3 sdh4 < sdh5 sdh6 >
[ 243.407887] sd 6:0:0:0: [sdh] Attached SCSI disk
|
|
|
12-11-2019, 02:53 PM
|
#3
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Original Poster
Rep: 
|
Drive detected after
Code:
# rescan-scsi-bus.sh -a
Scanning SCSI subsystem for new devices
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: SATA SSD Rev: M030
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Hitachi HTS54503 Rev: C60N
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 4 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 4 0 0 0 ...
NEW: Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD10EARS-22Y Rev: 0A80
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 5 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
1 new or changed device(s) found.
[4:0:0:0]
0 remapped or resized device(s) found.
0 device(s) removed.
After mount in graphical mode, data transfer is possible as superuser only, anyway.
Is there a way to get an automatic detection (like via USB)?
Last edited by l1m0n4d3; 12-11-2019 at 02:54 PM.
|
|
|
12-12-2019, 02:11 AM
|
#4
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,419
|
The superuser can alter the permissions to permit access to normal users, but the more fundamental problem I don't know how to solve. IIRC, udisks should be finding the newly connected disk automatically. Partprobe also might be able to wake up the new connection. What might really solve the problem would be to go ahead and upgrade to 15.1 if you're still using 15.0. Support for 15.0 ended last month. I'm a regular user of zypper dup for openSUSE upgrades, which work very well for me. https://en.opensuse.org/SDB:System_upgrade
Last edited by mrmazda; 12-12-2019 at 02:12 AM.
|
|
|
12-12-2019, 05:37 AM
|
#5
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Original Poster
Rep: 
|
OK. Version has been upgraded since a couple of months, just my profile not yet, sorry.
|
|
|
All times are GMT -5. The time now is 11:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|