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

Bug#344649: marked as done (debian-installer-manual: compile kernel for SPARC)



Your message dated Mon, 04 May 2015 01:38:24 +0100
with message-id <1430699904.4113.131.camel@decadent.org.uk>
and subject line Re: debian-installer-manual: compile kernel for SPARC
has caused the Debian Bug report #344649,
regarding debian-installer-manual: compile kernel for SPARC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
344649: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344649
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer-manual
Version: sarge / SPARC
Severity: normal

Compiled the kernel source for 9Sarge1 for the Sparc port according to:
http://www.debian.org/releases/stable/sparc/ch08s04.html.en
But found two missing items in section 8.4.1:
1) "Now, compile the kernel: fakeroot make-kpkg --revision=custom.1.0 
kernel_image. The version..."

This caused my machine to halt with a kernel panic after booting with
this kernel. I found out the correct command to compile the kernel has
to be (at least for Sparc):
fakeroot make-kpkg --revision=custom.1.0 --initrd kernel_image

2) After compiling this way, I found the kernel did not match the original
kernel. This is because the Sparc team does actually use a different 
method of compiling the source. Best way to start compiling the kernel 
like the package builders did, is by using the spource information in the
actual kernel binary. This can be done using the APT. See the APT HOWTO
for more information. To compile to get the same kernel image as for 
instance the kernel-image-2.4.27-2-sparc64 is by issuing following
commands:
# apt-get source kernel-image-2.4.27-2-sparc64
To get the source package.
# apt-get build-dep kernel-image-2.4.27-2-sparc64
To get the dependencies to build this kernel.
# cd kernel-image kernel-image-2.4.27-sparc-2.4.27
# fakeroot debian/rules flavours=sparc64
This will start building the package. The latter option (flavours=...)
can be omitted. It will then build the complete package for all Sparc
architectures, but can take a long while to finish. 
This will produce the .deb package, which can be unpacked usign the 
dpkg -i command. The kernel is identical, apart from a couple of bytes
due to the time stamp and stuff like this. 


--- End Message ---
--- Begin Message ---
Closing as sparc is no longer a release architecture.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: