On Sun, 2013-02-10 at 21:14 +0100, Ralf Mardorf wrote: > On Sun, 2013-02-10 at 19:33 +0000, SakisX wrote: > > Ralf Mardorf <ralf.mardorf <at> alice-dsl.net> writes: > > > > > > > > On Sun, 2013-02-10 at 19:15 +0000, SakisX wrote: > > > > how do I recompile the kernel?!Newbe here! > > > > > > What distro are you using? > > > > > > Regards, > > > Ralf > > > > I use AVLinux 6.0 which is based on Debian. Kernel is 3.0.36-avl-9 (rt kernel) > > and from alsa mixer I see the version is 1.0.24 > > You need some packages to compile a kernel, from an outdated script I'm > still using: > > apt-get update > apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-package kernel-wedge > apt-get install libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev > > Not all are needed, but to install all of them doesn't harm. > > Get the kernel and patches from > wget http://www.kernel.org/pub/linux/kernel/[snip] > > tar -jxf linux-foo.tar.bz2 > > From time to time you need to cd ;). > > Perhaps you need to patch > bzip2 -dc ../patch-foo.patch.bz2 | patch -p1 > > Get your current configuration by > cp /boot/config-$(uname -r) .config > > This might be useful too > # e.g. set to CONFIG_MK8=y (Opteron/Athlon64/Hammer/K8), command out for default > echo "CONFIG_MK8=y" >> .config > > # 32-bit only > # HIGHMEM from 4G to 64G > # echo "CONFIG_HIGHMEM4G is not set" >> .config > # echo "CONFIG_HIGHMEM64G=y" >> .config > but it's not needed. > > Then I run > make oldconfig > > you need to run > make menuconfig > or similar to do the settings. > > make-kpkg clean > make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers PS: I'm running it by a script as root, the fakeroot might not work any more for Debian, if you run those commands as user. > # Installing new packages > make-kpkg clean > dpkg -i ../linux-image-foo-10.00.Custom_*.deb > dpkg -i ../linux-headers-foo-10.00.Custom_*.deb ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user