English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 27 July 2014, 18:37   #1
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
SANA2 (uaenet.device) / SLIRP / A2065 (was: WinUAE SANA driver usable?)

Hi Frode,

just one question:

Is the WinUAE builtin SANAII driver usable in FS-UAE? In WinUAE it is the config option "sana2=true". I tried with "uae_sana2 = true" but can't get it to work in FS-UAE...

best regards

Last edited by FrodeSolheim; 05 August 2014 at 18:43.
amigafreak68k is offline  
Old 28 July 2014, 13:51   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
No, but with the recent addition of slirp support in WinUAE, I can check if making sana2+ethernet+slirp work in FS-UAE too is relatively painless...
FrodeSolheim is offline  
Old 28 July 2014, 21:00   #3
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Well, I have now made necessary changes to make FS-UAE compile with the slirp mode feature:
https://github.com/FrodeSolheim/fs-u...f7002bccb27540

I've not even tested it yet, but the code is there on github if someone wants to try
FrodeSolheim is offline  
Old 29 July 2014, 10:56   #4
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
Great!

What's to write in the config to use this feature?
amigafreak68k is offline  
Old 29 July 2014, 11:56   #5
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Hmm, well, it would be the same as for WinUAE (prefixed for uae_*), haven't checked yet
FrodeSolheim is offline  
Old 04 August 2014, 12:47   #6
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
Quote:
Originally Posted by FrodeSolheim View Post
  • Added slirp support (not tested yet, not enabled by default).
I'd tested this in the newest beta build, but can't get it to start...

I'd tried it in WinUAE with the same config options. ShowConfig had list the network card but in FS-UAE it doesn't.

I used the config options

uae_a2065 = slirp_inbound
uae_sana2 = true


in FS-UAE. I searched for the FS-UAE.log to attach here but can't find it
Attached Thumbnails
Click image for larger version

Name:	fs-uae.jpg
Views:	360
Size:	132.6 KB
ID:	40811   Click image for larger version

Name:	winuae.jpg
Views:	371
Size:	132.3 KB
ID:	40812  

Last edited by amigafreak68k; 04 August 2014 at 12:55.
amigafreak68k is offline  
Old 04 August 2014, 21:49   #7
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by amigafreak68k View Post
ShowConfig had list the network card but in FS-UAE it doesn't. I used the config options:
uae_a2065 = slirp_inbound
uae_sana2 = true
Hi, the slirp code didn't compile for 64-bit targets, so the a2065/slirp/uaenet.device features were completely disabled in 2.5.6dev.

I have since then updated the slirp code to work for 64-bit builds too (code will be pushed to git soon), and re-enabled those features by default.

However, it still does not seem to work properly, in fact, uaenet.device currently crashes FS-UAE when it is used...
FrodeSolheim is offline  
Old 04 August 2014, 22:43   #8
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
I thought the Mac-build would be 32bit?
amigafreak68k is offline  
Old 04 August 2014, 22:47   #9
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by amigafreak68k View Post
I thought the Mac-build would be 32bit?
And indeed it is -But it was quicker to disable it generally for 2.5.6dev so 64-bit builds didn't fail, rather than enabling it depending on platform. After all, I planned to update the slirp code anyway.

Anyway, it is re-enabled now by the following commits:
https://github.com/FrodeSolheim/fs-u...c563e136387f6e
https://github.com/FrodeSolheim/fs-u...2c0930ba94d6ff

I still need to dig into the code and figure out why it crashes (well, actually I know why it crashes, it is a null pointer dereference, but I need to study the code to figure out if/why it works in WinUAE )
FrodeSolheim is offline  
Old 06 August 2014, 00:57   #10
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
There has been some progress; A2065 works partially (MiamiInit, DNS lookup seems to work, something wrong with TCP connections though).
FrodeSolheim is offline  
Old 06 August 2014, 17:48   #11
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
Yes! I get the same results on Mac OS X.

The emulated Amiga should visible in the network devices list of my Internet router but doesn't. Maybe FS-UAE not really takling to the router...

