Operating System - HP-UX
1835271 Members
2187 Online
110078 Solutions
New Discussion

Re: An I/O error occured while performing this task

 
Thomas Greig
Regular Advisor

An I/O error occured while performing this task

OS: hp-ux 11i v1 - RP3440

During patch-installation by using swinstall I get the following error:

First "An I/O error occured while performing this task"

Then "Internal error. Bad parameter sent to functino. This error occured in function 'smc_AnalysisWindowEntry', source file "smc_analysis.c", line 534. Please give this information to your Hwelett-Packard support contact..

You should exit the user interface immediately. Proceed at your own risk!"


Third message is:

"Internal error. Illegal return from routine "SMC_AvoidSplitPatches". This error occured in function "SMC_ChangePhase", source file "smc_change_phase.c", line 904. Please give this information to your HP support contact

You should exit the user interface immediately".


I have tried to install patches from both CD and downloaded.

Any tips?


btw: when running "swainv" it hangs during "listing filesets".. might be related?..
6 REPLIES 6
Mridul Shrivastava
Honored Contributor

Re: An I/O error occured while performing this task

I found a similar thread, this has the same error like yours:

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=204870&admit=109447627+1201254060182+28353475

Let us know the details about the patch also.
Time has a wonderful way of weeding out the trivial
Thomas Greig
Regular Advisor

Re: An I/O error occured while performing this task

The patch referred to in that forum was to 11.00 OS and will not be installed on our 11.11.

I will see if there is a version for our OS.
Thomas Greig
Regular Advisor

Re: An I/O error occured while performing this task

Screengrab of errormsg's
Steven E. Protter
Exalted Contributor

Re: An I/O error occured while performing this task

Shalom,

I would not trust this at all.

If any changes were made to the system prior to this in the patch process, I would restore the system to the Ignite backup we all take before patching a system.

The probable cause is meaningless, the system can not be trusted to function correctly after such a problem.

The problem with the system however may be a corrupt patch from a past installation.

/usr/contrib/bin/check_patches

You may find trouble with the system prior to this update.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Thomas Greig
Regular Advisor

Re: An I/O error occured while performing this task

Hello again and thank you for your reply.

When running check_patches I get the following reply in the log:

ERROR: Cannot read file "//var/adm/sw/products/INDEX". I/O error (5).


ll /var/adm/sw/products/INDEX
-rw-r--r-- 1 root sys 3469702 Apr 12 2007 /var/adm/sw/products/INDEX



This error is repeated in swagent.log many times.

the INDEX-file is a ascii-file

Thomas Greig
Regular Advisor

Re: An I/O error occured while performing this task

Gents.
Thanks for your support and feedback.

I managed to find a forum-thread with the solution myself but I used your tips to get to the answer.

I rebuilt the INDEX-file and the system are now letting me install patches again.

Solution is pasted below written by Robert-Jan Goossens (http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=702648&admit=109447626+1201527238671+28353475):



follow nest steps to solve your problem.

As root
# cd /var/adm/sw/products
# mv /var/adm/sw/products/INDEX /tmp

Create a file called void.psf in the /tmp directory:
# vi /tmp/void.psf
product
tag void
fileset
tag void

Create a package void:

# swpackage -s /tmp/void.psf

Install void and generate a new INDEX file:

# swinstall void

# swlist -l product

Remove the void product

# swremove void
# rm void.psf
# swremove -d void