Corrupted Blocks on ext4 FS
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 moreRecently 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 moreRecently 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 more1.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 moreIntroduction 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 more1.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 moreSo 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 more1.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 moreThus far our discussions have extended mostly to the data acquisition side of a control system. In particular, how to sample data from a sensor. There is also one crucial…
Read more1.0 Introduction Oftentimes sensors used in embedded systems, have as a method of communication a UART interface to send and receive data to/from the sensor. There are several advantages and…
Read more1.0 Introduction I would like to take some time in this post to talk a little bit about the differences between userspace and kernel space. We have thrown the term…
Read more