How to install REDHAT 9 on HP 380 DL Proliant G4
Shared link: How
to install DEBIAN WOODY on HP 380 DL Proliant G4
Minihowto, created by Bonoman
(Jan Novotny – email:
novotny“at“luckyweb.info)
This machine contains a Compaq
SmartArray6i cciss scsi device.
As the HP doesn’t support
RedHAT 9 on HP380DL G4 so i took the driver for the
Scsi device from the RPM’s
that HP offers for new REDHAT enterprise versions.
I made my own custom REDHAT 9
instal-boot ISO and then a boot only ISO without a install wizzard.
You only should take these ISO
images and start the installation.
First, download this install
iso and boot from it.
The install wizzard ends with
a message that the original REDHAT 9 CD 1 wasn’t found.
But don’t worry, take the
original CD 1 and change it with the custom CD, the wizzard will continue
again.
After install the system waits
for reboot.
After reboot you MUST boot
again from the
second (boot-only) ISO .
On the boot command prompt you
should give this:
Linux root=/dev/device_root_partition panic=20
(panic=20 is only for kernel‘s
bad run).
The system will start
successfully.
After login you should copy
the vmlinuz file (bootup kernel) into /boot directory and setup
/boot/grub/grub.conf for this new kernel.
After configure grub.conf you
have to run this command, this will install the new configuration into MBR on
device you’ll use.
grub-install /dev/cciss/c0d0
If you want, you’re now able
to prepare you own kernel with your custom modules.
This operation is recomended, bacause
some modules for kernel on boot-only ISO are required.
With compiling own kernel and
modules you eliminate errors on startup with kernel running without required
modules.
So if you’ll do it, configure
it in grub.conf.
After restart the machine will
run with your configuration.
How to create your own custom kernel and
modules with support for cciss / SCSI device controller:
Download kernel
from http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.29.tar.bz2
.
Extract the
kernel into /usr/src dir.
bzip2 –d
linux-2.4.29.tar.bz2
tar –xvf
linux-2.4.29.tar
Download cciss / scsi device
driver from http://luckyweb.info/linux/drivers/cciss_2.4.50.tar.gz
Extract the cciss driver with:
gunzip cciss_2.4.50.tar.gz
tar –xvf cciss_2.4.50.tar.gz
After extracting cciss driver,
look into directory, there you extracted cciss driver source. You’ll see, that
the directory structure is the same like in directory, where you have
Kernel extracted.
Replace every file in
extracted kernel with files extracted from cciss_2.4.50.tar.gz driver / this
means every file with the same filename in driver directory.
Now to configure your kernel:
You can take and easy load this config (you’ll don’t need select any options in
kernel) http://luckyweb.info/linux/drivers/config
.
Copy the config file into
directory’s root where you have kernel extracted - probably
/usr/src/linux-2.4.29/config
Run make menuconfig. A
graphical screen appears. Look at the bottom of screen, select Load an
alternative config file. You must type here the right config name.
Select it, exit from menu and
you must select save configuration.
Now you have to compile your
own custom kernel.
To run it cd
/usr/src/linux-2.4.49 and type
make bzImage
Compilling begins. If you get
no errors. You hava to compile modules.
make modules
If no errors, install it.
make modules_install.
You have to tell GRUB loader,
that you have new kernel and GRUB should start from it.
Copy the new compilled kernel
from /usr/src/linux-2.4.29/arch/i386/boot/bzImage to /boot/bzImage. Or the name
of file is on your choice.
You MUST type the right path
to your kernel into /boot/grub/grub.conf
Example of GRUB conf is placed
here (that’s from my HP 380 DL proliant): http://luckyweb.info/linux/drivers/grub.conf
Reboot and start from new
kernel.
Now you have to install the
network device driver.
Download the NIC driver source
from: from http://luckyweb.info/linux/drivers/bcm5700-7.3.5d.tgz
Create driver’s dir with
mk /usr/src/bcm5700
copy driver’s source into
created dir with
cp ./bcm5700-7.3.5d.tgz /usr/src/bcm5700
extract NIC driver’s source
with
tar –xvfz /usr/src/bcm5700/bcm5700-7.3.5d.tgz
get the driver’s directory
cd /usr/src/bcm5700
Edit the Makefile
(Makefile looks like this)
#!/usr/bin/make
# Makefile for building Linux
Broadcom Gigabit ethernet driver as a module.
# $id$
# PREFIX may be set by the RPM
build to set the effective root.
PREFIX=
ifeq ($(shell ls
/lib/modules/$(shell uname -r)/build > /dev/null 2>&1 && echo
build),)
ifeq ($(shell ls /usr/src/linux > /dev/null 2>&1
&& echo linux),)
on this line you must write
path to your kernel
Now compile the driver’s
module with
make
After compiling module
bcm5700.o in the directory will appeare.
Copy the driver’s module
bcm5700.o into /lib/modules/2.4.29/kernel/drivers/net/bcm5700.o
Load the driver into kernel
with
Insmod bcm5700
If successfully loaded, a
message about network controller device found appeare on screen.
To load the NIC driver module
automatically on every start you have to edit the file /etc/modules.conf.
You have to add this line:
alias eth0 bcm5700
If you want to activate the
second ethernet card on server, you have to still add this line into
/etc/modules.conf
alias eth1 bcm5700
If you’ll get some problems
with my boot ISO, let me know, i’ll try to resolve the problems.
I wish more fun, hope this
will help you a little bit.
Bonoman.