Language Selection

English French German Italian Portuguese Spanish

Kernel Developments and Additions

Filed under
Linux
  • Nuvia's Jon Masters Talks Up Their Linux / Open-Source Support Plans

    Following the virtual Linaro Tech Days this week, Nuvia's VP of Software, Jon Masters, has begun talking up the Arm server start-up's Linux/open-source support plans.

    While little is known publicly about Nuvia beyond being another entrant into the Arm server space and having some big names behind the company, their Linux/open-source plans look enticing if they are indeed met. While they may not be looking at complete open-source support for every aspect of the CPU, for those concerned just about out-of-the-box experience and practicality things are looking up for Nuvia.

  • MIPS Loongson 3 Seeing Support Improvements With Linux 5.7

    Queued as part of the MIPS architecture work for Linux 5.7 are a number of Loongson improvements, in particular for the Loongson 3 series.

    The additions for this next version of the Linux kernel include a generic Device Tree for Loongson 3 devices, Desktop Management Interface (DMI) for MIPS (generic to the MIPS architecture but contributed By Loongson engineers), a Loongson I/O local interrupt controller driver, a HyperTransport PIC controller driver, and various other changes currently staging within the MIPS development tree. The generic Loongson 3 DTS support should help in allowing mainline Linux images to run nicely on more devices.

  • AMD PassThru DMA Engine Driver Still Pending For The Linux Kernel

    In addition to the AMD Sensor Fusion Hub driver that we are hopeful could land in Linux 5.7 albeit not yet queued in the iio-next branch, another AMD driver that has been around for a few months in patch form but yet to be mainlined is the AMD PassThru DMA Engine driver.

    The AMD PassThru DMA Engine driver was volleyed last year and saw two additional rounds of revisions but has been quiet since the end of January. As of writing, it hasn't yet made it into the DMA-next area ahead of the Linux 5.7 merge window expected to open in early April.

  • syzkaller: fuzzing the kernel

    Testing is an obligatory step in software development, though sometimes engineers may skip or undervalue it. Not only do you want to make sure things are working as you planned, you also want to make sure that you did not break anything that was previously working (i.e. you don't want to introduce any regressions).

    If you wait until your code is merged before properly testing it and find that something is wrong, you will have to spend more time fixing it than if you'd spotted the bug during development. If it reaches the mainline code base, other developers may be impacted by the bug. If the bug is found only after a release, a much wider group could be impacted and may require a fix to be backported and provided as a bugfix. A simple fix may become a more complex one as time passes, as changes made by another developer to other parts of the code base may expect the buggy behavior. When testing is taken seriously, more bugs will be discovered earlier, potentially before the code is merged, avoiding the above added work.

    Let's focus on a specific category of bugs, those in kernel system call implementations (or just syscalls, for short). They are the main entry point for users to access functionality and resources provided by the operating system, from opening files to configuring a device. What happens when a user's input is not what the kernel expected? The only correct answer is that the kernel should warn the user that they have given invalid input, by returning an appropriate error code. User input that leads to unexpected behavior; that crashes the system; that gives permissions incorrectly or unexpectedly scales privilege is a kernel bug. Given that, syscalls are an important part of kernel testing, since they are a potential point of failure.

    The code base of the Linux Kernel project changes rapidly and is deployed in devices around the world, thus performing proper testing is crucial. As Linus Torvalds says, the first rule of kernel development is that we don’t break userspace. This means that if a user application is working in a release, it should work in the same way in any of the following releases. Despite current efforts, the state of kernel testing is not enough. The code base has almost 3 million lines of source files, but only a small part is being tested during development.

  • 2020 Spring Cleaning: HP 100BaseVG AnyLAN Linux Network Driver Finally Getting Dropped

    Should you still have an HP 100BaseVG AnyLAN network adapter from the mid-to-late 90's, the mainline Linux kernel is finally preparing to eliminate its driver.

    The long-standing HP100 Linux network driver that has been around for nearly two decades is finally set to be retired. The HP100 Linux driver is for supporting the 100BaseVG AnyLAN hardware from Hewlett Packard.

  • VirtIO Video Driver Coming Together For The Mainline Linux Kernel

    VirtIO-Video is a VirtIO-based video driver for a virtual V4L2 streaming device with input/output buffers for sharing of video devices with guests. VirtIO Video has existed for a while now but it looks like it could be getting close to upstreaming in the Linux kernel.

    This 2018 presentation (PDF) by OpenSynergy outlines VirtIO-Video for handling video streaming devices like video cameras, stream capturing, and other functionality within the context of virtualized guests. VirtIO-Video still supports hardware video acceleration of the host system and this virtual driver is basically about handling of input/output buffers of video streams.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.