[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Recompiling Kernel on G4 PowerMac Gigabit dual 450Mhz

Hi Clive,

On Thu, 11 Sep 2003, Clive Menzies wrote:

> On (10/09/03 21:49), Benjamin Herrenschmidt wrote:
> > On Wed, 2003-09-10 at 17:56, Clive Menzies wrote:
> > > Sometime ago I managed to recompile a 2.4.18 SMP kernel and most things
> > > work OK but a few issues remain:
> > >
> > > Poor sound quality
> > > Lack of video
> > > I've just added memory but only 512Mb are recognised
> > > Can't seem to read CD's or Zip files
> > >
> > > I've recently tried to recompile to include HighMem and rectify some of
> > > the above issues but the new kernels I've tried won't startx and
> > > recompiling again gives errors after I've made changes.  I've lost my
> > > original config file and so have to start again from scratch.  I'm still
> > > using the original SMP kernel.
> > >
> > > Are there any docs that give an idiots guide to config selection for
> > > this machine?
> >
> > Get my tree and make pmac_config
> >
> > Ben.
> Thanks Ben
> It took a bit of detective work but when I found the page:
> http://penguinppc.org/~benh/


The following page for a TiBook III definitely helped me a lot for my
Titanium IV:
 I didn't copy the advice there literally and varied it a bit:

Inside the benh 2.4.21-ben2 tree:
README (on top of the tree)

And this book helped me understand the difference between a module and
non-modular device drivers:

"Running Linux" by Welsh, Dalheimer, Kaufman (O'Reilly), 3.rd edition.
About 12 or 13 pages on Kernel building there. And please have an
extra thorough look at the book if it's another edition than the one
above. Contents might be different then, IIRC ...

And in case you get errors while building your kernel (I got several
of them ... :) ... :


To fix the stuff I simply unset these options in the kernel .config
that I thought were responsible for the build errors I got. I can't
code, so that's all I could do ..

All in all it took me several weeks for the setting of the config
file: It was the first one I made.

And I'm careful with Kernel Guides floating around the Internet:
"I once wrote something called the Linux Kernel Hackers' Guide. If you
are looking for it, stop now. It's old, not updated, very broken, and
by now is almost entirely misleading."

Hoping it helps,

Best Regards,

> your instructions on building the tree are pretty clear ;)
> As a result I ran out of space in /usr (down to 19Mb out
> of 1.5Gb) but I've since run deborphan and released 167Mb in total.
> So on to actually recompiling the kernel, I shall plough through the
> documentation to find out how but if I get stuck, I  hope you won't mind me
> coming back for help :)
> Regards
> Clive

Profile, Links:

Reply to: