IBM Support

How to create custom Driver Update Disks (DUDs) for SUSE Linux Enterprise Server 9 and 10 - IBM System x

Troubleshooting


Problem

Instructions on how to create a driver update disk (DUD) for use during installation.

Resolving The Problem

Source

RETAIN tip: H193206

Issue

Instructions on how to create a driver update disk (DUD) for use during installation.

Affected configurations

This tip is not hardware specific.

This tip is not option specific.

The system is configured with at least one of the following:

  • SuSE Linux Enterprise Server 10, any Service Pack
  • SuSE Linux Enterprise Server 10 for AMD64/EM64T, any Service Pack
  • SuSE Linux Enterprise Server 9, any Service Pack
  • SuSE Linux Enterprise Server for AMD64/EM64T, any Service Pack
  • SuSE Linux SLED 10, any Service Pack
  • SuSE Linux SLED 10 for AMD64/EM64T, any Service Pack

Note: This does not imply that the network operating system will work under all combinations of hardware and software.

Please see the compatibility page for more information:

Additional information

Follow the below instructions to create a driver update disk (DUD) for use during installation of SLES9/10:

  1. Set up the directories:

    Create a staging area for the DUD to be built in. This example will use the staging area in /tmp/dud_staging.

    From the staging area run:

      mkdir -p linux/suse/i386-sles9/install ;
    mkdir -p linux/suse/i386-sles9/modules

    Replace each instance of "i386" with "x86_64" if making a 64-bit DUD.

    Replace "SLES9" with "SLES10" if making a DUD for SLES 10.

  2. Find RPMs for the Service Pack level (i.e. SLES9 SP3).
      This example will use the Broadcom NetXtreme II driver
      (file name brcm_dd_nic_bnx2-1.6.6b_sles9_32-64.tgz)

    Set up a staging area to hold the contents of the driver package. Use:

      /tmp/bnx2_drivers

    Extract into that directory:

      cd /tmp/bnx2_drivers ;
    tar xzf <location of the brcm_dd_nic_bnx2-1.6.6b_sles9_32-64.tgz>
  3. Populating the DUD:

    Copy the RPMs needed for the Service Pack kernel level:

      cd /tmp/dud_staging ;
    cp /tmp/bnx2_drivers/sles9/i386/update/SUSE-SLES/9/rpm/*2.6.5_7.244*i586.rpm ./linux/suse/i386-sles9/install

    Take the kernel module for the installer kernel:

      cd /tmp/bnx2_drivers ;
    rpm2cpio ./sles9/i386/update/SUSE-SLES/9/rpm/*default*2.6.5_7.244*i586.rpm | cpio -id ;
    cp ./lib/modules/2.6.5-7.244-default/updates/bnx2.ko /tmp/dud_staging/linux/suse/i386-sles9/modules/
  4. Final steps:

    Create a dud.config file explaining what the DUD is for.

    Below is an example:

      cd /tmp/dud_staging ; cat ./dud.config

    UpdateName: Updated BNX2 Driver
    UpdateID: Specifically for x3850 M2
  5. Place all the files on an ext 2 formatted diskette drive.

    Assuming the diskette drive is at /dev/sdb (and not currently mounted):

      mkfs.ext2 /dev/sdb ;
    mount /dev/sdb /mnt ;
    cp -a /tmp/dud_staging/* /mnt ; umount /mnt

    Note: If creating a SLES10 DUD and placing multiple RPMs into the linux/suse/i386-sles10/install directory (which would be the case if grabbing the drivers from ibm.com), then put the following file in linux/suse/i386-sles10/install/update.post (from http://developer.novell.com/wiki/index.php/Creating_a_ Driver_Update_Disk_(DUD)

    #Making_the_Traditional_DUD_Portion):

      #! /bin/sh
    #
    # update.post
    #
    # This script is required due to a bug in rpm in which 'rpm -ihv *.rpm'
    # won't install anything if one of the rpms fails.
    # 'yast -i *.rpm' installs just the required kmp rpm. (gmonroy Nov 2006)

    echo -e " date :\tbegin update.post" >> /tmp/DUD.log
    pushd dirname $0
    yast -i *.rpm >> /tmp/DUD.log
    popd
    echo -e " date :\tend update.post" >> /tmp/DUD.log

Additional Information:

By using DUDs, the user can allow for installations onto machines where the current release of the operating system does not have native device driver support for products such as Storage and Networking adapters.

Document Location

Worldwide


Operating System

System x:SUSE Linux


Applicable countries and regions

  • Worldwide
[{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW312","label":"System x->System x3800"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW313","label":"System x->System x3650 T"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW314","label":"System x->System x3850"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW315","label":"System x->System x3950"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"HW316","label":"System x->System x3950 E"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW317","label":"System x->System x3500"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW318","label":"System x->System x3550"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW319","label":"System x->System x3650"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW321","label":"System x->System x3400"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW322","label":"System x->System x3455"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW323","label":"System x->System x3655"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW324","label":"System x->System x3755"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW328","label":"System x->System x3105"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"LOB26","label":"Storage"}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW329","label":"System x->System x3200"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW331","label":"System x->System x3250"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW332","label":"System x->System x3850 M2"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW333","label":"System x->System x3950 M2"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW334","label":"System x->System x3200 M2"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW335","label":"System x->System x3250 M2"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW336","label":"System x->System x3350"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW337","label":"System x->System x3100"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW338","label":"System x->System x3450"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW339","label":"System x->System x3610"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HWXA1","label":"System x->System x3650 NAS"},"Platform":[{"code":"PF047","label":"SurePOS"}],"Line of Business":{"code":"","label":""}}]

Document Information

More support for:
System x->System x3800

Operating system(s):
SurePOS

Document number:
853462

Modified date:
29 January 2019

UID

ibm1MIGR-5075282

Manage My Notification Subscriptions