ctrLinux

  • About

Corrupted Blocks on ext4 FS

By smokypeete February 5, 2019 Uncategorized No Comments

Recently my Intel 1TB boot SSD started exhibiting some odd behavior. Frequently Ubuntu would crash unexpectedly whenever I would navigate into a folder which had large image files in it…

Read more

I2C – Cannot find smbus_* functions

By smokypeete December 25, 2018 Uncategorized No Comments

Recently I have been writing some userspace applications on x86 to interact with some i2c devices when I noticed that gcc was having some difficulties finding the i2c_smbus_* symbols. The…

Read more

Setting up Duply with Amazon S3

By smokypeete February 14, 2017 Uncategorized No Comments

1.0 Introduction I had previously been using a DigitalOcean server to do nightly backups, however considering the total file size of what I wanted backed up was only around 10GB,…

Read more

Debugging the Linux Kernel via Crashdumps Part 2

By smokypeete December 17, 2016 crashdumps No Comments

1. Introduction In part 1 of this series, we did a high level overview of what is involved in obtaining a kernel crashdump. We will continue our discussion in how…

Read more

Debugging the Linux Kernel via Crashdumps Part 1

By smokypeete December 17, 2016 crashdumps No Comments

1.Introduction One of the most useful approaches when debugging a Linux system, is the ability to investigate the target at the point of failure. Typically for userspace issues this does…

Read more

Bit Bang GPIO UART from Linux Kernel

By smokypeete May 23, 2016 Uncategorized No Comments

Introduction Lately I have had the need to bit bang a UART from inside the Linux kernel over a GPIO. Unsurprisingly, the code is quite simple but handy to have…

Read more

Efficient Data Transfers – DD + PV – Performance Analysis

By smokypeete February 20, 2016 Uncategorized No Comments

1.0 Introduction Recently, I had the need of observing the progress of a dd command while transferring data between devices. While searching online, I noticed that one of the suggestions…

Read more

Git – Cherry Picking Specific Commit Ranges

By smokypeete May 19, 2015 Git No Comments

Something a little different today.. Recently while doing some kernel work, I came across the situation when I had to cherry-pick all the commits made by a specific author in…

Read more

Enabling PWM on Beagle Bone Black

By smokypeete July 8, 2014 Uncategorized No Comments

So I decided to try and get 4 independent PWM ports up and running on the Beagle Bone Black. The process is fairly straightforward with a couple of caveats. Firstly,…

Read more

Introduction to Kernel Modules

By smokypeete January 27, 2014 Uncategorized No Comments

1.0 What is a Kernel Module A kernel module is compiled code which can be loaded and linked into the kernel at runtime. A kernel module can and often is,…

Read more

  • « Previous
Copyright © 2023 ctrLinux | Theme by: Theme Horse | Powered by: WordPress