You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/04 06:40:22 UTC
[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #2899: Unify socket into file system to avoid the code duplication
masayuki2009 commented on pull request #2899:
URL: https://github.com/apache/incubator-nuttx/pull/2899#issuecomment-790352688
@Donny9 @xiaoxiang781216
Hmmm, it seems that the telnetd does not work after this change.
You can try lm3s6965-ek:discover with qemu.
```
nsh> renew eth0
nsh> ps
PID PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND
0 0 FIFO Kthread N-- Ready 00000000 001024 001024 100.0%! Idle Task
1 224 RR Kthread --- Waiting Signal 00000000 002036 000236 11.5% hpwork
2 60 RR Kthread --- Waiting Signal 00000000 002036 000380 18.6% lpwork
3 100 RR Task --- Running 00000000 002036 001000 49.1% init
4 100 RR Task --- Waiting Semaphore 00000000 002012 000420 20.8% Telnet daemon 0x20006050
nsh> ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:de:ad:be:ef at UP
inet addr:10.0.2.15 DRaddr:10.0.2.2 Mask:255.255.255.0
IPv4 TCP UDP ICMP
Received 0002 0000 0002 0000
Dropped 0000 0000 0000 0000
IPv4 VHL: 0000 Frg: 0000
Checksum 0000 0000 0000 ----
TCP ACK: 0000 SYN: 0000
RST: 0000 0000
Type 0000 ---- ---- 0000
Sent 0002 0000 0002 0000
Rexmit ---- 0000 ---- ----
nsh> qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1)
R00=00000000 R01=00000000 R02=40025000 R03=00000004
R04=00000000 R05=00000003 R06=ffffff6c R07=2000724c
R08=20006178 R09=00000064 R10=00000400 R11=00000001
R12=00000074 R13=ffffff50 R14=00000c7f R15=00000000
XPSR=00000003 ---- A handler
FPSCR: 00000000
Aborted (core dumped)
$ telnet localhost 10023
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org