Skip to content

XceptN’s Tech Stuff

All About Tech

Category: kernel

Building kernel source tree from *.src.rpm

kernel-source package provides patch applied source code: rpm2cpio kernel-source-2.4.21-27.0.2.1.7.EL.i386.rpm | cpio -idmv The src rpm does provide the base source and patches:rpm -i kernel-2.4.21-27.0.2.1.7.EL.src.rpm />> This installs the base kernel and the *.patch separatelycd /usr/src/redhat/SPECS/rpmbuild -bp kernel-2.4.ora-27.1.7.EL.spec If Architecture is not included: i386rpmbuild -bp –target i686 kernel-2.4.ora-27.1.7.EL.spec />> This installs the patches and provides the…

Read More “Building kernel source tree from *.src.rpm” »

kernel

Unconditional Shutdown on PC HW

Uhm .. My home PC screwed up .. It kept shutting down even starting Debian in addition to Windows XP. That had happened before due to a dangling CPU fan before, and I had replaced the fan with a state of the art double 2000+ RPM one .. But no problem with that now …..

Read More “Unconditional Shutdown on PC HW” »

desktop

Interested in Linux Kernel Module Programming?

See http://www.tldp.org/LDP/lkmpg/. An excellent and simple resource. Keep your good C programming skills and stick to them.Now you will live on the dangerous side of things where a SEGV is a system crash 🙂 “Understandingthe Linux Kernel” by Daniel P. Bovet, Marco Cesati is a very good bookto dig into the stuff. Have a look…

Read More “Interested in Linux Kernel Module Programming?” »

kernel

Timestamps and dmesg on Linux

The dmesg on Linux does not have timestamps. dmesg is the kernel ringbuffer and it is not a logfile. To see timestamped log files on Linuxgoto /var/log and see other logs than messages* The dmesg hastimestamps on Solaris. Because it is just a script processing thesystem logs. Let’s compare apples to apples… Linux does the…

Read More “Timestamps and dmesg on Linux” »

kernel

Posts pagination

Previous 1 2

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark