Patch Name: PHNE_17942 Patch Description: s700_800 11.00 EISA Token Ring cumulative patch Creation Date: 99/03/16 Post Date: 99/05/12 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: TOKEN-EISA-KRN B.11.00 TOKEN-INIT-COM B.11.00 Filesets: TOKEN-EISA-KRN.TOKEN1-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP TOKEN-INIT-COM.TOKEN-INIT,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_17942: CORRUPTION PANIC Symptom 2 can cause memory corruption at random places and hence the system may panic. Category Tags: defect_repair general_release critical panic corruption Path Name: /hp-ux_patches/s700_800/11.X/PHNE_17942 Symptoms: PHNE_17942: 1. lanadmin reports card down when it's not. 2. Connecting the EISA TOKEN ring card causes the system to crash. 3. On 11.00 the ifIndex in the mib does not match the nm_id. Due to this 'snmpwalk' shows inconsistent values. 4. Support for 4500 MTU size for EISA Token Ring card. When EISA Token ring card is used with Token ring cards supporting 4500 MTU size, the network may hang. 5. SAM gives the following error when configuring EISA Token Ring card - mknod: arg count usage: mknod name b|c major minor mknod name p 6. swverify(1M) on EISA Token Ring fails with errors similar to the following: "configure" should have owner,uid "eisatoken,108" but the actual owner,uid is "root,0" "verify" should have owner,uid "eisatoken,108" but the actual owner,uid is "root,0" "postinstall" should have owner,uid "eisatoken,108" but the actual owner,uid is "root,0" "checkinstall" should have group,gid "users,20" but the actual group,gid is "sys,3" etc. Defect Description: PHNE_17942: 1. The code which makes the interface status as UP was missing in the EISA Token Ring initialization function. Due to this lanadmin command always shows the card status as down. Resolution: Inserted the missing code in the initialization function to make the card status as UP, when the card initialization succeeds. 2. Driver assumes that the I/O space returned by wsio_map is contiguous. However wsio_map() returns contiguous I/O space only if the corresponding physical memory is contiguous. When the I/O space is not contiguous, the card can DMA data into incorrect memory area, possibly used by other subsystems, causing system to crash. Resolution: Driver is modified to check if the space returned by MALLOC is physically contiguous, if not try MALLOC again until this is physically contiguous. Retry is done for a maximum of 100 times, to prevent a system hang. When the maximum retry count is exceeded, the EISA Token ring is kept in down state. 3. The driver calls get_nmid() to fill in ifIndex field. It calls get_nmid() again to fill in nm_id field. However every call to get_nmid() returns a different id. Resolution: Driver is now modified to call get_nmid() only once per instance and the same value is used in all other places. 4. Since the maximum MTU size for EISA Token Ring card is 4170, it will ignore incoming packets of size more than 4170. Some vendor cards support 4500 as maximum MTU. Hence the maximum MTU size for EISA Token ring card has to be increased to 4500. Resolution: The maximum MTU size for EISA Token Ring card has been increased to standard 4500. But the default MTU is set to 4170. User may increase this, using "lanadmin" command, up to 4500 if required. 5. Incorrect syntax usage for a shell command in the product initialization script, "/usr/sbin/hptoken_init", was causing this problem. Resolution: The initialization script has been modified to use the correct syntax for the shell command. 6. Due to a defect in creating the EISA Token Ring product swverify(1M) command will try to verify control scripts like "configure", "verify", "postinstall", "checkinstall" for ownership and permissions. Since these are control scripts, swverify(1m) should not perform these checks on them. Resolution: The EISA Token Ring product information is fixed to change the information on the above files to control scripts, so that swverify(1M) will not perform checks for ownership and permission on them. SR: 5003438242 1653288852 Patch Files: TOKEN-EISA-KRN.TOKEN1-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: /usr/conf/lib/libtoken.a TOKEN-INIT-COM.TOKEN-INIT,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: /usr/sbin/hptoken_init what(1) Output: TOKEN-EISA-KRN.TOKEN1-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: /usr/conf/lib/libtoken.a: token1.c: PHNE_17942 $Revision: 1.40.410.13 $ $Date : 99/04/09 10:41:12 $ FILESET TOKEN1: lib token: Version: B.11.00.01 TOKEN-INIT-COM.TOKEN-INIT,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: /usr/sbin/hptoken_init: hptoken_init: PHNE_17942 $Revision: 1.1.10.2 $ $Date : 95/03/08 12:00:00 $ cksum(1) Output: TOKEN-EISA-KRN.TOKEN1-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: 728676449 279304 /usr/conf/lib/libtoken.a TOKEN-INIT-COM.TOKEN-INIT,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: 1896275457 11412 /usr/sbin/hptoken_init Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 310 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 PHNE_17942 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_17942.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_17942. 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/PHNE_17942.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 PHNE_17942.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_17942.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_17942.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None