HPE 9000 and HPE e3000 Servers
1748180 Members
4386 Online
108759 Solutions
New Discussion юеВ

Re: Configure HP igelan Gigabit Ethernet interfaces

 
SOLVED
Go to solution
Kavita Poonia
Regular Advisor

Configure HP igelan Gigabit Ethernet interfaces

Hello all,

I have installed RMP driver and patch bundle 2006 on one of the HP-UX server, version is 11.11 but when I have rebooted the server, there is one stage which has failed while the server rebooted.

Configure HP igelan Gigabit Ethernet interfaces ..................... FAIL *

I have also got below mentioned ERROR in rc.log

[root@ncsomnib:/etc]#
#-> more rc.log|grep -i error
ERROR lan0 is not an igelan card.


netstat -in command's output is same before and after applying the patches.

[root@ncsomnib:/etc]#
#-> netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 10.35.72.0 10.35.72.151 20380 0 11588 0 0
lo0 4136 127.0.0.0 127.0.0.1 5990 0 5990 0 0

Other outputs which were taken after reboot are :

[root@ncsomnib:/etc]#
#-> ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
lan 0 0/0/0/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core
/dev/diag/lan0 /dev/ether0 /dev/lan0
lan 1 0/10/0/0 gelan CLAIMED INTERFACE HP A4926A PCI 1000Base-SX Adapter
lan 2 0/12/0/0 gelan CLAIMED INTERFACE HP A4926A PCI 1000Base-SX Adapter
[root@ncsomnib:/etc]#

[root@ncsomnib:/etc]#
#-> lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E0CB90C 0 UP lan0 snap0 1 ETHER Yes 119
0/10/0/0 0x00306E04A106 1 UP lan1 snap1 2 ETHER Yes 119
0/12/0/0 0x00306E04A156 2 UP lan2 snap2 3 ETHER Yes 119


Please let me know how to troubleshoot this.

Thanks * regards,
Kavita
6 REPLIES 6
Bill Hassell
Honored Contributor
Solution

Re: Configure HP igelan Gigabit Ethernet interfaces

> ERROR lan0 is not an igelan card.

This is the correct error message. Your lan0 card is the built-in core LAN interface which you can see in ioscan:

> lan 0 0/0/0/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core
> /dev/diag/lan0 /dev/ether0 /dev/lan0

The igelan config file in /etc/rc.config.d/hpigelanconf probably has some entries for lan0. Your A4926A card is a gelan device, not igelan. These cards are configured in the two files:

hpgelanconf
hpigelanconf

Since you do not have an igelan card, make sure there is no lan name in hpigelanconf. Technically, you don't meed to configure anything in either file unless you have some very special settings. The lines that start assigning special values look like this:

HP_GELAN_INTERFACE_NAME[0]=lan0
or
HP_IGELAN_INTERFACE_NAME[0]=lan0

Comment starting with this line and all the following lines. Do not change this line in either file:

HP_IGELAN_INIT_ARGS=...
and
HP_GELAN_INIT_ARGS=...

This will get rid of the bootup error message.


Bill Hassell, sysadmin
Kavita Poonia
Regular Advisor

Re: Configure HP igelan Gigabit Ethernet interfaces

Hi Bill,

Thanks a lot for such an awesome reply. It was really very helpful and knowledgable. So I think it is not that critical message. I am pasting the contents of hpgelanconf and
hpigelanconf files. There is an entry for lan0 in hpigelanconf file, which I think it should not be as per your reply.

[root@ncsomnib:/etc/rc.config.d]#
#-> more hpgelanconf

HP_GELAN_INIT_ARGS="HP_GELAN_STATION_ADDRESS HP_GELAN_SPEED HP_GELAN_MTU HP_GELAN_FLOW_CONTROL HP_GELAN_AUTONEG HP_GELAN_SEND_COAL_TICKS HP_GE
LAN_RECV_COAL_TICKS HP_GELAN_SEND_MAX_BUFS HP_GELAN_RECV_MAX_BUFS"

HP_GELAN_INTERFACE_NAME[0]=lan1
HP_GELAN_STATION_ADDRESS[0]=
HP_GELAN_SPEED[0]=
HP_GELAN_MTU[0]=1500
HP_GELAN_FLOW_CONTROL[0]=1
HP_GELAN_AUTONEG[0]=1
HP_GELAN_SEND_COAL_TICKS[0]=1000
HP_GELAN_RECV_COAL_TICKS[0]=0
HP_GELAN_SEND_MAX_BUFS[0]=16
HP_GELAN_RECV_MAX_BUFS[0]=1

