[SPDK] Re: ioat: "could not start channel" after abnormal exit

Luse, Paul E <paul.e.luse at intel.com>
Newsgroups dev.linux.lists.spdk
Message-ID <[email protected]>
Hi Jiahao,

I don't know off the top of my head but I can try and repro with one of the SPDK tools and see what I can see.  In the meantime you can try "/scripts/setup.sh reset" followed by setup.sh again to see if that gives you a temp workaround

Thx
Paul 

On 7/14/20, 7:49 PM, "lijh2015(a)mail.ustc.edu.cn" <lijh2015(a)mail.ustc.edu.cn> wrote:

    Hi SPDK team,

    I'm using SPDK (v20-01-pre) to evaluate I/OAT performance. There are some bugs in my benchmark program, 
    but after I use ctrl+c to quit my program and restart it again, some error messages appeared:

    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0
    ioat.c: 547:ioat_enum_cb: *ERROR*: ioat_attach() failed
    EAL: Requested device 0000:00:04.0 cannot be used
    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0
    ioat.c: 547:ioat_enum_cb: *ERROR*: ioat_attach() failed
    EAL: Requested device 0000:00:04.1 cannot be used
    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0
    ioat.c: 547:ioat_enum_cb: *ERROR*: ioat_attach() failed
    EAL: Requested device 0000:00:04.2 cannot be used
    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0
    ioat.c: 547:ioat_enum_cb: *ERROR*: ioat_attach() failed
    EAL: Requested device 0000:00:04.3 cannot be used
    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0
    ioat.c: 547:ioat_enum_cb: *ERROR*: ioat_attach() failed
    EAL: Requested device 0000:40:04.0 cannot be used
    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0
    ioat.c: 547:ioat_enum_cb: *ERROR*: ioat_attach() failed
    EAL: Requested device 0000:40:04.1 cannot be used
    ioat.c: 480:ioat_channel_start: *ERROR*: could not start channel: status = 0x3
     error = 0

    I checked the code in lib/ioat/ioat.c, it seems is_ioat_idle always returns negative results.
    What should I do to deal with this problem without rebooting my server? Or, at least,
    how to prevent it?

    Thanks,
    Jiahao Li
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.