Dynamic Kernel Module Support. Matt Domsch, Software Architect Dell, Inc.



Similar documents
Proceedings of the Linux Symposium

Linux Distributions. What they are, how they work, which one to choose Avi Alkalay

IBM Endpoint Manager Version 9.1. Patch Management for Red Hat Enterprise Linux User's Guide

SUSE Manager. A Comprehensive Linux Server Management the Linux Way. Name. Title

Best Practices for Deploying and Managing Linux with Red Hat Network

Red Hat Enterprise Linux and management bundle for HP BladeSystem TM

Open Source Software Project Management A Case Study Red Hat Enterprise Linux. Bob Johnson, Red Hat

Open Source Datacenter Conference 2011 System Management with RHN Satellite. Dirk Herrmann, Solution Architect, Red Hat

Using Red Hat Network Satellite Server to Manage Dell PowerEdge Servers

Dell System Update Version 1.0 Preview Guide

An Oracle White Paper June Oracle Linux Management with Oracle Enterprise Manager 12c

The Red Hat Enterprise Linux advantages over Oracle Linux

Windows Deployment Services

An Oracle Technical Article October Certification with Oracle Linux 5

How To Migrate To Redhat Enterprise Linux 4

Using VMware Player. VMware Player. What Is VMware Player?

SUSE Linux uutuudet - kuulumiset SUSECon:sta

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

An Oracle Technical Article March Certification with Oracle Linux 7

Avnet Guide to Oracle: Oracle Linux

Storage Management for the Oracle Database on Red Hat Enterprise Linux 6: Using ASM With or Without ASMLib

WHITE PAPER Managing Linux in the Enterprise: The Red Hat Network Approach

An Oracle Technical Article November Certification with Oracle Linux 6

Managing your Red Hat Enterprise Linux guests with RHN Satellite

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

Red Hat Satellite Management and automation of your Red Hat Enterprise Linux environment

IBM Endpoint Manager Version 9.0. Patch Management for Red Hat Enterprise Linux User's Guide

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

Copyright by Parallels Holdings, Ltd. All rights reserved.

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

IBM Endpoint Manager Version 9.2. Patch Management for SUSE Linux Enterprise User's Guide

The XenServer Product Family:

APPLICATION NOTE. RTD Linux Support Overview. SWM Rev C

Embedded Operating Systems in a Point of Sale Environment. White Paper

Windows Server 2008 R2 Hyper V. Public FAQ

TUT19344 Managing RH/CentOS with SUSE Manager

UEFI on Dell BizClient Platforms

Hyper-V vs ESX at the datacenter

SUSE LINUX Enterprise Server for SGI Altix Systems

Diploma in Computer Science

How to Build an RPM OVERVIEW UNDERSTANDING THE PROCESS OF BUILDING RPMS. Author: Chris Negus Editor: Allison Pranger 09/16/2011

OPEN CLOUD INFRASTRUCTURE BUILT FOR THE ENTERPRISE

MegaRAID SAS Device Driver Installation

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

PARALLELS SERVER 4 BARE METAL README

Sun Grid Engine Package for OSCAR A Google SoC 2005 Project

Software Deployment and Configuration

Installing and Administering VMware vsphere Update Manager

NETWORK OPERATING SYSTEMS. By: Waqas Ahmed (C.E.O at Treesol)

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

QuickSpecs. HP Integrity Virtual Machines (Integrity VM) Overview. Currently shipping versions:

LinuxCon Europe UEFI Mini-Summit 7 October 2015

Server Automation Managed Server Support

ORACLE OPS CENTER: PROVISIONING AND PATCH AUTOMATION PACK

Continuous integration End of the big bang integration era

A Comparison of VMware and {Virtual Server}

VMware vcenter Update Manager Administration Guide

Installation Guide. McAfee VirusScan Enterprise for Linux Software

vcloud Automation Center Support Matrix vcloud Automation Center 5.2

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

Red Hat Enterprise Linux Rebuild mini-howto

Ubuntu Linux Reza Ghaffaripour May 2008

USER S GUIDE. MegaRAID SAS Device Driver Installation. June Rev.D

System Requirements and Platform Support Guide

PROPOSAL: OCP COMMON LINUX SWITCH DISTRIBUTION. Rob Sherwood and Mansour Karam OCP November 2013

RED HAT ENTERPRISE VIRTUALIZATION

This document describes the new features of this release and important changes since the previous one.

Red Hat Network Satellite (On System z) 18-JUNE CAVMEN Meeting

Product Overview. Marc Skinner Principal Solutions Architect Red Hat RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Systems Management Tools And Documentation Version 8.1 Installation Guide

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

Implementing Red Hat Enterprise Linux 6 on HP ProLiant servers

Managed Backup Service - Agent for Linux Release Notes

A Smart Way to Manage Packages in Yocto Project

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

1. Revision Page Revision Page 1

Managing Application Performance with JBoss Operations Network and OC Systems RTI

IBM License Metric Tool Version Installing with embedded WebSphere Application Server

Support Notes for SUSE LINUX Enterprise Server 9 Service Pack 3 for the Intel Itanium 2 Processor Family

Automated build service to facilitate Continuous Delivery

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

