git remote add linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
WorkFlow :
svn co svn://svn.debian.org/kernel/dists/trunk
url=https://github.com/torvalds/linux.git git clone --depth 3 $url
ProC :
MisC :
@tag : Book : Linux Driver Programming Guide
Introduction:
Patch Set :
Fixing up unaligned userspace access in
DebiaN :
# sudo aptitude install -t unstable libc6-dev-amd64 sudo aptitude install -t experimental linux-image-3.3.0-trunk-amd64
UbuntU :
url=http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4.4-quantal/ url=http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/ https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0.9/ wget -l 1 -r -p ${url} rm -rf kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-oneiric/*386.deb sudo dpkg -i /tmp/kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-oneiric/*.deb time sudo dpkg -i *all.deb && time sudo dpkg -i *amd64.deb base_url=https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0.9/ lynx -dump "$base_url" | grep -o https://.*_all.deb \ | while read url ; do wget $url ; done
lynx -dump "$base_url" | grep -o https://.*_amd64.deb \ | while read url ; do wget $url ; done
Does not compile : g++ (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
# this patch needed for gcc (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
http://user.it.uu.se/~mikpe/linux/patches/2.4/patch-gcc4-fixes-v12-2.4.32
http://user.it.uu.se/~mikpe/linux/patches/2.4/patch-more-gcc4-fixes-v1-2.4.32
/usr/local/src/linux-2.4.32/include/asm/processor.h:75: error: array type has
/include/linux/fs.h:1562: error: previous declaration of 'root_device_name' was here
process.c:651: error: 'init_tss' undeclared (first use in this function)
drivers/acpi/acpi.o: In function `acpi_bus_add':bus.c:(.text+0x17c3d): undefined reference to `strcpy' :bus.c:(.text+0x17c83): undefined reference to `strcpy' :bus.c:(.text+0x17dcf): undefined reference to `strcpy' drivers/acpi/acpi.o:bus.c:(.text+0x17ddd): more undefined references to `strcpy' follow drivers/net/wan/wan.o:(__ksymtab+0x58): undefined reference to `comx_root_dir' drivers/net/wan/wan.o: In function `comx_mkdir':comx.c:(.text+0x1929): undefined reference to `comx_root_dir' :comx.c:(.text+0x1c0c): undefined reference to `comx_root_dir' drivers/net/wan/wan.o: In function `comx_rmdir':comx.c:(.text+0x1da4): undefined reference to `comx_root_dir'
How to tune and optimize a kernel configuration for Performance (on some Laptop) ?
Prepare more than 400 Mb to compile a Kernel see the Debian way with make-kpkg
sudo apt-get install libncurses-dev
export VERSION=2.6.19 export REVISION=-k7-amiloa export KVER=${VERSION}${REVISION}
cd /usr/local/src [[ === -r linux-${VERSION}.tar.bz2 ]] && \=== wget http://kernel.org/pub/linux/kernel/v2.6/linux-${VERSION}.tar.bz2
cd /usr/local/src && tar xfj linux-${VERSION}.tar.bz2 cd /usr/local/src/linux-${VERSION}
sed -e "s/\(EXTRAVERSION =.*\)/\1$REVISION/g" -i Makefile # Tricky [[RegEx]] ? grep "^EXTRAVERSION" Makefile
wget -O - \ http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.7e-2.6.14.patch \ | patch -p1 -b # [[DSDT]] http://gaugusch.at/kernel.shtml
# make menuconfig zcat /proc/config.gz > /usr/local/src/config-$(uname -r).txt cp /usr/local/src/config-$(uname -r).txt .config
make menuconfig
\rm /usr/src/linux /usr/src/kernel-headers-${KVER}
ln -fs /usr/local/src/linux-${VERSION} /usr/src/linux ln -fs /usr/local/src/linux-${VERSION} /usr/src/kernel-headers-${KVER}
sudo apt-get install linux-source-2.6 kernel-package libncurses-dev initrd-tools initramfs-tools
ed2k://|file|linux-2.6.10.tar.bz2|36533484|b0d567843b33d09894465eecc0f62730|
ln -fs /usr/src/linux-2.6.10 /usr/src/kernel-headers-2.6.10-k7-amiloa cd /usr/src/linux-2.6.10
grep "^EXTRAVERSION" Makefile #EXTRAVERSION =-k7-amiloa
wget -O - http://kem.p.lodz.pl/~peter/cko/rel/patch-2.6.10-cko3.bz2 \ | bzip2 -d | patch -p1 -b
wget -O - \ http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch \ | patch -p1 -b
make menuconfig
# [[ToDo]] : # drivers/built-in.o(.text+0x82ad0): In function `idepnp_remove':
mc subshell.c: couldn't open master side of pty pty_open_master: Aucun périphérique de ce type
Some option missed in kernel config
http://people.via.ecp.fr/~alexis/formation-linux/
export KVERS=$(uname -r) export KSRC=/usr/src/kernel-headers-$KVERS apt-get install kernel-headers-$KVERS
http://www.mail-archive.com/debian-release@lists.debian.org/msg08650.html
Boot : grub
Mouse Regression : http://linuxfr.org/2005/03/02/18407.html French
mousedev.tap_time
Files :
ed2k://|file|linux-2.6.13.tar.bz2|38372729|0972556a6c78cc3a41cd2af98a93985a| ed2k://|file|linux-2.6.11.8.tar.bz2|37117402|64d7507272f832ba78fff937941387be| ed2k://|file|linux-2.6.11.7.tar.bz2|37099602|224a5f170de71c44cc1827a91f13f629| ed2k://|file|linux-2.6.11.6.tar.bz2|37090316|af30cc7ce90cfe80dcbe39b86a2032a8| ed2k://|file|linux-2.6.11.5.tar.bz2|37088482|911b7524461d7037b3dc2df2be661c64| ed2k://|file|linux-2.6.11.3.tar.bz2|37092286|3c2dd4877cb7506a653213fc6d390450| ed2k://|file|linux-2.6.11.tar.bz2|37075679|56cf6fb86e1777657e69ecab5942facf|
yaird error: no link to block device in /sys/devices/pci0000:00/0000:00:04.0/ide0/0.0 (fatal)
Yaird http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348293
irc://irc.oftc.net/#debian-kernel