top of page
Writer's pictureybrecucohorjuepadw

Kernel Hack V4 3: The Latest Version of the Linux Kernel Hacking Tool



The loglevels 0-9 are useful when your console is being flooded withkernel messages you do not want to see. Selecting 0 will prevent all butthe most urgent kernel messages from reaching your console. (They willstill be logged if syslogd/klogd are alive, though.)




Kernel Hack V4 3



Linux is a clone of the operating system Unix, written from scratch byLinus Torvalds with assistance from a loosely-knit team of hackers acrossthe Net. It aims towards POSIX and Single UNIX Specification compliance.


Linux is easily portable to most general-purpose 32- or 64-bit architecturesas long as they have a paged memory management unit (PMMU) and a port of theGNU C compiler (gcc) (part of The GNU Compiler Collection, GCC). Linux hasalso been ported to a number of architectures without a PMMU, althoughfunctionality is then obviously somewhat limited.Linux has also been ported to itself. You can now run the kernel as auserspace application - this is called UserMode Linux (UML).


Do NOT use the /usr/src/linux area! This area has a (usuallyincomplete) set of kernel headers that are used by the library headerfiles. They should match the library, and not get messed up bywhatever the kernel-du-jour happens to be.


Unlike patches for the 4.x kernels, patches for the 4.x.y kernels(also known as the -stable kernels) are not incremental but instead applydirectly to the base 4.x kernel. For example, if your base kernel is 4.0and you want to apply the 4.0.3 patch, you must not first apply the 4.0.1and 4.0.2 patches. Similarly, if you are running kernel version 4.0.2 andwant to jump to 4.0.3, you must first reverse the 4.0.2 patch (that is,patch -R) before applying the 4.0.3 patch. You can read more on this inDocumentation/process/applying-patches.rst.


When compiling the kernel, all output files will per default bestored together with the kernel source code.Using the option make O=output/dir allows you to specify an alternateplace for the output files (including .config).Example:


Reinstalling LILO is usually a matter of running /sbin/lilo.You may wish to edit /etc/lilo.conf to specify an entry for yourold kernel image (say, /vmlinux.old) in case the new one does notwork. See the LILO docs for more information.


If you ever need to change the default root device, video mode,ramdisk size, etc. in the kernel image, use the rdev program (oralternatively the LILO boot options when appropriate). No need torecompile the kernel to change these parameters.


If you for some reason cannot do the above (you have a pre-compiledkernel image or similar), telling me as much about your setup aspossible will help. Please read the admin-guide/reporting-bugs.rstdocument for details.


fb11c63 kernel: bump 5.10 to 5.10.147 (+38,-110)980aad0 kernel: bump 5.10 to 5.10.148 (+2,-2)5c0c01d kernel: bump 5.10 to 5.10.149 (+2,-2)0667688 kernel: bump 5.10 to 5.10.150 (+134,-282)0abcea1 kernel: bump 5.10 to 5.10.151 (+5,-5)0ff3adf kernel: bump 5.10 to 5.10.152 (+17,-15)bbad2ee kernel: bump 5.10 to 5.10.153 (+37,-38)c837fc9 kernel: bump 5.10 to 5.10.154 (+9,-9)b738819 kernel: bump 5.10 to 5.10.155 (+9,-9)078bdc1 kernel: bump 5.10 to 5.10.156 (+26,-26)d419136 build: make find_md5 reproducible with AUTOREMOVE (+4,-3)439e19d scripts/ext-tools: introduce new script to install prebuilt tools (+98)ac7b1c8 build: handle directory with whitespace in AUTOREMOVE clean (+4,-4)3a58bda kernel: bump 5.10 to 5.10.157 (+58,-52)e5cec69 kernel: bump 5.10 to 5.10.158 (+19,-19)d909fb1 kernel: bump 5.10 to 5.10.159 (+11,-41)7ccb4c6 kernel: add missing symbol for bcm27xx (+5)ce88187 kernel: add missing dependency to KERNEL_RPI_AXIPERF (+1,-1)709351b kernel: Make KERNEL_MAKEOPTS recursively expanded (+1,-1)fcff234 image-commands.mk: Be consistent in command invocation (+1,-1)9aa95bb rules: fix broken commitcount on alpine system (+1,-1)da79da3 image: fix device profile specific COMPILE targets (+1)f30414c kernel: bump 5.10 to 5.10.160 (+2,-2)377d805 trusted-firmware-a.mk: use correct CPE ID (+1,-1)275c51b Revert "image-commands.mk: Be consistent in command invocation" (+1,-1)b1722a0 kernel: bump 5.10 to 5.10.161 (+6,-6)


