Operating System - HP-UX
1833703 Members
3504 Online
110062 Solutions
New Discussion

Possible reason for lanadmin SIGSEGV?

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

Possible reason for lanadmin SIGSEGV?

Hello,

as I lack experience in debugging core files I would like to ask here if someone could tell me why the lanadmin command whenever I execute it, even on read-only calls, issues a segmentation violation?
Are there sensible debugger steps I could undergo in a core file post-mortem to track the cause?

# lanadmin -x 0
Current Config = 100 Full-Duplex MANUAL
Memory fault(coredump)

# file core
core: core file from 'lanadmin' - received SIGSEGV

# model;uname -srv
9000/800/L3000-5x
HP-UX B.11.11 U
Madness, thy name is system administration
4 REPLIES 4
Matti_Kurkela
Honored Contributor

Re: Possible reason for lanadmin SIGSEGV?

A serious core file analysis usually requires access to the source code of the program that produced the core file. Unless you work for HP, it's not very likely you could get to peek at the lanadmin source code. You might want to open a support case with HP and send the core file in for analysis.

Things you could check by yourself:
- Has your lanadmin binary become corrupted somehow? Compare with another 11.11 server with the same patch level if you can.

- Are you up to date with patches?

- Are there any indications of hardware problems? Check the logs for hardware error messages. Use STM diagnostics to check out memory error statistics, just in case.
MK
Joel Girot
Trusted Contributor
Solution

Re: Possible reason for lanadmin SIGSEGV?

Hi,

one possible reason of lanadmin coredump is patches not installed ?
Patch Name: PHNE_34427
Patch Description: s700_800 11.11 LAN Patch Name: PHNE_33138
Patch Description: s700_800 11.11 100BT unified driver cumulative patchproduct cumulative patch

best regards

Joel
Ralph Grothe
Honored Contributor

Re: Possible reason for lanadmin SIGSEGV?

Hello,

the patch level of this box is indeed quite dated.
So you both are probably right that I miss some PHNE patch.
I also searched HP's web patch database for the keywords "lanadmin" and "SIGSEGV" and was presented a link to the following patch

http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_34672&sel={hpux:11.11,}&BC=main|search|

But before I figure out individual patches
I decided to install the latests Support Plus CD (mine is from June 2006) GOLDQPK11i, which I am doing right now.
I hope that some ARPA transport patch or whatever fixes lanadmin will already be included.
When the box has booted the new kernel I will come back to report...
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: Possible reason for lanadmin SIGSEGV?

Good news,
installation of GOLDQPK11i seems to have fixed this bug.

# swlist -l bundle GOLD\*|grep ^[^#]
GOLDAPPS11i B.11.11.0606.446 Applications Patches for HP-UX 11i v1, June 2006
GOLDBASE11i B.11.11.0606.446 Base Patches for HP-UX 11i v1, June 2006


# swlist -l fileset -a state GOLD\*|grep ^[^#]|grep -cv configured
0

# lanadmin -x 0;ll core
Current Config = 100 Half-Duplex AUTONEG

core not found


I have no idea which of the patches fixed this but at least one of those you mentioned was included in the GOLDQPK11i.

# swlist -l fileset GOLD\*|grep PHNE_33138
# GOLDBASE11i.PHNE_33138 1.0 100BT unified driver cumulative patch
GOLDBASE11i.PHNE_33138.100BT-KRN 1.0 Networking.100BT-KRN
GOLDBASE11i.PHNE_33138.100BT-RUN 1.0 Networking.100BT-RUN
GOLDBASE11i.PHNE_33138.CORE2-KRN 1.0 OS-Core.CORE2-KRN
Madness, thy name is system administration