From: Alexei S. <ale...@gm...> - 2016-08-19 13:21:10
|
Thanks for all your work getting to the bottom of this! Woot! On Thu, Aug 18, 2016 at 12:47 PM, Ricky Zhang <zha...@gm...> wrote: > I wrote a Python script to convert communication packet between Guest OS > and sheep_net into hex dump for wireshark. > > I found two bugs in sheep_net module. I have fixed it. Another Basilisk II > user in France also confirmed that my fix works for his Linux host in PPC. > > I will send a pull request later. > > On Thu, Aug 11, 2016 at 7:26 PM, Ricky <zha...@gm...> wrote: > >> I'm interested in making it sheep_net and TCP/IP ethernet works again on >> Mac 7.5 under Linux host. But I found that TCP is not quite working. Here >> is my settings: >> >> - Fedora 24, 4.5.7-300.fc24.x86_64 >> - Mac 7.6 with TCP/IP stack >> - sheep_net modules (I fixed new sk_alloc function call after 4.2 >> kernel. I haven't sent pull request yet since it doesn't work anyway) >> >> I debugged it by capturing ethernet packet between Basilisk II(B) and >> remote host (R). I found that during TCP 3 way handshakes, >> 1. B->R (SYN) >> 2. B<-R (SYN+ACK) >> 3. no more response from B and B keeps on retransmit step 1 again and >> again. >> >> It seems like packet in step 2 didn't get received by Mac. I enabled >> debug in BasiliskII/src/Unix/ether_unix.cpp and did find that the exact >> packet in step 2 was received from /dev/sheep_net by B. But it seems that >> Mac didn't get it. >> >> I have zero experiences in debugging 68K emulation part. I wonder: >> >> - if anyone can suggest me an easy way to debug networking inside Mac >> 7.5, ie after interrupt finish >> - the last settings that your sheep_net modules works >> >> I patched sheep_net for 3.15 kernel before. I remembers I could ftp and >> ping from the same Mac 7.5 image. But I can't http. >> TIA >> > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel > > |