English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 05 September 2009, 19:20   #81
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
winuae.zip updated yet again. Sarge's installer now runs (until it asks for non-existing CD..)

I guess Gayle IDE ATAPI CDROM emulation is needed next... (at least it is simpler than SCSI adapter emulation)
Toni Wilen is online now  
Old 05 September 2009, 22:23   #82
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
Yeah, I've seen the installer running. I think the progress is simply incredible.
gilgamesh is offline  
Old 05 September 2009, 23:02   #83
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by gilgamesh View Post
Yeah, I've seen the installer running. I think the progress is simply incredible.
Progress happened years ago in Aranym, I "only" needed to find how and what to merge without breaking everything else and without slowing down other emulation modes.

btw, you can press ALT+function key to open another console when installer is open and play with basic shell commands/look for /proc entries without need for real installation. Pointless and useless but so is running Linux on emulated Amiga

Remember that there is no:

- CDROM hardware emulation (except CD32/CDTV but I don't think Linux supports those..)
- Ethernet (uaenet is AmigaOS driver)
- Graphics card (Picasso96 is AmigaOS driver, only framebuffer is hardware emulated)
Toni Wilen is online now  
Old 10 September 2009, 21:25   #84
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,333
Quote:
Originally Posted by Toni Wilen View Post
Bus type does not really matter much, hardware level SCSI/IDE CDROM is not worth the trouble. (Just for installing Linux = not worth the trouble. MMU at least can be used in AmigaOS side too)
[I guess this is getting off-topic for this thread, but...]

Rather than SCSI CD-ROM drive emulation, is there any possibility to "own" a real SCSI device connected to the PC's SCSI controller? In other words, all commands sent by the emulated Amiga are passed straight through to the drive and Windows wouldn't send any commands to the drive itself since WinUAE owns it.
mark_k is offline  
Old 10 September 2009, 21:30   #85
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by mark_k View Post
[I guess this is getting off-topic for this thread, but...]

Rather than SCSI CD-ROM drive emulation, is there any possibility to "own" a real SCSI device connected to the PC's SCSI controller? In other words, all commands sent by the emulated Amiga are passed straight through to the drive and Windows wouldn't send any commands to the drive itself since WinUAE owns it.
It is possible (and off topic) but it requires real hardware access in separate thread or winuae would always pause when real CDROM is seeking or doing any other slow operation and I am not really interested just for mostly useless "real" cdrom emulation.
Toni Wilen is online now  
Old 12 September 2009, 10:45   #86
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Network stuff moved, http://eab.abime.net/showthread.php?t=47388
Toni Wilen is online now  
Old 13 September 2009, 22:33   #87
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Toni I just tested a little more today.

Looks like MMU is working in the WHDLoad context but with 2 bugs:

1) when there's an access fault, the PC is after the faulty instruction. On a real amiga, the PC is on the instruction (so resuming execution triggers access fault again)

2) I was able to use it only when I start with MMU on. If I enable it after having booted, it is not active. Maybe something to do with 68040.library at startup?

Anyway, this is not very convenient at the time being but looks very promising!!!

thanks
jotd is offline  
Old 14 September 2009, 08:06   #88
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by jotd View Post
Toni I just tested a little more today.

Looks like MMU is working in the WHDLoad context but with 2 bugs:

1) when there's an access fault, the PC is after the faulty instruction. On a real amiga, the PC is on the instruction (so resuming execution triggers access fault again)
Perhaps you tested write faults because they don't restart on 68040? (only on 68060 all faults restart. btw, 68060 MMU is nearly identical to 68040 MMU, only status registers and exception vectors are different. Perhaps 68060 MMU option is possible in future..)

EDIT: AFAIK 68040 can even delay write faults (writes are async), PC may not always point to immediately next instruction.. ("write" = instruction that does "normal" single write at the end, this does not include special cases like MOVEM to memory)

What was the exact instruction?

Quote:
2) I was able to use it only when I start with MMU on. If I enable it after having booted, it is not active. Maybe something to do with 68040.library at startup?
I can guarantee that this is possible but I'll try

Last edited by Toni Wilen; 14 September 2009 at 14:13.
Toni Wilen is online now  
Old 14 September 2009, 12:19   #89
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
my 68040 test machine is now configured, will next add full 68040 mmu support (Snoop/Protect) and afterwards test it with WinUAE
Wepl is offline  
Old 14 September 2009, 21:34   #90
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Wouldn't that be a dream if finding whdload access faults with WinUAE was possible?
jotd is offline  
Old 14 September 2009, 22:50   #91
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
Finally found a way to install without that unsatisfied demand for a CDROM. Just use the initrd22.gz from hd-media folder (Sarge) as initial ramdisk. Now the installation hangs at the network adapter, so I will describe the problem in the appropriate thread.
gilgamesh is offline  
Old 21 September 2009, 02:01   #92
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
I am not sure this will help much, but CheckMMU reports no cookie.

With a 040, SET040 is needed in the path to run it.
After installing
I simply typed
  • SET040 fastrom
  • checkMMU
and here is the result :



Oh, I am lamulating in case you hadn't notice yet .


To answer Kyon's question, the MMU is also used by WHDload.
So you might want to enable it. Check that your game icon doesn't have the nommu set, if that's the case put it into ().
In WHDload prefs, remove the ; in front of MMU and you're done.