I use Genesis from Amiga OS 3.9
amigafreak68k is offline  
Old 06 August 2014, 21:04   #12
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
The Amiga wouldn't show up on your Internet router anyway when using slirp mode, because it is NATed through FS-UAE / the host.

I have sniffed the traffic (on the host computer) using wireshark, and I can see the DNS lookup going through and back, and a TCP connection initiated using AmiIRC. Welcome message from IRC server is received on the host, but does not reach AmiIRC. I haven't found the issue yet (and I'm not looking right now :-/).
FrodeSolheim is offline  
Old 11 August 2014, 13:55   #13
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
Maybe Toni Wilen have a solution on this?
amigafreak68k is offline  
Old 11 August 2014, 14:02   #14
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by amigafreak68k View Post
Maybe Toni Wilen have a solution on this?
No, I'm afraid not. Toni cannot know what I have (potentially) done with the source code. For all he know I have just messed up (that could actually be true anyway).

It is possible the problem is related to the patch I borrowed from QEmu for 64-bit support (i.e. the code wasn't compatible enough before applying the patch). So the first order of business is to revert that and try exclusively with a 32-bit build. If that works, there's probably something with the 64-bit patch.

(Other options include get WinUAE compiling in a virtual machine and compare WinUAE and FS-UAE with a debugger while using slirp, and another option is to try to get FS-UAE working with fully updated slirp code from Qemu).
FrodeSolheim is offline  
Old 11 August 2014, 14:33   #15
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
Oh my god, what a outlay! In this case this feature (for me) isn't that important! Don't spend time on this until it will be more important for others (or you)
amigafreak68k is offline  
Old 27 September 2014, 14:50   #16
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Test for amigafreak68k

OS X version of FS-UAE with QEMU-UAE slirp support: http://fs-uae.net/devel/2.5.17slirp/
Requires special version of QEMU-UAE plugin: http://fs-uae.net/devel/plugins/qemu...osx-x86.tar.gz

To enable, for now use:
Code:
uae_a2065 = slirp
This enables A2065 emulation - which works

There's also SANA2 (uaenet), but last I checked this crashed:
Code:
uae_sana2 = true
FrodeSolheim is offline  
Old 27 September 2014, 18:57   #17
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
....downloading right now!
amigafreak68k is offline  
Old 27 September 2014, 19:15   #18
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
First Test with my AmigaOS 4.1 setup = Emulation (PPC) crashes -> light green screen. (See log)

Now testing with AmigaOS 3.9...

Edit:

In AmigaOS 3.9 with activated slirp option there doesn't run anymore any "ReAction"-Application. Also Wallpapers aren't loaded. With normal 2.1.17 no problem!
Attached Files
File Type: txt fs-uae.log.txt (74.4 KB, 250 views)

Last edited by amigafreak68k; 27 September 2014 at 19:28.
amigafreak68k is offline  
Old 27 September 2014, 20:07   #19
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
@amigafreak68k thanks for testing. I have only tested the feature briefly myself due to limited time available. I have only tested A2065 / slirp by itself (WB 3.1 + Miami + AmiIRC), and also checked that the AmigaOS 4.1 installer still boots with the new QEMU-UAE version.

When you say you tested with your AmigaOS 4.1 setup and that it crashes, do you mean that stuff that worked before stopped working now? Or that it crashes when you try to use A2065 in AmigaOS 4.1?
FrodeSolheim is offline  
Old 27 September 2014, 20:56   #20
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
No. AmigaOS 4.1 setup doesn't boot. After Rainbow Colours -> Pink screen -> green screen -> HALT

This isn't, if I disabel slirp option
amigafreak68k is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
SANA device for WinUAE Canavaro request.UAE Wishlist 25 26 November 2016 18:37
WinUAE SCSI Driver is ready/working? Leandro Jardim support.WinUAE 6 27 November 2011 13:01
WinUAE finally usable in WINE! Hewitson support.WinUAE 6 19 March 2011 11:07
Amiga printer driver for WinUAE Ed Cruse support.WinUAE 12 16 February 2008 22:34
AHI driver for WinUAE ? Tex support.WinUAE 9 06 May 2003 14:19

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:28.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10220 seconds with 14 queries