REDEFINING THE ENTERPRISE OS RED HAT ENTERPRISE LINUX 7

Site Configuration SETUP GUIDE. Windows Hosts Single Workstation Installation. May08. May 08

DTC & DTC-Xen Running a VPS business with Xen Thomas Goirand, GPLHost CEO. Xen Summit Asia at Intel 2009

Yosemite Server Backup Installation Guide

Oracle Linux Overview. Presented by: Anuj Verma Title: Senior Pre-Sales Consultant

vcloud Automation Center Support Matrix vcloud Automation Center 5.1

HP Service Manager Compatibility Matrix

End-User troubleshooting guide For Sentinel SuperPro/UltraPro and Sentinel Hardware Keys

AMD Catalyst Installer Notes for Linux

Transcription:

Dynamic Kernel Module Support Matt Domsch, Software Architect Dell, Inc.

Product Timelines v3 v4 v5 Which one(s) are your customers using today? Scheduled Updates / Service Pack 2

Driver Management Challenges Most of the time, device drivers you need are packaged with the distribution version you want to run. Except: Older OS/kernel, new hardware Current OS/kernel, newer driver fixes critical bugs Current OS/kernel, newer driver for features Non Kernel Driver Management Driver RPMs Kernel Upgrades 3

Dynamic Kernel Module Support (DKMS) Offers a Framework for Holding Driver Module Source Provides a Command Structure for Handling Drivers Provides a Database of Module Versions Extends RPM Capabilities to Handle Multiple Kernels 4

Dynamic Kernel Module Support (DKMS) Offers a Framework for Holding Driver Module Source Provides a Command Structure for Handling Drivers Provides a Database of Module Versions Extends RPM Capabilities to Handle Multiple Kernels 5

DKMS Command Overview add build install uninstall remove status match mktarball ldtarball mkdriverdisk mkrpm autoinstaller 6

Example DKMS usage # dkms add m megaraid2 v 2.10.7 # dkms build m megaraid2 v 2.10.7 k 2.4.21 27.EL # dkms build m megaraid2 v 2.10.7 k 2.4.21 27.ELsmp # dkms build m megaraid2 v 2.10.7 k 2.4.21 27.Elhugemem # dkms build m megaraid2 v 2.10.7 k 2.4.21 27.EL a x86_64 # dkms build m megaraid2 v 2.10.7 k 2.4.21 27.ELsmp a x86_64 # dkms mkrpm m megaraid2 v 2.10.7 k 2.4.21 27.ELsmp # dkms mkdriverdisk m megaraid2 v 2.10.7 k 2.4.21 27.ELsmp \ k 2.4.21 27.EL k 2.4.21 27.ELBOOT d redhat # dkms remove m megaraid2 v 2.10.7 all # dkms status 7

How Does DKMS Benefit the System Administrator? Driver Version Visibility & Management Simplified Driver Installation Kernel Upgrade Support Build on one system, deploy to many systems Works with existing deployment mechanisms PXE, kickstart, Red Hat Network Satellite Server, local yum repositories 8

How does DKMS Benefit the Driver Developer? Driver Update Mechanism Driver Rollback Mechanism Driver Installation Framework Driver Disk Creation 9

How DKMS Benefit System / OS Vendors? Asynchronous Driver Delivery Model Support for Pre Compiled Binaries and Source Builds Extension of RPM Model 10

Is / Is Not IS Mechanism Distro-agnostic Architecture agnostic A backport helper IS NOT Policy Tied to specific distro x86-only A way to maintain your drivers outside of kernel.org forever Makes use of Kbuild Kbuild replacement 2.4 and 2.6 kernels <= 2.2 kernels 11

Sample dkms.conf PACKAGE_VERSION="2.10.7" PATCH[0]="rhel21.patch" PATCH_MATCH[0]="2\.4\.9\ e\." # Items below here should not change between driver versions PACKAGE_NAME="megaraid2" BUILT_MODULE_NAME[0]="megaraid2" DEST_MODULE_LOCATION[0]="/kernel/drivers/scsi/" REMAKE_INITRD="yes" MODULES_CONF_ALIAS_TYPE="scsi_hostadapter" 12

The dkms_autoinstaller Service Boot time script which builds and installs DKMS enabled modules for a kernel, if this has not been done already Specify AUTOINSTALL= yes in dkms.conf Cannot be relied upon for modules which are needed in order to boot a kernel (Example: storage drivers) 13

Suggested Policy When to use DKMS Driver releases intended for testers Backports for your kernel.org merged driver intended for users Autoinstaller Use MODULE_VERSION() in your code Distro use / scheduled updates 14

Call to Action Submit your driver to kernel.org Include dkms.conf file with your driver releases Include trivial Makefile and RPM spec with your driver releases Include DKMS in your distribution Send patches to handle distro quirks 15

Status / For more information Available as a GPL open source project from:http://linux.dell.com/dkms Mailing list: dkms devel@lists.us.dell.com Extensively tested on Red Hat Enterprise and Novell SuSE Enterprise Server; included on Mandrake 10.1 CDs. Multiple architectures: Intel x86, AMD64/EM64T, Itanium Shipping on every Dell server with. 16