30 August 2009, 11:17 | #41 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Yeah, Hypercom runs smoothly now (tested with Slink).
But then it stops stops after "RAMDISK: Compressed image found at block 0". It takes a long time (several minutes), "VFS: Mounted root (ext2 filesystem)" and after that "Kernel panic: No init found". Maybe this is an configuration error on my side? Strange. |
30 August 2009, 12:34 | #42 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
For some unknown reason root.bin mounted as ramdisk does not contain /sbin/init (or working filesystem or something)
Someone with more emulated Linux interest than me should do some debugging.. |
30 August 2009, 14:21 | #43 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,454
|
Toni this is great! I quickly tested your 68040 MMU and found out that it works for access faults within WHDLoad !!
That's great news, thanks. |
30 August 2009, 16:13 | #44 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,887
|
Thanks ill have another go, I was haveing some problems with HDF's with IDE controller, but ill have another play.
|
30 August 2009, 16:19 | #45 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
Make sure you have correct IDE controller enabled in advanced chipset or select correct "chipset extra" Amiga model in chipset-panel. (A1200/A600 IDE is not same as A4000 IDE), also select matching KS ROM (for example A4000 ROM without A4000 IDE will freeze during boot) |
|
30 August 2009, 16:36 | #46 |
Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Thanks for your continuing work on this aspect of Amiga emulation, Toni!
My curiosity has been piqued by this development too. Edit: ...and thanks thanks for the configuration hints. Last edited by prowler; 30 August 2009 at 18:38. |
30 August 2009, 21:42 | #47 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Quote:
You need much more ram than I thought. Install 32MB Z3 at least or more. (I use 128MB.) root.bin and linux.bin are compressed (gz). Uncompress them in order to save time. You can mount the uncompressed root image under (native) linux. It is ext2. Edit StartInstall so that it will use the uncompressed images. Something like Code:
amiboot-5.6 -d -k vmlinux.tmp -r root_d.bin root=/dev/ram Code:
init=/sbin/init EDIT: Or it does pass it, and something goes completely wrong at lowlevel. Last edited by gilgamesh; 30 August 2009 at 21:49. |
|
30 August 2009, 21:54 | #48 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
|
31 August 2009, 20:18 | #49 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Well, this is somewhat beyond everything that I've done before.
I might be able to check whether the image on ramdisk is the same as the original, using UAE's internal debugger. At least some portions of the root image must have been copied properly (magic number, at least one inode). Otherwise /dev/ram couldn't be mounted. Does anybody around here have another idea what to do? |
31 August 2009, 20:24 | #50 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,454
|
Toni small problem here: MMU seems to work only with 24 bit configurations. In 32 bit mode it's not working: access faults are not detected.
|
01 September 2009, 17:38 | #51 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
Quote:
|
||
01 September 2009, 21:34 | #52 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,454
|
Quote:
I re-did the test with the new version: whdload has protected all memory besides 0-$80000 and yet when I try to access $81000 it works without access fault: MMU seems not enabled here (same behaviour as with the versions without MMU), at least the address boundary protection. My config has 32 bit fastmem (not possible to save states). When I do that on a 24 bit config memory (to use savestates) I get a neat "access fault" from Whdload, witnessing that MMU is working in that case. bye |
|
01 September 2009, 21:54 | #53 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Ha, Toni's latest patch resolved the ramdisk problem, too.
But now there is trouble with the block-major-3 device. That's DH0, isn't it? Errno ist 14. See for yourself: |
02 September 2009, 08:19 | #54 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
EDIT: to make this less confusing, what is the exact instruction that should have caused access violation but didn't? Including all registers and status register. Last edited by Toni Wilen; 02 September 2009 at 10:23. |
|
02 September 2009, 17:25 | #55 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
This really does seem to point in some kind of address alignment or similar problem. |
|
02 September 2009, 18:51 | #56 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,454
|
Quote:
I'll create a test slave which writes to $81000, it will be simpler. |
|
02 September 2009, 20:48 | #57 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Quote:
The ramdisk error does not happen when the kernel and root image are decompressed. This behaviour is new since your last update. When they are compressed, the usual error does still happen. I'll see whether I can recompile the kernel and add some error checking... Btw, Sarge still has illegal instruction issues. My current config is 1200, KS3.0, WB1.3 , 68040+MMU, 2MB chip+64MB Z3, Debian Woody. P.S.: http://people.debian.org/~cts/debian-m68k/ Interesting... |
|
02 September 2009, 21:45 | #58 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
Quote:
|
||
03 September 2009, 17:20 | #59 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
http://www.winuae.net/files/b/winuae.zip now includes MOVES fix. (I am still getting no init error..)
|
03 September 2009, 22:32 | #60 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Quote:
EDIT: Woody starts five processesover and over again. The init and mount issues are gone here. Packed images aren't problematic either. Last edited by gilgamesh; 03 September 2009 at 23:12. |
|
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 |
|
|