[comp.os.minix] mail to ast bounces

crew@pitt.UUCP (Al Crew) (01/06/89)

Dr. Tanenbaum,

Mail to you has been bouncing.  I know you are waiting for this
information so I am posting a slightly edited version (item 8 is new).

From MAILER-DAEMON Thu Jan  5 11:47:26 1989
Received: by vax.cs.pittsburgh.edu (5.54/1.14)
	id AD01102; Thu, 5 Jan 89 11:47:17 EST
Date: Thu, 5 Jan 89 11:47:17 EST
From: MAILER-DAEMON (Mail Delivery Subsystem)
Subject: Returned mail: Host unknown
Message-Id: <8901051647.AD01102@vax.cs.pittsburgh.edu>
To: crew
Status: R

   ----- Transcript of session follows -----
421 cs.vu.nl.tcp... Deferred: Connection refused by uunet.UU.NET
550 ast@cs.vu.nl... Host unknown: Connection refused by uunet.UU.NET

   ----- Unsent message follows -----
Received: by vax.cs.pittsburgh.edu (5.54/1.14)
	id AA24734; Wed, 4 Jan 89 21:01:43 EST
Date: Wed, 4 Jan 89 21:01:43 EST
From: crew (Al Crew)
Message-Id: <8901050201.AA24734@vax.cs.pittsburgh.edu>
To: apd@sun9, ast@cs.vu.nl, crew

Dr. Tanenbaum,

Sorry it took me a few days to test your programs. (Yesterday
was my birthday...)

1) Your printer fix seems to work fine.  It now works on the IBM 
   PS/2 Model 30-286 (in both of its possible configurations).  It still works
   on the IBM AT Model 339.

2) Now for the sensing of the Model ID:
	
	on the IBM AT   Model 339    -> AT=1, PS=0
	on the IBM PS/2 Model 30-286 -> AT=1, PS=0

	(I looked up the value for the Model
	 30 in the technical reference: Model = FC Sub-Model=09.
         So it looks like an AT. [I doubt that is what you expected.])

	I tried to run it on a Model 80 but it crashed before printing.

3) For your reference I have access to the following machines for tests:
   (I have technical references for all but the Model 80.)
		IBM PC
		IBM XT
		IBM AT
		IBM AT Model 339
		IBM PS/2 Model 30-286
		IBM PS/2 Model 50
		IBM PS/2 Model 60
		IBM PS/2 Model 70
		IBM PS/2 Model 80

4) I plan to modify floppy.c to handle 1.44MB drives. (You are not
   working on that are you?)

5) Warm reboot of Minix on the PS/2 Model 30-286 hangs immediately
   after I type '='.  None of your print statements appeared.

6) This semester I plan to work on an "operating system debugger"
   for Minix.  Does anything like that exist?

7) Do mkfs prototype files exist for the V1.3 distribution.  Now that I
   have V1.3 pieced together, I would like to create an "offical"
   set of floppies to archive.

8) I had the dosdir/dosread/doswrite problem.  It seemed to "fix itself"
   when I got the new binary for asld and used -O -i on the compilation.
   (I don't know which action cured the problem.)  I have since modified
    the program to handle 720K floppies (and 1.44M once floppy.c is
     updated.)  I will post it after more testing.

Al Crew
crew@vax.cs.pittsburgh.edu

ast@cs.vu.nl (Andy Tanenbaum) (01/08/89)

In article <4391@pitt.UUCP> crew@vax.cs.pittsburgh.edu.UUCP (Al Crew) writes:
>Mail to you [ast] has been bouncing.  
Mail from me to you has also been bouncing.  My path is:
   ... uunet!mcvax!cs.vu.nl!ast
Please send me mail with your exact path from uunet (or some other major node).

>4) I plan to modify floppy.c to handle 1.44MB drives. (You are not
>   working on that are you?)
So far we can't get the floppy to work at all.  The current state is as
follows.  When the floppy driver is called for the first time on a Model 50
or higher, it (correctly) sees that it is not calibrated, and issues a
calibrate command.  Then it waits for the interrupt.  No interrupt
ever happens and the whole thing hangs forever.  The suspicion is  that
interrupts are not being initialized properly, or something microchannelish
is not being set up right.  DMA may also be a problem later on, but the
recalibrate doesn't use it.  If anyone has any ideas what to do, PLEASE
post them.  On the Model 30, everything works fine, so the problem apparently
relates to some difference between the 30 and the 50. It isn't the CPU difference
because MINIX works fine on plain old ATs, which have an 80286, just like the
Model 50.  If we can get recalibrate to work, we can start thinking about
1.44MB drives.  The Model 50 uses a NEC 765 chip, just like the PC, so 
setting up 1.44MB is simply a matter of adding a new table entry.  If anyone
knows the values to include, please post them.

>5) Warm reboot of Minix on the PS/2 Model 30-286 hangs immediately
>   after I type '='.  None of your print statements appeared.
No idea.  Does cold boot work ok?

>6) This semester I plan to work on an "operating system debugger"
>   for Minix.  Does anything like that exist?
Not that I know of.  My guess is that it won't help much.  Debugging
operating systems is not like debugging user code.  The problem with the
floppy is undoubtedly that you have to stuff some random value into some
equally random I/O port to make a Model 50 work, and the documentation
says nary a word about it.  I don't think a debugger will help there.
What is needed is an inspired guess done by someone who knows the Model 50.
(or other PS/2 model > 50).  Get out your crystal ball.

>7) Do mkfs prototype files exist for the V1.3 distribution.  
Not exactly.  The distribution was built in a somewhat funny way.  As long
as you have all the files and the checksums agree with the list I posted,
I wouldn't worry about which file goes on which floppy disk.
I would suggest making a diskette for each directory (kernel, mm, fs, etc.)
if you have 360K, or group related things together if you have larger ones.
In any event, be sure to keep a write protected 1.3 around to use as the
base when future updates are posted.

I have been corresponding by email with several people about trying to
get the PS/2 stuff working.  This has been frustrating due to flaky mail.
In particular, the only person who has a working MINIX system in the same
room as a PS/2, Steve Ackerman of uvm, is unreachable.  I think we
should conduct the PS/2 discussion in the newsgroup instead of by mail,
first because it is more reliable, and second because there are probably
other people around with a PS/2 who might be interested and/or have good
suggestions.  And unfortunately, I don't think we will make any progress
until somebody hits upon the answer.

One issue that is unresolved is the planar control register (port 65 on the
model 30).  Is there an analogous thing on the model 50, are there more of
them, what should be done with them, etc.  Suggestions are welcome.

Andy Tanenbaum (ast@cs.vu.nl)