Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mephisto!udel!mmdf From: UPSYF173%DBIUNI11.BITNET@cunyvm.cuny.edu (Wolfgang Thiel) Newsgroups: comp.os.minix Subject: Re: ST 1.5.10 with two harddisks works just fine Message-ID: <25146@nigel.udel.EDU> Date: 20 Jul 90 08:36:47 GMT Sender: usenet@ee.udel.EDU Lines: 16 Hi, There a_r_e errors in stwini.c/stdma.c ST1.5.10: The #ifdef SUPRA look fine, but: SUPRA is always defined in config.h,but this #define means the partitioning, not the interrupt handling. The SUPRA stuff didnt't work with my harddisk (SCSI, ICD-Hostadaptor, QUANTUM). And be careful with the DELAY counters (may-be this is in stdma.c, I don't recall): the test is: while(--counter > 0)... So, if you change the counter to unsigned int (which I did to test longer delays!) 0 means a very long delay, not a short one. Somewhere in the driver, there is a line while (--delay > 0); which is followed two lines later by while(--delay >0); without resetting delay to the initial value; so, the 2nd loop finishes immediately (or very late with unsigned). I think this was in dma_wcmd(). Why was the extended partitions patch not included into 1.5.10? There will be many people with more then 4 partitions right now! Wolfgang