sidux.com

sidux-Kernelhacking - broken link linux-headers/include/asm to asm-i386

ralul - Jun 14, 2008 - 11:44 AM
Post subject: broken link linux-headers/include/asm to asm-i386
Self compiled package and installed:
"dpkg -i linux-headers-2.6.25-6.slh.1-r1_1_i386.deb"
produces an empty link
/usr/src/linux-headers-2.6.25-6.slh.1-r1/include/asm to asm-i386

In my kernel source that link points an existing directory:
/home/ral/src/linux-source-sidux-2.6.25/include/asm to asm-x86

Where should i configure architecture?
Command "dpkg --print-installation-architecture" gives "i386"
I have a x686 capable pentium-m processor, so Kernels ".config" is set:
CONFIG_MPENTIUMM=y
CONFIG_X86_PC=y
# CONFIG_X86_GENERIC is not set
ralul - Jun 14, 2008 - 03:41 PM
Post subject: RE: broken link linux-headers/include/asm to asm-i386
Found answer in some thread. Slh said:
"kernel-package ist seit 2.6.24 nicht mehr in der Lage funktionsfähige Headers zu erzeugen."
(en: kernel-package is since 2.6.24 not able anymore to build good headers)

This means:
1. keep sources after kernel build
2. no "make clean" !?
op4latino - Jun 14, 2008 - 08:58 PM
Post subject: RE: broken link linux-headers/include/asm to asm-i386
I thought someone else would reply with a better answer, but I'll try

1. Yes, keep the sources.
2. I don't use make clean, but make oldconfig, install the latest kernel in that way you can use the same config file and you can modify later with "make menuconfig"

a. Don't install the generated headers.
b. Go to /lib/modules/linux-headers-2.6.25-6.slh.1-r1 and make sure build points at /usr/src/linux-headers-2.6.25-6.slh.1-r1/
c. the source symb link should point at /home/ral/src/linux-source-sidux-2.6.25/
d. go to /usr/src and create linux-headers-2.6.25-6.slh.1-r1 pointing to /home/ral/src/linux-source-sidux-2.6.25/
damentz - Jun 16, 2008 - 06:44 PM
Post subject: RE: broken link linux-headers/include/asm to asm-i386
What about linux headers common? The debian and sidux kernels both have them, but there's no way possible to create them with make-kpkg!
kelmo - Jun 16, 2008 - 11:21 PM
Post subject: RE: broken link linux-headers/include/asm to asm-i386
kernel-package (which provides make-kpkg) has been broken for months.

http://bugs.debian.org/475036
damentz - Jun 17, 2008 - 06:15 AM
Post subject: RE: broken link linux-headers/include/asm to asm-i386
Ouch, well what are you guys doing as the workaround at the moment then?
wolfsohn - Jul 12, 2008 - 02:13 AM
Post subject:
A Workaround is:

Download:
Code:
wget http://neotux.net/dists/sid/main/binary-all/misc/kernel-package_11.001-0.neotux3_all.deb

and install it:
Code:
dpkg -i kernel-package_11.001-0.neotux3_all.deb

it is a fixed version from kernel-package...

Have Fun!

wolfsohn
OldKid - Jul 20, 2008 - 05:31 PM
Post subject:
new version now also available for amd64 and i386 kernel headers

Code:
wget http://neotux.net/dists/sid/main/binary-all/misc/kernel-package_11.001-0.neotux4_all.deb


have fun

OldKid
op4latino - Jul 22, 2008 - 02:14 AM
Post subject:
I wonder if someone in the sidux team can take a look at the source and review it so it can be merged in the sidux repo
http://neotux.net/dists/sid/main/source ... ux4.tar.gz

As long its license allows it, of course
All times are GMT
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits