As per my previous post, I've determined that the aacraid driver doesn't work with current Adaptec RAID controllers (ASR8xxx family, latest firmware) with kernels over 4.14. Kernel up to 4.15 works with ASR7xxx family but kernel 4.16 doesn't work either with ASR7xxx nor ASR8xxx controllers. I've just retried running the latest 4.16.18 (plain vanilla) on Debian stable: Running "modprobe aacraid", the driver hangs and resets the controller constantly. rebooting the system on earlier kernels up to 4.13.xx everything *just works* without any problem. dmesg output: [ 344.845719] Adaptec aacraid driver 1.2.1[50877]-custom [ 344.852250] aacraid: Comm Interface type2 enabled [ 344.859381] AAC0: kernel 7.13-0[33263] Mar 16 2018 [ 344.859384] AAC0: monitor 7.13-0[33263] [ 344.859385] AAC0: bios 7.13-0[33263] [ 344.859388] AAC0: serial 6A476396945 [ 344.859389] AAC0: Non-DASD support enabled. [ 346.869001] scsi host6: aacraid [ 346.869500] scsi 6:0:2:0: Direct-Access ASR8885 raid3 V1.0 PQ: 0 ANSI: 2 [ 346.869692] sd 6:0:2:0: [sdb] Very big device. Trying to use READ CAPACITY(16). [ 346.869712] sd 6:0:2:0: [sdb] 632763166720 512-byte logical blocks: (324 TB/295 TiB) [ 346.869727] sd 6:0:2:0: [sdb] Write Protect is off [ 346.869730] sd 6:0:2:0: [sdb] Mode Sense: 12 00 10 08 [ 346.869750] sd 6:0:2:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA [ 346.870431] sd 6:0:2:0: Attached scsi generic sg1 type 0 [ 346.870455] sd 6:0:2:0: [sdb] Very big device. Trying to use READ CAPACITY(16). [ 346.895430] scsi 6:1:105:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.896058] scsi 6:1:105:0: Attached scsi generic sg2 type 0 [ 346.897159] scsi 6:1:106:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.897844] scsi 6:1:106:0: Attached scsi generic sg3 type 0 [ 346.898803] scsi 6:1:107:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.899805] scsi 6:1:107:0: Attached scsi generic sg4 type 0 [ 346.900583] scsi 6:1:108:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.901280] scsi 6:1:108:0: Attached scsi generic sg5 type 0 [ 346.902491] scsi 6:1:109:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.907440] scsi 6:1:109:0: Attached scsi generic sg6 type 0 [ 346.908035] scsi 6:1:110:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.909257] scsi 6:1:110:0: Attached scsi generic sg7 type 0 [ 346.910633] scsi 6:1:111:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.911878] scsi 6:1:111:0: Attached scsi generic sg8 type 0 [ 346.912630] scsi 6:1:112:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.913303] scsi 6:1:112:0: Attached scsi generic sg9 type 0 [ 346.914150] scsi 6:1:113:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.914888] scsi 6:1:113:0: Attached scsi generic sg10 type 0 [ 346.915664] scsi 6:1:114:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.916388] scsi 6:1:114:0: Attached scsi generic sg11 type 0 [ 346.917536] scsi 6:1:115:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.918256] scsi 6:1:115:0: Attached scsi generic sg12 type 0 [ 346.919351] scsi 6:1:116:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.921804] scsi 6:1:116:0: Attached scsi generic sg13 type 0 [ 346.922346] scsi 6:1:117:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.922909] scsi 6:1:117:0: Attached scsi generic sg14 type 0 [ 346.923629] scsi 6:1:118:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.924213] scsi 6:1:118:0: Attached scsi generic sg15 type 0 [ 346.925151] scsi 6:1:119:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.925809] scsi 6:1:119:0: Attached scsi generic sg16 type 0 [ 346.926642] scsi 6:1:120:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.927243] scsi 6:1:120:0: Attached scsi generic sg17 type 0 [ 346.927801] scsi 6:1:121:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.928452] scsi 6:1:121:0: Attached scsi generic sg18 type 0 [ 346.928992] scsi 6:1:122:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.929689] scsi 6:1:122:0: Attached scsi generic sg19 type 0 [ 346.930245] scsi 6:1:123:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.930953] scsi 6:1:123:0: Attached scsi generic sg20 type 0 [ 346.931641] scsi 6:1:124:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.932280] scsi 6:1:124:0: Attached scsi generic sg21 type 0 [ 346.933558] scsi 6:1:125:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.934181] scsi 6:1:125:0: Attached scsi generic sg22 type 0 [ 346.934724] scsi 6:1:126:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.935402] scsi 6:1:126:0: Attached scsi generic sg23 type 0 [ 346.936515] scsi 6:1:127:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.937909] scsi 6:1:127:0: Attached scsi generic sg24 type 0 [ 346.938467] scsi 6:1:128:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.939099] scsi 6:1:128:0: Attached scsi generic sg25 type 0 [ 346.939675] scsi 6:1:129:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.941348] scsi 6:1:129:0: Attached scsi generic sg26 type 0 [ 346.941887] scsi 6:1:130:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.942513] scsi 6:1:130:0: Attached scsi generic sg27 type 0 [ 346.943077] scsi 6:1:131:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.944990] scsi 6:1:131:0: Attached scsi generic sg28 type 0 [ 346.945574] scsi 6:1:132:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.948166] scsi 6:1:132:0: Attached scsi generic sg29 type 0 [ 346.949360] scsi 6:1:133:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.951876] scsi 6:1:133:0: Attached scsi generic sg30 type 0 [ 346.952476] scsi 6:1:134:0: Direct-Access HGST HUH721212AL5200 A3D0 PQ: 1 ANSI: 6 [ 346.953261] scsi 6:1:134:0: Attached scsi generic sg31 type 0 [ 394.248860] aacraid: Host adapter abort request. aacraid: Outstanding commands on (6,0,2,0): [ 394.253875] aacraid: Host adapter reset request. SCSI hang ? [ 409.599443] aacraid: Host adapter reset request. SCSI hang ? [ 409.599457] aacraid 0000:01:00.0: outstanding cmd: midlevel-0 [ 409.599459] aacraid 0000:01:00.0: outstanding cmd: lowlevel-0 [ 409.599460] aacraid 0000:01:00.0: outstanding cmd: error handler-0 [ 409.599461] aacraid 0000:01:00.0: outstanding cmd: firmware-1 [ 409.599462] aacraid 0000:01:00.0: outstanding cmd: kernel-0 [ 409.599485] aacraid 0000:01:00.0: Controller reset type is 3 [ 409.599487] aacraid 0000:01:00.0: Issuing IOP reset [ 442.835670] aacraid 0000:01:00.0: IOP reset succeded [ 442.849669] aacraid: Comm Interface type2 enabled [ 456.412686] aacraid 0000:01:00.0: Scheduling bus rescan [ 492.551300] INFO: task kworker/u24:4:79 blocked for more than 120 seconds. [ 492.551303] Not tainted 4.16.18-storiq64-opteron #1 [ 492.551304] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 492.551306] kworker/u24:4 D 0 79 2 0x80000000 [ 492.551314] Workqueue: events_unbound async_run_entry_fn [ 492.551316] Call Trace: [ 492.551325] ? __schedule+0x245/0x820 [ 492.551327] schedule+0x2d/0x80 [ 492.551329] io_schedule+0xd/0x40 [ 492.551333] do_read_cache_page+0x384/0x470 [ 492.551337] ? blkdev_writepages+0x10/0x10 [ 492.551339] ? __page_cache_alloc+0x10/0x10 [ 492.551342] read_dev_sector+0x23/0xa0 [ 492.551345] ? sun_partition+0x340/0x340 [ 492.551346] ultrix_partition+0x98/0x1c0 [ 492.551349] ? snprintf+0x39/0x40 [ 492.551351] ? sun_partition+0x340/0x340 [ 492.551353] check_partition+0x12a/0x200 [ 492.551355] rescan_partitions+0xac/0x340 [ 492.551357] __blkdev_get+0x302/0x4e0 [ 492.551359] ? I_BDEV+0x10/0x10 [ 492.551361] blkdev_get+0x10e/0x2d0 [ 492.551364] ? unlock_new_inode+0x3d/0x50 [ 492.551365] ? bdget+0xfc/0x110 [ 492.551367] __device_add_disk+0x42b/0x480 [ 492.551371] sd_probe_async+0x106/0x1f0 [ 492.551373] async_run_entry_fn+0x32/0xe0 [ 492.551376] process_one_work+0x14c/0x370 [ 492.551378] worker_thread+0x5d/0x3e0 [ 492.551380] ? flush_delayed_work+0x40/0x40 [ 492.551382] kthread+0x10a/0x140 [ 492.551385] ? kthread_bind+0x10/0x10 [ 492.551387] ret_from_fork+0x22/0x40 [ 513.038334] aacraid: Host adapter reset request. SCSI hang ? [ 513.038346] aacraid 0000:01:00.0: outstanding cmd: midlevel-0 [ 513.038347] aacraid 0000:01:00.0: outstanding cmd: lowlevel-0 [ 513.038348] aacraid 0000:01:00.0: outstanding cmd: error handler-0 [ 513.038350] aacraid 0000:01:00.0: outstanding cmd: firmware-1 [ 513.038351] aacraid 0000:01:00.0: outstanding cmd: kernel-0 [ 513.038368] aacraid 0000:01:00.0: Controller reset type is 3 [ 513.038369] aacraid 0000:01:00.0: Issuing IOP reset [ 544.505757] aacraid 0000:01:00.0: IOP reset succeded [ 544.521565] aacraid: Comm Interface type2 enabled [ 557.986112] aacraid 0000:01:00.0: Scheduling bus rescan [ 615.449160] aacraid: Host adapter reset request. SCSI hang ? [ 615.449172] aacraid 0000:01:00.0: outstanding cmd: midlevel-0 [ 615.449174] aacraid 0000:01:00.0: outstanding cmd: lowlevel-0 [ 615.449175] aacraid 0000:01:00.0: outstanding cmd: error handler-0 [ 615.449176] aacraid 0000:01:00.0: outstanding cmd: firmware-1 [ 615.449177] aacraid 0000:01:00.0: outstanding cmd: kernel-0 [ 615.449195] aacraid 0000:01:00.0: Controller reset type is 3 [ 615.449197] aacraid 0000:01:00.0: Issuing IOP reset [ 648.726026] aacraid 0000:01:00.0: IOP reset succeded [ 648.740878] aacraid: Comm Interface type2 enabled [ 662.210562] aacraid 0000:01:00.0: Scheduling bus rescan [ 717.858005] aacraid: Host adapter reset request. SCSI hang ? [ 717.858018] aacraid 0000:01:00.0: outstanding cmd: midlevel-0 [ 717.858020] aacraid 0000:01:00.0: outstanding cmd: lowlevel-0 [ 717.858021] aacraid 0000:01:00.0: outstanding cmd: error handler-0 [ 717.858022] aacraid 0000:01:00.0: outstanding cmd: firmware-1 [ 717.858024] aacraid 0000:01:00.0: outstanding cmd: kernel-0 [ 717.858041] aacraid 0000:01:00.0: Controller reset type is 3 [ 717.858042] aacraid 0000:01:00.0: Issuing IOP reset [ 751.089104] aacraid 0000:01:00.0: IOP reset succeded [ 751.100998] aacraid: Comm Interface type2 enabled [ 764.620214] aacraid 0000:01:00.0: Scheduling bus rescan [ 820.268834] aacraid: Host adapter reset request. SCSI hang ? [ 820.268845] aacraid 0000:01:00.0: outstanding cmd: midlevel-0 [ 820.268847] aacraid 0000:01:00.0: outstanding cmd: lowlevel-0 [ 820.268848] aacraid 0000:01:00.0: outstanding cmd: error handler-0 [ 820.268850] aacraid 0000:01:00.0: outstanding cmd: firmware-1 [ 820.268851] aacraid 0000:01:00.0: outstanding cmd: kernel-0 [ 820.268869] aacraid 0000:01:00.0: Controller reset type is 3 [ 820.268870] aacraid 0000:01:00.0: Issuing IOP reset [ 890.510493] aacraid 0000:01:00.0: IOP reset failed [ 890.510497] aacraid 0000:01:00.0: ARC Reset attempt failed -- ------------------------------------------------------------------------ Emmanuel Florac | Direction technique | Intellique | <eflorac@xxxxxxxxxxxxxx> | +33 1 78 94 84 02 ------------------------------------------------------------------------
Attachment:
pgpJgEdtN1x8E.pgp
Description: Signature digitale OpenPGP