# End of hpgelanconf configuration file


[root@ncsomnib:/etc/rc.config.d]#
#-> more hpigelanconf


HP_IGELAN_INIT_ARGS="HP_IGELAN_STATION_ADDRESS HP_IGELAN_SPEED HP_IGELAN_MTU HP_IGELAN_FLOW_CONTROL HP_IGELAN_AUTONEG HP_IGELAN_SEND_COAL_TICK
S HP_IGELAN_RECV_COAL_TICKS HP_IGELAN_SEND_MAX_BUFS HP_IGELAN_RECV_MAX_BUFS"

HP_IGELAN_INTERFACE_NAME[0]=lan0
HP_IGELAN_STATION_ADDRESS[0]=
HP_IGELAN_SPEED[0]=auto_on
HP_IGELAN_MTU[0]=1500
HP_IGELAN_FLOW_CONTROL[0]=1
HP_IGELAN_AUTONEG[0]=
HP_IGELAN_SEND_COAL_TICKS[0]=150
HP_IGELAN_RECV_COAL_TICKS[0]=0
HP_IGELAN_SEND_MAX_BUFS[0]=10
HP_IGELAN_RECV_MAX_BUFS[0]=1

# End of hpigelanconf configuration file
HP_IGELAN_SPEED[0]=auto_on


Please let me know what can be done to rectify this.

Thanks * regards,
Kavita
Bill Hassell
Honored Contributor

Re: Configure HP igelan Gigabit Ethernet interfaces

From ioscan, you have gelan cards (gelan is the driver). So comment all the entries in hpigelanconf starting with:

HP_IGELAN_INTERFACE_NAME[0]=lan0

to the end of the file. That first entry is causing the error in rc.log but for consistency, comment all of them (leave the line: HP_IGELAN_INIT_ARGS=... intact)

The hpgelanconf file is OK except that as a good sysadmin practice, I would use the lan number (lan1, also known as the PPA number) in the subscripts:

HP_GELAN_INTERFACE_NAME[1]=lan1
HP_GELAN_STATION_ADDRESS[1]=
HP_GELAN_SPEED[1]=
HP_GELAN_MTU[1]=1500
HP_GELAN_FLOW_CONTROL[1]=1
HP_GELAN_AUTONEG[1]=1
HP_GELAN_SEND_COAL_TICKS[1]=1000
HP_GELAN_RECV_COAL_TICKS[1]=0
HP_GELAN_SEND_MAX_BUFS[1]=16
HP_GELAN_RECV_MAX_BUFS[1]=1

But unless you have very special LAN card requirements, comment all of these too -- these are all default settings and as you add or change LAN Cards, it is really easy to forget about the driver config files like hpgelanconf. You can always restore the original driver file from the reference directory: /usr/newconfig/etc/rc.config.d


Bill Hassell, sysadmin
Kavita Poonia
Regular Advisor

Re: Configure HP igelan Gigabit Ethernet interfaces

Hi Bill,

Oh ya that makes sense. I have commented out the entries in hpigelanconf and also put in 1 as subscript in place of 0 in the hpgelanconf file.

But you also mentioned to comment out entries in hpgelanconf too. Should I do this also. Was this configuration file not needed for reference anytime ?

Thanks a lot for addressing my query. It helped a lot.

Regards,
Kavita
Bill Hassell
Honored Contributor

Re: Configure HP igelan Gigabit Ethernet interfaces

> But you also mentioned to comment out entries in hpgelanconf too.
>Should I do this also. Was this configuration file not needed for reference anytime ?

All the values in the hpgelanconf file are the default values. That means that the lines in the file are redundant. I prefer to leave them without any settings unless there is a very unusual value for a special purpose. These files tend to be forgotten, especially when you are changing I/O cards, so I prefer to minimize the items.


Bill Hassell, sysadmin
Kavita Poonia
Regular Advisor

Re: Configure HP igelan Gigabit Ethernet interfaces

Hello Bill,

Thanks for that....now I have got the whole thing. They are just default settings.

Thank you so much for all your help in understanding this. Really appreciate that !


Regards,
Kavita