HP ProLiant DL380 G5

From Gentoo-en
Jump to: navigation, search

Under Development

This page is currently under development by: eliasp

It aims to provide you with: An article describing a detailed setup of an HP DL380 G5 using as many advanced hard- and software features as possible. As soon as this article has stabilized a little more I'll do a translation for the German Gentoo Wiki.

Concerns or Compliments? Please use the discussion page.

HP ProLiant DL380 G5

General information

Vendor: HP

Product Website: HP ProLiant DL380 G5 Server series- models


This is the list of all builtin devices in the default configuration. No further devices are added.

lspci
00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller Hub (rev b1)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 (rev b1)
00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev b1)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 4-5 (rev b1)
00:05.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 5 (rev b1)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 6-7 (rev b1)
00:07.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 7 (rev b1)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev b1)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev b1)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev b1)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev b1)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev b1)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev b1)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev b1)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
00:1c.1 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 2 (rev 09)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
01:03.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 03)
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out  Processor (rev 03)
01:04.4 USB Controller: Hewlett-Packard Company Proliant iLO2 virtual USB controller
01:04.6 IPMI SMIC interface: Hewlett-Packard Company Proliant iLO2 virtual UART
02:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
04:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
06:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Controller (rev 04)
09:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
09:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
0a:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
0a:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01)
0a:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)

I'll try to describe the usage of as much as possible hardware devices and their features (like the iLO2 Card, monitoring of the CCISS-RAID devices, etc.)

Hardware

The Kernel configuration is based on sys-kernel/gentoo-sources-2.6.27-r5.

RAID bus controller: Hewlett-Packard Company Smart Array Controller

Linux Kernel Configuration: Enabling the CCISS RAID-Controller
Generic Driver Options  --->
  -> Device Drivers
    -> Block devices (BLK_DEV [=y])
      <*>   Compaq SMART2 support
      <*>   Compaq Smart Array 5xxx support

IDE interface: Intel Corporation 631xESB/632xESB IDE Controller

Linux Kernel Configuration: Support for the IDE-Controller (when using a CD/DVD-Drive)
Generic Driver Options  --->
  -> Device Drivers
    <*> Serial ATA (prod) and Parallel ATA (experimental) drivers  --->
      [*]   ATA SFF support
      <*>     Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support

Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet

This server has a dual-port network card:

Linux Kernel Configuration: Support for the NIC
Device Drivers  --->
  [*] Network device support  --->
    [*]   Ethernet (1000 Mbit)  --->
      <M>   Broadcom NetXtremeII support

Edit the file /etc/modules.autoload.d/kernel-2.6 to load the module on boot:

File: /etc/modules.autoload.d/kernel-2.6
bnx2

USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB and EHCI USB2 Controller

Linux Kernel Configuration: Support for the USB-Controller
Device Drivers  --->
  [*] USB support  --->
    <*>   EHCI HCD (USB 2.0) support
      [*]   Root Hub Transaction Translators
    <*>   UHCI HCD (most Intel and VIA) support

CPU VT (Virtualization Technology) support

Linux Kernel Configuration: General Virtualization support, further details (KVM, Xen, ...) depend on your personal needs
[*] Virtualization  --->

CPU Frequency Scaling

CPU frequency scaling is possible with Xeon Woodcrest processors and the acpi_cpufreq module, but only after the ROM-Based Setup Utility has been used to select "Power Regulator for Proliant" and "OS Control Mode".

Setup

Harddisks/Partitions

The driver for the RAID controller doesn't provide the usual devicenames like /dev/sda. Instead they're named like this:

/dev/cciss/c0d0 → Controller 0; Disk 0

/dev/cciss/c0d0p1 → Controller 0; Disk 0; Partition 1

/dev/cciss/c0d0p2 → Controller 0; Disk 0; Partition 2

/dev/cciss/c0d1 → Controller 0, Disk 1

...

Partition numbering starts at 1, while controller/disk numbering starts at 0

...

in some cases cciss driver creates /dev/cciss!c0d0XX devices. It seems only 'mdev' (BusyBox' udev replacement) is affected by this. Follow this thread for more details.

GRUB

As GRUB isn't aware of this strange devicenames, you have to tell him manually where the harddisks are found by adding a line like this to your device.map:

File: /boot/grub/device.map

(hd0) /dev/cciss/c0d0

Then start GRUB like this:

grub --device-map /boot/grub/device.map

... and do the further GRUB setup as usual.