Advertisement

Proliant 1500 and RedHat 6.2

HW: PL1500 / dual 166MHz E12 8/17/98, 96MB mem, cdrom at id=6
Compaq Original Smart (EISA - SP181132-001) in slot 6
Compaq Netflex-3/P (PCI 169811-002) in slot 7.

SW: SmartStart 4.70, RedHat 6.2 ftp install


Update System ROM to 8/17/1998 using SP6224.EXE
System Erase using any SmartStart CD (used Sys Erase v1.56)

  16384 KB OK
COMPAQ System BIOS - E12 (08/17/1998)
Copyright 1982,1998 Compaq Computer Corporation. All rights reserved.


Processors running at 166 MHz
Processor 2 Initializing...

 178-Processor Configuration Invalid
 172-EISA Configuration Nonvolatile Memory Invalid
     Initialization Aborted
 172-1 Configuration Nonvolatile Memory Invalid
Slot 6 Drive Array Initializing
1785-Slot 6 Drive Array not Configured
 162-System Options Not Set

SCSI Device Detected - System Board, SCSI ID 6: COMPAQ   CRD-25V

     Run System Configuration Utility

Press "F1"  key to continue
      "F9"  key for ROM-Based Diagnostics
      "F10" key for System Partition Utilities

Press "F1"
run SCU v2.51 from SP13093.EXE
Configure server and configure array:
Boot on Disk 1 of SCU
Auto Config: "NO"
Enter Date and Time
Choose "System Configuration", then "Configure Hardware"
Disk 3
"Primary Operating Selection" -> Unix -> Linux
Disk 2
"Review or Modify Hardware Settings"
"Step 3: View or Edit Details"
Check that Array is Set up correctly on Original Smart
Controller order should be first
OS Selection for Array should be Unix/Xenix
F10 - Done
"Step 5: Save and Exit"
"Save the configuration and restart the computer"
"reboot" -> press "enter" to reboot

Create System Partition.
Boot to Disk 1 of SCU

Copy SCU to the system partition
Boot to Disk 1 of SCU
Copy "Compaq System Configuration" and if you have the disks for "Compaq Diags" copy that too. Don't worry about the other choices
Cycle through disks 1-4
"Run from System Partition"
Exit
Enter to restart

FTP Network install
Boot to RH6.2 Network boot disk (bootnet.img)
BOOT: linux text expert mem=96M
"Devices: Driver Disk?" Cancel
English
US
FTP
Thunderlan (no options)
DHCP
enter path to server: emperor
enter path to rh62 cd: pub/RedHat62/i386
Add Device
SCSI
Compaq Smart2
Specify Module Parameters
eisa=0x6000
"Compaq Smart/2 RAID Controller" found
unknown partition table found on screen F4
Add Device
SCSI
Symbios/NCR53c8xx (no options)
embedded SCSI found and cdrom drive found on screen F4
Done
OK
"Custom Install"
fdisk
p3=Compaq Diags, p1=/boot 30MB, p2=extended(rest of drive), p5=swap 300MB, p6=/(root, rest of drive), mark /boot active, mark swap as type swap
Save and Exit Fdisk
Turned Off Linear Mode
Add mem=96M to the boot options
"First Sector of boot partition"
Set Hostname
Unlisted Card
SVGA

Select "Development"
Select "Kernel Development"
The packages left out of this are:
kernel-doc-2.2.14-5.0.i386.rpm <---- Optional
glibc-profile-2.1.3-15.i386.rpm <---- Optional
egcs-g77-1.1.2-30.i386.rpm <---- Optional

The above packages are optional and are not required.

Begin filecopy
At the bootdisk prompt go to the bash screen and make modifications to the system:
/mnt/sysimage/usr/sbin/chroot /mnt/sysimage
su -

[root@localhost /root]# cat /etc/fstab
/dev/ida/c0d0p6         /                       ext2    defaults        1 1
/dev/ida/c0d0p1         /boot                   ext2    defaults        1 2
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/ida/c0d0p5         swap                    swap    defaults        0 0



[root@localhost /root]# cat /etc/lilo.conf
boot=/dev/ida/c0d0p1
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.2.14-5.0smp
	label=linux
	initrd=/boot/initrd-2.2.14-5.0smp.img
	read-only
	root=/dev/ida/c0d0p6
	append="mem=96M"

