1829194 Members
2608 Online
109986 Solutions
New Discussion

Installing a driver.

 
SOLVED
Go to solution
Darius Shafie
Frequent Advisor

Installing a driver.

I have downloaded a driver from Emulex website, and the install doc states that I will download a .Z file.

Here is the link to the driver:
http://www-dl.emulex.com/support/hpux/42105/lpfc.depot-04_21_05-hpux11_64_lib.z

However the download delivers a .tzg file. So I use gzip to uncompress the file and I end up with the file but now with .tar extension.

I use tar to uncompress it and it uncompresses the entire file, creating two directories LPFC and catalog.

The problem is that I need a depot file to install the driver. The files is supposedly a depot that has been compressed!

Is is possible to use a switch when uncompressing the tar file and get the original depot file?

Or how do I go about installing the driver from the files and directories that tar uncompressed?

Any help would be appreciated,
Thanks.
15 REPLIES 15
Torsten.
Acclaimed Contributor

Re: Installing a driver.

No idea if this is really supported from HP, but as long as it contains a catalog file, you should be able to install the software with swinstall

swinstall -s /full_path_to_the/directory

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: Installing a driver.

>Is is possible to use a switch when uncompressing the tar file and get the original depot file?

It is called mv(1): ;-)
# mv lpfc.depot-04_21_05-hpux11_64_lib.tar \
lpfc.depot-04_21_05-hpux11_64_lib.depot

While what Torsten said would probably work, you should NOT have untarred that depot:
# swinstall -s $PWD/lpfc.depot-04_21_05-hpux11_64_lib.tar \*
Torsten.
Acclaimed Contributor

Re: Installing a driver.

Anyway, if this part "04_21_05" is the date, it could be some old.
What kind of card we are talking about?

Maybe there is a HP driver too?

Here I found a manual - see the install instructions:

http://www-dl.emulex.com/support/hpux/42105/pdf/manual.pdf - it says uncompress and run swinstall on that file.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor
Solution

Re: Installing a driver.

>Torsten: Here I found a manual - see the install instructions:

That's cheating. ;-)

The documentation seems to indicate that after you uncompress it, it doesn't have a suffix.
Torsten.
Acclaimed Contributor

Re: Installing a driver.

Dennis, looks like you read it too ;-)

While reading the supported systems and OS versions on page 1 I guess this must be some older ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Darius Shafie
Frequent Advisor

Re: Installing a driver.

I have read that .pdf and it documents downloading a .z or .Z file and uncompressing that particular type of file.

All my download attempts bring down a .tzg type of file, so the doc in this case is not accurate.

After using gzip to uncompress the file, I had tried using mv to move the .tar file to a .depot file. And then using swinstall, however swinstall would bomb out stating it could not find a depot file in the directory and a depot file is needed.

I also had tried uncompressing the .tar file and giving the full path to swinstall, but again it complains that there is no depot file in that directory and that a depot file is required. I have tired the same process for ever directory that was created by untarring the file.

So the only thing that I can think of is that the good people at Emulex wrote their doc and instructions while a .Z file in mind, but actually placed a .tzg file on their site. So where to go from here? I have the file but just in the wrong format.
Torsten.
Acclaimed Contributor

Re: Installing a driver.

Again, what card?

There are HP branded emulex cards - working probably best with HP drivers.

BTW, depot files are tar archives - don't care about the extension (it's not windows ...).

If I click the file it is tgz - gunzip it and run swlist gives:

# Initializing...
# Contacting target "xxxxx"...
#
# Target: xxxxx:/home/t/lpfc.depot-04_21_05-hpux11_64_lib.tar
#

#
# Product(s):
#

LPFC B.04.21.05 Light Pulse Adapter Driver

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Darius Shafie
Frequent Advisor

Re: Installing a driver.

This is an Emulex LP-8000. We had working in this system before but I have had to re-install the OE and therefore need to install the driver again.
Torsten.
Acclaimed Contributor

Re: Installing a driver.

swinstall should work with the tar and even with the un-tared files:

