No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
Knowledge Base

There are many startup options with the same name in Suse11 leads the failure of installing multipathing by ultrapath

Publication Date:  2012-10-18  |   Views:  198  |   Downloads:  0  |   Author:  SU1001048203  |   Document ID:  EKB1000017500

Contents

Issue Description

There is a S2300 networking in site, install multipathing manually, the engineer uploads the linux catalog in multipathing package then carries out install.sh, it warns error. We can’t finish installing.

Alarm Information

linux100:/ # ./install.sh
Checking free space...
Checking system type...
Checking old UltraPath driver...
Checking system requirement...
sed: -e expression #1, char 2: unknown command: `
[WARNING] System is configured default booting from "title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)" in file "/boot/grub/menu.lst", but checking result shows system may not boot from "title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)".
Please make sure that system boot automatically from "title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)"!
If you ensure that current system boot automatically from "title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)", please input (Y/y) to continue, otherwise input (N/n) for exit:y
Please select the array interface type of the system (1|2|3) :
1)FC  2)SAS  3)iSCSI : 1
Begin to install UltraPath driver: UltraPath-2.02.008.suse11_sp1.x86_64.default.rpm
Preparing...                ##################################################
UltraPath                   ##################################################
No UltraPath driver installed on your system
Checking Host Adapter Configuration...
Unsupported Host Adapter Model: Product ID 6432(rev02)
Unsupported Host Adapter Model: Product ID 6432(rev02)
Detected 1 LSI Host Adapter Port(s) on the system
Detected 2 QLogic Host Adapter Port(s) on the system
Host Adapters from different supported vendors co-exists on your system.
Unsupported model from Vendor QLogic  exists.
Please make sure that only one supported model of HBA is connected to Storage Array.
Please wait while we modify the system configuration files.
Your kernel version is 2.6.32.46-0.3-default
Preparing to install UltraPath driver against this kernel version...
Generating module dependencies...
Creating new UltraPath initrd image...
System: Success
ERROR:there's [2] same title[title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)],you'd make sure the default title is only one.
Modifing /boot/grub/menu.lst failed, please check that file and reinstall UltraPath driver package.
error: %post(UltraPath-2.02.008-1.x86_64) scriptlet failed, exit status 1
[ERROR] UltraPath-2.02.008.suse11_sp1.x86_64.default.rpm install failed

Handling Process

Examine /boot/grub/menu.lst:
linux100:/ # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sun May  9 00:16:05 CST 2010
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)
    root (hd0,0)
    kernel /vmlinuz-2.6.32.46-0.3-default root=/dev/sda3 resume=/dev/disk/by-id/scsi-3600508e00000000033991d434f2ca40b-part2 splash=silent crashkernel=256M-:128M showopts vga=0x317
    initrd /initrd-2.6.32.46-0.3-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)
    root (hd0,0)
    kernel /vmlinuz-2.6.32.46-0.3-default root=/dev/sda3 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
    initrd /initrd-2.6.32.46-0.3-default
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)
    kernel (hd0,0)/vmlinuz-2.6.32.46-0.3-default root=/dev/sda3 resume=/dev/disk/by-id/scsi-3600508e00000000033991d434f2ca40b-part2 splash=silent crashkernel=256M-:128M showopts vga=0x317
    initrd (hd0,0)/initrd-2.6.32.46-0.3-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default)
    kernel (hd0,0)/vmlinuz-2.6.32.46-0.3-default root=/dev/sda3 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
    initrd (hd0,0)/initrd-2.6.32.46-0.3-default
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7 (default)
    root (hd0,0)
    kernel /vmlinuz-2.6.32.12-0.7-default root=/dev/sda3 resume=/dev/sda2 splash=silent crashkernel=256M-:128M showopts vga=0x317
    initrd /initrd-2.6.32.12-0.7-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7
    root (hd0,0)
    kernel /vmlinuz-2.6.32.12-0.7-default root=/dev/sda3 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
    initrd /initrd-2.6.32.12-0.7-default
###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7
    root (hd0,0)
    kernel /xen.gz vga=mode-0x317
    module /vmlinuz-2.6.32.12-0.7-xen root=/dev/sda3 resume=/dev/sda2 splash=silent showopts vga=0x317
    module /initrd-2.6.32.12-0.7-xen
title MEMTEST
    kernel (hd0,0)/memtest.bin
linux100:/ #
We find the title 0 is same with the title 2, and default is startup from 0, the engineer must backup /boot/grub/menu.lst, then vi /boot/grub/menu.lst will delete title 2 and title 3, saving. Run install.sh to install multipathing software ultrapath.

Root Cause

We see from the error information, it’s because we change the host’s /boot/grub/menu.lst file. There are many startup options named title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.46-0.3 (default). When install.sh install multipathing software, it will copy the startup option and change the related parameter. It becomes the startup option with multipathing kernel. When there are many startup options with the same title, the installing script doesn’t know which to choose, so it warns.

Suggestions

1. The startup option name in menu.lst keep different from each other.
2. We cannot delete, we can rename title 2 and title 3.
3. Don’t change /boot/grub/menu.lst file at will.