LINUX.ORG.RU
ФорумAdmin

Проблема с док-станцией на esata

 


0

1

Док-станция agestar SCBT2 подключена по esata к контроллеру

0a:00.0 SATA controller: JMicron Technology Corp. JMB362 SATA Controller (rev 10) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: I/O ports at d040 [size=8]
	Region 1: I/O ports at d030 [size=4]
	Region 2: I/O ports at d020 [size=8]
	Region 3: I/O ports at d010 [size=4]
	Region 4: I/O ports at d000 [size=16]
	Region 5: Memory at f7a10000 (32-bit, non-prefetchable) [size=512]
	Capabilities: [8c] 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: [50] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Kernel driver in use: ahci
на матери
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: Maximus IV Extreme
        Version: Rev 1.xx
под управлением
lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty

 uname -a
Linux tarh-phenom 4.2.0-23-generic #28-Ubuntu SMP Sun Dec 27 17:47:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

В общем, лежала док-станция долго без дела. Включал я её довольно редко и обычно по USB. А сейчас вот потребовалась нормальная скорость и решил попробовать по esata воткнуть. Воткнул винт, он определился, запустил на нём shred. Шред сделал пару процентов и начались проблемы. Сислог показал ошибки вида

Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073448] ata7.00: exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073453] ata7.00: irq_stat 0x08000000
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073456] ata7: SError: { UnrecovData Handshk }
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073460] ata7.00: failed command: WRITE DMA EXT
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073466] ata7.00: cmd 35/00:40:78:2f:01/00:05:00:00:00/e0 tag 7 dma 688128 out
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073466]          res 50/00:42:00:00:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073469] ata7.00: status: { DRDY }
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.073473] ata7: hard resetting link
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.566170] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.566245] ata7.00: failed to IDENTIFY (I/O error, err_mask=0x100)
Jul  4 02:49:45 tarh-phenom kernel: [ 1831.566250] ata7.00: revalidation failed (errno=-5)
Jul  4 02:49:50 tarh-phenom kernel: [ 1836.573465] ata7: hard resetting link
Jul  4 02:50:00 tarh-phenom kernel: [ 1846.600208] ata7: softreset failed (device not ready)
Jul  4 02:50:00 tarh-phenom kernel: [ 1846.600214] ata7: hard resetting link
Jul  4 02:50:10 tarh-phenom kernel: [ 1856.626963] ata7: softreset failed (device not ready)
Jul  4 02:50:10 tarh-phenom kernel: [ 1856.626970] ata7: hard resetting link
Jul  4 02:50:21 tarh-phenom kernel: [ 1867.214488] ata7: link is slow to respond, please be patient (ready=0)
Jul  4 02:50:45 tarh-phenom kernel: [ 1891.722541] ata7: softreset failed (device not ready)
Jul  4 02:50:45 tarh-phenom kernel: [ 1891.722550] ata7: hard resetting link
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918169] ata7: softreset failed (device not ready)
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918178] ata7: reset failed, giving up
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918181] ata7.00: disabled
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918203] ata7: exception Emask 0x2 SAct 0x0 SErr 0x800400 action 0x6 t4
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918205] ata7: irq_stat 0x08000000
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918207] ata7: SError: { Proto LinkSeq }
Jul  4 02:50:50 tarh-phenom kernel: [ 1896.918212] ata7: hard resetting link
Jul  4 02:51:00 tarh-phenom kernel: [ 1906.948895] ata7: softreset failed (device not ready)
Jul  4 02:51:00 tarh-phenom kernel: [ 1906.948900] ata7: hard resetting link
Jul  4 02:51:10 tarh-phenom kernel: [ 1916.983647] ata7: softreset failed (device not ready)
Jul  4 02:51:10 tarh-phenom kernel: [ 1916.983654] ata7: hard resetting link
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248842] INFO: task kswapd0:52 blocked for more than 120 seconds.
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248855]       Tainted: G           OE   4.2.0-23-generic #28-Ubuntu
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248856] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248857] kswapd0         D 0000000000000002     0    52      2 0x00000000
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248861]  ffff8800d95935b8 0000000000000046 ffff880121748000 ffff8800d9550dc0
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248863]  ffff88041efecf00 ffff8800d9594000 ffff88041ed16640 7fffffffffffffff
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248865]  ffff880407c01188 ffff880407c01130 ffff8800d95935d8 ffffffff817ec267
Jul  4 02:51:17 tarh-phenom kernel: [ 1923.248867] Call Trace:
... колл-трейс опущен
Jul  4 02:51:21 tarh-phenom kernel: [ 1927.571206] ata7: link is slow to respond, please be patient (ready=0)
Jul  4 02:51:45 tarh-phenom kernel: [ 1952.079223] ata7: softreset failed (device not ready)
Jul  4 02:51:45 tarh-phenom kernel: [ 1952.079233] ata7: hard resetting link
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274847] ata7: softreset failed (device not ready)
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274856] ata7: reset failed, giving up
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274880] sd 6:0:0:0: [sdd] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274883] sd 6:0:0:0: [sdd] tag#7 Sense Key : Illegal Request [current] [descriptor] 
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274886] sd 6:0:0:0: [sdd] tag#7 Add. Sense: Unaligned write command
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274889] sd 6:0:0:0: [sdd] tag#7 CDB: Write(10) 2a 00 00 01 2f 78 00 05 40 00
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274891] blk_update_request: I/O error, dev sdd, sector 77688
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274894] buffer_io_error: 158 callbacks suppressed
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274896] Buffer I/O error on dev sdd, logical block 9711, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274902] Buffer I/O error on dev sdd, logical block 9712, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274905] Buffer I/O error on dev sdd, logical block 9713, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274907] Buffer I/O error on dev sdd, logical block 9714, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274909] Buffer I/O error on dev sdd, logical block 9715, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274910] Buffer I/O error on dev sdd, logical block 9716, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274912] Buffer I/O error on dev sdd, logical block 9717, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274914] Buffer I/O error on dev sdd, logical block 9718, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274916] Buffer I/O error on dev sdd, logical block 9719, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.274918] Buffer I/O error on dev sdd, logical block 9720, lost async page write
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275029] ata7: EH complete
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275071] sd 6:0:0:0: [sdd] tag#10 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275074] sd 6:0:0:0: [sdd] tag#10 CDB: Write(10) 2a 00 00 01 34 b8 00 05 40 00
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275075] blk_update_request: I/O error, dev sdd, sector 79032
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275110] sd 6:0:0:0: [sdd] tag#12 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275115] sd 6:0:0:0: [sdd] tag#12 CDB: Write(10) 2a 00 00 01 39 f8 00 05 40 00
Jul  4 02:51:51 tarh-phenom kernel: [ 1957.275117] blk_update_request: I/O error, dev sdd, sector 80376

