Patch Name: PHCO_21596

Patch Description: s700_800 11.00 mksf(1M) cumulative patch

Creation Date: 00/05/16

Post Date: 00/05/23

Hardware Platforms - OS Releases:
	s700: 11.00
	s800: 11.00

Products: N/A

Filesets:
	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP

Automatic Reboot?: No

Status: General Release

Critical:
	Yes
	PHCO_21596: PANIC

Category Tags:
	defect_repair enhancement general_release critical panic

Path Name: /hp-ux_patches/s700_800/11.X/PHCO_21596

Symptoms:
	PHCO_21596:
	1) rmsf panics for interface cards. rmsf panics when
	hardware path(for -H) or special file(for -a/-k) of
	interface card is specified. The panic message is:
	Data Page Fault, Type 15&13 - panic: Conditional trap.
	-- 8606136041.
	2) insf gives error when specifying instance number greater
	than 255. The error message is
	"insf : valid value for instance must be between 0 and 255"
	-- 8606133730.
	3)Insf will output "Don't know how to handle driver ..."
	warning message, for drivers with no insf support
	 -- 5003394270.
	4) lssf does not recognize new tape densities. There are new
	tape densities like DLT_85937_52, DLT_85937_52c, and so on
	which are listed by lssf as unknown densities-- 8606104841.
	5)Insf core dumps on N-class with SEOS in the kernel
	 -- 8606135659.

	PHCO_20182:
	insf does not create USB device special files which
	may be found on the B1000, C3000, and J5000 systems.
	This patch also allows valid /dev/crt files to remain
	unchanged when device files are created for the
	framebuf pseudo driver.  Existing configuration files
	which contain references to /dev/crt device files are
	less likely to have to change when a graphics card is
	added or moved.

	PHCO_19032:
	Insf will output "Don't know how to handle driver ..."
	warning message, for drivers with no insf support.
	Some mux boards may have incorrect special files
	created, if the hardware failed the diagnostics
	routines.

	PHCO_18302:
	The man pages for insf(1M)/mksf(1M) do not reflect GSPdiag
	device files (for SAS console).
	On removing the patch PHCO_17090, the file
	/var/adm/sw/swagent.log will contain the text
	"/var/adm/sw/products/PHCO_18302/pfiles/postremove[38]:
	test: A ] character is missing".

	PHCO_17090:
	More than 999 PTS device files cannot be created due to
	exhaustion of name space(t[0-9,A-z][0-9,A-z][0-9,A-z]).

	PHCO_16632:
	Support to create SAS console devices files.
	Creating pts device files in base-64
	alphanumeric characters.
	Lssf does not report some of DLT tape densities properly.

	PHCO_15746:
	Insf does not know how to handle "fcp" driver

	PHCO_13571:
	Need support for IBM 3590 cartridge format