image=/boot/vmlinuz-2.2.14-5.0
	label=linux-up
	initrd=/boot/initrd-2.2.14-5.0.img
	read-only
	root=/dev/ida/c0d0p6
	append="mem=96M"


[root@localhost /root]# cat /etc/conf.modules
alias scsi_hostadapter cpqarray
options cpqarray eisa=0x6000
alias scsi_hostadapter1 ncr53c8xx
alias parport_lowlevel parport_pc
alias eth0 tlan
alias scsi_hostadapter2 ncr53c8xx


[root@localhost /root]# mkinitrd -v -f /boot/initrd-2.2.14-5.0.img 2.2.14-5.0
Using modules:  block/cpqarray.o scsi/ncr53c8xx.o
Using loopback device /dev/loop0
/sbin/sash -> /tmp/initrd.997/bin/sash
/sbin/insmod.static -> /tmp/initrd.997/bin/insmod
/lib/modules/2.2.14-5.0/block/cpqarray.o -> /tmp/initrd.997/lib/cpqarray.o
/lib/modules/2.2.14-5.0/scsi/ncr53c8xx.o -> /tmp/initrd.997/lib/ncr53c8xx.o
Loading module cpqarray with options eisa=0x6000
Loading module ncr53c8xx with options



[root@localhost /root]# /sbin/lilo -v
LILO version 21, Copyright 1992-1998 Werner Almesberger

Reading boot sector from /dev/ida/c0d0p1
Merging with /boot/boot.b
Boot image: /boot/vmlinuz-2.2.14-5.0smp
Mapping RAM disk /boot/initrd-2.2.14-5.0new.img
Added linux-new *
Boot image: /boot/vmlinuz-2.2.14-5.0smp
Mapping RAM disk /boot/initrd-2.2.14-5.0smp.img
Added linux
Boot image: /boot/vmlinuz-2.2.14-5.0
Mapping RAM disk /boot/initrd-2.2.14-5.0.img
Added linux-up
/boot/boot.4801 exists - no backup copy made.
Writing boot sector.


You should now be able to build your boot disk. This may even be bootable
Monitor -> custom
OK
Non-Interlaced SVGA 1024x768 @ 60Hz, 800x600 @ 72Hz
50-90
Probe
OK
8bits, 800x600, use default
startx -> OK
Can you see this message, YES
do you want X to start automatically, NO
Congratulations, press OK

Recovery:
The above didn't work for me, so here is how I am recovering:
Begin the Linux portion of the install once again:
BOOT: linux text expert mem=96M
cancel the driver disk
english
us
ftp
tlan (no options)
use DHCP
emperor
pub/RedHat62/i386
"Add Device"
SCSI
cpqarray (specify options)
eisa=0x6000
found (ida/c0d0: unknown partition table)
"Add Device"
SCSI
Symbios/NCR53c8xx (no options)
found (SCSI and CDROM found)
Done (no more devices to specify)
Welcome -> OK
"custom installation"
fdisk
edit
p (print the partitions, make sure they look good)
w (write the partition table out without changes)
Go to the bash screen, prepare for recovery:
ALT+F2

mkdir /a
mknod /a/c0d0 b 72 0
fdisk -l /a/c0d0
mknod /a/c0d0p1 b 72 1      (boot)
mknod /a/c0d0p6 b 72 6      (root)
(If your /usr partition is separated out, you will need to make a node for it now.)

mkdir /b
mount /a/c0d0p6 /b
mount /a/c0d0p1 /b/boot
(If your /usr partition is separated out, mount it under /b now.)

# /b/usr/sbin/chroot /b
bash# cd /
bash# su -
PAM_pwdb[70]: (su) session opened for user root by (uid=0)
[root@localhost /root]#
At this point, this is the same as being in what is called "Single User Maintenance Mode". What this means is that currently there is no network access, and no extra mounted filesystems (you have to mount what you need). You can move around the system as you need making necessary repairs.

From this point on I will build a kernel on this server with the cpqarray built in statically


*****All information below is being reworked*****