Сейчас попробую воспроизвести.

В общем, надо помощь с определением способа вычисления проблемного участка. Это чип на матери лажает? Кабель? Док станция? Винт? Винтов несколько, винты могу менять.

В прошивке матери OPROM контроллера ВЫКЛЮЧЕН.

★★★★★

попытка воспроизвести привела к циклической ошибке

Jul  4 03:24:59 tarh-phenom kernel: [ 3948.497300] ata7.00: status: { DRDY }
Jul  4 03:24:59 tarh-phenom kernel: [ 3948.497304] ata7: hard resetting link
Jul  4 03:24:59 tarh-phenom kernel: [ 3948.989981] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
Jul  4 03:24:59 tarh-phenom kernel: [ 3948.991563] ata7.00: configured for UDMA/33
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.005974] ata7: EH complete
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014023] ata7.00: exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014026] ata7.00: irq_stat 0x08000000
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014029] ata7: SError: { UnrecovData Handshk }
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014031] ata7.00: failed command: WRITE DMA EXT
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014035] ata7.00: cmd 35/00:40:80:b2:00/00:05:00:00:00/e0 tag 4 dma 688128 out
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014035]          res 50/00:00:af:6d:70/00:00:74:00:00/e0 Emask 0x10 (ATA bus error)
Jul  4 03:24:59 tarh-phenom kernel: [ 3949.014037] ata7.00: status: { DRDY }
винт сменил на другой, запустил шред снова, пока полёт нормальный.

targitaj ★★★★★ ()

шред сделал 10% Это был винт, похоже... Неожиданно. Я считал тот винт живым (((

targitaj ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.