You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run rcons against a compute node, and then, press Ctrl-E C ?. After that, run tftp client, tftp. The tftp client will print out command line prompt repeatedly and endlessly.
The xCAT management node runs Ubuntu 18.04.2 on a ppc64el node. It has xCAT 2.15-snap201905170621 installed. The xCAT compute node f6u13k15 is a regular KVM guest.
I tried to get the tty state with stty -a before and after I run rcons. But the two of outputs looked exactly same.
root@f6u13k13:~# stty -a >stty.out.good
root@f6u13k13:~# rcons f6u13k15
[Enter `^Ec?' for help]
goconserver(2019-05-21T04:31:18-04:00): Hello 10.6.13.13:33358, welcome to the session of f6u13k15
[Disconnected]
root@f6u13k13:~# stty -a >stty.out.1
I tried to run strace tftp when the tty is in the broken state. It seems the read() system calls of tftp client process failed continuously and the errno was set to EAGAIN.
root@f6u13k13:~# rcons f6u13k14
[Enter `^Ec?' for help]
goconserver(2019-05-21T04:59:08-04:00): Hello 10.6.13.13:38404, welcome to the session of f6u13k14
Could not receive message, error: EOF.
[Enter `^Ec.' to exit]
Session is teminated unexpectedly, retrying....
[Disconnected]
root@f6u13k13:~# cat
cat: -: Resource temporarily unavailable
flags
This is an octal number that displays the file access mode and file status flags (see open(2)). If the close-on-exec file descriptor flag is set, then flags will also include the value O_CLOEXEC.
Before Linux 3.1, this field incorrectly displayed the setting of O_CLOEXEC at the time the file was opened, rather than the current setting of the close-on-exec flag.
@chenglch, Do you have any idea about this issue? :-/
The text was updated successfully, but these errors were encountered:
neo954
changed the title
rcons makes stdin, stdout, and stderr O_NONBLOCK | FASYNCrcons makes stdin, stdout, and stderr O_ASYNC | O_NONBLOCK
May 22, 2019
@neo954 commented on Tue May 21 2019
Here is the bug recreation steps.
Run
rcons
against a compute node, and then, pressCtrl-E C ?
. After that, run tftp client,tftp
. The tftp client will print out command line prompt repeatedly and endlessly.Additional information
The xCAT management node runs Ubuntu 18.04.2 on a ppc64el node. It has xCAT
2.15-snap201905170621
installed. The xCAT compute nodef6u13k15
is a regular KVM guest.@neo954 commented on Tue May 21 2019
I tried to get the tty state with
stty -a
before and after I runrcons
. But the two of outputs looked exactly same.@neo954 commented on Tue May 21 2019
I tried to run
strace tftp
when the tty is in the broken state. It seems theread()
system calls of tftp client process failed continuously and theerrno
was set toEAGAIN
.@neo954 commented on Tue May 21 2019
Enclosed please find the
strace
outputs.strace.tftp.out.good.txt
strace.tftp.out.problem.txt
@neo954 commented on Tue May 21 2019
This problem can be recreated with
cat
.@neo954 commented on Tue May 21 2019
@neo954 commented on Tue May 21 2019
Okay, here is the problem.
@neo954 commented on Tue May 21 2019
It seems the problem affected all three file descriptors 0, 1, and 2.
@neo954 commented on Tue May 21 2019
See http://man7.org/linux/man-pages/man5/proc.5.html for details of the
fdinfo
subdirectory.@neo954 commented on Tue May 21 2019
In file
/usr/src/linux-headers-4.15.0-47/include/uapi/asm-generic/fcntl.h
@neo954 commented on Tue May 21 2019
@neo954 commented on Tue May 21 2019
This is what happened on a RHEL 8 testing environment.
@neo954 commented on Tue May 21 2019
In the latest
goconserver
source,v0.3.2
.@neo954 commented on Wed May 22 2019
@chenglch, Do you have any idea about this issue? :-/
The text was updated successfully, but these errors were encountered: