Disable Pegasos 1 DMA
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Every now and then my Pegasos totally locks up when either transferring large files across the network (using either onboard VIA ethernet or 8139pci) or sometimes when running installers that copy a lot of files (Such as Storm C 4) whether I run it from CD or off the same disk I am installing it to.

    I have no doubt it is because of not having either of the April fixes on my mobo.

    OS4 users are able to disable DMA on their A1 in software and use purely PIO transfers.

    Is it possible to do this using MorphOS?
  • »09.04.07 - 19:29
    Profile
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    I have no doubt it is because of not having either of the April fixes on my mobo.


    Then you'd be very much mistaken, after all why would corrupt network data cause lockup? This is an entirely different issue...

    Quote:

    OS4 users are able to disable DMA on their A1 in software and use purely PIO transfers.

    Is it possible to do this using MorphOS?


    No, MorphOS requires working hardware. :P


    - CISC
  • »09.04.07 - 21:16
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    MorphDelf
    Posts: 274 from 2004/2/20
    From: Oslo, Norway
    I think that the speedlockup due to use of Miami? Do you use Miami maybe?
  • »09.04.07 - 21:47
    Profile Visit Website
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Quote:


    CISC wrote:
    Quote:

    I have no doubt it is because of not having either of the April fixes on my mobo.


    Then you'd be very much mistaken, after all why would corrupt network data cause lockup? This is an entirely different issue...



    I dunno, you tell me. ;-)

    Quote:


    Quote:

    OS4 users are able to disable DMA on their A1 in software and use purely PIO transfers.

    Is it possible to do this using MorphOS?


    No, MorphOS requires working hardware. :P



    Linux works when DMA is disabled. :-P

    Seriously, is there no way to disable DMA?
  • »09.04.07 - 21:48
    Profile
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Quote:


    MorphDelf wrote:
    I think that the speedlockup due to use of Miami? Do you use Miami maybe?




    No, I use MOSNet.
  • »09.04.07 - 21:48
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    Hi MDMA.
    I get the same lockups here on Peg1 with April2 fix - or if not the same lockups, very similar ones.

    I've not noticed if the lockups correlate to the use of MOSnet or not, mainly cos I tend to have MOSnet running most of the time anyway.

    Doesn't MOSnet use Miami.library anyway?
    Is there a more stable networking alternative - do AmiTCP or Genesis work under MOS?

    Regards


    Rich

    [ Edited by boot_wb on 2007/4/10 0:06 ]
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »10.04.07 - 00:06
    Profile Visit Website
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    When I had Pegasos1 back then, there was this bug which caused a lockup every now and then, but that was fixed. I didnt have any more lockups after the fix, I had april2-peg and I used MiamiDX.
    www.mikseri.net/hooligan <- Free music
  • »10.04.07 - 04:07
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    analogkid
    Posts: 667 from 2004/11/3
    From: near myself
    I think it has nothing to do with the Pegasos1. There was a bug in older Bootimages, which makes the Peg hang, if many files oder big files were copied. But this bug was fixed some time ago.
  • »10.04.07 - 10:26
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Leif
    Posts: 111 from 2006/5/31
    From: Sweden
    I had lockups on my Peg1, but managed to get rid of them
    by carefully rearranging CDs/HDs on the cables :)

    If you have two devices on first IDE, move them to second,
    if you have HD on first, CD on second, move both to first,
    etc, just try different stuff..

    Never had any problems after I got it working.

    (I have Peg1 no April)
  • »10.04.07 - 12:57
    Profile
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Quote:


    hooligan wrote:
    When I had Pegasos1 back then, there was this bug which caused a lockup every now and then, but that was fixed. I didnt have any more lockups after the fix, I had april2-peg and I used MiamiDX.

    Quote:


    analogkid wrote:
    I think it has nothing to do with the Pegasos1. There was a bug in older Bootimages, which makes the Peg hang, if many files oder big files were copied. But this bug was fixed some time ago.


    I'm using the boot.img from the MorphOS 1.4.5 CD, I think this is the latest one.

    [ Edited by mdma on 2007/4/10 16:38 ]
  • »10.04.07 - 16:34
    Profile
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Quote:


    Leif wrote:
    I had lockups on my Peg1, but managed to get rid of them
    by carefully rearranging CDs/HDs on the cables :)

    If you have two devices on first IDE, move them to second,
    if you have HD on first, CD on second, move both to first,
    etc, just try different stuff..

    Never had any problems after I got it working.

    (I have Peg1 no April)



    Cheers, will try that.

    I'm currently running HDD as primary master and CDRW as secondary master, both with 80 wire cables.
  • »10.04.07 - 16:35
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    CLS2086
    Posts: 168 from 2005/8/25
    From: West of PARIS
    Hi,
    check your PSU too...
    Bad ones under heavy load got under the acceptable voltage limit...
    Keep the Faith !
    VG 5000/A1000/500/500+/600/2000/1200PPC-GREX/1200PPC-ATEO/1200+1230-IVFPUSCSI/CD32/Pegasos 1 April1 G3/Pegasos 2 G4/ Ahtlon/K6-3/various funny machines too :-)
    Maybe one day a G4 AmigaONE when they will be debugged and without April...
  • »10.04.07 - 20:39
    Profile
  • Just looking around
    samwel
    Posts: 10 from 2004/9/16
    From: Sweden
    Quote:


    Cheers, will try that.

    I'm currently running HDD as primary master and CDRW as secondary master, both with 80 wire cables.



    You have the correct setup. You shouldn't have a harddrive (UDMA) on the same cable as a CD-ROM/burner (ATAPI).
    What you might try is changing first master unit to second master unit and second on first. As suggested the PSU could also be a problem. Also bad cooling for the CPU.

    As I'm a OS4 user I have no clue what software setup changes you could do. All I know is the some A1-SE users have strange lockups aswell. These boards use the same version of Articia S chip as Pegasos 1. Most of these problems went away with later revisions of Articia S. But the chip still suck performance wise.
  • »10.04.07 - 22:19
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Crumb
    Posts: 732 from 2003/2/24
    From: aGaS & CUAZ Al...
    You could try to find a very old HD without DMA modes... 1-2GB ones usually don't have DMA modes.

    I don't know if there's any way to patch ide.device to always detect the HDs as PIO-4 or if it would be possible to overwrite the part of the hard disk that describes its features
  • »12.04.07 - 09:33
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    You could try to find a very old HD without DMA modes... 1-2GB ones usually don't have DMA modes.

    I don't know if there's any way to patch ide.device to always detect the HDs as PIO-4 or if it would be possible to overwrite the part of the hard disk that describes its features


    First of all such old HDs simply don't work in MorphOS, so it would be pointless to try finding one or attempting to hack ide.device .. secondly it wasn't IDE DMA in particular that was the original question, but DMA in general (though I suspect it's not possible to use VIA/RTL ethernet without DMA anyway) .. thirdly as I already mentioned the lockups aren't related to DMA at all...

    IIRC there was a bug in the Articia that would crop up sometimes causing a complete bus lockup (which is fixed by April and also later revisions of the Articia), however it is far more likely the problem at hand here is a bug in MorphOS 1.4.x that will indeed occur when there's excessive network activity (there are actually 2 kinds, one that locks up MorphOS completely, and one that just stalls the ethernet driver (this one can be fixed by just doing offline/online though (connections won't be lost as outgoing packets are queued and incoming ones will be resent))), either way you are stuck atm...


    - CISC
  • »12.04.07 - 18:02
    Profile
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Quote:


    CISC wrote:
    Quote:

    You could try to find a very old HD without DMA modes... 1-2GB ones usually don't have DMA modes.

    I don't know if there's any way to patch ide.device to always detect the HDs as PIO-4 or if it would be possible to overwrite the part of the hard disk that describes its features


    First of all such old HDs simply don't work in MorphOS, so it would be pointless to try finding one or attempting to hack ide.device .. secondly it wasn't IDE DMA in particular that was the original question, but DMA in general (though I suspect it's not possible to use VIA/RTL ethernet without DMA anyway) .. thirdly as I already mentioned the lockups aren't related to DMA at all...

    IIRC there was a bug in the Articia that would crop up sometimes causing a complete bus lockup (which is fixed by April and also later revisions of the Articia), however it is far more likely the problem at hand here is a bug in MorphOS 1.4.x that will indeed occur when there's excessive network activity (there are actually 2 kinds, one that locks up MorphOS completely, and one that just stalls the ethernet driver (this one can be fixed by just doing offline/online though (connections won't be lost as outgoing packets are queued and incoming ones will be resent))), either way you are stuck atm...


    - CISC


    Well there were two separate problems listed in my first post, but I got them confused as having the same root cause.

    The StormC 4 installer still falls over on it's arse, so I think it could be an issue with that particular installer rather than a Peg problem.

    I solved it by installing in UAE and copying across the network, but have now come to discover the SC4 IDE does not like MorphOS at all.

    Ah well, MorphEd it is for now. :-)
  • »13.04.07 - 20:03
    Profile