Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!sunybcs!ugkamins From: ugkamins@sunybcs.uucp (John Kaminski) Newsgroups: comp.os.minix Subject: Re: Minix 1.1 and IBM portable hard disk Keywords: minix, hard disk Message-ID: <4810@cs.Buffalo.EDU> Date: 20 Mar 89 19:40:48 GMT References: <13890@duke.cs.duke.edu> Sender: nobody@cs.Buffalo.EDU Reply-To: ugkamins@sunybcs.UUCP (John Kaminski) Distribution: usa Organization: SUNY/Buffalo Computer Science Lines: 25 In article <13890@duke.cs.duke.edu> kab@juliet.cs.duke.edu (Kevin Anderson Brooks) writes: > > I'm a student who has been given MINIX 1.1 for one of my classes. >My problem is that I can't get minix to create a filesystem on my hard >disk. I have a IBM portable computer with a 20Meg Segate ST225 hard disk. >I've followed the directions in the documentation and I not doing anything >wrong (I guess?). I've tried both at_wini.c and xt_wini.c and I don't >know what to do next? My best guess is that I don't have the correct >driver for my hard disk. [ ... rest of message deleted for brevity. contained error msgs, primarily kernel msgs ... ] On the 1.1 distribution I received for the AT, the file system was at most 17 blocks long (hmmm...number of sectors per track you say... why, of course! :^) Turns out the problem was in the driver (having the hard disk controller programming specs proved very helpful) where a logial OR (with "||") was used where a bitwise OR (with "|") should have been used in order to prop- erly give the controller the commands for reading and writing past track boundaries (i.e., going from sector 17 to sector 18, which is on the next track). I haven't played with that part of the system in quite some time, so I do not even know precisely where that is. I always thought that it would be fixed in 1.2 (I ordered the system when 1.2 was just ready, and got 1.1, prob. because P-H hadn't shipped all of their 1.1 copies and/or didn't have 1.2 quite ready to ship). Hope that might help.