1833013 Members
3319 Online
110048 Solutions
New Discussion

Re: swremove error

 
SOLVED
Go to solution
Steve Barlow_5
Advisor

swremove error

Hi,

Tried to patch the my HPUX 11.0 system to get a Tachyon FC adapter working and now the system will not reboot. I'm trying to remove the patch and roll back to a previous kernel.

Thing is my Gig ethernet card is now down, I think because of the patch issues. So when I swremove the program is trying to find the server on the network. Is there any way to make swremove work without a running network?

Steve
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: swremove error

Running swinstall in standalone mode.
The following procedure can be used to run swinstall in standalone mode.
The workaround is to use swinstall without the lan, by changing the
local IP address to the loopback address during the update process:

1. Modify /etc/hosts such that the IP address for your host is
set to 127.0.0.1 and resembles this example:

127.0.0.1 myhost
127.0.0.1 localhost loopback

2. move /etc/resolv.conf (if it exists) to another file name.
3. Halt the system.
4. Disconnect from the lan and power up the system.
5. Do one of the following:
touch /var/adm/sw/standalone
or
add set_local=true in /var/adm/sw/defaults
6. Stop the swagentd daemon:
/sbin/init.d/swagentd stop
7. Restart the swagentd daemon:
/sbin/init.d/swagentd start
You should now be able to run swinstall in standalone mode. Once you
have completed the swinstall session, undo what was done in the above
steps (starting with step #1) to restore network access.


Also if you boot from /stand/vmunix.bak or whatever it is. (If you backed it up) is also good.

Anil
There is no substitute to HARDWORK
Steve Barlow_5
Advisor

Re: swremove error

Thanks,

I did backup the kernel and now I am trying to boot from the backed up kernel and my network card just won't come up. I was going to try ti remove and patches and reboot one more time. I'm beginning to think my lan card has gone south during the reboot.

I'll try your suggestions on running swinstall in standalone mode. Any advice on diagnosing the gig lan card problem?

Steve
Steve Barlow_5
Advisor

Re: swremove error

RAC, Thanks for your help. I swapped cables and ports between the gig card and the switch and the network is back.

Thankfully I did not need to implement your suggestions.

Much appreciated though.

Steve
RAC_1
Honored Contributor

Re: swremove error

Also note that Gig cards always do autoneg and no hardcoded setting required.

Anil
There is no substitute to HARDWORK