[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4005.0. "2090/RD31 problems" by MSVAX::BARRETT (I'm not one, but I play one on TV) Fri Aug 10 1990 12:46

I helped a friend install a 2090 and hd in his 2000 and had several problems
(and some questions). Can anyone provide information?


System description:

	2000 Rev 4.2, 2090 controller with latest hddisk release,
	Kickstart 1.2, old Agnus, Workbench 1.3, RD31 (Seagate ST-221 20meg)

	mountlist defined 4 surfaces, cyls 0 - 611, reserved 2, etc

	Disk was partitioned as:
			RES0:	2 cyls
			DH0:	5meg, old filesystem (as if I had a choice)
			DH0B:	10meg, ffs
			DH0C:	5meg ffs



Problem Description:

	After drive was prep'ed, formatted, loaded, and was being used - 
the system would "hang" (with hd LED on) at some random moment during normal
use. This would only happen when using the ffs partitions (coincidence?) -
using DH0: never caused a hang. Exchanging cables made no difference,
changing partition locations and size made no difference. I did not
try making the partitions non-ffs; I will when I get a chance.

Added note: Although eventually all partitions successfully formatted - the
	    "hang" problem happened several times during a ffs format of those
	    same partitions. Changing the cyl specifications seems to make
    	    no difference.


Questions:

	1) Anyone experience this problem or have an explanation? Is it
	possible that ffs can't be used under kickstart 1.2 (even though
	workbench 1.3 is being used) on a 2090 HD? Is it more serious?

	2) Could this be due to the lack of that resistor on the IC pins
	that's part of a rev 4.5 upgrade? I never experienced a guru
    	and I thought that patch was to eliminate gurus.

	2) There is a terrible thumping noise that occurs for about 5 seconds
	on the RD31 during powerup that does not happen on my home system
	with a RD32 and 2090A. It only happens at powerup and seems to have
	no ill effects -- is this normal?

	3) A binddrivers command loads the hddisk in expansion and mounts
	DH0: - but I was surprised to find that without a binddrivers command
	you can still mount and use the other partitions (I assume this
	means that they aren't using the expansion/hhdisk). If a binddrivers
	was done beforehand, is hddisk being used to handle the non-DH0:
	partitions? Does binddrivers influence the driver's usage of
	these partitions?


	I'd appreciate all ideas and facts -- this problem and fact-finding
	session kept us up through the wee hours in the morning.


			Keith
    
T.RTitleUserPersonal
Name
DateLines
4005.1my mountlist for ST225FSCORE::KAYEwhere's my Kama Sutra pop-up book for zero-gFri Aug 10 1990 13:2058
>	mountlist defined 4 surfaces, cyls 0 - 611, reserved 2, etc
						^
	i used 0-614

>	Disk was partitioned as:
>			RES0:	2 cyls
>			DH0:	5meg, old filesystem (as if I had a choice)
>			DH0B:	10meg, ffs
>			DH0C:	5meg ffs

	why so much for the OFS? i boot from the ST-225, so i gave it
	3 cylinders (2-4) to hold enough to transfer control to a FFS
	i have another (RD53) and only gave it 1 cyl and don't use it
	for anything
	since this is a 2090, 1 cyl should be plenty, since you will
	boot from the floppy & transfer control (maybe)

	i had problems with the resistor on the motherboard, but this
	was always read/write problems, disk validator stuff, i don't
	recall ever hanging (maybe lucky)

	here is my mountlist for the ST225 (PREPed to cyl 4)
================================================================================
/* Sample Mountlist Entry to add another partition to a ST-506 drive */

/* FASTfilesystem; 2nd partition on ST225 , named HD0 */
HD0:     Device = hddisk.device
           FileSystem = l:FastFileSystem
           Unit   = 1
           Flags  = 0
           Surfaces  = 4
           BlocksPerTrack = 17
           Reserved = 2
           Interleave = 0
           LowCyl = 5 ; HighCyl = 614
           Buffers = 30
           GlobVec = 1
           Stacksize = 4000
           BufMemType = 4
           DosType = 0x444F5301
           MaxTransfer = 0x77abcdef
           Mount = 1
#

RES0:      Device = hddisk.device
           Unit   = 1
           Flags  = 0
           Surfaces  = 4
           BlocksPerTrack = 17
           Reserved = 2
           Interleave = 0
           LowCyl = 0  ;  HighCyl = 1
           Buffers = 20
           BufMemType = 0
#

	mark
4005.2DICKNS::MACDONALDVAXELN - Realtime Software PubsFri Aug 10 1990 14:026
    Hmmm ... didn't know you could mix filesystems like that. Why isn't
    RES0: your OFS for booting? 
    
    And, are those device names legal? I ask because GVP (for example)
    requires that DH0:, DH10:, and DH11: be used for the hard drive
    partitions.
4005.3some clarificationFSCORE::KAYEwhere's my Kama Sutra pop-up book for zero-gFri Aug 10 1990 14:5725
   <<< Note 4005.2 by DICKNS::MACDONALD "VAXELN - Realtime Software Pubs" >>>

>    Hmmm ... didn't know you could mix filesystems like that. Why isn't
>    RES0: your OFS for booting? 
    
    YES, RES0 is used to boot, RES1 that i didn't show is just a 1 cyl
    (PREPed to cyl 2), well OK 3 altogether is you count the 2 reserved
    ones. RES0 only contains enough stuff to transfer control to my FFS
    partition (the rest of the disk). I don't see any need to have more
    than 1 partition (not counting the OFS one), cus i just use drawers 
    to divide it all up.

	results from INFO
	DH0:	96K (OFS)
	DH1:	63K (OFS)
	HD0:	20M (FFS)
	HD1:	69M (FFS)

>    And, are those device names legal? I ask because GVP (for example)
>    requires that DH0:, DH10:, and DH11: be used for the hard drive
>    partitions.

	Well, they seem to be legal for a 2090A, no problems so far.

	mark
4005.4ELWOOD::PETERSFri Aug 10 1990 15:459
    re .2
    
    	GVP doesn't require DH0: ... ect. for disk names. Their
    configuration program sets them up this way but if you SCSI format,
    and prep the GVP drive by hand you can rename the devices.
    
    
    		Steve
    
4005.5WILARD::BARRETTThis is my brain on Notes.Sat Aug 11 1990 11:2127
    Re: why I had cyls 0 - 611
    
    That was the example given in the 2090 manual (20 st506). I had
    heard that the RD31 actually went to 614, but I thought better safe
    than sorry since I had no documentation myself. Since I assume you
    have been running for a long time (or have filled up the drive at
    some point), I'll change it.
    
    Re: Why a large OFS
    
    Well - if you look you'll see that my problem is "hanging" when
    using the FFS partitions. If I can't change this the whole drive
    is going to become old file system - I can't live with the hanging.
    
    
    
    In the sample mountlist given in previous replies I saw a line
    referencing MaxTransfer -- I have never seen this before. Should
    I be specifying it and can it possible solve my problem?
	    
    Does anyone have info addressing my actual problem? Has anyone else
    seen it? Could it be due to FFS and old kickstart? Could it be a
    bad drive? Could it have something to due with using the non-DH0
    partition? Is the hddisk only used for DH0:?
    
    
    			Still stumbling -
4005.6MSVAX::BARRETTThis is your brain on Unix; any ??Sat Aug 11 1990 23:2624
    Update:
    
    I increased the last cyl # to 614, added a mountlist line for
    MaxTransfer, and change the GlobalVec from -1 to 1. I also made
    Dh0: 2 cyls long and created a DH0A in the FFS format.
    
    The result was that the disk was able to format completely; but
    the system still would hang occasionally. BUT - it would hang at
    reproducible situations. After investigating; it seems that the
    hangs would occur when available FastRAM went real low (this is
    a 1 meg 2000, so it was easy to cause). BTW - the mountlist entries
    use BufMemType of 4 (FastRAM).
        
    So it appears to be a memory resource problem.
    
    Question: If the BufMemTypes were changed to 0, how does AmigaDOS
    determine which to use? Does this memory "allocation" change during
    system use, or is it "fixed" once chosen?
    
    Also -- is that initial whapping noise in the RD31 normal?
    
    
    Thanks - Keith
    
4005.7BufMemTypeTLE::RMEYERSRandy MeyersTue Aug 14 1990 14:5118
Re: .6

>    Question: If the BufMemTypes were changed to 0, how does AmigaDOS
>    determine which to use? Does this memory "allocation" change during
>    system use, or is it "fixed" once chosen?

The BufMemType value is just the second argument to AllocMem (or whatever
the Exec memory allocation routine is named: my mind is going).  Thus, if
the argument is zero, non-public fast memory will try to be allocated.  If
that fails, non-public chip memory will be allocated.

However, for whatever its bearing on your problem, I believe that the
memory allocation for a device happens when the device or partition
is accessed the first time.  It then remains constant until you do an
AddBuffers CLI command, which causes more buffers to be allocated.

If your problem looks like an out-of-memory problem, then could the
real problem be something else?  Are you running any background tasks?
4005.8maxtransfer explanationFSCORE::KAYEwhere&#039;s my Kama Sutra pop-up book for zero-gTue Aug 14 1990 21:0310
Sorry, been on vacation for a couple of days...

MaxTransfer was a value for a patch pgm that tried to correct the race
condition in the 2090 when displaying a hi-res overscanned picture and
accessing the drive.

Glad you finally got a handle on it, these things can be frustrating
as hell.

 mark
4005.9BufMemType = 0 or 1SNOFS1::VETTENude Mud Wrestlers AnonymousFri Aug 24 1990 03:0426
RE:   <<< Note 4005.6 by MSVAX::BARRETT "This is your brain on Unix; any ??" >>>
    
A late comment...

>    The result was that the disk was able to format completely; but
>    the system still would hang occasionally. BUT - it would hang at
>    reproducible situations. After investigating; it seems that the
>    hangs would occur when available FastRAM went real low (this is
>    a 1 meg 2000, so it was easy to cause). BTW - the mountlist entries
>    use BufMemType of 4 (FastRAM).
        
>    So it appears to be a memory resource problem.
    
If you have a 1MB A2000, then you have no Fast RAM. It is all Chip RAM, so your
BufMemType = 4 could be causing you problems. I found I was losing a lot of
memory by having 30 buffers on each partition (I have a 2090A, RD52), so I
reduced the number of buffers to 17 on my 10MB partition, and 20 on my 24MB
partition, and haven't noticed a performance hit. But I still have over 600K
free when I boot up with SNAP, DMOUSE and VIRUSX running.

More memory is definitely required though, as I've still had the system complain
(falsely) of disk corruption, and then GURU when running GIF2IFF on a big GIF
file. My assumption is that the controller couldn't find enough memory to do a
DMA transfer, and interpreted that as corruption.

Lindsay
4005.10MSVAX::BARRETTI must not waste bandwidthFri Aug 24 1990 09:126
    It was a .5 meg system, but I figured it was having this problem
    anyway.
    
    The system hangs still occur; but usually when doing something pretty
    heavy or large in memory size. Did anyone use a 2090 w/ ST506 on
    a 1meg old agnus setup?
4005.11AMIGA2::MCGHIEThank Heaven for small Murphys !Fri Aug 24 1990 19:103
I have GIF2IFF guru on my A500, normally on the 2nd or 3rd gif file.

Mike
4005.12MSVAX::BARRETTWait&#039;ll they get a load of meSun Sep 09 1990 12:346
    Well, I discovered the cause behind the disk hangs -- one of the
    disk partitions was configured as 6 heads instead of 4. The drive
    would "crash" when a conflict in disk access was reached.

    
    End of mystery.