Sender: root AT squid DOT netplus DOT net Message-ID: <379AE22E.DB97A916@netplus.net> Date: Sun, 25 Jul 1999 05:08:46 -0500 From: Steve Bergman X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9-19mdk i586) X-Accept-Language: en MIME-Version: 1.0 To: pgcc AT delorie DOT com Subject: Re: pgcc and linux-2.2.9 DMA problem References: <37911716 DOT 7A691225 AT netplus DOT net> <19990720095916 DOT N263 AT cerebro DOT laendle> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: pgcc AT delorie DOT com Marc Lehmann wrote: > On Sun, Jul 18, 1999 at 01:59:47AM +0100, Dr H. T. Leung wrote: > > Hmmm; the linux kernel source tree has always been a bit touchy about > > being compiled with optimization or by anything other than gcc/egcs (I > > gcc, you mean. for pgcc and egcs (2.95 prerelease) you need to switch off > aliasing at least. I am happy to report that my original problem with UDMA and the Mandrake kernel has *nothing* to do with pgcc. :-) Mandrake uses the -A1 option to hdparm which turns on hardware read look ahead, which I normally did not do with RedHat 6.0 (where everything worked fine). This seems to be the problem. With -A1 removed, it works perfectly. BTW, while messing with this problem, I tried compiling the kernel with no optimization. It seems that I have heard that this does not work, and indeed, it only gets a few seconds into the compile before dying. Does this fact strike anyone else as odd? -Steve