IBM Support

Errors or kernel panic building drivers under Linux - Servers

Troubleshooting


Problem

You may encounter several errors when attempting to build a new driver for your SUSE Linux system. These can include errors during compile time, errors upon loading the driver, or possibly even a Kernel panic.

Resolving The Problem

Source

RETAIN tip: H18618

Symptom

You may encounter several errors when attempting to build a new driver for your SUSE Linux system. These can include errors during compile time, errors upon loading the driver, or possibly even a Kernel panic.

Affected configurations

The following operating systems are affected:  

  • SCO (any UL-based release)
  • SUSE Linux
  • TurboLinux (any UL-based release)

Note: This does not imply that the network operating system will work under all combinations of hardware and software.
 
Please see the IBM Server Proven NOS support information compatibility page for more information.  
 
The bcm5700 Device Driver for Ethernet is affected.  

Solution

You must properly configure the source on your running system before compiling or installing the driver. To do this:  

  1. Install the latest kernel-source package that matches your kernel level.
  2. Enter the /usr/src/linux directory (this should point to the most current source on a default system).
  3. Enter the following command:

    make cloneconfig
    make dep

Note: "make dep" is used with the 2.4 kernel. It is no longer necessary for 2.6 Kernel versions.

Also, if you compiled the driver from source, it is very important that you remember to copy the final compiled driver into the correct version of the following directory:  

/lib/modules/<kernel-version>  

Additional information

Often problems occur if the source is not configured correctly, which may not be documented correctly for your driver. In addition, it is not clear that the driver needs to be copied into the modules directory to work for future use.

 

Document Location

Worldwide

Operating System

BladeCenter:Turbolinux

BladeCenter:SCO Linux

System x:All operating systems listed

Older System x:SCO Linux

Older System x:Turbolinux

BladeCenter:SUSE Linux Enterprise Server 8

BladeCenter:SUSE Linux Enterprise Server 9

BladeCenter:SUSE Linux Enterprise Server 10

Older System x:Operating system independent / None

Older System x:SUSE Linux Enterprise Server 10

Older System x:SUSE Linux Enterprise Server 8

Older System x:SUSE Linux Enterprise Server 9

[{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW189","label":"Older System x->xSeries 360"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18E","label":"Older System x->xSeries 135"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18F","label":"Older System x->xSeries 150"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18G","label":"Older System x->xSeries 200"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18H","label":"xSeries 220"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18J","label":"Older System x->xSeries 230"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18K","label":"Older System x->xSeries 240"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18L","label":"Older System x->xSeries 330"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18M","label":"Older System x->xSeries 340"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18Q","label":"System x->xSeries 232"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18R","label":"Older System x->xSeries 250"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18T","label":"Older System x->xSeries 300"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18U","label":"Older System x->xSeries 342"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18V","label":"Older System x->xSeries 350"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18W","label":"Older System x->xSeries 370"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW18X","label":"Older System x->xSeries 380"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW191","label":"Older System x->xSeries 440"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19K","label":"Older System x->xSeries 255"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19L","label":"Older System x->xSeries 343"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19M","label":"Older System x->xSeries 205"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19P","label":"Older System x->xSeries 235"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19Q","label":"Older System x->xSeries 305"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19R","label":"Older System x->xSeries 335"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19S","label":"Older System x->xSeries 345"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19T","label":"Older System x->xSeries 225"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19U","label":"Older System x->xSeries 445"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19V","label":"BladeCenter->BladeCenter HS20"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW19W","label":"Older System x->xSeries 450"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW20A","label":"Older System x->xSeries 382"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}},{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW20T","label":"BladeCenter E Chassis"},"Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF043","label":"Red Hat"},{"code":"PF047","label":"SurePOS"},{"code":"PF048","label":"SUSE"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 January 2019

UID

ibm1MIGR-53357