In association with heise online

11 September 2012, 11:56
Kernel Log

Kernel Log: New tools and drivers

by Thorsten Leemhuis

The tool collection util-linux has been extended to include resizepart, a utility that is useful when repartitioning. Some X.org graphics drivers now support hybrid graphics. The infrastructure to support UEFI Secure Boot is maturing

Last week Karel Zak released version 2.22 of util-linux, the tool collection that provides command line programs such as dmesg, fdisk, kill, mount and su to the Linux distributions. This is the first version to include the resizepart program. This tool uses an interface that was introduced with Linux 3.6 to inform the kernel when the size of a used partition has changed; when a mounted or otherwise active partition is resized via Fdisk or Parted, this allows the kernel to be informed of the new conditions and the extra space to be used immediately.


Zoom Lslocks displays the files that have been locked by programs
Another new addition is lslocks, a tool that, similar to the lslk tool which has not been maintained since 2001, returns a list of locked files; it also displays which program locked a file. Zak provides further background on the program in a blog posting. Additionally, the new wdctl tool can query the status of the watchdog hardware some systems include to monitor hardware components.

The blkid, findmnt, mount, swapon and umount programs found in util-linux have been extended to include code that allows them to find storage devices by their labels or by their UUIDs (Universally Unique Identifiers) with "PARTLABEL=" or "PARTUUID=". The dmesg program now supports the changes to the logging mechanisms that were integrated in Linux 3.5; this enables it to offer a "follow" feature which, similar to "tail -f", waits for new kernel messages and outputs them as they arrive. The developers have also integrated the eject, su, sulogin and utmpdump tools into the collection; some of these tools used to be part of the coreutils GNU core utilities or sysvinit.

Graphics

  • The recently released X Server 1.13 includes improvements to the code that supports graphics hardware that can be added at runtime; to use these features for hybrid graphics solutions such as NVIDIA's Optimus technology, they must be supported by the kernel and the libdrm as well as the graphics drivers for the X Server. The developers recently integrated the required changes into the development branches of the Intel, Nouveau and Radeon X.org drivers (1, 2, 3, 4, 5, 6, 7). Version 2.20.7 of the intel X.org driver, which was released soon afterwards, already supports PRIME.
  • NVIDIA has released version 0.5 of libvdpau, a wrapper library that allows userspace programs to access the vdpau support offered by some graphics drivers; vdpau gives access to video acceleration features in modern GPUs.
  • Almost ten months after the introduction of the first Radeon graphics cards with Southern Islands graphics chips, the developers have yet to release any Mesa 3D or X.org graphics drivers for the GPUs that are used on series 7750 to 7970 Radeon HD cards. Recently, however, AMD developer Christian König proudly announced that the radeonsi Mesa 3D driver now passes almost all quick-driver tests of the piglit OpenGL test software. This Gallium-based Mesa 3D driver is to become the basis of a simple X.org driver that will leave most of the work to radeonsi and to the Linux kernel's KMS graphics driver.
  • The Mesa developers have now made the jump to version 9.0 that was previously mentioned in the last regular Kernel Log. The developers also mentioned an idea to modify the glxinfo diagnostic program in such a way that it returns OpenGL 3.1 support even if the open source drivers that have the required capabilities don't support the GL_ARB_compatibility extension that is specified in 3.1. The proprietary graphics drivers by AMD and NVIDIA already support this compatibility extension.
  • The development branch of Mesa 3D now includes code that allows the Nouveau driver to generate machine code for NVIDIA's GK110. With this addition, the Mesa developers have provided the foundations to support the second generation of NVIDIA's Kepler architecture; however, rather than on graphics cards, the GK110 is initially planned to be used with computing accelerators such as the Tesla K20 that are expected to become available in December.

Linux kernel

  • Kernel Log penguin In a blog posting, Matthew Garrett provides an overview of the development status of the Linux code to support UEFI Secure Boot. According to the developer, the infrastructure for signing the boot loader has now been implemented. Garret has also submitted various kernel patches that are designed to prevent the modification of a running kernel to the LKML for review. The development of kernel extensions for signing kernel modules has recently also started to progress again.
  • Linus Torvalds has released the fifth release candidate of Linux 3.6 and expressed a certain amount of surprise at the small number of modifications he received.
  • Developer Mel Gorman, who mainly works on the kernel's memory management code, has released version 0.05 of his MMTests benchmark suite.
  • The recently released version 1.2.0 of the sysprof tracing software offers various user interface and performance improvements.

Userland

  • The ALSA project has released version 1.0.26 of its libraries, tools and plug-ins; the changelog describes all new features. The developers have not updated the audio driver package – therefore, the most recent audio drivers are currently only available within the release candidates of Linux 3.6, but not from the ALSA project.
  • The developers of the Hplip (Hewlett-Packard's Linux Imaging and Printing Software) project have released version 3.12.9 of their driver framework, which can address more than two thousand printers and multi-function devices that are mostly made by HP. According to the release notes, new additions include code to support the 3510, 3511 and 3512 DeskJet models, the 3515, 3516 and 6525 DeskJet Ink Advantage devices and the 6520, 6525, 7520 and 7525 Photosmart models.

LKML

  • Five seats on the Linux Foundation's Technical Advisory Board (TAB) were up for re-election after this year's Kernel Summit; they were won by main Btrfs developer Chris Mason, SCSI subsystem maintainer James Bottomley, Wi-Fi subsystem maintainer John W. Linville, Red Hat storage expert Ric Wheeler and Intel graphics driver developer Jesse Barnes.
  • Audio driver developer Takashi Iwai recently explained how to compile modified source code of a kernel driver in such a way that it works with the kernel the Linux distributor provided.

Further background information about the developments in the Linux kernel area can be found using the search function at The H Open Source. Information about previous Linux kernel releases can be found in The H's Linux Kernel History. New editions of Kernel Logs are also mentioned on Identi.ca and Twitter by @kernellog2. The Kernel Log author also posts updates about various topics on Identi.ca and Twitter as @kernellogauthor.

Print Version | Permalink: http://h-online.com/-1704193
  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit