On Fri, Feb 27, 2004 at 11:01:57AM +0100, Schwarzkugler, Bernd wrote: > Hi, > > here is a short workaround to get the automatic installation done > on a hp proliant pc with a integrated smartarray controller 5i. > > OSCAR 3.0 with Redhat 8.0 on hp proliant DL3[68]0 G3 with integrated smartarray > controller 5i > > First we installed the following hp drivers: > > [EMAIL PROTECTED] i386]# rpm -qi bcm5700 > Name : bcm5700 Relocations: (not relocateable) > Version : 7.1.9c Vendor: Broadcom Corporation > Release : 1 Build Date: Wed 18 Feb 2004 11:26:02 AM > CET > Install date: Wed 18 Feb 2004 11:26:12 AM CET Build Host: localhost.localdomain > Group : System Environment/Base Source RPM: bcm5700-7.1.9c-1.src.rpm > Size : 196301 License: GPL > Signature : (none) > Summary : Broadcom Gigabit ethernet driver > Description : > This package contains Broadcom's Gigabit ethernet driver. > > > [EMAIL PROTECTED] i386]# rpm -qi e1000 > Name : e1000 Relocations: (not relocateable) > Version : 5.2.16a Vendor: Intel Corporation > Release : 1 Build Date: Wed 18 Feb 2004 11:25:10 AM > CET > Install date: Wed 18 Feb 2004 11:25:23 AM CET Build Host: localhost.localdomain > Group : System Environment/Kernel Source RPM: e1000-5.2.16a-1.src.rpm > Size : 141407 License: GPL > Signature : (none) > URL : http://support.intel.com/support/go/linux/e1000.htm > Summary : Intel(R) PRO/1000 driver for Linux > Description : > This package contains the Linux driver for the > Intel(R) PRO/1000 Family of Server Adapters. > > [EMAIL PROTECTED] i386]# rpm -qi cpq_cciss > Name : cpq_cciss Relocations: /opt/compaq/storage_drivers > Version : 2.4.48 Vendor: Compaq Computer Corporation > Release : 8 Build Date: Sat 18 Oct 2003 07:26:29 AM > CEST > Install date: Wed 18 Feb 2004 11:34:39 AM CET Build Host: doulos.cca.cpqcorp.net > Group : System Environment/Kernel Source RPM: cpq_cciss-2.4.48-8.src.rpm > Size : 296296 License: GPL > Signature : (none) > Packager : Compaq Computer Corporation > URL : ftp://ftp.compaq.com/pub/products/drivers/linux/released/cpq_cciss > Summary : Compaq cciss 2.4.48 HBA driver RPM > Description : > This RPM will install the Compaq cpq_cciss v. 2.4.48-8 driver. > > Devices with smartarray controller in linux are: > > [EMAIL PROTECTED] systemimager]# fdisk /dev/cciss/c0d0 > > Command (m for help): pa > > Disk /dev/cciss/c0d0: 255 heads, 63 sectors, 4427 cylinders > Units = cylinders of 16065 * 512 bytes > > Device Boot Start End Blocks Id System > /dev/cciss/c0d0p1 * 1 16 128488+ 83 Linux > /dev/cciss/c0d0p2 17 1928 15358140 83 Linux > /dev/cciss/c0d0p3 1929 2189 2096482+ 82 Linux swap > /dev/cciss/c0d0p4 2190 4427 17976735 83 Linux > > > Our disktable file for oscar: > > /dev/cciss/c0d0p1 128 ext3 /boot defaults > /dev/cciss/c0d0p2 2048 swap > /dev/cciss/c0d0p3 * ext3 / defaults bootable > nfs_oscar:/home - nfs /home rw > > > > Do steps 1 to 5 in the OSCAR installation gui as described in the oscar installation > manual. > > For Step 6 we imported the MAC addresses from a file - because automatic search > faild. > > Examplefile /opt/oscar/oscarsamples/macs > > 00:0B:CD:CE:28:B3 > 00:0E:7F:B3:C7:E7 > > After that we corected the wrong cciss devices in > /var/lib/systemimager/images/oscarimage/etc/systemimager/autoinstallscript.conf > > # diff autoinstallscript.conf autoinstallscript.conf.original > 9c9 > < <disk dev="/dev/cciss/c0d0" label_type="msdos" unit_of_measurement="MB"> > --- > > <disk dev="/dev/cciss/c0d0p" label_type="msdos" unit_of_measurement="MB"> > > > and did a: > > #mkautoinstallscript -image oscarimage -force > > This will create the right master installation script located at: > > /var/lib/systemimager/scripts/oscarimage.script > > If you read the oscarimage.script do not fall in panic. > Within the installation of a client devfs is used and devicenames for the smartarray > controller change to: > > /dev/cciss/disc0/disc (hole disk for use with parted) > /dev/cciss/disc0/part1 (for the first partition) > > If you will add a client later only a softlink to this script will be created. > > Then edit this script used for creating a valid bootblock with lilo. > > /var/lib/systemimager/images/oscarimage/etc/systemconfig/systemconfig.conf > > # systemconfig.conf written by systeminstaller. > CONFIGBOOT = YES > CONFIGRD = YES > > [BOOT] > ROOTDEV = /dev/cciss/c0d0p3 > BOOTDEV = /dev/cciss/c0d0 > DEFAULTBOOT = 2.4.18-14smp > > [KERNEL0] > PATH = /boot/vmlinuz-2.4.18-14smp > LABEL = 2.4.18-14smp > > [KERNEL1] > PATH = /boot/vmlinuz > LABEL = vmlinuz > > [KERNEL2] > PATH = /boot/vmlinuz-2.4.18-14 > LABEL = 2.4.18-14 > > > > And finaly some changes for the second ethernet adapter. > > The override directory defines files which are copied to a client the the end of the > installation. > > create the image directory if it does not exist. > > /var/lib/systemimager/overrides/oscarimage/etc > > cat modules.conf > > alias scsi_hostadapter cciss > alias eth0 bcm5700 > alias eth1 bcm5700 > > (this is because we would use the smartarray controller and the hp bcm5700 driver > for network)
This can also be fixed with a 'hardware.lst' file. 'man systemconfigurator' for more info on this. > this trick configures the second ethernet adapter: > /var/lib/systemimager/overrides/oscarimage/etc/sysconfig/network-scripts > [EMAIL PROTECTED] network-scripts]# cat ifcfg-eth1 > DEVICE="eth1" > BOOTPROTO="dhcp" > ONBOOT="yes" You could also add the following to systemconfig.conf to make this work: [INTERFACE1] DEVICE=eth1 TYPE=dhcp > After that you can install a client without known errors. > > > have fun... > > - Bernd Schwarzkugler > - Joseph Pareti > > -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________
pgp00000.pgp
Description: PGP signature
