Closed nak3 closed 7 years ago
$ sudo ./bin/torusblk aoe test lo 1 2
up
# aoe-stat e1.2 1.073GB lo 65024 up
NOTE: it sometimes(random) output kcime.
kcime
# aoe-stat e1.2 1.073GB lo 65024 up,kickme
# mkfs.ext4 /dev/etherd/e1.2 mke2fs 1.42.13 (17-May-2015) ^C^C
a) If I tested AoE with vblade, it could work, so it is not an environmental issue.
vblade
b) debug output:
--debug
clog.Debugf("recv arg %+v", f.Header.Arg)
clog.Debugf("send arg %+v", hdr.Arg)
-> header args has ErrFeature:4. (=ATAErrAbort in upstream)
ErrFeature:4
ATAErrAbort
2016-11-06 14:19:35.393501 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 125 14 20] Arg:0xc4202a4ed0} 2016-11-06 14:19:35.393552 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]} 2016-11-06 14:19:35.393646 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 124 14 4] Arg:0xc4202a4fc0} 2016-11-06 14:19:35.393724 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} 2016-11-06 14:19:35.393826 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 124 14 4] Arg:0xc4202a5020} 2016-11-06 14:19:35.393876 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]} 2016-11-06 14:19:35.396015 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 123 13 246] Arg:0xc4202a5110} 2016-11-06 14:19:35.396357 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} 2016-11-06 14:19:35.396819 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 123 13 246] Arg:0xc4202a5170} 2016-11-06 14:19:35.396962 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]} 2016-11-06 14:19:35.397303 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 122 13 234] Arg:0xc4202a5470} 2016-11-06 14:19:35.397453 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} 2016-11-06 14:19:35.397884 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 122 13 234] Arg:0xc4202a5590} 2016-11-06 14:19:35.398038 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]} 2016-11-06 14:19:35.398362 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 121 13 217] Arg:0xc4202a5650} 2016-11-06 14:19:35.398510 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}
version
description
steps to reproduce
1. attach volume over AoE
2. confirm the device is
up
.NOTE: it sometimes(random) output
kcime
.3. run mkfs.ext4 and it hang
additional info
a) If I tested AoE with
vblade
, it could work, so it is not an environmental issue.b) debug output:
--debug
and addclog.Debugf("recv arg %+v", f.Header.Arg)
andclog.Debugf("send arg %+v", hdr.Arg)
-> header args has
ErrFeature:4
. (=ATAErrAbort
in upstream)