[vox-tech] I got 2.6 working!

Ken Bloom vox-tech@lists.lugod.org
Wed, 4 Feb 2004 12:15:02 -0800


--VbJkn9YxBvnuCH5J
Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Becuase I was discussing it with people at the meeting last night, I'm =20
sending out my status on the 2.6 kernel, maybe peopel can learn from =20
it.

I had 2 major questions:
1) Why the vesa framebuffer wasn't working in 2.6.0
2) If I have to recompile several times, making small configuraiton =20
changes, how do I save time by using the binaries that I built last =20
time that haven't changed?

1) Why the vesa framebuffer wasn't working in 2.6.0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Ok, I'll cheat. I don't know why it wasn't working, but it works now in =20
my 2.6.2 configuration. Perhaps it's that I'm using 2.6.2 and a bug got =20
fixed, or perhaps that I decided not to compile in aty128fb (the =20
framebuffer driver for my ATI card) - I leave it as a module.

2) Incremental Rebuilts (in Debian)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
I figured out how to do this, and I do it by removing most of the =20
process from make-kpkg's control.

The first time I compile the kernel, I use make-kpkg for everything. =20
(This way I can be sure to generate the correct debian/directory)=20

in /etc/kernel-pkg.conf, I have the line
do_clean :=3Dno
which prevents make-kpkg from cleaining up the kernel directory when it =20
finishes - sure it takes disk space, but I can clean it all up when I'm =20
done.

make EXTRAVERSION=3D-1ken menuconfig
make EXTRAVERSION=3D-1ken bzImage
#edit debian/changelog to have correct version number in top entry
make-kpkg --append-to-version=3D-1ken --revision=3D1 make_kpkg

I don't know how well this works for upgrades between versions (like =20
upgrading from 2.6.1 to 2.6.2) or how well it works if you change the =20
EXTRAVERSION, but this is a good start.

make-kpkg isn't smart enough to do an incremental build by itself, it =20
appears.

3) Another lesson learned
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Make sure you have IDE disk support enabled, otherwise you'll get a =20
kernel panic that you can't mount the root drive.

--=20
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about=20
signing the key. ***** My computer can't give you viruses by email. ***

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAIVLFlHapveKyytERAtBGAJ0b5oRht4KbWr9WYrVXYyPMhR3bOACgqamo
OTWTO6FPQ9v1iRE0W24DbVc=
=qpjz
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--