Bug 188341 - Acer Swift 7 hard drive is not loaded and cannot be used/accessed
Summary: Acer Swift 7 hard drive is not loaded and cannot be used/accessed
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Tejun Heo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 03:16 UTC by Peter
Modified: 2016-11-30 03:29 UTC (History)
0 users

See Also:
Kernel Version: 4.9.0-rc6
Subsystem:
Regression: No
Bisected commit-id:


Attachments
CentOS dmesg (133.37 KB, text/plain)
2016-11-27 19:36 UTC, Peter
Details
CentOS lspci (7.53 KB, text/plain)
2016-11-27 19:37 UTC, Peter
Details
v4.0.9 dmesg (61.21 KB, text/plain)
2016-11-30 03:19 UTC, Peter
Details
v4.0.9 lspci (16.34 KB, text/plain)
2016-11-30 03:29 UTC, Peter
Details

Description Peter 2016-11-22 03:16:23 UTC
There are errors trying to bring up the hard drive on boot, so it becomes disabled. Nothing can be installed to the hard drive. It does not show up with parted, fdisk etc. I am running linux installed to usb pendrive.

The hard drive is found and works fine with CentOS 7, a 3.x series kernel, but fails on newer kernels.

Here's a link to my attempts to install various linuxes.
http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/acer-swift-7-hard-drive-not-recognized-how-to-get-it-supported-4175593518/

relevant dmesg
[    8.185103] ata1.00: qc timeout (cmd 0xec)
[    8.185123] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[    8.185127] ata1.00: revalidation failed (errno=-5)
[    8.498197] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   18.937128] ata1.00: qc timeout (cmd 0xec)
[   18.937150] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[   18.937155] ata1.00: revalidation failed (errno=-5)
[   18.937292] ata1: limiting SATA link speed to 3.0 Gbps
[   18.937299] ata1.00: limiting speed to UDMA/133:PIO3
[   19.250305] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[   19.519106] usb 1-1: new high-speed USB device number 4 using xhci_hcd
[   19.693828] usb 1-1: New USB device found, idVendor=05dc, idProduct=c75d
[   19.693835] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   19.693840] usb 1-1: Product: USB Flash Drive
[   19.693844] usb 1-1: Manufacturer: Lexar
[   19.693847] usb 1-1: SerialNumber: ECA7258EF30A
[   49.657155] ata1.00: qc timeout (cmd 0xec)
[   49.657175] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[   49.657179] ata1.00: revalidation failed (errno=-5)
[   49.657272] ata1.00: disabled
[   49.657303] ata1: hard resetting link
[   49.969944] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[   49.969970] ata1: EH complete
[   49.975185] Freeing unused kernel memory: 1660K (ffffffff8ef60000 - ffffffff8f0ff000)
[   49.975186] Write protecting the kernel read-only data: 14336k
[   49.975668] Freeing unused kernel memory: 1920K (ffff99ff86820000 - ffff99ff86a00000)
[   49.977022] Freeing unused kernel memory: 724K (ffff99ff86d4b000 - ffff99ff86e00000)

relevant part of
lspci -vv
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
	Subsystem: Acer Incorporated [ALI] Device 1137
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 123
	Region 0: Memory at b1230000 (32-bit, non-prefetchable) [size=8K]
	Region 1: Memory at b1238000 (32-bit, non-prefetchable) [size=256]
	Region 2: I/O ports at 3080 [size=8]
	Region 3: I/O ports at 3088 [size=4]
	Region 4: I/O ports at 3060 [size=32]
	Region 5: Memory at b1236000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00238  Data: 0000
	Capabilities: [70] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
	Kernel driver in use: ahci
Comment 1 Peter 2016-11-27 19:36:36 UTC
Created attachment 245981 [details]
CentOS dmesg
Comment 2 Peter 2016-11-27 19:37:20 UTC
Created attachment 245991 [details]
CentOS lspci
Comment 3 Peter 2016-11-27 19:41:32 UTC
the dmesg and lspci output are from the following system

uname -a
Linux localhost.localdomain 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

As previously mentioned, this older 3.10 series kernel does find the hard drive and I can use it normally. However, newer kernels are not able to use it due to errors.

Please let me know if there is any other info that would be useful.
Comment 4 Peter 2016-11-30 03:19:24 UTC
Created attachment 246331 [details]
v4.0.9 dmesg

I tested kernel versions from the stable tree until I found the version where the bug appears. I found that v4.0.9 works and v4.1.0 fails. The v4.0.9 had some different error messages and more info so here it is.

The dmesg also said my bios was broken and suggested intremap=no_x2apic_optout
I tried that on v4.1.0 but it did not fix it.

I have also tried booting with different flags. Just trying stuff.
acpi=off - nothing changed
pci=noacpi - just get a blank screen
pci=nocrs - no change
pcie-aspm=off - no change
pci=nomsi - kernel panic
Comment 5 Peter 2016-11-30 03:29:44 UTC
Created attachment 246341 [details]
v4.0.9 lspci

full lspci -nnvv output from the last kernel version that works

Note You need to log in before you can comment on or make changes to this bug.