kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

tcp confirm_ack failure #677

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make confload-x86/nonvga_debug and run auto_qemu
2. root@embox:/#mkdir /nfs
3. root@embox:/#mount -t nfs 10.0.2.10:/home/alexander/nfs_share /nfs

What is the expected output? What do you see instead?

root@embox:/#touch /nfs/f1.txt
10.0.2.10: RPC: Can't decode result
nfs create failed. errno=0
touch: Command returned with code -1: Unknown error code. PLEASE REPORT ISSUE 
519!

Please use labels and text to provide additional information.

Original issue reported on code.google.com by alexkalmuk@gmail.com on 30 Jan 2014 at 9:43

GoogleCodeExporter commented 9 years ago
When I restart qemu and try 
2. root@embox:/#mkdir /nfs
3. root@embox:/#mount -t nfs 10.0.2.10:/home/alexander/nfs_share /nfs

I got

 ASSERTION FAILED on CPU 0
    at src/net/l4/tcp.c:864
    in function confirm_ack

sent_skb != NULL

 --   01000000 * A R    thread 0  task 0 --------------------------------------

 18 0x001bfd4a <__assertion_handle_failure+0xd2> ...lib/libc/assert/assert.c:43
 17 0x00152998 <confirm_ack+0x78>                          src/net/l4/tcp.c:853
 16 0x00152aea <process_ack+0xcb>                          src/net/l4/tcp.c:879
 15 0x00152ecb <pre_process+0x1a7>                        src/net/l4/tcp.c:1016
 14 0x00153039 <tcp_handle+0xe6>                          src/net/l4/tcp.c:1135
 13 0x001531c2 <tcp_process+0x3a>                         src/net/l4/tcp.c:1209
 12 0x001535fe <tcp_rcv+0x1bc>                            src/net/l4/tcp.c:1263

Original comment by alexkalmuk@gmail.com on 30 Jan 2014 at 9:44

GoogleCodeExporter commented 9 years ago
touch fixed by adding anonuid option in 
10.0.2.0/24(rw,all_squash,async,insecure,anonuid=1000,anongid=1000)

Original comment by alexkalmuk@gmail.com on 30 Jan 2014 at 10:24

GoogleCodeExporter commented 9 years ago
not reproduced :(
what the revision do you use?

Original comment by ki.stfu on 30 Jan 2014 at 4:09

GoogleCodeExporter commented 9 years ago
Revision r12528

root@embox:/#mkdir /nfs
root@embox:/#mount -t nfs 10.0.2.10:/home/alexander/nfs_share /nfs
root@embox:/#umount /nfs

Then restart qemu without restarting nfs-kernel-server:

root@embox:/#mkdir /nfs
root@embox:/#mount -t nfs 10.0.2.10:/home/alexander/nfs_share /nfs

And I've got assertion failed...

Original comment by alexkalmuk@gmail.com on 30 Jan 2014 at 4:28

GoogleCodeExporter commented 9 years ago
it's not reproduced for me:(. may be my machine is very slow.

Original comment by ki.stfu on 31 Jan 2014 at 12:53

GoogleCodeExporter commented 9 years ago
On my work machine I also get the same error:

root@embox:/#mount -t nfs 10.0.2.10:/home/hak1r/d /tmp
10.0.2.10: RPC: Remote system error - Connection timed out
tish: mount: Command returned with code -1: Unknown error code. PLEASE REPORT 
ISSUE 519!

Original comment by ki.stfu on 3 Feb 2014 at 9:21

GoogleCodeExporter commented 9 years ago
seems that i fix that in r12754

Original comment by ki.stfu on 22 Feb 2014 at 4:11

GoogleCodeExporter commented 9 years ago

Original comment by ki.stfu on 22 Feb 2014 at 4:12