From: Michel <da...@re...> - 2000-12-07 14:08:00
|
Roberto Ragusa wrote: > I don't know why but precompiled kernels 2000814 and 20000927 > don't start on my CyberstormPPC 604e@150; the screen goes > white and nothing happens. According to bootmesg the kernel > is launched. > I'm running APUS since the first days, and I'm not doing silly > errors: last boothack, correct options, etc... > No problem with 20000518. Anything interesting in the dmesg output? > A couple of weeks ago I downloaded the 2.2 CVS tree to > compile a kernel myself. > Well, my own-compiled kernel does start and run. Good. Any differences between your .config and the one of the precompiled kernels? > But I found that the Virge (CV64/3D) console acceleration was > corrupted (but X didn't suffer any problems): something was wrong > with the blitting. > > I compared the source with older versions and it was exactly > identical! > So I thought there was a compiler problem, and, yes, I was right. > I'm using gcc 2.95.2 (from LinuxPPC 2000), which reorders memory > access, and it's not a good thing if you reorder register writes. > > I added a "-fno-scrict-aliasing" to CFLAGS in the main Makefile > and patched the virgefb.c driver to be more careful about register > access. Maybe I added too many mb(), but I really don't think they > could cause mesaurable speed degradation, so I chose to be on the > safe side. > Here's the patch: [patch omitted] Can you please submit it to our Patch Manager at SourceForge? > Now, if only someone could add X acceleration and mode switching... For X acceleration, you'd have to modify the X 4.x s3virge driver. Several people have had a look at it with no success so far :( > BTW, ide-doubler fails to detect the third and fourth IDE drives. > It tries, but gets garbage instead of the drive names. Please also submit this to our Bug Tracker. Stuff which is in the SourceForge database won't get forgotten. And if you are logged in when submitting stuff, you'll always be notified on updates. Michel -- Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and the DRI project |