09 February 2017, 22:23 | #21 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
This perhaps:
imacen:wine-2.1 bobben$ grep -r DONTFRAGMENT . ./dlls/ws2_32/socket.c: DEBUG_SOCKOPT(WS_IP_DONTFRAGMENT); ./dlls/ws2_32/socket.c: FIXME("IP_DONTFRAGMENT for IPv4 not supported in this platform\n"); ./dlls/ws2_32/socket.c: FIXME("IP_DONTFRAGMENT for IPv6 not supported in this platform\n"); ./dlls/ws2_32/socket.c: FIXME("IP_DONTFRAGMENT for IPv4 not supported in this platform\n"); ./dlls/ws2_32/socket.c: FIXME("IP_DONTFRAGMENT for IPv6 not supported in this platform\n"); ./dlls/ws2_32/socket.c: case WS_IP_DONTFRAGMENT: ./dlls/ws2_32/socket.c: case WS_IP_DONTFRAGMENT: ./dlls/ws2_32/socket.c: /* ensure IP_DONTFRAGMENT is disabled, in Linux the global default can be enabled */ ./dlls/ws2_32/tests/sock.c: err = getsockopt(s, level, IP_DONTFRAGMENT, (char *) &value, &size); ./dlls/ws2_32/tests/sock.c: err = setsockopt(s, level, IP_DONTFRAGMENT, (char *) &value, size); ./dlls/ws2_32/tests/sock.c: err = getsockopt(s, level, IP_DONTFRAGMENT, (char *) &value, &size); ./dlls/ws2_32/tests/sock.c: err = setsockopt(s, level, IP_DONTFRAGMENT, (char *) &value, size); ./dlls/ws2_32/tests/sock.c: err = getsockopt(s, level, IP_DONTFRAGMENT, (char *) &value, &size); ./dlls/wsock32/socket.c: case 9: return 14; /* IP_DONTFRAGMENT */ ./include/winsock.h:# define IP_DONTFRAGMENT 9 ./include/winsock.h:# define WS_IP_DONTFRAGMENT 9 ./include/ws2ipdef.h:#define IP_DONTFRAGMENT 14 ./include/ws2ipdef.h:#define WS_IP_DONTFRAGMENT 14 |
09 February 2017, 22:26 | #22 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
Ok, so that FIXME() macro includes the function name. Anyway, this confirms it is feature that is not (yet) supported.
|
09 February 2017, 22:29 | #23 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
And slirp needs the fragment stuff?
But how did Amikit dude manage to get it to work, did he run it under Linux or what? |
09 February 2017, 22:45 | #24 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
Networking stuff can be weird?
|
09 February 2017, 22:47 | #25 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
No shit
|
09 February 2017, 22:56 | #26 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
Hmm... (Partial) IP_DONTFRAGMENT was implemented very recently (December 2016). Perhaps it has nothing to do with this problem after all..
It may also explain missing macos support, no one has not yet reported (and noticed) that IP_DONTFRAG (or IP_MTU_DISCOVER and friends) are not defined in some platform specific file or something. |
09 February 2017, 23:00 | #27 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Ok, well I might give it a go and submit a bug report to them then :-)
|
10 February 2017, 00:02 | #28 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Bug reported, let's see what they have to say:
https://bugs.winehq.org/show_bug.cgi?id=42412 Check out comment nr 10, might that be something? Last edited by PBobbenB; 10 February 2017 at 01:23. |
10 February 2017, 08:44 | #29 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
WinUAE knows nothing about connections, it only sees ethernet frames.
It is just a "dummy pipe", ethernet frames from emulated NIC hardware go to slirp, frames that slirp returns go back to emulated NIC. btw, bug report probably should mention that it seems to be MacOS specific, at least Linux works fine. |
12 February 2017, 14:36 | #30 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Have now tested in Linux as well, and for me it doesn't work there either.
Tested with Ubuntu Linux 14.04 64-bit on a PC and Wine/Wine64 (2.1) and WinUAE/WinUAE64 (3.4.0) but still corruption. |
13 February 2017, 21:27 | #31 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
I found the reason Amikit guy got the network working, he uses the qemu dll from FS-uae!
So the qemu dll is involved after all. |
13 February 2017, 21:31 | #32 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
WinUAE never uses QEMU slirp, it always uses built-in version.
|
13 February 2017, 21:45 | #33 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Then why does it work with FS-uae dll?
|
13 February 2017, 22:00 | #34 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
|
13 February 2017, 23:01 | #35 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Yes, of course they are different version, but something in the code obviously is different that makes it work in fs-uae version but not winuae version.
|
13 February 2017, 23:20 | #36 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Hmm, I spoke too soon, tried with the latest fs-uae version dll and no, still corruption, what the holy h*ll is going on??
|
14 February 2017, 12:30 | #37 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
Quote:
Quote:
Unfortunately anything after NIC emulation (=OS4 driver and tcp stack) is practically a black box |
||
14 February 2017, 15:15 | #38 | |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Quote:
But currently is doesn't seem like that is the problem fix either. |
|
19 February 2017, 01:20 | #39 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Made some more capturing of netlogs, but I don't know if it's of any use, but I thought I give it a try anyway.
The first log "Netlogs from Windows" is WinUAE 3.4 in Windows XP under Parallels Desktop, where I have wiresharked (in windows) and tcpdumped (in AmigaOS) while downloading a ~500Kb file from local fileserver over FTP. This is with RTL8029 and default mtu 1500, with matching file size and md5. Second is "Netlogs from Wine 1488" which is Wine 2.0 and WinUAE 3.4 (FlowerPot for Mac) with wireshark capture (in Mac) and tcpdump (inside AmigaOS). Same file from local fileserver over ftp and same RTL8029 but with mtu 1488. Matching file size and md5. And the third is the same setup/procedure as the second one but with mtu 1500 and this time matching file size but wrong md5. |
19 February 2017, 16:26 | #40 |
Registered User
Join Date: Feb 2017
Location: Sweden
Age: 45
Posts: 51
|
Made some more logs from Linux and it seems to be working after all, not sure how I missed that in all the excitement...
First log "1488" is from Ubuntu 16.04, Wine 2.1 and WinUAE 3.4, where I have wiresharked (in Linux) and tcpdumped (in AmigaOS) downloading a 500kb file from local file server over FTP. With RTL8029 and MTU 1488, matching file size but wrong md5 sum. Second, same procedure/setup as first except MTU 1500 and now the md5 matches. Also tried with A2065 with 1500mtu and switched back to WinUAE PPC plugin (from fs-uae PPC plugin) and md5 matches. So it works in Linux after all, clumsy me! Maybe the image corruption in IBrowse threw me off, which didn't improve despite reloading, only emptying the cache solved that. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE under Wine | gilgamesh | support.WinUAE | 14 | 12 June 2011 15:45 |
WinUAE in Wine under OS X? | pentad | support.WinUAE | 6 | 29 March 2010 20:45 |
wine and winuae | hit | support.WinUAE | 7 | 14 March 2009 13:01 |
WinUAE + Wine | Duke | support.WinUAE | 22 | 15 February 2008 00:43 |
|
|