This is especially useful with the latest WinUAE betas, in which the emulation is more accurate,
and a missing MMU is reported as an error by the slave (missing in the meaning : unticked in WinUAE).
NewDeli is offline  
Old 21 September 2009, 10:19   #93
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by Deleauvive View Post
To answer Kyon's question, the MMU is also used by WHDload.
So you might want to enable it.
To quote Toni:
Quote:
Originally Posted by Toni Wilen
It is only (possibly) useful if you are programmer or want to play with Linux (or other Unix based stuff). Just ignore it. Completely.
And this is 100% correct. You don't need any MMU support in WHDLoad if you aren't coding slaves.
StingRay is offline  
Old 21 September 2009, 17:09   #94
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by Deleauvive View Post
I am not sure this will help much, but CheckMMU reports no cookie.
Works for me. Too old version? (latest beta is not new enough)
Toni Wilen is online now  
Old 24 March 2010, 18:09   #95
Predabot
Registered User
 
Predabot's Avatar
 
Join Date: Nov 2008
Location: Swedun'
Posts: 397
Hey guys, did the development and testing of the MMU-support stop here? Seems like some people lost interest... But surely, MMU-support could lead to some cool stuff?

So... anything new to report?
Predabot is offline  
Old 25 March 2010, 11:09   #96
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
MMU emulation works except there is some unknown corner case that is practically impossible to debug using current method (in Linux some user space programs crash randomly)

I don't really care about MMU in emulation, for me it was yet another interesting learning experience (how exactly 68040 MMU works etc..)
Toni Wilen is online now  
Old 25 March 2010, 20:02   #97
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
Btw, did anybody succeed in installing NetBSD yet? You need a disk partitioning tool, which I don't have, for that. It's probably not hard with WB 2.0 or newer.
gilgamesh is offline  
Old 11 September 2010, 16:20   #98
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Possible good news: I was cleaning up MMU code (put back C++ exception handler now that WinUAE compiles as C++) and decided to disable some MMU table caching in MMU code (speed optimization)

NetBSD MMU error crash disappeared.

It seems cache gets out of sync in some situations ("slow" MMU table routines return "access ok" but cache says "nothing mapped here")

http://www.winuae.net/files/b/winuae.zip

I'll contact Aranym developers if I can't find any obvious reasons for this error (perhaps it is some Atari-specific assumption somewhere that simply won't work with Amiga or something..)

Hopefully it is now possible to create installed netbsd or linux hardfile
Toni Wilen is online now  
Old 11 September 2010, 18:01   #99
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,337
Heh, cool. Good work. I'm sure some nutters on here will be trying it as I type.
alexh is offline  
Old 11 September 2010, 19:31   #100
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
It works, Debian Sarge successfully installed.

dmesg:

Code:
Linux version 2.4.27-amiga (root@dl360-g3) (gcc version 2.95.4 20010319 (prerelease)) #1 Wed May 31 16:30:52 MDT 2006
Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 
On node 0 totalpages: 131072
zone(0): 131072 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda1
Console: colour dummy device 80x25
Calibrating delay loop... 0.97 BogoMIPS
Memory: 515572k/524288k available (1544k kernel code, 7056k data, 116k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
kmem_create: Forcing size word alignment - dquot
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
kmem_create: Forcing size word alignment - kiobuf
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
POSIX conformance testing by UNIFIX
Zorro: Probing AutoConfig expansion devices: 3 devices
Zorro: Address space collision on device Zorro device 07db0300 (Hacker Test Board) [10000000:2fffffff]
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file_lock_cache
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Console: switching to colour frame buffer device 80x25
fb0: Amiga AGA frame buffer device, using 1280K of video memory
clgen: Driver for Cirrus Logic based graphic boards, v1.9.9.1
clgen: no supported board found.
pty: 256 Unix98 ptys configured
Amiga-builtin serial driver version 4.30
ttyS00 is the amiga builtin serial port
Amiga mouse installed.
kmem_create: Forcing size word alignment - blkdev_requests
FD: probing units
found fd0 
Unable to get major 2 for floppy
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide0: Gayle IDE interface (A4000 style)
hda: UAE-IDE debian.vhd, ATA DISK drive
ide0 at 0x80dd2020 on irq 12
hda: attached ide-disk driver.
hda: 4096000 sectors (2097 MB) w/256KiB Cache, CHS=16253/4/63
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
Partition check:
 /dev/ide/host0/bus0/target0/lun0: RDSK p1 p2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 131072 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Adding Swap: 122968k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
eth0: A2065 at 0x00e90000, Ethernet Address 00:80:10:4d:5b:61
fd0: accessing DD 3.5-disk with Amiga-layout
fd0: accessing DD 3.5-disk with Amiga-layout
FAT: bogus logical sector size 17264
VFS: Can't find a valid FAT filesystem on dev 02:00.
fd0: accessing DD 3.5-disk with Amiga-layout

Last edited by Toni Wilen; 11 September 2010 at 21:25.
Toni Wilen is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
68040 vs 68060 tesla support.Hardware 10 20 April 2013 19:13
68040 MMU jsr/bsr Toni Wilen Coders. General 5 28 April 2010 20:57
68060 fpu not available mmu not active amigarlz support.Hardware 6 18 March 2010 06:35
WTB: 68030 or 68040 accelerator for A2000 Shadowfire MarketPlace 2 19 September 2009 17:52
68030/mmu Support in WinUAE dkovacs request.UAE Wishlist 19 22 August 2005 14:42

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 20:07.

Top

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