Patch Name: PHKL_6076 Patch Description: s700 10.00 CDROM kernel patch including ISO-9660 conversion Creation Date: 95/09/21 Post Date: 95/11/08 Repost: 96/04/24 The patch documentation was modified to discuss the limitations of the ISO-9660 support. Hardware Platforms - OS Releases: s700: 10.00 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: No (superseded patches were critical) PHKL_5581: PANIC Path Name: /hp-ux_patches/s700/10.X/PHKL_6076 Symptoms: PHKL_6076: No option to convert a ISO-9660 CDROM filename from "FILENAME;VERSION" to lower case "filename". PHKL_5581: Data memory protection fault (trap 18) when use tar or fbackup on CDROM file system. Defect Description: PHKL_6076: HP-UX does not provide a mount option which will convert the ISO-9660 filename from "FILENAME;VERSION" format to lower case "filename" like most of the industry Unix platforms do. PC's and non-HP clients cannot use the ISO-9660 CD-ROM exported from a HP-UX NFS server because symbolic link, the only work-around, is not available on these systems. The fix adds two global kernel variables to the cdfs operation to provide the filename convertion functionality. These variables can be turned on and off using adb after the patch is installed. The kernel variables which need to be modified are: cdfs_convert_case - Set this to 1 to display filenames in lower case. cdfs_zap_version - Set this to 1 to suppress version number in filenames. If you want the variables to be set in the kernel file /stand/vmunix so the function remains after a system reboot, type the following: echo "cdfs_convert_case?W 1" | \ adb -w /stand/vmunix /dev/kmem echo "cdfs_zap_version?W 1" | \ adb -w /stand/vmunix /dev/kmem Or you can modify the memory only by typing: echo "cdfs_convert_case/W 1" | \ adb -w /stand/vmunix /dev/kmem echo "cdfs_zap_version/W 1" | \ adb -w /stand/vmunix /dev/kmem ------- N O T E S ------- 1. Limited by the scope of a patch, this fix does not add the functionality to mount_hfs(1M) command to allow selective case conversion for individual CDROMs. Setting the global kernel variable forces conversion on all mounted CDROMs. If your CDROM is not in ISO-9660 format or you have more than one type of CDROMs mounted, the files on the nonISO-9660 CDROMs may not be recognizable. You will need to use adb to reset the variables in order to access these CDs: echo "cdfs_convert_case/W 0" | adb -w /hp-ux /dev/kmem echo "cdfs_zap_version/W 0" | adb -w /hp-ux /dev/kmem We recommend you put the above lines in a script. 2. This patch does not provide support for RockRidge Extensions. This patch only offers an interim solution. The mount_hfs(1M) case conversion option is available in hp-ux 10.10. PHKL_5581: Defect caused by unaligned data reference in the kernel routine fill_pnum(). Reproduced by running tar -cv on root of CDROM file system. SR: 1653136358 5003261941 1653164269 Patch Files: /usr/conf/lib/libcdfs.a(cdfs_vnops.o) what(1) Output: /usr/conf/lib/libcdfs.a(cdfs_vnops.o): cdfs_vnops.c $Date: 95/09/21 13:06:11 $ $Revision: 1.12.91.4 $ PATCH_10.0 (PHKL_6076) cksum(1) Output: 2061501450 15496 /usr/conf/lib/libcdfs.a(cdfs_vnops.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_5581 Equivalent Patches: PHKL_6075: s700: 9.03 9.05 9.07 PHKL_6077: s800: 10.00 PHKL_6272: s700: 10.01 PHKL_6273: s800: 10.01 PHKL_6338: s800: 9.04 Patch Package Size: 70 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 PHKL_6076 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_6076.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHKL_6076.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. The cluster clients must be shut down as described in step 5b. By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_6076. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_6076.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_6076.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None