21 October 2019, 09:08 | #41 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
But have you tried to load data from the hd to see if it comes up corrupt ?
I suspect it might just be the code cache not being properly cleared after loading programs. |
21 October 2019, 09:26 | #42 | |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Quote:
If this would be the case, what would be the solution to properly clear the code caches after loading programs? |
|
21 October 2019, 09:36 | #43 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
But before getting a remedy, let's first see if the diagnostic is correct |
|
21 October 2019, 15:13 | #44 | |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Quote:
- I booted in 3.1.4 Workbench with caches disabled - Opened the shell and went to DF0: where I have some programs on disk like Ed - First I created a file on disk by: ed test - I enabled the cache by 'cpu cache' while on DF0: - I edited 'test' on disk again without problem - Then open a file on hard disk from floppy: ed sys:s/Startup-Sequence It gives me a 'checksum error on hard disk block ...' Switching back to Kickstart 3.1 creates new problems as I described earlier. I cannot even install Workbench 3.1 so I don't see that as an option. I will check the Amiga PSU tomorrow.. |
|
21 October 2019, 21:42 | #45 |
Registered User
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
|
OK so to clarify -- system works fine with full data caches enabled, including copyback, as long as instruction cache is disabled? That's really weird.
Also to clarify, if MMU libraries are installed, and activated after boot with caches disabled, everything works fine? (other than some weird memory leak) What happens if you boot using 3.1 hardware ROMs, but then include 3.1.4 maprom in your startup sequence first? What is the version of your 3.1.4 hardware ROMs? |
22 October 2019, 07:02 | #46 | |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Quote:
Once I put back the KS 3.1 roms the hard disk partitions becomes unreadable. With HDInstTools I can re-create them, but they never appear in the Workbench so I can not format them and get stuck there. Obviously I am using small partitions < 2 GB. Also I tried to exchange the PSU but unfortunately the ATX power I have laying around here seems not good. I can not get into the boot screen. Normally boot gives a messed up screen and hangs. Even exchanging back to 68030 CPU same problem so this is not about the 68040. I will need to get another ATX power supply to be able to test. I made screen captures of all the versions I am using which are displayed in SysInfo. Last edited by astremler; 22 October 2019 at 07:19. |
|
22 October 2019, 07:53 | #47 | |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Quote:
First I thought the was a problem with the IDE port. I removed the IC's from the sockets of U-901 and R-902 (see attachments) and clean inside carefully. After cleaning and placing these IC's back in the sockets the whole problem disappeared like snow in front of the sun... I could boot again from hard disk and everything back to normal.. Until I replaced the 68030 with 68040.. I suspect here might be the problem somewhere although I am not sure what it can be. Some re-programming needed for these IC's because of 68040? I am not familiar with this. The best solution would be buying a FastATA card and completely by-passing the IDE on the mainboard by moving the IDE devices away, but still it's not 100% guaranteed. I have attached a MuScan as well. |
|
22 October 2019, 10:25 | #48 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Normally U-901/2 are not in sockets. Did the previous owner install a PIO2 mod for example? Could be some waitstate/latency issue when using 040 with cache on (it's much faster).
Could you try the original CBM PAL chips? |
22 October 2019, 12:04 | #49 |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
I think so... I got it like this when I bought this Amiga from the previous owner. I don't have the original CBM PAL chips.
|
22 October 2019, 14:41 | #50 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
|
|
22 October 2019, 15:04 | #51 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,344
|
I'm sure that the PIO2 mod works fine with A3640@25MHz and A3660@50MHz.
Perhaps your A3640 is overclocked? Even then I think it works fine. I think you should talk to Cosmos and maybe he can help you debug your PIO2 and/or supply some PIO0 GAL's. http://leblogdecosmos.blogspot.com/2...00d-pio-2.html |
22 October 2019, 15:31 | #52 | |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Quote:
|
|
22 October 2019, 16:00 | #53 | |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Quote:
I already downloaded the original rom files (Thanks for the link hooverphonique). First I will try to put it back in the original state and test again. I will also get an extra pair of IC's where I will burn the latest PIO2 files, also test these one. Maybe the IC's currently inside are faulty? At least I can just easily remove them without soldering. Let's see.. Regarding overclocking 3640, I am not sure. How can I see that? It doesn't look like it's over-clocked in SysInfo. |
|
22 October 2019, 16:39 | #54 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
I have first-hand experience with PIO2 mods failing when overclocking the A3640 (which overclocks the whole system). The mod I've tried seems to work @ 25MHz though, but we don't know the fusing of the OP's U901/2, so I think it's a good idea to go back to standard to see if there's an issue there. |
|
22 October 2019, 16:44 | #55 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
If it has a 50MHz oscillator, it isn't overclocked. Also, the delay line (for CLK90) should be connected at its 10ns tap @ 50MHz (just in case it was tampered with, but that should be easily visible). I'm not sure if CLK90 affects the IDE interface though. |
|
23 October 2019, 17:37 | #56 |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
Today I went to the electronic market in Shenzhen and managed to get those IC's. A kind Chinese helped me to burn the original Commodore U901/902 GAL files on those 2 IC's for free. Back home I replaced them and bingooo...
Everything works like a charm now! I am able to boot with cache enabled using 68040. I also got a new ATX PSU and checked, but there are no differences. I can still use the original Amiga PSU. I have re-partitioned the harddisk, formatted and re-installed Workbench 3.1.4. After placing the 68040.library in the libs: folder I can boot from hard disk with cache enabled instantly. MuTools was not required to install (but I will install it anyway). Conclusion: the problem were the PIO2 IC's U901/902 which the previous owner installed on the mainboard. These are working fine with the original 68030 CPU, but becomes problematic with caches when using a 68040 CPU. (Compatibility issues) The solution is to put the original Commodore U901/902 back and the problems are gone. |
23 October 2019, 23:32 | #57 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
I am glad you kept pushing for a solution until you solved it.
Well done! |
24 October 2019, 13:03 | #58 |
Registered User
Join Date: Aug 2018
Location: Dong Guan / China
Posts: 30
|
|
25 October 2019, 02:08 | #59 |
Registered User
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
|
Great! So glad your problem has been worked out. =) You should buy some beer for the person who helped you out by burning the GALs for ya. xD Shenzen can be a magical place (though I hear it's getting harder for foreigners living in China).
btw later if you do go the FastATA route be aware that it hits your CPU *hard* due to its PIO nature. If you get a DMA SCSI controller and find one of those rare SCSI-to-SD or SCSI-to-SATA adapters, it runs way smoother, especially if you ever get a CPU card with a SCSI controller. Best solution is the (now impossible-to-find) Deneb running in DMA mode, let you use any USB 2.0 mass storage device in DMA mode. I wish someone would recreate the Deneb. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is this Amiga 4000 CPU slot faulty? | reflex | support.Hardware | 13 | 07 September 2022 05:20 |
Netsurf, Real Amiga 1200 with 32mb ram and 68040 cpu | utri007 | Amiga scene | 11 | 08 August 2016 00:56 |
FS: Amiga 4000 030 CPU module... | mabus | MarketPlace | 0 | 03 August 2007 19:00 |
Strange A4000 kicksart rom chips and EC030 cpu card with mmu? | keropi | support.Hardware | 5 | 01 August 2006 09:26 |
[FA] A3630 EC030@25MHz [AMIGA 3000/4000] | scan_x | MarketPlace | 0 | 16 January 2004 19:13 |
|
|