iSCSI Connection abruptly dies writing to Windows Server 2016 Target
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Release: Ubuntu 16.04.2 LTS and Ubuntu 17.10
open-iscsi versions: 2.0.873+
Issue: When writing data to an from Ubuntu to an iSCSI target hosted on Windows Server 2016, after a certain amount of data is written, the system will temporarily lock up. After the system unlocks, the writing process reports input/output errors, and the iSCSI drive is offlined, though erroneously remains mounted. This issue only happens with Windows Server 2016, and not 2012 R2 or older.
Below are the kernel logs detailed the faults that occur.
Oct 30 16:43:17 ubuntutest kernel: [ 511.488927] scsi host4: iSCSI Initiator over TCP/IP
Oct 30 16:43:17 ubuntutest kernel: [ 511.749528] scsi 4:0:0:0: Direct-Access MSFT Virtual HD 10.0 PQ: 0 ANSI: 5
Oct 30 16:43:17 ubuntutest kernel: [ 511.751907] sd 4:0:0:0: Attached scsi generic sg2 type 0
Oct 30 16:43:17 ubuntutest kernel: [ 511.753257] sd 4:0:0:0: [sdc] 209715200 512-byte logical blocks: (107 GB/100 GiB)
Oct 30 16:43:17 ubuntutest kernel: [ 511.753260] sd 4:0:0:0: [sdc] 4096-byte physical blocks
Oct 30 16:43:17 ubuntutest kernel: [ 511.754874] sd 4:0:0:0: [sdc] Write Protect is off
Oct 30 16:43:17 ubuntutest kernel: [ 511.754877] sd 4:0:0:0: [sdc] Mode Sense: 03 00 10 00
Oct 30 16:43:17 ubuntutest kernel: [ 511.755161] sd 4:0:0:0: [sdc] No Caching mode page found
Oct 30 16:43:17 ubuntutest kernel: [ 511.755176] sd 4:0:0:0: [sdc] Assuming drive cache: write through
Oct 30 16:43:17 ubuntutest kernel: [ 511.762845] sdc: sdc1 sdc2
Oct 30 16:43:17 ubuntutest kernel: [ 511.765822] sd 4:0:0:0: [sdc] Attached SCSI disk
Oct 30 16:43:17 ubuntutest ntfs-3g[17166]: Version 2015.3.14AR.1 integrated FUSE 28
Oct 30 16:43:17 ubuntutest ntfs-3g[17166]: Mounted /dev/sdc2 (Read-Write, label "New Volume", NTFS 3.1)
Oct 30 16:43:17 ubuntutest ntfs-3g[17166]: Cmdline options: rw
Oct 30 16:43:17 ubuntutest ntfs-3g[17166]: Mount options: rw,allow_
Oct 30 16:43:17 ubuntutest ntfs-3g[17166]: Ownership and permissions disabled, configuration type 7
Oct 30 16:43:18 ubuntutest iscsid: Connection1:0 to [target: iqn.1991-
Oct 30 16:43:50 ubuntutest ntfs-3g[17166]: ntfs_mst_
Oct 30 16:44:57 ubuntutest kernel: [ 611.756200] ------------[ cut here ]------------
Oct 30 16:44:57 ubuntutest kernel: [ 611.756207] WARNING: CPU: 2 PID: 1163 at /build/
Oct 30 16:44:57 ubuntutest kernel: [ 611.756208] Modules linked in: intel_rapl x86_pkg_
Oct 30 16:44:57 ubuntutest kernel: [ 611.756252] CPU: 2 PID: 1163 Comm: kworker/2:1H Not tainted 4.4.0-87-generic #110-Ubuntu
Oct 30 16:44:57 ubuntutest kernel: [ 611.756254] Hardware name: /NUC7i7BNB, BIOS BNKBL357.
Oct 30 16:44:57 ubuntutest kernel: [ 611.756257] Workqueue: kblockd blk_timeout_work
Oct 30 16:44:57 ubuntutest kernel: [ 611.756258] 0000000000000086 d85973362ff8b0a1 ffff880857f2bc50 ffffffff813f9903
Oct 30 16:44:57 ubuntutest kernel: [ 611.756260] 0000000000000000 ffffffff81cba920 ffff880857f2bc88 ffffffff81081332
Oct 30 16:44:57 ubuntutest kernel: [ 611.756262] 0000000000000200 ffff880856aadbe8 ffff88085739d000 ffff880856aa9420
Oct 30 16:44:57 ubuntutest kernel: [ 611.756263] Call Trace:
Oct 30 16:44:57 ubuntutest kernel: [ 611.756267] [<ffffffff813f9
Oct 30 16:44:57 ubuntutest kernel: [ 611.756269] [<ffffffff81081
Oct 30 16:44:57 ubuntutest kernel: [ 611.756271] [<ffffffff81081
Oct 30 16:44:57 ubuntutest kernel: [ 611.756273] [<ffffffff81085
Oct 30 16:44:57 ubuntutest kernel: [ 611.756275] [<ffffffff81841
Oct 30 16:44:57 ubuntutest kernel: [ 611.756279] [<ffffffffc01b6
Oct 30 16:44:57 ubuntutest kernel: [ 611.756282] [<ffffffffc01b9
Oct 30 16:44:57 ubuntutest kernel: [ 611.756285] [<ffffffffc01b9
Oct 30 16:44:57 ubuntutest kernel: [ 611.756287] [<ffffffff815c2
Oct 30 16:44:57 ubuntutest kernel: [ 611.756289] [<ffffffff813d2
Oct 30 16:44:57 ubuntutest kernel: [ 611.756290] [<ffffffff813d2
Oct 30 16:44:57 ubuntutest kernel: [ 611.756293] [<ffffffff8109a
Oct 30 16:44:57 ubuntutest kernel: [ 611.756295] [<ffffffff8109a
Oct 30 16:44:57 ubuntutest kernel: [ 611.756297] [<ffffffff8109a
Oct 30 16:44:57 ubuntutest kernel: [ 611.756298] [<ffffffff810a0
Oct 30 16:44:57 ubuntutest kernel: [ 611.756300] [<ffffffff810a0
Oct 30 16:44:57 ubuntutest kernel: [ 611.756302] [<ffffffff81842
Oct 30 16:44:57 ubuntutest kernel: [ 611.756304] [<ffffffff810a0
Oct 30 16:44:57 ubuntutest kernel: [ 611.756305] ---[ end trace e49e660a26e124c8 ]---
Oct 30 16:46:45 ubuntutest kernel: [ 720.110378] INFO: task kworker/u8:2:17150 blocked for more than 120 seconds.
Oct 30 16:46:45 ubuntutest kernel: [ 720.110396] Tainted: G W 4.4.0-87-generic #110-Ubuntu
Oct 30 16:46:45 ubuntutest kernel: [ 720.110409] "echo 0 > /proc/sys/
Oct 30 16:46:45 ubuntutest kernel: [ 720.110425] kworker/u8:2 D ffff88085742b628 0 17150 2 0x00000000
Oct 30 16:46:45 ubuntutest kernel: [ 720.110430] Workqueue: writeback wb_workfn (flush-8:32)
Oct 30 16:46:45 ubuntutest kernel: [ 720.110432] ffff88085742b628 ffff88085403b008 ffff88085475ad00 ffff880857eb0000
Oct 30 16:46:45 ubuntutest kernel: [ 720.110433] ffff88085742c000 ffff88087ed96dc0 7fffffffffffffff ffff88085403af50
Oct 30 16:46:45 ubuntutest kernel: [ 720.110434] ffff88085403aef8 ffff88085742b640 ffffffff8183dda5 0000000000000000
Oct 30 16:46:45 ubuntutest kernel: [ 720.110435] Call Trace:
Oct 30 16:46:45 ubuntutest kernel: [ 720.110438] [<ffffffff8183d
Oct 30 16:46:45 ubuntutest kernel: [ 720.110440] [<ffffffff81840
Oct 30 16:46:45 ubuntutest kernel: [ 720.110443] [<ffffffff813c5
Oct 30 16:46:45 ubuntutest kernel: [ 720.110444] [<ffffffff8183d
Oct 30 16:46:45 ubuntutest kernel: [ 720.110445] [<ffffffff813c8
Oct 30 16:46:45 ubuntutest kernel: [ 720.110447] [<ffffffff810c4
Oct 30 16:46:45 ubuntutest kernel: [ 720.110449] [<ffffffff813cb
Oct 30 16:46:45 ubuntutest kernel: [ 720.110450] [<ffffffff813c9
Oct 30 16:46:45 ubuntutest kernel: [ 720.110450] [<ffffffff813c9
Oct 30 16:46:45 ubuntutest kernel: [ 720.110453] [<ffffffff81247
Oct 30 16:46:45 ubuntutest kernel: [ 720.110454] [<ffffffff81249
Oct 30 16:46:45 ubuntutest kernel: [ 720.110455] [<ffffffff8124a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110456] [<ffffffff8124a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110457] [<ffffffff8124a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110459] [<ffffffff8124a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110461] [<ffffffff8119a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110462] [<ffffffff8119b
Oct 30 16:46:45 ubuntutest kernel: [ 720.110463] [<ffffffff8119a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110464] [<ffffffff8119b
Oct 30 16:46:45 ubuntutest kernel: [ 720.110466] [<ffffffff8119a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110467] [<ffffffff8119d
Oct 30 16:46:45 ubuntutest kernel: [ 720.110468] [<ffffffff8123e
Oct 30 16:46:45 ubuntutest kernel: [ 720.110469] [<ffffffff8123e
Oct 30 16:46:45 ubuntutest kernel: [ 720.110471] [<ffffffff8123e
Oct 30 16:46:45 ubuntutest kernel: [ 720.110472] [<ffffffff8123f
Oct 30 16:46:45 ubuntutest kernel: [ 720.110473] [<ffffffff8123f
Oct 30 16:46:45 ubuntutest kernel: [ 720.110489] [<ffffffff8109a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110490] [<ffffffff8109a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110491] [<ffffffff8109a
Oct 30 16:46:45 ubuntutest kernel: [ 720.110499] [<ffffffff810a0
Oct 30 16:46:45 ubuntutest kernel: [ 720.110500] [<ffffffff810a0
Oct 30 16:46:45 ubuntutest kernel: [ 720.110504] [<ffffffff81842
Oct 30 16:46:45 ubuntutest kernel: [ 720.110505] [<ffffffff810a0
Oct 30 16:47:31 ubuntutest kernel: [ 765.782617] sd 4:0:0:0: Device offlined - not ready after error recovery
Oct 30 16:47:31 ubuntutest kernel: [ 765.782619] sd 4:0:0:0: Device offlined - not ready after error recovery
Oct 30 16:47:31 ubuntutest kernel: [ 765.782620] sd 4:0:0:0: Device offlined - not ready after error recovery
Oct 30 16:47:31 ubuntutest kernel: [ 765.782621] sd 4:0:0:0: Device offlined - not ready after error recovery
Oct 30 16:47:31 ubuntutest kernel: [ 765.782622] sd 4:0:0:0: Device offlined - not ready after error recovery
Oct 30 16:47:31 ubuntutest kernel: [ 765.782664] sd 4:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.782665] sd 4:0:0:0: [sdc] tag#0 CDB: Write(10) 2a 00 01 f3 8f c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.782666] blk_update_request: I/O error, dev sdc, sector 32739264
Oct 30 16:47:31 ubuntutest kernel: [ 765.782683] Buffer I/O error on dev sdc2, logical block 4059384, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782702] Buffer I/O error on dev sdc2, logical block 4059385, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782718] Buffer I/O error on dev sdc2, logical block 4059386, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782734] Buffer I/O error on dev sdc2, logical block 4059387, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782749] Buffer I/O error on dev sdc2, logical block 4059388, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782765] Buffer I/O error on dev sdc2, logical block 4059389, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782782] Buffer I/O error on dev sdc2, logical block 4059390, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782797] Buffer I/O error on dev sdc2, logical block 4059391, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782814] Buffer I/O error on dev sdc2, logical block 4059392, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782830] Buffer I/O error on dev sdc2, logical block 4059393, lost async page write
Oct 30 16:47:31 ubuntutest kernel: [ 765.782984] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.782996] sd 4:0:0:0: [sdc] killing request
Oct 30 16:47:31 ubuntutest kernel: [ 765.782998] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.783087] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.783169] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.807952] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.808188] sd 4:0:0:0: [sdc] FAILED Result: hostbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.808192] sd 4:0:0:0: [sdc] CDB: Write(10) 2a 00 01 f4 cf c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.808195] blk_update_request: I/O error, dev sdc, sector 32821184
Oct 30 16:47:31 ubuntutest kernel: [ 765.808467] sd 4:0:0:0: [sdc] tag#1 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.808469] sd 4:0:0:0: [sdc] tag#1 CDB: Write(10) 2a 00 01 f3 99 c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.808470] blk_update_request: I/O error, dev sdc, sector 32741824
Oct 30 16:47:31 ubuntutest kernel: [ 765.808749] sd 4:0:0:0: [sdc] tag#2 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.808751] sd 4:0:0:0: [sdc] tag#2 CDB: Write(10) 2a 00 01 f3 a3 c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.808752] blk_update_request: I/O error, dev sdc, sector 32744384
Oct 30 16:47:31 ubuntutest kernel: [ 765.809020] sd 4:0:0:0: [sdc] tag#3 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.809022] sd 4:0:0:0: [sdc] tag#3 CDB: Write(10) 2a 00 01 f3 ad c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.809023] blk_update_request: I/O error, dev sdc, sector 32746944
Oct 30 16:47:31 ubuntutest kernel: [ 765.809293] sd 4:0:0:0: [sdc] tag#4 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.809294] sd 4:0:0:0: [sdc] tag#4 CDB: Write(10) 2a 00 01 f3 b7 c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.809295] blk_update_request: I/O error, dev sdc, sector 32749504
Oct 30 16:47:31 ubuntutest kernel: [ 765.809565] sd 4:0:0:0: [sdc] tag#5 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.809566] sd 4:0:0:0: [sdc] tag#5 CDB: Write(10) 2a 00 01 f3 c1 c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.809567] blk_update_request: I/O error, dev sdc, sector 32752064
Oct 30 16:47:31 ubuntutest kernel: [ 765.809841] sd 4:0:0:0: [sdc] tag#6 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.809843] sd 4:0:0:0: [sdc] tag#6 CDB: Write(10) 2a 00 01 f3 cb c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.809844] blk_update_request: I/O error, dev sdc, sector 32754624
Oct 30 16:47:31 ubuntutest kernel: [ 765.810115] sd 4:0:0:0: [sdc] tag#7 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.810116] sd 4:0:0:0: [sdc] tag#7 CDB: Write(10) 2a 00 01 f3 d5 c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.810117] blk_update_request: I/O error, dev sdc, sector 32757184
Oct 30 16:47:31 ubuntutest kernel: [ 765.810397] sd 4:0:0:0: [sdc] tag#8 FAILED Result: hostbyte=DID_ABORT driverbyte=
Oct 30 16:47:31 ubuntutest kernel: [ 765.810398] sd 4:0:0:0: [sdc] tag#8 CDB: Write(10) 2a 00 01 f3 df c0 00 0a 00 00
Oct 30 16:47:31 ubuntutest kernel: [ 765.810399] blk_update_request: I/O error, dev sdc, sector 32759744
Oct 30 16:47:31 ubuntutest kernel: [ 765.810777] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.811018] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.811247] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.811467] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.811668] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.811868] sd 4:0:0:0: rejecting I/O to offline device
Oct 30 16:47:31 ubuntutest kernel: [ 765.812070] sd 4:0:0:0: rejecting I/O to offline device
Status changed to 'Confirmed' because the bug affects multiple users.