A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
vmunix: WARNING: Out of character major numbers 2-d edition
December 3, 2014
1:05 pm
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

 

Description:

For same reason i found one HPUX server, where drivers was not be able to removed correctly after software uninstallation, reboots and ioconfig_dump using i still saw driver in lsdev output…

 

Solution:

1. Last and the most effective way (copy all files 2 from /stand and 2 from /etc to /tmp):

 

# cp /etc/ext_ioconfig /tmp/etc_ext_ioconfig

# cp /etc/ioconfig /tmp/etc_ioconfig

# cp /stand/ext_ioconfig /tmp/stand_ext_ioconfig

# cp /stand/ioconfig /tmp/stand_ioconfig

 

# cd /tmp      (copy iodebug in /tmp too)

#iodebug -read_ioc iofile=./etc_ext_ioconfig,afile=etc_ext_ascii_org
iodebug (6.4.4)
Input file (./etc_ext_ioconfig) format is Agile (ext_ioconfig type).

# grep -v krg_ etc_ext_ascii_org > etc_ext_ascii_mod

# iodebug -gen_ioc afile=etc_ext_ascii_mod,iofile=etc_ext_ioconfig_new
iodebug (6.4.4)
Generated Agile type ioconfig file "etc_ext_ioconfig_new"
-- with 30 instances (IO nodes),  75 dynamic major,  4 instance reservation
  Total size:7744.
#

# iodebug -read_ioc iofile=etc_ioconfig,afile=etc_ascii_org
iodebug (6.4.4) Input file (etc_ioconfig) format is Legacy (ioconfig type).

grep -v krg_ etc_ascii_org > etc_ascii_mod

$ iodebug -gen_ioc afile=etc_ascii_mod,iofile=etc_ioconfig_new
iodebug (6.4.4)
Generated Legacy type ioconfig file "etc_ioconfig_new"
-- with 21 instances (IO nodes),  75 dynamic major,  4 instance reservation
  Total size:5208.
#

# iodebug -read_ioc iofile=stand_ext_ioconfig,afile=stand_ext_ascii_org
iodebug (6.4.4)
Input file (stand_ext_ioconfig) format is Agile (ext_ioconfig type).

# grep -v krg_ stand_ext_ascii_org > stand_ext_ascii_mod

# iodebug -gen_ioc afile=stand_ext_ascii_mod,iofile=stand_ext_ioconfig_new
iodebug (6.4.4)
Generated Agile type ioconfig file "stand_ext_ioconfig_new"
-- with 30 instances (IO nodes),  75 dynamic major,  4 instance reservation
  Total size:7744.
#

# iodebug -read_ioc iofile=stand_ioconfig,afile=stand_ascii_org
iodebug (6.4.4)
Input file (stand_ioconfig) format is Legacy (ioconfig type).

# grep -v krg_ stand_ascii_org > stand_ascii_mod

# iodebug -gen_ioc afile=stand_ascii_mod,iofile=stand_ioconfig_new
iodebug (6.4.4)
Generated Legacy type ioconfig file "stand_ioconfig_new"
-- with 21 instances (IO nodes),  75 dynamic major,  4 instance reservation
  Total size:5208.

where:

iodebug – utility available on public ftp site of hpux.

 

2. Now do next operations:

#mv /etc/ioconfig   /etc/ioconfig.old
#mv /etc/ext_ioconfig  /etc/ext_ioconfig.old
#mv /stand/ioconfig    /stand/ioconfig.old
#mv /stand/ext_ioconifg  /stand/ext_ioconifg.old

 

#mv /tmp/etc_ioconfig_new /etc/ioconfig     
#mv /tmp/etc_ext_ioconfig_new /etc/ext_ioconfig            
#mv /tmp/stand_ioconfig_new /stand/ioconfig                 
#mv /tmp/stand_ext_ioconfig_new /stand/ext_ioconifg  

 

All these 4 files should have 644 permission and root:sys as owner

#shutdown -ry 0

 

 

Thank you.

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)