1826580 Members
3728 Online
109695 Solutions
New Discussion

Re: lanscan

 
Neil Wilson_2
Valued Contributor

lanscan

Just installed B6826AA Partition Manager, ISEEPlatform and T1335AC HPUX Virtual partitions on rp8400 running 11.11.
Following the reboot lanscan shows no output. Is this command superceded or replaced?
14 REPLIES 14
Mark Greene_1
Honored Contributor

Re: lanscan

From the lanscan man page:

lanscan does not display information about LAN devices that do not
have software support such as LAN interface cards that fail to bind
properly at boot-up time.


Do an ioscan -f an see if your NIC appears in the listing. Then try the lanscan with the -v option.

mark
the future will be a lot like now, only later
Neil Wilson_2
Valued Contributor

Re: lanscan

There are three PCI 1000Base-SX Adapters and the onboard 1000Base-T Built-in I/O card. software is installed and claimed against the cards in ioscan.
Mark Greene_1
Honored Contributor

Re: lanscan

I assume the system is on the network, that you can ping the gateway, telnet and/or ssh to the system and the like?

What are the permissions on the lanscan executeable? On my 11.0 system, it looks like this:

-r-xr-sr-x 1 root sys 40960 Mar 20 2003 /usr/sbin/lanscan

the future will be a lot like now, only later
Neil Wilson_2
Valued Contributor

Re: lanscan

Yes on the network on two of the cards, internal i/o and one external. Permissions are
r-xr-sr-x 1 root sys 40960 Nov 14 2000 /usr/sbin/lanscan

Re: lanscan

Hey Neil, trust you are well!

lanscan gets its info out of the kernel image on disk (/stand/vmunix) and in memory (/dev/kmem) If your booted off a different kernel then it can't find lan devices. Can you check which kernel you are booted off using:

/usr/sbin/kmpath

Just to confirm you are booted off the standard kernel.

Also, are you sure that lanscan is completing with no messages, and not, in fact dumping core?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Neil Wilson_2
Valued Contributor

Re: lanscan

Hey Dunc,

Yes lanscan is completing properly, no core/dump files and /usr/sbin/kmpath returns /stand/vmunix. I also tried lanscan /stand/vmunix /dev/kmem. No output there either.

FYI. The core i/o board (0) is bound to npartition 0. attached to the board are three GigEther cards and three 2Gb FC cards. All Software is configd / claimed.

ioscan -fnC lan:

# ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
lan 0 0/0/0/1/0 gelan CLAIMED INTERFACE HP A3639-60019 1000Base-T Built-in I/O
lan 1 0/0/4/0/0 igelan CLAIMED INTERFACE HP A6847-60101 PCI 1000Base-SX Adapter
lan 2 0/0/6/0/0 igelan CLAIMED INTERFACE HP A6847-60101 PCI 1000Base-SX Adapter
lan 3 0/0/14/0/0 igelan CLAIMED INTERFACE HP A6847-60101 PCI 1000Base-SX Adapter

PS Got a few nites out shortly. This Fri in Lpool and next Fri in Chester (Ops one).

Re: lanscan

OK, lets get a silly one out of the way first...

which lanscan

does return

/usr/sbin/lanscan

doesn't it?

and lanscan hasn't been alias'd (check with alias)...

Otherwise I think you might be looking at patches, as your lanscan does look very old (can you also post the output of "what /usr/sbin/lanscan" )

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Neil Wilson_2
Valued Contributor

Re: lanscan

# which lanscan
/usr/sbin/lanscan
# what lanscan
can't open lanscan (26)
# /usr/sbin/lanscan
# ll /usr/sbin | grep lanscan
-r-xr-sr-x 1 root sys 40960 Nov 14 2000 lanscan
#

Interesting output from what command. I noticed lanscan date of 2000. Dont know how this is when we have installed 11.11 off Sept 2003 HPUX 11i Core OS/OE CD's

Re: lanscan

sorry, you need to give the full path for 'what'

what /usr/sbin/lanscan

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Neil Wilson_2
Valued Contributor

Re: lanscan

what /usr/sbin/lanscan

/usr/sbin/lanscan:
$Revision: vw: cheriv_JAGad35417 selectors: CUPI80_BL2000_1025 'cup_cheriv_jagad35417'
Thu Oct 26 23:18:29 PDT 2000 $

Doesntlook good.

Bear in mind when this was built from OS CD's the patches installed from extensions CD.
Mark Greene_1
Honored Contributor

Re: lanscan

Duncan:

I keep forgetting about the what command, great call!

Neil:

Here's the output from what on my 11.11 system:

$ what /usr/sbin/lanscan
/usr/sbin/lanscan:
lanscan.c $Date: 2001/12/07 09:15:35 $Revision: r11.11/1 PATCH_11.11 (PHNE_25388)
$Revision: vw: -f selectors: CUP11.11_BL2002_0129_2 PHNE_25388 'CUP11.11_BL2002_0129_2'
Tue Jan 29 12:36:26 PST 2002 $


HTH
mark
the future will be a lot like now, only later

Re: lanscan

Neil,

Thats a perfectly good version of lanscan - the version Mark mentions is also the version I have on my systems - however if I look in /var/adm/sw/save I can see the same version you have and it works fine:

# ll /var/adm/sw/save/PHNE_25388/LAN-RUN/usr/sbin/lanscan
-r-xr-sr-x 1 root sys 40960 Nov 14 2000 /var/adm/sw/save/PHNE_25388/LAN-RUN/usr/sbin/lanscan
# what /var/adm/sw/save/PHNE_25388/LAN-RUN/usr/sbin/lanscan
/var/adm/sw/save/PHNE_25388/LAN-RUN/usr/sbin/lanscan:
$Revision: vw: cheriv_JAGad35417 selectors: CUPI80_BL2000_1025 'cup_cheriv_jagad35417'
Thu Oct 26 23:18:29 PDT 2000 $

# /var/adm/sw/save/PHNE_25388/LAN-RUN/usr/sbin/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 0x001083FA3585 0 UP lan0 snap0 1 ETHER Yes 119
1/8/0/0 0x001083F6AF16 2 UP lan2 snap2 2 ETHER Yes 119
0/5/0/0 0x001083F69FD4 1 UP lan1 snap1 3 ETHER Yes 119

So thats a red herring...

I'm running out of ideas now - I guess patches may be the only way to go...

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Neil Wilson_2
Valued Contributor

Re: lanscan

Right, I installed the latest patch PHNE_28923. After reboot ran lanscan and hey presto. Same old adage HP .. Happy Patching!
If in doubt patch it!

thanks Duncan.

Re: lanscan

Quel Surprise!

Now you can have all kinds of fun & games with your vPARs - hope you have the latest firmware on the rp8400 as well!

I might just be able to make that night out in Chester - I 'll give Jonny a call...

Cheers

Duncan

I am an HPE Employee
Accept or Kudo