![]() |
![]() |
#21 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
WinPcap is installed (not necessarily 100% working) because at least some packets arrive.
|
![]() |
![]() |
#22 |
Longplayer
|
I dont know if the oddaty i noticed is same thing but here goes .. If i use tcp by amiga, I make use of uaenet.device. Ive noticed recently and im sure it hasnt always been like this as ive setup feature since it was first implmented - that recieving is real slow borderline anciant modem speed.
problem is i dont know if its amitcp fault or winuae or winpcap or windows thats the issue ! quite possable that a windows update broke it all. I do like to make use of this feature to quickly (well used to be) transfer files between Real Amiga and Winuae via NetFS. |
![]() |
![]() |
#23 | |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Quote:
![]() |
|
![]() |
![]() |
#24 | ||
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Quote:
If anyone else is reading this, and has the time to help out, would you mind downloading the compressed hard disk image and seeing if you can reproduce the issue also? The install instructions are here: ftp://ftp.netbsd.org/pub/NetBSD/NetB...kernel%20boots Hard disk image is here: http://ahhyes.net/ambsd.rar Toni, I am forced to use FTP to install the distribution sets because I have no way to make netbsd see a CD-ROM drive or fake CD-ROM drive with an ISO image, otherwise I'd be installing the distribution sets that way, the install notes state: Quote:
|
||
![]() |
![]() |
#25 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
![]()
Yeah, it did work (minus some checksum errors when unpacking)
Quote:
![]() (I did the same mistake when I mistook 1500 for full ethernet mtu..) |
|
![]() |
![]() |
#26 |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
|
![]() |
![]() |
#27 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Checksum error stuff is not important now
![]() Do you have FTP server and WinUAE running on same physical PC? (even if you use two NICs) This can cause issues if NIC have hardware checksum offloading capabilities. (IPv4 Checksum OffLoad or Large Send Offload) FTP server sends something, OS TCP/IP stack creates IPv4 packet without setting checksum field because it expects NIC to fix it (TCP/IP checksum offloading) but because winpcap gets the data before it reaches the physical NIC, WinUAE gets IPv4 packet with incorrect checksum, emulated OS drops it.. |
![]() |
![]() |
#28 | |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Quote:
I do have WinUAE setup within VirtualBox on linux, so there is a Virtual Ethernet that Windows is using provided by VirtualBox and also the physical NIC on the machine. To rule this arrangement out as being an issue, I did test by rebooting natively into windows and running WinUAE, I still had the same issue. |
|
![]() |
![]() |
#29 |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Did some reading up on this network interface:
http://netbsd.gw.com/cgi-bin/man-cgi?le++NetBSD-5.0 Nothing on what the "timeout" message means in the diagnostics... |
![]() |
![]() |
#30 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Timeout is probably non-driver specific kernel check.
Most likely would be transmit done interrupt not arriving. I'll check the sources but it may not help much if it is generic "shouldn't happen, buggy driver or hardware" debug message. |
![]() |
![]() |
#31 |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
whatever change you made in the beta (test) version you got me to download, you are on the right track. With the current public download, if i try to send a file via ftp, it hangs after 64KB. The beta version you gave me allows the file to send (slowly, with timeouts, but it at least finishes)
|
![]() |
![]() |
#32 |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Out of desperation, I created a new IDe hard disk in winuae, formatted it in workbench, copied all the distfiles from the netbsd cd over. netbsd is able to mount the amiga filesystem. I seem to have no luck as it reports that numerous archives are damaged. I have checked the md5sums of my files on the ftp server and they are correct, archives also check out ok.
as a test, i verified the etc.tgz file on my ftp server. downloaded it via ftp in netbsd (took nearly 5 mins to get a 380KB file!), archive is corrupt when i try a "tar tzf" to list the contents. I ftp'd the file back to the server and ran md5sum on it, the md5sum had changed.. I am totally stumped. There must be some memory corruption or something totally bizarre going on. The problem could very well be netbsd itself and not WinUAE, or it could be a combination of bugs on both sides. I am really stumped. Need more people to test and see what they can come up with. From what I can tell, ftp in both directions (with the beta version) is working, but *extremely* slowly. probably caused by the timeouts and device resetting itself after every few KB it transfers. I suspect there is also some data corruption going on with this issue at the same time, making it impossible to install the distribution sets over ftp or via a mounted amigados partition. if netbsd has been confirmed as working, I'd really like to speak to whoever it was that got it working, I'm certainly not having as much luck as they did ![]() |
![]() |
![]() |
#33 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
I can't find anything wrong with A2065 emulation (anymore), perhaps problem is somewhere else (lost interrupts?), also random screen jitter probably shouldn't happen..
Perhaps 4.x NetBSD works better? (It was used for MMU compatibility testing) |
![]() |
![]() |
#34 | |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Quote:
I'd really hoped NetBSD 5 would work. Perhaps I should wake up the netbsd devs and challenge them to get NetBSD 5 to work on WinUAE and see what they come up with. I cant imagine that the amiga port of netbsd gets a lot of testing.. edit: I've subscribed to their mailing list. wish me luck :P Last edited by ahhyes; 07 October 2010 at 23:35. Reason: yep |
|
![]() |
![]() |
#35 | |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Quote:
![]() In trying to get the developers to accept your challenge to use WinUAE to troubleshoot NetBSD 5, be sure to make them aware of this thread. There is a good chance that the ability to write clear bug reports you have demonstrated will help persuade them it will be worthwhile. Oh, and good luck of course! ![]() |
|
![]() |
![]() |
#36 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Problem can't be too serious (and worth debugging) if version 4 is first confirmed working.
|
![]() |
![]() |
#37 | |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Quote:
Here is my config: http://ahhyes.net/alex3.uae ![]() edit: Also had no luck raising the netbsd devs, tried to subscribe to their mailing list but it requires manual approval before you can post, heard nothing back yet. |
|
![]() |
![]() |
#38 | |
Registered User
Join Date: Oct 2010
Location: Sydney, Australia
Posts: 75
|
Toni,
http://netbsd.gw.com/cgi-bin/man-cgi...NetBSD-current Quote:
Could you check that whatever bus ID/product is making bsd detect the qn device gets physically disconnected from the bus if only A2065 support is enabled. I think that may be a good starting point in getting netbsd to play nice. Only the "le" interface should be getting detected since the A2065 is based on the AMD chipset, not fujitsu. I think I am going to give up. I have spent days and days and days on this. if anyone else would like to give it ago, everything you need is in this thread. Last edited by ahhyes; 09 October 2010 at 05:07. |
|
![]() |
![]() |
#39 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
2011/2 is same as "fake" UAE filesystem autoconfig device. (2011 = non-assigned autoconfig manufacturer for test devices etc.. which is bad idea for "real" products)
Amiga Linux seems to have extra checks to confirm the device type but NetBSD only checks manufacturer/product ids. Workaround: disable all UAE controller harddrives. (they aren't usable in non-AmigaOS environments anyway) |
![]() |
![]() |
#40 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Uhmm.. Timeout really was a bug in A2065 emulation after all..
I forgot that transmit happens in separate thread and if transmit interrupt is set when main thread is reading or writing NIC chip registers: interrupt bit may not get set.. (main thread copied interrupt register to temp variable, did some operations with it and put it back to original variable) Should be really really fixed now.. (multithreading bugs + modern multicore CPUs = fun, different logging options = really random behavior) Same url, make sure date says 9.10.2010 (or newer) |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
NetBSD/Amiga | gibs | New to Emulation or Amiga scene | 95 | 13 May 2020 17:44 |
Questions about installation of NetBSD in WinUAE | Astyanax | support.WinUAE | 3 | 18 April 2011 09:05 |
NetBSD 5.0 | shortwind | support.WinUAE | 6 | 03 October 2009 13:53 |
NetBSD/Amiga ?? | Highlander | support.WinUAE | 10 | 14 January 2005 15:24 |
Installing NetBSD on WinUAE? | Sybia | New to Emulation or Amiga scene | 1 | 30 December 2002 05:11 |
|
|