Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!udel!mmdf From: UK0W%DKAUNI2.BITNET@cunyvm.cuny.edu (Stefan Haenssgen) Newsgroups: comp.os.minix Subject: Re: ST 1.5.0: patch(1) won't patch (and further questions) Message-ID: <10552@nigel.udel.EDU> Date: 8 Feb 90 15:44:37 GMT Sender: mmdf@udel.EDU Lines: 62 hi there... > Kerst van Raden (F35KER@DHHDESY3.BITNET) writes: > While upgrading my system to ST 1.5.0 I ran into the following problem: > I had unpacked the cdiffs in the src/fs directory and tried to patch > the 1.1 files. I entered ....... > Hmm... The next patch looks like a new-style context diff to me... > The text leading up to this was: > -------------------------------- > |- > -------------------------------- > > and then there is an error message saying,that it can't patch this file. > Has anybody else had this problem when doing the upgrade? And is there > a quick remedy? I had exactly the same problem. It disappeared when I recompiled patch using the new libraries (strange indeed). However, i still have some problems with 1.5: - The strncpy() routine doesn't seem to work all the time. Someone told me that there was a patch for it, could some- body re-post it please? - I get lots of ".. panic Exit via trap 6" at irregular intervals. I couldn't reproduce the exact circumstances, but they keep appearing during compilation, listing files etc. This is still under Minix 1.1, so maybe it will get better with 1.5 - Compiling the kernel, mm & fs results in many warnings about pointers (conversion to integer loses accuracy, conversion to long.., incompatible pointers in =, etc). Is this because the PC 1.5 assumes that pointer=integer=long? I ignored the warnings, but I don't like them at all. Has anybody succeeded in installing the new 1.5 on his ST, with- out cross-compiling from GNU-C or other "tricks"? It is DEFINITELY NOT possible to patch an ORIGINAL 1.1 Version directly to 1.5: not only programs like sed are missing in the 1.1 package, but it is also necessary to include some of the new library routines in order to compile the new programs. I have managed to compile a 1.5 minix.img using just the standard minix compiler and the new libraries, but it doesn't work very well... I get a nice "Memory Fault - Core dumped" as soon as I log in, and "ls" results in another core dump... well, at least "rm core" works ;-) I guess that the old strncpy() is to blame, but there seem to be lots of other bugs left. I wonder how many fixes will be needed before 1.5 runs smoothly - has anyone kept track of all the postings that dealt with bug fixes? Since most of them aren't "official" anyway, i am afraid that there are 1001 different versions of 1.5 (and this doesn't make updates easier). Keep patching, Stefan _+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+ Stefan Haenssgen Universitaet Karlsruhe UK0W@DKAUNI2.BITNET _+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+