LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-25-2004, 12:34 AM   #1
adhocking
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
ben h's kernelon debian ppc


When i try to follow the instructions given to me on the site below to install Ben's kernel 2.4, i get an error once i get down to "makekpkg --revision mynickname.1 kernel-image" it returns an error saying that i was unable to create image. Doesn't give any other specifics. Wondering if anyone out there has any ideas. I am obviously new to linux, but I have had experience with unix.

thank you for your time,

mike

since i cannot post a site yet due to my noobie-ness, www *dot* cattlegrid *dot* net *slash* *tilde* christophe *slash* titanium

Last edited by adhocking; 02-25-2004 at 12:35 AM.
 
Old 02-25-2004, 09:46 AM   #2
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Re: ben h's kernelon debian ppc

Hi,

Quote:
Originally posted by adhocking
When i try to follow the instructions given to me on the site below to install Ben's kernel 2.4, i get an error once i get down to "makekpkg --revision mynickname.1 kernel-image" it returns an error saying that i was unable to create image. Doesn't give any other specifics. Wondering if anyone out there has any ideas. I am obviously new to linux, but I have had experience with unix.

thank you for your time,

mike

since i cannot post a site yet due to my noobie-ness, www *dot* cattlegrid *dot* net *slash* *tilde* christophe *slash* titanium
arent't there any error messages ? compile errors or something ?

Really nothing ?

cu
 
Old 02-26-2004, 12:44 AM   #3
adhocking
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
again

I just re-installed woody. I rsync'ed ben's kernel, I haven't tried to compile again. I was wondering if i needed to set up xfree before I upgrade the kernel? Or just to follow the instructions from the site I gave?

thanks,

mike

p.s. If you have any advice, more from what I got in that site, I would be very very appreciative!

Last edited by adhocking; 02-26-2004 at 01:08 AM.
 
Old 02-26-2004, 07:20 AM   #4
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Re: again

Hi,
Quote:
Originally posted by adhocking
I just re-installed woody. I rsync'ed ben's kernel, I haven't tried to compile again. I was wondering if i needed to set up xfree before I upgrade the kernel? Or just to follow the instructions from the site I gave?

thanks,

mike

p.s. If you have any advice, more from what I got in that site, I would be very very appreciative!
sry, I can't open the page. Timeout. So I don't know what he's writing there.
You don't have to setup X to build a Kernel (X is just a addon )

The "debian way" of building a kernel is to get the latest kernel sources from www.kernel.org , untar 'em in /usr/src

tar xvfj linux-2.*.tar.bz2

put a link onto the directoy called "linux"

ln -s /usr/src/linux-$version /usr/src/linux

configure the kernel ...

cd /usr/src/linux; make menuconfig

and then do a

make-kpkg kernel_image

in /usr/src/linux. The --revision isn't needed at least, cause the make-kpkg tool sets the revision up to "custom 10.00" for you ...

make-kpkg --targets shows up all targets you can build (with documentation and so on)

After the package has been build, go back to /usr/src and install it

dpkg --install kernel-image-$version_custom_10.00.deb


Btw: you could paste the last 5-10 lines of the code that are above the exit of make-kpkg.

If there are any questions, just ask.

cu
 
Old 02-26-2004, 09:29 AM   #5
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
You could always rsync the 2.6 kernel version too.
Code:
cd /usr/src/

mkdir benh-2.5

rsync -avz --delete source.mvista.com::linuxppc-2.5-benh benh-2.5
Don't worry, its at 2.6.3 right now. You can still use make-kpkg after menuconfig too. Don't forget to change CONFIG_INPUT_EVDEV=y to n if you end up getting a bunch of this in the logs:
Code:
 Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 0, Code: 0, Value: 0
> Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 1, Code: 34, Value: 1
> Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 0, Code: 0, Value: 0
> Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 1, Code: 24, Value: 0
> Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 0, Code: 0, Value: 0
> Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 1, Code: 34, Value: 0
> Jan 4 22:54:52 oz kernel: evbug.c: Event. Dev: adb2:2.c4/input, Type: 0, Code: 0, Value: 0
The cattlegrid page never loaded for me either, btw.
 
Old 02-26-2004, 08:43 PM   #6
adhocking
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
thanks

Thanks a lot guys! I haven't compiled yet, I am sorry that that page wouldn't load, I tried it all day today as well, and no luck for me either. Hmm, so I can rsync 2.5 or 2.6? I wasn't sure about those trees. I'll check it out. So yea, I have a .config file from a page. Which brings me to my next question. I place this .config file in the linux directory before I compile and build to make my life easier? I have 1 GB of RAM so I know i have to change some fields, ENABLE_HIGH_MEM=y, and such. I am getting the .config from ppckernel.org the benh 2.4 page for tibooks. I was wondering if this .config file is compatable with the 2.5 and 2.6 versions? I am assuming so, but I just want to make sure before I try and do this again Anyways, I gotta go to work, any more help would be awesome!


mike
 
Old 02-27-2004, 01:45 AM   #7
liquigel
Newbie
 
Registered: Feb 2004
Location: CT, USA
Distribution: Debian stable
Posts: 29

Rep: Reputation: 15
adhocking wrote:
since i cannot post a site yet due to my noobie-ness, www *dot* cattlegrid *dot* net *slash* *tilde* christophe *slash* titanium

Huh? Why can't you post a link?

Say, a while ago I installed debian on my Powerbook (though it's now currently running OS X). I put up some info on the process I went through here:
http://users.bestweb.net/~john3g/ppc.../ppc_help.html

One thing I thought was weird about the benh source -- why does it contain source for all those other architectures besides PPC? It seems to waste a lot of extra bandwidth.
 
Old 02-27-2004, 02:53 AM   #8
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Rep: Reputation: 30
if all u want is a 2.4 kernel, you could always reinstall with the BF24 option, that usses a 2.4 kernel on install

-Zaskar
 
Old 02-27-2004, 04:18 AM   #9
adhocking
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
so about the .config...

Does anyone know about what I should do about the .config that i can get from a lot of sites (there are a lot of sites where people have posted their .config for the tibook that I currently have as well)? Can I use that for the 2.5 or 2.6 source? I would assume so, unless there are more fields differentiated in the different kernel builds? Thanks a lot guys, you have been a great help!

mike

p.s. Yea, I just signed up for this forum, and it will not allow me to post hyperlinks until I have successfully posted 5 times, they say that it tries to deter people from spamming this forum.

oh and here is my system:

cpu: unknown (80010201)
clock: 800MHz
revision: 2.1 (pvr 8001 0201)
bogomips: 665.19
machine : PowerBook3,4
motherboard : PowerBook3,4 MacRISC2 MacRISC Power Macintosh
L2 cache : 256K unified
memory : 1024MB
pmac-generation : NewWorld

Last edited by adhocking; 02-27-2004 at 04:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian on G3 Wallstreet PPC - X Crashes Hard alandove Linux - Newbie 1 03-24-2005 07:04 PM
Debian port for PPC 64 bit? microsoft/linux Debian 1 03-18-2005 08:33 PM
Debian on PPC troubles lancelott Debian 1 10-23-2004 09:55 AM
Debian install on iBook G3 (PPC) Mr_eX Debian 3 07-17-2004 10:31 PM
Outdated debian ppc software? ElPuello Debian 7 06-12-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration