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 2022/02/10 23:39:06 UTC
[GitHub] [incubator-nuttx] masayuki2009 edited a comment on pull request #5434: net/tcp/udp: remove psock hook to avoid invalid reference
masayuki2009 edited a comment on pull request #5434:
URL: https://github.com/apache/incubator-nuttx/pull/5434#issuecomment-1035600651
@anchao
Hmm, my automatic test failed now with this PR.
I can not telnet to lm3s6965-ek:discover with QEMU.
```
$ ~/opensource/QEMU/qemu-5.2/build/arm-softmmu/qemu-system-arm -net nic,model=stellaris -net user,hostfwd=tcp:127.0.0.1:20023-10.0.2.15:23,hostfwd=tcp:127.0.0.1:20021-10.0.2.15:21,hostfwd=tcp:127.0.0.1:25001-10.0.2.15:5001 -M lm3s6965evb -kernel nuttx -nographic
NuttShell (NSH) NuttX-10.2.0
nsh> uname -a
NuttX 10.2.0 eac13a113d Feb 11 2022 08:35:34 arm lm3s6965-ek
nsh> ps
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND
0 0 0 FIFO Kthread N-- Ready 00000000 001000 000392 39.2% Idle Task
1 1 224 RR Kthread --- Waiting Semaphore 00000000 002016 000200 9.9% hpwork 0x200005f0
2 2 60 RR Kthread --- Waiting Semaphore 00000000 002016 000200 9.9% lpwork 0x200005fc
3 3 100 RR Task --- Running 00000000 002024 001024 50.5% nsh_main
4 4 100 RR Task --- Waiting Semaphore 00000000 002008 000432 21.5% Telnet daemon 0x200064c0
nsh> free
total used free largest nused nfree
Umem: 50496 15216 35280 35280 53 1
nsh> ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:de:ad:be:ef at UP
inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0
IPv4 TCP UDP ICMP
Received 0000 0000 0000 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 0000 0000 0000 0000
Rexmit ---- 0000 ---- ----
nsh> renew eth0
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>
$ telnet localhost 20023
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org