>tar xvf lpfc.depot-04_21_05-hpux11_64_lib.tar
x catalog/INDEX, 1564 bytes, 4 tape blocks
x catalog/dfiles/INDEX, 257 bytes, 1 tape blocks
x catalog/dfiles/INFO, 138 bytes, 1 tape blocks
x catalog/LPFC/pfiles/INDEX, 738 bytes, 2 tape blocks
x catalog/LPFC/pfiles/INFO, 210 bytes, 1 tape blocks
x catalog/LPFC/pfiles/README, 124 bytes, 1 tape blocks
x catalog/LPFC/driver/INDEX, 311 bytes, 1 tape blocks
x catalog/LPFC/driver/INFO, 1201 bytes, 3 tape blocks
x catalog/LPFC/driver/postinstall, 699 bytes, 2 tape blocks
x catalog/LPFC/driver/postremove, 832 bytes, 2 tape blocks
x catalog/LPFC/driver/preremove, 432 bytes, 1 tape blocks
x catalog/LPFC/diagnostics/INDEX, 258 bytes, 1 tape blocks
x catalog/LPFC/diagnostics/INFO, 1556 bytes, 4 tape blocks
x catalog/LPFC/diagnostics/configure, 565 bytes, 2 tape blocks
x catalog/LPFC/diagnostics/postinstall, 438 bytes, 1 tape blocks
x catalog/LPFC/diagnostics/postremove, 192 bytes, 1 tape blocks
x catalog/LPFC/diagnostics/preremove, 1153 bytes, 3 tape blocks
x LPFC/driver/etc/opt/lpfc/conf/lpfc.conf, 20089 bytes, 40 tape blocks
x LPFC/driver/etc/opt/lpfc/mod/lpfc.olrad, 1904 bytes, 4 tape blocks
x LPFC/driver/sbin/init.d/lpfc.init, 7763 bytes, 16 tape blocks
x LPFC/driver/usr/conf/lib/lpfc.a, 1826110 bytes, 3567 tape blocks
x LPFC/driver/usr/conf/master.d/lpfc, 3187 bytes, 7 tape blocks
x LPFC/driver/usr/conf/space.h.d/lpfc.h, 869 bytes, 2 tape blocks
x LPFC/diagnostics/etc/opt/lpfc/bin/dfc, 201520 bytes, 394 tape blocks
x LPFC/diagnostics/etc/opt/lpfc/bin/lptrace, 53008 bytes, 104 tape blocks
x LPFC/diagnostics/etc/opt/lpfc/bin/lputil, 291920 bytes, 571 tape blocks
x LPFC/diagnostics/etc/opt/lpfc/bin/showhba, 201520 bytes, 394 tape blocks
x LPFC/diagnostics/etc/opt/lpfc/bin/yanktrace, 28672 bytes, 56 tape blocks
x LPFC/diagnostics/etc/opt/lpfc/bin/yanktrace64, 28672 bytes, 56 tape blocks
x LPFC/diagnostics/usr/lib/libdfc32.a, 47952 bytes, 94 tape blocks
x LPFC/diagnostics/usr/lib/libdfc64.a, 78452 bytes, 154 tape blocks
root@xxxxx:/home/t >swlist -s /home/t
# Initializing...
# Contacting target "xxxxxx"...
#
# Target: xxxxx:/home/t
#

#
# No Bundle(s) on xxxxx:/home/t
# Product(s):
#

LPFC B.04.21.05 Light Pulse Adapter Driver





Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Darius Shafie
Frequent Advisor

Re: Installing a driver.

I tried swlist on the .tar file and this is what I get:

#swlist -s /var/spool/emulex
#Initializng...
#Contacting target "hp9001...
ERROR: Software "/var/spool/emulex" was not found on host "hp9001:/".
ERROR: The Expected depot or root does ot exist at "/var/spool/emulex".
ERROR: There is currently no depot software on host "hp9001" at location "/var/spool/emulex"
Torsten.
Acclaimed Contributor

Re: Installing a driver.

Again, download the tgz filr to let's say
/tmp/emu

run gunzip on it and run

swinstall -s /tmp/emu/lpfc.depot-04_21_05-hpux11_64_lib.tar


Works!!!!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Darius Shafie
Frequent Advisor

Re: Installing a driver.

Torsten,

No matter how much I've tried that it did not work!

Finally I tried it on another system and it did not work there either.

So instead I using ftp to send the file to the root of my system. There I used mv to rename it lpfc.depot.tar and tried the swlist -s /lpfc.depot.tar and it worked. And now trying swinstall -s /lpfc.depot.tar seems to work.

For a sanity check I did the same exact things but did not rename the file and it does not work.

Anyhow thank-you for your support.
Torsten.
Acclaimed Contributor

Re: Installing a driver.

Finally, read this too:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: Installing a driver.

>For a sanity check I did the same exact things but did not rename the file and it does not work.

You might want to use cksum(1) on each file on the good and bad systems to see if they have the same contents.
Torsten.
Acclaimed Contributor

Re: Installing a driver.

I downloaded the file to my notebook (windows) and transfered it to hp-ux with ftp (binary mode!!!). How about you?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!