skipped all X-Windows setup stuff as best as possible (I use xf86config once Linux is up to reconfigure after install)
When prompted to do the lilo configuration stuff, I turned OFF linear. Add extra options here of smart2=0x6000 mem=96M
(For additional options I used eisa=0x6000 to load cpqarray as a module, Loading it as a module didn't work, I had to load it statically; therefore, using smart2=0x6000 is the correct option to key in here.)
I installed LILO onto the /boot partition (p1).
I created the boot diskette when prompted.

Make sure the following items are installed which are needed to compile your own kernel:

kernel-source-2.2.14-5.0.i386.rpm
kernel-headers-2.2.14-5.0.i386.rpm
kernel-doc-2.2.14-5.0.i386.rpm <---- Optional
cpp-1.1.2-30.i386.rpm
make-3.78.1-4.i386.rpm
ncurses-5.0-11.i386.rpm
ncurses-devel-5.0-11.i386.rpm
glibc-2.1.3-15.i386.rpm
glibc-devel-2.1.3-15.i386.rpm
glibc-profile-2.1.3-15.i386.rpm <---- Optional
egcs-1.1.2-30.i386.rpm
egcs-g77-1.1.2-30.i386.rpm <---- Optional
egcs-c++-1.1.2-30.i386.rpm <---- Optional
egcs-objc-1.1.2-30.i386.rpm


"Congratulations Screen"
Switch to ALT+F2
/mnt/sysimage/usr/sbin/chroot /mnt/sysimage/
cd /
run xf86config and configure X-Windows
cd /usr/src/linux
startx &

cd /usr/src/linux
make mrproper (first time only)
make xconfig (or menuconfig or config)
vi Makefile add to extraversion "smp": -5.0 -> -5.0smp (do this only if you are compiling an SMP kernel)
vi /etc/lilo.conf (check that you will be installing LILO to /boot, check that
	your default image will point to the SMP kernel if you are building one. 
	 Also check that there is an append line for your array controller and 
	memory size: append="smart2=0x6000 mem=96M")
make clean
make dep
make bzImage
make modules
make modules_install
make install

Or if you make no typo's, you can key in the last 6 lines at once:
make clean dep bzImage modules modules_install install

Here you have two choices at the "Congratulations screen" 1) switch to Alt+F2 and build a kernel w/ cpqarray built in statically, edit lilo.conf, run /sbin/lilo -v reboot all should be fine. 2) copy in a kernel w/ cpqarray built in statically to /boot, edit lilo.conf, run /sbin/lilo -v all should be fine. 3) create a kernel w/ cpqarray built in statically on another machine, copy it to the boot floppy created during install, boot to that floppy, give it the boot parameters needed (linux smart2=0x6000 mem=96M), may get unresolved symbols and unable to get major # for array controller but system should come up. You can use this temporary static kernel until you build a correct one on the system. The method I chose was as follows: I had another server running RH6.2, I built a kernel there w/ cpqarray built in statically, removed most else that was non-essential. Got it down to just under 600k, got my boot disk that was created during install, replaced the existing kernel on the floppy w/ the new static one I created. The system (PL1500) was now able to boot using this floppy (don't forget to use the following when booting: smart2=0x6000 mem=96M). I no longer got the invalid partition table. I did get unable to get major # of the array controller and I also got lots of unresolved symbols; none the less, the system came up. I was able to log in as root, Then I began to follow the steps to create a new kernel on the box to use. I could also just as well copy in the kernel from the floppy to /boot, adjust /etc/lilo.conf and run /sbin/lilo; however, since I am getting lots of errors coming up on this kernel, I am building a new one on this system: cd /usr/src/linux make mrproper make clean dep make xconfig I have a dual processor box, I am building a dual processor kernel, so I will edit Makefile and add on the extraversion which is -5.0 the smp part so that it reads -5.0smp make bzImage make modules make modules_install This is where I have left off so far, my next steps are as follows: get the kernel into /boot, this means going into arch/i386/boot and grabbing bzImage, getting the system.map, and a few other files (don't remember which ones just yet, I'll have to look). Probably do something w/ initrd. I may be able to do a "make install" to do these steps for me as well, I'll have to see. edit /etc/lilo.conf (make sure I point to the kernel and also have the boot parameters smart2=0x6000 mem=96M) run /sbin/lilo -v reboot w/o floppy, system should come up just fine on HDD.