Re: How to compile custom kernel 2.6 for ppc64

2005-12-15 Thread Wolfgang Pfeiffer
On Wed, Dec 14, 2005 at 09:08:26PM +0100, Wolfgang Pfeiffer wrote:
 On Wed, Dec 14, 2005 at 11:03:21AM +0200, Eduardo Trápani wrote:
  
  I've tried everything I could think of, apt-get source --build, 
  make-kpk, debian/rules binary, dpkg-buildpackage -b -uc but either 
  the kernel does not boot or [ ... ]

 
 you might want to search for exactly these topics between April 8
 through 15 this year, where compile questions were discussed in
 great detail, partly ad nauseam:

 ... no, not ad nauseam, but one could think it came *close* to that
... :)

And please come back if the links don't help ... 

Best Regards
Wolfgang


-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to compile custom kernel 2.6 for ppc64

2005-12-14 Thread Eduardo Trápani


I've tried everything I could think of, apt-get source --build, make-kpk, debian/rules 
binary, dpkg-buildpackage -b -uc but either the kernel does not boot or I cannot install the image 
due to errors that I find it hard to trace (a sample from yesterday at the end of the message).

I do need to compile the kernel to add patches from Ben to handle the fan and 
to recognize mi model (PowerMac 8,2).

Could somebody tell me what are the steps I should take to be able to compile 
and boot a kernel for ppc64?  I already have the etch chroot, as Sven suggested 
and backported yaird and debconf.

Eduardo.

PS: The error I got yesterday: Error setting debconf flags in 
linux-image-2.6.14-2-powerpc64/postinst/bootloader-error-2.6.14-2-powerpc64: Unsupported command 
you (full line was You already have a NoLOADER configuration in /etc/.conf) 
received from confmodule. at /var/lib/dpkg/info/linux-image-2.6.14-2-powerpc64.postinst line 1233, 
STDIN line3.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to compile custom kernel 2.6 for ppc64

2005-12-14 Thread Wolfgang Pfeiffer
On Wed, Dec 14, 2005 at 11:03:21AM +0200, Eduardo Trápani wrote:
 
 I've tried everything I could think of, apt-get source --build, 
 make-kpk, debian/rules binary, dpkg-buildpackage -b -uc but either 
 the kernel does not boot or I cannot install the image due to errors that I 
 find it hard to trace (a sample from yesterday at the end of the message).
 
 I do need to compile the kernel to add patches from Ben to handle the fan 
 and to recognize mi model (PowerMac 8,2).
 
 Could somebody tell me what are the steps I should take to be able to 
 compile and boot a kernel for ppc64?  I already have the etch chroot, as 
 Sven suggested and backported yaird and debconf.

In the powerpc archives, available here:
http://groups.google.com/group/linux.debian.ports.powerpc?hl=en

you might want to search for exactly these topics between April 8
through 15 this year, where compile questions were discussed in
great detail, partly ad nauseam:

  applying patch
  Compile errors Patching 2.6.11.7 to 2.6.12-rc2
  Building packages and compiler flags
  Recompile a driver, without recompiling the whole kernel

I don't know whether there are specific compiler flags necessary for
ppc64, but I'd think they're not, simply because gcc might probably
realise the system (ppc64) automatically anyway ... Am I right?

HTH

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to compile custom kernel 2.6 for ppc64

2005-12-14 Thread Shyamal Prasad
 Eduardo == Eduardo Trápani [EMAIL PROTECTED] writes:

Eduardo I've tried everything I could think of, apt-get source
Eduardo --build, make-kpk, debian/rules binary,
Eduardo dpkg-buildpackage -b -uc but either the kernel does not
Eduardo boot or I cannot install the image due to errors that I
Eduardo find it hard to trace (a sample from yesterday at the end
Eduardo of the message).

make-kpkg --subarch powerpc64 --initrd --revision=shyamal.1.0 kernel-image

worked fine for me with 2.6.12 (stock kernel sources) the last time I
tried for my dual G5.

Cheers!
Shyamal