fb11c63 kernel: bump 5.10 to 5.10.147 (+38,-110)c1c8562 kernel: mtd: fix unbalanced of_node_put() in dynamic partitions code (+101)08969f6 kernel: add kmod-nvme package (+23)18c7738 kernel: mtd: backport extended dynamic partitions support (+154,-5)b4bc9eb kernel: mtd: backport SafeLoader parser (+239,-5)0667688 kernel: bump 5.10 to 5.10.150 (+134,-282)0abcea1 kernel: bump 5.10 to 5.10.151 (+5,-5)0ff3adf kernel: bump 5.10 to 5.10.152 (+17,-15)c61ed09 kernel: netsupport: kmod-sched: Reorder packages (+53,-49)31fd96b kernel: netsupport: Add kmod-sched-drr (+16)7ee55d8 kernel: netsupport: Extract sched-prio and sched-red (+33,-3)3ca4524 kernel: netsupport: Add kmod-sched-act-sample (+20)23ccc71 kernel: netsupport: Extract act_police (+13,-2)051c24c kernel: extract kmod-sched-act-ipt from kmod-sched (+18,-3)e95b359 kernel: netsupport: Add FQ-PIE as an optional sched kmod and extract PIE (+33,-2)bbad2ee kernel: bump 5.10 to 5.10.153 (+37,-38)c837fc9 kernel: bump 5.10 to 5.10.154 (+9,-9)54dc60e generic: fix unset symbol (+1)af20d9d kernel: split out mtd hack for CONFIG_FIT_PARTITION + rootfs (+20,-4)932378a kernel: backport support for "linux,rootfs" in DT (+95,-51)58a73b1 kernel: improve description of NTFS kernel packages (+3,-2)353e468 kernel: support "linux,rootfs" DT property for splitting rootfs (+6,-5)61e1f65 kernel: modules: package Marvell gigE PHY driver (+34)b738819 kernel: bump 5.10 to 5.10.155 (+9,-9)078bdc1 kernel: bump 5.10 to 5.10.156 (+26,-26)a907c20 kernel: add kmod-hwmon-sht3x support (+15)5167bcf kernel: update U-Boot nvmem driver to v6.2 release version (+168)2a1bf86 kernel: kmod-rtc-pt7c4338: Remove package (-16)a3dee42 kernel: kmod-w1-slave-ds2760: Remove package (-17)1f9bf1e kernel: kmod-isdn4linux: Remove package (-32)69ed96f kernel: netconsole: add network console logging support (+16)282dd27 kernel: ca8210: Fix crash by zero initializing data (+30)6b2c445 kernel: remove CONFIG_MMC_BLOCK_BOUNCE (-2)4408f7d kernel: add kmod-btsdio package (+18)78fc12d kernel: fix typo for tegra crypto-sha1 module (+1,-1)6e396ef kernel: remove handling of xfrm[46]_mode_* modules (+2,-15)15bc6b2 kernel: further cleanup of xfrm[46]_mode* (-10)bc64ca1 kernel: kmod-net-rtl8192su: Remove package (-25)ee2341c kernel: add symbol in generic config for 5.10.157 (+1)3a58bda kernel: bump 5.10 to 5.10.157 (+58,-52)e5cec69 kernel: bump 5.10 to 5.10.158 (+19,-19)d909fb1 kernel: bump 5.10 to 5.10.159 (+11,-41)b18a0d0 generic: add support for EON EN25QX128A spi nor flash (+42)b1722a0 kernel: bump 5.10 to 5.10.161 (+6,-6)6be9e3e kernel: remove hack patch, move kirkwood specific kmods to target modules.mk (+30,-55)1fd2f9f kernel: Add missing kernel configuration options (+3,-4)


0667688 kernel: bump 5.10 to 5.10.150 (+134,-282)bbad2ee kernel: bump 5.10 to 5.10.153 (+37,-38)c837fc9 kernel: bump 5.10 to 5.10.154 (+9,-9)b1722a0 kernel: bump 5.10 to 5.10.161 (+6,-6)


fb11c63 kernel: bump 5.10 to 5.10.147 (+38,-110)85a7588 ath79: support Ruckus ZoneFlex 7372 (+358)6cffcb2 ath79: support Ruckus ZoneFlex 7321 (+64)7a3d595 ath79: fix reference clock for RouterBoard 912UAG (+1,-1)18c7738 kernel: mtd: backport extended dynamic partitions support (+154,-5)b4bc9eb kernel: mtd: backport SafeLoader parser (+239,-5)1133a8f ath79: add support to TrendNet TEW-673GRU (+204,-4)8122aa9 ath79: add support for Linksys EA4500 v3 (+240,-1)d25e1a3 ath79: fix MAC address assignment for TP-Link ar7241 devices (+3,-4)bbad2ee kernel: bump 5.10 to 5.10.153 (+37,-38)932378a kernel: backport support for "linux,rootfs" in DT (+95,-51)078bdc1 kernel: bump 5.10 to 5.10.156 (+26,-26)844de50 ath79: disable image building for Ubiquiti EdgeSwitch 8XP (+1)0b22e87 ath79: D-Link DIR-825 B1 add factory.bin recipe (+6,-4)106fedd ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4 (+2,-3)68add5f ath79: mikrotik: use OpenWrt loader for initram image (+3,-1)be2da47 ath79: expand rootfs for DIR-825-B1 with unused space (+21,-6)aef33ab ath79: fix Teltonika RUT230 v1 MAC assignment (+2,-2)3a58bda kernel: bump 5.10 to 5.10.157 (+58,-52)47ac52a ath79: image: don't depend on other COMPILE targets (+1,-1) 2ff7e9595c


0 views0 comments

Recent Posts

See All

コメント


bottom of page