Operating System - HP-UX
1834160 Members
2619 Online
110064 Solutions
New Discussion

ioinit cannot reassign a instance number

 
SOLVED
Go to solution
Jdamian
Respected Contributor

ioinit cannot reassign a instance number

Hi.

In a N-class server I tried to reassign a instance number of an interface but ioinit failed and reported that the instance number was already assigned... but it is not true.

'ioscan -kfnC ext_bus' shows the instance numbers are: 0,1,2,13,14,15,16,17,18.

I want to reassign 13,14,... to 3,4,...

Then I created a file according to ioinit man pages:

0/10/0/0.1.21.0.0 ext_bus 4

I rebooted the system in single-user and ran:

ioinit -f file -r

but ioinit reports that instance number 4 is already assigned.

can anyone help me ?

7 REPLIES 7
Jdamian
Respected Contributor

Re: ioinit cannot reassign a instance number

where I wrote "I want to reassign 13,14,... to 3,4,.." I wanted to write "I want to reassign 13,14,... to 4,5,.."

The ioinit error messages is:

ioinit: Instance number 4 already exists for class ext_bus.
Line 1. 0/4/0/0.1.21.0.0 ext_bus 4


thanx in advance
Jean-Louis Phelix
Honored Contributor
Solution

Re: ioinit cannot reassign a instance number

hi,

Sometimes, slots remains used in the ionit files while they shouldn't. It seems to be your problem ... In this case, the only way to to what you want is to rebuild it completly :

1 - generate a new infile

ioscan -kfn | grep -e INTERFACE -e DEVICE | grep -v target | awk '{printf "%-40s %-20s %5s\n", $3, $1, $2}' and change all required instances

2 - mv /stand/ioconfig /stand/ioconfig.sav
mv /etc/ioconfig /etc/ioconfig.sav

3. shutdown -r

4. interrupt the boot process, boot pri, interact with ISL.

5. ISL> hpux -is

6. cd /stand
/sbin/ioinit -c
/sbin/ioinit -f infile

7. /sbin/reboot

Regards
It works for me (© Bill McNAMARA ...)
James R. Ferguson
Acclaimed Contributor

Re: ioinit cannot reassign a instance number

Hi:

It sounds as if instance #4 was at one time valid and that this is being "remembered". There is a good procedural discussion of how to attack reassigning instance numbers *and* a tool to expose hidden values in the Software Recovery Handbook (chapter-14):

http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_swrec_EN_01_E/IO.pdf

Regards!

...JRF...

Jdamian
Respected Contributor

Re: ioinit cannot reassign a instance number

Thanx a lot, James and Jean-Louis.

James, in the chapter 14, a tool called "ioconfig2instance" is mentioned. Where can I find it ?

Thanx again
James R. Ferguson
Acclaimed Contributor

Re: ioinit cannot reassign a instance number

Hi (again):

To obtain the 'ioconfigtoinfile' tool, I believe you will need to call the Response Center.

Regards!

...JRF...
Nabil Boussetta
Frequent Advisor

Re: ioinit cannot reassign a instance number

1
Jdamian
Respected Contributor

Re: ioinit cannot reassign a instance number

.