Defect Description:
	PHCO_21596:
	1)rmsf panics for interface cards.
	Resolution: rmsf now checks the hardware type of the
	specified hardware path(for -H option) or special file
	name (for -a/-k) and if hardware type is DEVICE removes
	its special files and device definition from the system.
	Otherwise removes special file for leaf nodes and children
	only for non leaf nodes.

	2) insf gives error when specifying instance number greater
	than 255
	Resolution:The insf is modified check the instance number
	range between 0 and maximum integer value.

	3)Insf will output "Don't know how to handle driver ..."
	warning message, for drivers with no insf support.
	Resolution:These drivers are added to driver_entry_table[]
	which will have corresponding insf,lssf and mksf function
	pointers.

	4) The new tape densities are not included in the database
	maintained by lssf.
	Resolution:The database is updated with new tape
	densities.

	5)Insf core dumps on N-class with SEOS in the kernel
	because the varargs parameter to a function was not NULL
	terminated.
	Resolution: The parameter list is now NULL terminated.

	PHCO_20182:
	1)insf does not create USB device drivers
	2)If a graphics device is added or moved in a system,
	the relationship between /dev/crt special files and
	graphics devices is not preserved for those devices
	which are not changed.  This applies to systems
	which have more than one graphics device.
	3)Added support for superio 3.5 inch floppy driver.
	Resolution:
	USB device files are created as needed.
	/dev/crt device files that correspond to valid
	graphics devices are not changed.  This device
	files are created for the framebuf pseudo driver.
	superio floppy device files are created as needed.

	PHCO_19032:
	Insf gives error when there is no support for a driver
	Resolution:
	Insf no longer considers not knowing how to handle a driver
	an error. (Mksf still does). A driver may not need special
	file support in mksf.

	Insf ran out of file descriptors when opening diag file.
	Resolution:
	Fixed file descriptor leak. There was a return, before a
	close.

	PHCO_18302:
	The man pages for insf(1M)/mksf(1M) make no reference to
	GSPdiag device files. These device files are used by the
	SAS console.
	Fixed the postremove script.
	Resolution:
	Fixed the insf.1m man page to include GSPdiag device files.
	Fixed the shell test operator "[" syntax eror in the
	postremove script.

	PHCO_17090:
	PTS device files greater than
	999 are created in base64 encoding.

	PHCO_16632:
	Support for creatng device files for SAS console.
	Support to create pts device files in base-64
	alphanumeric characters.
	Lssf reported "unknown density" for
	some of the DLT densities in the table.

	PHCO_15746:
	The fcp and fcT1_cntl drivers did not have entries in
	look up table.So noop entries were created for these
	two drivers.

	PHCO_13571:
	Support for 3590 cartridge format in density
	table for both compressed and uncompressed.
	This would also support Fujitsu M2481 and
	M2483 tape devices.

SR:
	5003394270 8606133730 8606104841 8606136041 8606135659
	5003397950 4701394767 4701389569 4701395301 4701377705

Patch Files:
	
	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/insf.1m
	/usr/share/man/man1m.Z/mksf.1m
	/usr/share/man/man1m.Z/rmsf.1m

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/insf
	/sbin/lssf
	/sbin/mksf
	/sbin/rmsf
	/usr/sbin/insf
	/usr/sbin/lssf
	/usr/sbin/mksf
	/usr/sbin/rmsf

what(1) Output:
	
	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/insf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/lssf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/mksf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/rmsf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/insf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/lssf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/mksf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/rmsf:
		$Revision: 82.15.1.24 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o audio.o autoch.o cent.o diaghpib
			1.o disk.o hid.o hil.o hub.o instr0.o lan.o 
			lantty.o lpr.o mux.o ps2.o pseudo.o tape.o h
			pux_rel.o 00/05/17

	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/insf.1m:
		None

	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/mksf.1m:
		None

	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/rmsf.1m:
		None

cksum(1) Output:
	
	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /sbin/insf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /sbin/lssf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /sbin/mksf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /sbin/rmsf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /usr/sbin/insf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /usr/sbin/lssf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /usr/sbin/mksf

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	742548487 311296 /usr/sbin/rmsf

	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	2159530255 10919 /usr/share/man/man1m.Z/insf.1m

	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	3474466186 12465 /usr/share/man/man1m.Z/mksf.1m

	OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	2647027762 3896 /usr/share/man/man1m.Z/rmsf.1m

Patch Conflicts: None

Patch Dependencies:
	s700: 11.00: PHKL_13552 PHNE_14957
	s800: 11.00: PHKL_13552 PHNE_14957

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHCO_13571 PHCO_15746 PHCO_16632 PHCO_17090 PHCO_18302 PHCO_19032
	PHCO_20182

Equivalent Patches: None

Patch Package Size: 370 KBytes

Installation Instructions:
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHCO_21596

	5. Run swinstall to install the patch:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -s /tmp/PHCO_21596.depot

	By default swinstall will archive the original software in 
	/var/adm/sw/save/PHCO_21596.  If you do not wish to retain a
	copy of the original software, use the patch_save_files option:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -x patch_save_files=false -s /tmp/PHCO_21596.depot

	WARNING: If patch_save_files is false when a patch is installed,
		 the patch cannot be deinstalled.  Please be careful
		 when using this feature.

	For future reference, the contents of the PHCO_21596.text file is 
	available in the product readme:

		swlist -l product -a readme -d @ /tmp/PHCO_21596.depot

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHCO_21596.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None

