Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 4.4.2-hardened and Areca ARC-1110 problems
Date: Sat, 16 Apr 2016 19:00:52
Message-Id: 2040818.OEEhfml4vM@andromeda
In Reply to: [gentoo-user] 4.4.2-hardened and Areca ARC-1110 problems by Calum
1 On Saturday, April 16, 2016 06:17:28 PM Calum wrote:
2 > Hello all,
3 >
4 > I have a server (in another country) running Gentoo with 3.17.7-hardened-r1.
5 > It has a "RAID bus controller: Areca Technology Corp. ARC-1110 4-Port PCI-X
6 > to SATA RAID Controller" (17d3:1110).
7 >
8 > I have no physical access to it, and only a serial console and Debian
9 > rescue image to recover with).
10 > I don't have any access or info about the settings on the RAID controller
11 > (unless I can get them from the OS).
12 >
13 > This works well enough most of the time. (I do get some random hangs which
14 > I have to hard reset to recover from).
15 >
16 > I tried updating to linux-4.4.2-hardened (with the same kernel .config) but
17 > get the following error upon booting
18 >
19 > [ 35.805083] arcmsr0: abort device command of scsi id = 0 lun = 0
20 > [ 35.817201] arcmsr0: scsi id = 0 lun = 0 ccb = '0xffff8800d5120800' poll
21 > command abort successfully
22 > [ 35.835617] arcmsr0: abort device command of scsi id = 0 lun = 0
23 > [ 35.847700] arcmsr0: abort device command of scsi id = 0 lun = 0
24 > [ 35.859783] arcmsr0: abort device command of scsi id = 0 lun = 0
25 > [ 35.871870] arcmsr0: abort device command of scsi id = 0 lun = 0
26 > [ 35.883953] arcmsr0: abort device command of scsi id = 0 lun = 0
27 > [ 35.896035] arcmsr0: abort device command of scsi id = 0 lun = 0
28 > [ 35.908117] arcmsr0: abort device command of scsi id = 0 lun = 0
29 > [ 35.920199] arcmsr0: abort device command of scsi id = 0 lun = 0
30 > [ 35.932283] arcmsr0: abort device command of scsi id = 0 lun = 0
31 > [ 35.944364] arcmsr0: abort device command of scsi id = 0 lun = 0
32 > [ 35.956446] arcmsr0: abort device command of scsi id = 0 lun = 0
33 > [ 35.968529] arcmsr0: abort device command of scsi id = 0 lun = 0
34 > [ 35.980611] arcmsr0: abort device command of scsi id = 0 lun = 0
35 > [ 35.992693] arcmsr0: abort device command of scsi id = 0 lun = 0
36 > [ 36.004775] arcmsr0: abort device command of scsi id = 0 lun = 0
37 > [ 36.016858] arcmsr0: abort device command of scsi id = 0 lun = 0
38 > [ 36.028939] arcmsr0: abort device command of scsi id = 0 lun = 0
39 > [ 36.041021] arcmsr0: abort device command of scsi id = 0 lun = 0
40 > [ 36.053102] arcmsr0: abort device command of scsi id = 0 lun = 0
41 > [ 36.065187] arcmsr0: abort device command of scsi id = 0 lun = 0
42 > [ 36.077269] arcmsr0: abort device command of scsi id = 0 lun = 0
43 > [ 36.089351] arcmsr0: abort device command of scsi id = 0 lun = 0
44 > [ 36.101439] arcmsr0: abort device command of scsi id = 0 lun = 0
45 > [ 36.113543] arcmsr: executing bus reset eh.....num_resets = 0,
46 > num_aborts = 24
47 > [ 36.128326] arcmsr0: executing hw bus reset .....
48 > [ 49.149028] arcmsr0: waiting for hw bus reset return, retry=0
49 > [ 59.160983] arcmsr0: waiting for hw bus reset return, retry=1
50 > [ 69.172962] arcmsr0: waiting for hw bus reset return, retry=2
51 > [ 79.184902] arcmsr0: waiting for hw bus reset return, retry=3
52 > [ 89.212917] Areca RAID Controller0: Model ARC-1110, F/W V1.49 2010-12-02
53 > [ 89.240861] arcmsr: scsi bus reset eh returns with success
54 > [ 96.108524] random: nonblocking pool is initialized
55 > [ 109.252788] arcmsr0: abort device command of scsi id = 0 lun = 0
56 > [ 109.264881] arcmsr0: scsi id = 0 lun = 0 ccb = '0xffff8800d5120e80' poll
57 > command abort successfully
58 > [ 109.283294] sd 0:0:0:0: Device offlined - not ready after error recovery
59 > [ 109.296764] sd 0:0:0:0: Device offlined - not ready after error recovery
60 > [ 109.310231] sd 0:0:0:0: Device offlined - not ready after error recovery
61 > [ 109.323700] sd 0:0:0:0: Device offlined - not ready after error recovery
62 > [ 109.337176] sd 0:0:0:0: Device offlined - not ready after error recovery
63 > [ 109.350645] sd 0:0:0:0: Device offlined - not ready after error recovery
64 > [ 109.364111] sd 0:0:0:0: Device offlined - not ready after error recovery
65 > [ 109.377580] sd 0:0:0:0: Device offlined - not ready after error recovery
66 > [ 109.391048] sd 0:0:0:0: Device offlined - not ready after error recovery
67 > [ 109.404517] sd 0:0:0:0: Device offlined - not ready after error recovery
68 > [ 109.417986] sd 0:0:0:0: Device offlined - not ready after error recovery
69 > [ 109.431455] sd 0:0:0:0: Device offlined - not ready after error recovery
70 > [ 109.444924] sd 0:0:0:0: Device offlined - not ready after error recovery
71 > [ 109.458393] sd 0:0:0:0: Device offlined - not ready after error recovery
72 > [ 109.471862] sd 0:0:0:0: Device offlined - not ready after error recovery
73 > [ 109.485330] sd 0:0:0:0: Device offlined - not ready after error recovery
74 > [ 109.498799] sd 0:0:0:0: Device offlined - not ready after error recovery
75 > [ 109.512267] sd 0:0:0:0: Device offlined - not ready after error recovery
76 > [ 109.525736] sd 0:0:0:0: Device offlined - not ready after error recovery
77 > [ 109.539206] sd 0:0:0:0: Device offlined - not ready after error recovery
78 > [ 109.552675] sd 0:0:0:0: Device offlined - not ready after error recovery
79 > [ 109.566144] sd 0:0:0:0: Device offlined - not ready after error recovery
80 > [ 109.579612] sd 0:0:0:0: Device offlined - not ready after error recovery
81 > [ 109.593087] sd 0:0:0:0: [sda] tag#9 FAILED Result: hostbyte=DID_OK
82 > driverbyte=DRIVER_TIMEOUT
83 > [ 109.610116] sd 0:0:0:0: [sda] tag#9 CDB: Read(10) 28 00 00 00 08 af 00
84 > 00 08 00
85 > [ 109.624888] blk_update_request: I/O error, dev sda, sector 2223
86 > [ 109.636802] sd 0:0:0:0: rejecting I/O to offline device
87 > [ 109.647324] sd 0:0:0:0: [sda] killing request
88 > [ 109.656122] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_NO_CONNECT
89 > driverbyte=DRIVER_OK
90 > [ 109.672630] sd 0:0:0:0: [sda] CDB: Read(10) 28 00 00 00 08 5f 00 00 08 00
91 > [ 109.686270] blk_update_request: I/O error, dev sda, sector 2143 [
92 > 109.698195] sd 0:0:0:0: [sda] tag#10 FAILED Result: hostbyte=DID_OK
93 > driverbyte=DRIVER_TIMEOUT
94 > [ 109.698201] EXT4-fs error (device sda1): __ext4_get_inode_loc:3981:
95 > inode #8: block 260: comm swapper/0: unable to read itable block
96 > [ 109.698213] sd 0:0:0:0: rejecting I/O to offline device
97 > [ 109.698222] EXT4-fs (sda1): no journal found
98 > [ 109.758504] sd 0:0:0:0: [sda] tag#10 CDB: Read(10) 28 00 00 00 08 b7 00
99 > 00 08 00
100 > [ 109.773453] blk_update_request: I/O error, dev sda, sector 2231
101 > [ 109.785376] sd 0:0:0:0: [sda] tag#11 FAILED Result: hostbyte=DID_OK
102 > driverbyte=DRIVER_TIMEOUT
103 > [ 109.802578] sd 0:0:0:0: [sda] tag#11 CDB: Read(10) 28 00 00 00 08 bf 00
104 > 00 08 00
105 > [ 109.817526] blk_update_request: I/O error, dev sda, sector 2239
106 > [ 109.829449] sd 0:0:0:0: [sda] tag#12 FAILED Result: hostbyte=DID_OK
107 > driverbyte=DRIVER_TIMEOUT
108 > [ 109.846652] sd 0:0:0:0: [sda] tag#12 CDB: Read(10) 28 00 00 00 08 c7 00
109 > 00 08 00
110 > [ 109.861601] blk_update_request: I/O error, dev sda, sector 2247
111 > [ 109.873522] sd 0:0:0:0: [sda] tag#13 FAILED Result: hostbyte=DID_OK
112 > driverbyte=DRIVER_TIMEOUT
113 > [ 109.890726] sd 0:0:0:0: [sda] tag#13 CDB: Read(10) 28 00 00 00 08 cf 00
114 > 00 08 00
115 > [ 109.905676] blk_update_request: I/O error, dev sda, sector 2255
116 > [ 109.917599] sd 0:0:0:0: [sda] tag#14 FAILED Result: hostbyte=DID_OK
117 > driverbyte=DRIVER_TIMEOUT
118 > [ 109.934801] sd 0:0:0:0: [sda] tag#14 CDB: Read(10) 28 00 00 00 08 d7 00
119 > 00 08 00
120 > [ 109.949751] blk_update_request: I/O error, dev sda, sector 2263
121 > [ 109.961673] sd 0:0:0:0: [sda] tag#15 FAILED Result: hostbyte=DID_OK
122 > driverbyte=DRIVER_TIMEOUT
123 > [ 109.978873] sd 0:0:0:0: [sda] tag#15 CDB: Read(10) 28 00 00 00 08 df 00
124 > 00 08 00
125 > [ 109.993822] blk_update_request: I/O error, dev sda, sector 2271
126 > [ 110.005742] sd 0:0:0:0: [sda] tag#16 FAILED Result: hostbyte=DID_OK
127 > driverbyte=DRIVER_TIMEOUT
128 > [ 110.022944] sd 0:0:0:0: [sda] tag#16 CDB: Read(10) 28 00 00 00 08 e7 00
129 > 00 08 00
130 > [ 110.037887] blk_update_request: I/O error, dev sda, sector 2279
131 > [ 110.049809] sd 0:0:0:0: [sda] tag#17 FAILED Result: hostbyte=DID_OK
132 > driverbyte=DRIVER_TIMEOUT
133 > [ 110.067011] sd 0:0:0:0: [sda] tag#17 CDB: Read(10) 28 00 00 00 08 ef 00
134 > 00 08 00
135 > [ 110.081960] blk_update_request: I/O error, dev sda, sector 2287
136 > [ 110.093919] VFS: Dirty inode writeback failed for block device sda1
137 > (err=-5).
138 > [ 110.108295] VFS: Cannot open root device "sda1" or unknown-block(8,1):
139 > error -6
140 > [ 110.123068] Please append a correct "root=" boot option; here are the
141 > available partitions:
142 > [ 110.143789] 0100 4096 ram0 (driver?)
143 > [ 110.153140] 0101 4096 ram1 (driver?)
144 > [ 110.162488] 0102 4096 ram2 (driver?)
145 > [ 110.171836] 0103 4096 ram3 (driver?)
146 > [ 110.181185] 0104 4096 ram4 (driver?)
147 > [ 110.190535] 0105 4096 ram5 (driver?)
148 > [ 110.199883] 0106 4096 ram6 (driver?)
149 > [ 110.209232] 0107 4096 ram7 (driver?)
150 > [ 110.218581] 0108 4096 ram8 (driver?)
151 > [ 110.227930] 0109 4096 ram9 (driver?)
152 > [ 110.237278] 010a 4096 ram10 (driver?)
153 > [ 110.246801] 010b 4096 ram11 (driver?)
154 > [ 110.256323] 010c 4096 ram12 (driver?)
155 > [ 110.265843] 010d 4096 ram13 (driver?)
156 > [ 110.275361] 010e 4096 ram14 (driver?)
157 > [ 110.284885] 010f 4096 ram15 (driver?)
158 > [ 110.294409] 0800 976762112 sda driver: sd
159 > [ 110.303756] 0801 4200966 sda1 326de2ce-01
160 > [ 110.313621] 0802 2104515 sda2 326de2ce-02
161 > [ 110.323486] 0803 970454520 sda3 326de2ce-03
162 > [ 110.333355] Kernel panic - not syncing: VFS: Unable to mount root fs on
163 > unknown-block(8,1)
164 > [ 110.350033] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.2-hardened #1
165 > [ 110.363326] Hardware name: FUJITSU
166 > D2901-H1 /D2901-H1, BIOS 6.00
167 > R1.09.2901.H1 05/19/2010
168 > [ 110.390222] ffffc90000c5be28 ffffc90000c5bd90 ffffffff813063ec
169 > 0000000000000001
170 > [ 110.405311] ffffffff82071fc0 ffffc90000c5be18 ffffffff8113853b
171 > ffffffff00000010
172 > [ 110.420393] ffffc90000c5be28 ffffc90000c5bdb8 0000000400000004
173 > ffffc90000c5be48
174 > [ 110.435474] Call Trace:
175 > [ 110.440456] [<ffffffff813063ec>] dump_stack+0x45/0x69
176 > [ 110.450806] [<ffffffff8113853b>] panic+0xbd/0x201
177 > [ 110.460463] [<ffffffff81e14224>] mount_block_root+0x339/0x3cf
178 > [ 110.472198] [<ffffffff81e144c3>] mount_root+0x92/0x9d
179 > [ 110.482547] [<ffffffff81e1472b>] prepare_namespace+0x25d/0x2bf
180 > [ 110.494455] [<ffffffff81e13c70>] kernel_init_freeable+0x27c/0x2be
181 > [ 110.506882] [<ffffffff81691aa0>] ? rest_init+0x80/0x80
182 > [ 110.517405] [<ffffffff81691aa9>] kernel_init+0x9/0xf0
183 > [ 110.527753] [<ffffffff8169773e>] ret_from_fork+0x3e/0x70
184 > [ 110.538621] [<ffffffff81691aa0>] ? rest_init+0x80/0x80
185 > [ 110.549165] Kernel Offset: disabled
186 > [ 110.556224] ---[ end Kernel panic - not syncing: VFS: Unable to mount
187 > root fs on unknown-block(8,1)
188 >
189 > Booting back into 3.17.7 makes it work again.
190 >
191 > Does anyone have any idea about this? Does anyone know if the Areca driver
192 > changed between 3.17.7 and 4.2.2?
193 > Is there a more appropriate place to post regarding this?
194 >
195 > Calum
196
197 Not sure about that model, but I have the following in one of my servers:
198
199 02:00.0 RAID bus controller: Areca Technology Corp. ARC-1280/1280ML 24-Port
200 PCI-Express to SATA II RAID Controller
201 Subsystem: Areca Technology Corp. ARC-1280/1280ML 24-Port PCI-Express
202 to SATA II RAID Controller
203 Flags: bus master, fast devsel, latency 0, IRQ 37
204 Memory at fbd10000 (32-bit, non-prefetchable) [size=8K]
205 Expansion ROM at fbd00000 [disabled] [size=64K]
206 Capabilities: [98] Power Management version 2
207 Capabilities: [a0] MSI: Enable+ Count=1/2 Maskable- 64bit+
208 Capabilities: [d0] Express Endpoint, MSI 00
209 Capabilities: [100] Advanced Error Reporting
210 Kernel driver in use: arcmsr
211 (lspci -v output)
212
213 With the following kernel:
214 # uname -a
215 Linux artemis 4.1.7-hardened-r1-host #3 SMP Fri Jan 15 09:57:12 CET 2016
216 x86_64 Intel(R) Xeon(R) CPU E31220 @ 3.10GHz GenuineIntel GNU/Linux
217
218
219 And:
220 # eix -I xen
221 [U] app-emulation/xen
222 Available versions: 4.5.2-r2^t{tbz2} 4.5.2-r3^t 4.5.2-r4^t 4.6.0-
223 r5^t{tbz2} ~4.6.0-r6^st ~4.6.0-r7^st{tbz2} 4.6.0-r8^st{tbz2} {custom-cflags
224 debug efi flask xsm}
225 Installed versions: 4.5.2-r2^t{tbz2}(09:10:41 AM 12/28/2015)(efi -custom-
226 cflags -debug -flask -xsm)
227 Homepage: http://xen.org/
228 Description: The Xen virtual machine monitor
229
230
231 I haven't had any issues with this.
232
233 You can try the " Linux - CLI " tool to access the settings:
234
235 http://www.areca.com.tw/support/s_linux/linux.htm
236 (Near bottom of page)
237
238
239 About the stability, how are the disks connected to the controller? Is there
240 any way to find out more details?
241
242 --
243 Joost