Patch-ID# 111883-28 Keywords: security ce performance schizo infinite_burst hang Synopsis: SunOS 5.8: Sun GigaSwift Ethernet 1.0 driver patch Date: Oct/08/2004 Install Requirements: Reboot after installation Solaris Release: 8 SunOS Release: 5.8 Unbundled Product: Unbundled Release: Xref: Topic: *********************************************************** NOTE: This patch may contain one or more OEM-specific platform ports. See the appropriate OEM_NOTES file within the patch for information specific to these platforms. DO NOT INSTALL this patch on an OEM system if a corresponding OEM_NOTES file is not present (or is present, but instructs not to install the patch), unless the OEM vendor directs otherwise. *********************************************************** NOTE: Refer to Special Install Instructions section for IMPORTANT specific information on this patch. Relevant Architectures: sparc.sun4u BugId's fixed with this patch: 4388874 4392989 4426686 4434623 4462477 4463913 4486669 4492979 4493576 4493666 4497516 4498936 4499549 4501008 4502472 4507042 4507572 4508360 4508877 4511079 4512292 4513222 4513232 4513382 4513744 4517635 4519783 4522162 4522207 4522230 4522663 4524276 4527172 4527684 4533316 4533605 4554255 4607430 4614922 4615304 4620218 4620451 4620456 4620467 4629291 4630214 4631325 4634455 4637950 4640855 4645885 4647988 4648346 4651090 4658962 4675241 4678583 4678908 4681554 4686107 4686121 4686126 4687821 4690643 4690650 4691819 4696480 4698533 4699088 4702980 4703803 4703839 4704372 4704413 4707612 4708099 4708816 4710796 4717385 4717637 4724434 4724811 4728208 4730696 4734902 4735212 4735224 4735240 4738499 4739846 4746230 4753629 4753634 4754360 4762837 4763498 4763533 4779486 4784093 4792519 4797403 4798684 4804568 4813252 4817746 4827599 4827852 4828534 4830725 4833497 4840375 4841619 4841922 4842533 4845437 4850591 4850593 4850596 4850598 4850601 4858668 4861928 4872163 4873132 4877395 4878072 4878966 4883900 4884801 4892527 4892531 4892948 4894783 4898660 4899720 4899721 4900973 4906860 4915216 4915383 4915384 4919336 4922948 4924976 4925585 4928320 4929138 4934451 4935473 4939954 4948197 4948202 4949787 4952213 4952649 4952687 4958238 4962352 4962537 4962776 4963384 4966642 4988034 4993010 4998501 4998655 5004020 5008297 5052253 5056005 5065648 5070824 5074196 5076202 5079552 5090320 5099378 Changes incorporated in this version: 5090320 5099378 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /platform/sun4u/kernel/drv/ce /platform/sun4u/kernel/drv/sparcv9/ce /usr/include/sys/ce.h /usr/include/sys/ce_hp.h /usr/include/sys/ce_mac.h /usr/include/sys/mii.h /usr/lib/adb/ce /usr/lib/adb/ce_rxbufhist /usr/lib/adb/ce_rxbufhist.nxt /usr/lib/adb/ce_rxcomphist /usr/lib/adb/ce_rxcomphist.nxt /usr/lib/adb/ce_str /usr/lib/adb/sparcv9/ce /usr/lib/adb/sparcv9/ce_rxcomphist.nxt /usr/lib/adb/sparcv9/ce_str /usr/lib/adb/sparcv9/sslist /usr/lib/adb/sslist Problem Description: 5090320 'ce' driver needs to be re-compiled to support MDTv2 5099378 Panic in ce_tx_msg() (from 111883-27) 5074196 Cassini uses the wrong sap value to fill in ether_type in ethernet header. 5079552 ndd get link_speed has extra characters 5076202 MAC address becomes zero using Trunking 1.3 module with ce v1.138 5008297 ce driver panics while many VLANS in use (from 111883-26) 5065648 vlan_info_alloc parameter causes panic with DDI compliance fixes. 5070824 Cassini Sun Trunking 1.3 should support multistream on trunk members (from 111883-25) 5004020 Misprogrammed loopback mode causing invalid failures of LW8 boards. 4993010 info_ack.dl_addr_offset should set to 0 before dl_bind_req. 4828534 Cassini error messages fill filesystem. 5052253 The ce driver can cause the memory leak. 5056005 Add adv_***_cap statistics per PSARC/2003/581 (from 111883-24) 4949787 Saturn chip drops link when jumbo packet received at 100mb 4919336 BERR panic on SF15K with cassini_CR chip on Cassini GCC card 4962537 LED locks up on Saturn based GCS NICs. 4998501 vlan_read_format clobbers checksum field. 4988034 Using multiple INT lines wasted resources 4963384 Need a kernel statistic to measure the frequency of Rx Buffer page reuse. 4958238 ce allocb/dblk_constructor memory leak 4962776 ddi_prop_decode_alloc memory leak from ce driver 4934451 panic in ce_drain_fifo 4998655 Enable VLAN support for x86 platforms, along with Cassini. 4962352 Assertion panic on attach (heap corruption) 4966642 Patch 111883-19 corrupts SUNWced when installed via jumpstart (from 111883-23) 4900973 QGE ports got link failure during the FCODE test 4948197 Saturn chip can stop transmitting due to collisions. 4948202 ndd parameters 'enable_ipg0', 'ipg0/1/2' are not applied once ndd completes 4952687 Weakness in the DLIOCRAW mode IOCTL causes a panic. 4952213 Cassini driver v1.122 does not work well with v1.134 4952649 System panic while running loopback test with Cassini based fiber card (from 111883-22) 4935473 mutex bad trap during high stress testing 4939954 Jumbo frames driver needs to tell trunking a device is in Jumbo mode 4929138 rx_rel_flow gets incremented when ce_taskq_disable=1 when nothing goes wrong (from 111883-21) 4928320 interrupt is blocked during the driver attach time (from 111883-20) 4915383 Need a new kstat to establish the current MTU in use with a port. 4915384 Need to put in safeguard in 'ndd' for accept-jumbo. 4877395 Need wrapper sub-capability for MDT in CE driver 4915216 Need to add the external loopback support for the Saturn chip to the driver 4883900 kernel heap corruption detected for buffers last used by ce 4906860 Cassini driver sends DMA request with uninitialized handle. 4924976 Cassini driver v1.130 is not supporting Trunking 1.3 4892948 Driver does not strip excess pad bytes for 802.3 packets 4922948 can't set accept_jumbo field to 1 with ndd for /dev/ce 4925585 Need to extend loopback export to support future National Semi Phys' (from 111883-19) 4892531 add support to the schizo systems for QGE cards 4899721 Cassini Jumbo frames support doesn't work for VLAN config. 4884801 "Loopback mode already set" 4898660 cassini interface should display trunk_mode in kstats 4894783 panic in ce driver with ce_rx_intr routine on a null pointer dereference 4892527 internal giga phy loopback test is needed for QGE 4899720 Cassini Jumbo frames support doesn't exceed 8114 bytes. (from 111883-18) 4878966 memory leaks in ce_attach() path 4873132 Reproducible failures of tcp testsuite with Cassini (ce) network i/f 4878072 Synopsis of FCO and FIN collections unreasonably long 4872163 Cassini initialization panic on trunking setup/release loop. (from 111883-17) 4842533 Cassini driver version 1.122 failed external loopback SunVTS netlbtest 4840375 Undeterministic Interrupt Binding for multiple CE cards. 4827599 netlbtest timeout error 4861928 CE driver does not support hardware-only load-balancing 4858668 Patch 111883-14 installed via JumpStart causing ce corruption on V480 (from 111883-16) 4845437 allocated ce_stats_sz should be stored in the soft state 4841922 Puma ignore rules if all servers from lb-group are taken out of VLAN in switch 4841619 kernel heap corruption in ce driver. 4833497 Inconsistent behavior on rx side when data is 45 and 46 bytes 4830725 ce: cassini should report i/f speed in DL_NOTIFY_IND(DL_NOTE_SPEED) in kb/sec 4827852 Invalid DL_CAPABILITY_ACK sent to IP when VLAN is enabled 4817746 Driver not compatible with some kernels 4813252 Potential panic in DL_NOTIFICATION routines in cassini driver 4797403 V1280 cassini doesn't work with 100FDX. Only when autoneg is active works fine. 4763498 Driver should handle DL_NOTIFY_REQ with DL_NOTE_PHYS_ADDR set 4850591 Link state race condition in driver with Saturn chip 4850593 If first cassini device fails to attach then ndd will panic. 4850596 Remove the MT_PERQ from the cb_flag, allow max concurrency. 4850598 Remove the extra ddi_dma_sync from payload buffer setup. 4850601 Add kstat to indicate the PCI bus speed the card is running at. (from 111883-15) 4804568 potential streams memory leak in ce_wsrv 4798684 Recursive mutex system panic from ce_start on mutex lock p_ce_t -> str_list_txlo 4792519 MDT kstat counters needed in CE driver 4784093 ce hangs oracle db for a few seconds after receiving rx_tag_err. 4779486 ce driver uses unpublished mi_alloc(), etc. interface 4734902 Cassini doesn't do UDP load balancing. 4724434 link_status, link_mode and link_speed are not available via ndd from ce driver (from 111883-14) 4763533 Domain panicked running SUNWsgdr 4762837 BAD TRAP in module "ce" due to a NULL pointer dereference. (from 111883-13) 4746230 DR of CPU/Mem board results in ce0 Header buffer burst page errors 4739846 Cassini copper panic during IO DR 4738499 CassiniCR Kuheen nic cards are failing SUNWvts internal loopback test 4753634 Cassini calls canputnext when it can be avoided. 4754360 Internal loopback capabilities should match physical layer capability. 4753629 Tx Load balancing code may be coping too frequently when 2 mblk packet. (from 111883-12) 4730696 RFE to add debug kstat counter for promiscuous mode to ce driver 4728208 Driver not compatible with some kernels 4724811 watchdog triggered during network stress test 4717637 cassini 'rbyte' counters are not correct 4717385 infinite_burst should default to 1 on Schizo platforms 4708816 ce driver set data_type for ifspeed as KSTAT_DATA_ULONG 4681554 Cassini GCC cards panic system due to PCI parity error in Schizo2.4 based system 4678908 Integrate Cassini Ethernet Driver improvements 4710796 ce using non-ARC'ed interface 4735212 Map boot line speed, duplex, and link-clock parameters to GMII properties. 4708099 Broadcast storms when more than one Cauldron card on same network 4735224 link_master keyword is overloaded. 4735240 ce_dupb increments ce_mblks_pending unnecessarily. (from 111883-11) 4707612 DR of system board containing kernel cage results in network down 4702980 Cassini panic with 'ndd -set' after a DR attach on XC 4690650 Cassini fails MAC test suite test # 4.2.1.2 Alignment Error Test 4690643 Cassini fails MAC test suite test # 4.2.1.1 FCS Error Test (from 111883-10) 4704372 kstat required to measure frequency of release bit assertions. 4696480 bug in DVMA setup logic 4703803 kstat link duplex params are not updated with V1.116 ce driver 4699088 "Bus Error Panic" on E880R with DR testing on Cassini Copper cards. 4698533 ce: unable to resolve dependency, module 'misc/random_reg' not found 4687821 Current Cassini Fiber NIC (Kuheen) sunvts internal loopback bypasses the serdes. 4678583 Cassini Fails Auto-negotiation test suite "pause mode resolution" 4704413 Last patch fix for 4691819 may cause a ndd usability bug. 4703839 PatchID 111883-07 fails to install on a net (JumpStart) image (from 111883-09) 4691819 Underscore in ndd should be replaced with dash. (from 111883-08) 4658962 netlbtest panic on ce due to a NULL pointer dereference 4651090 Serengeti panicked when DR'ing I/O assembly with Cassini card 4648346 Cassini driver can panic a low memory system when its UDP traffic is heavy 4647988 RARP timeout while snoop is running on server 4645885 netlbtest fails on jbos blade 4637950 high mutex contention with cassini+ during specweb99 4629291 ce: NOTICE: Timer cannot start EEF92649 is still running 4675241 Add support for random number generator device. 4640855 ce kstats ipackets_cpuXX incorrect/incomplete 4686107 Internal mac loopback fails when running sunvts 4686121 Add loopback support for the BCM5421 Phy 4686126 ierrors counter never incremented. (from 111883-07) 4631325 Cassini+ interface fails to complete nits test suite at 100HDX 4630214 infinite loop possible in ce_xcvr_init 4620218 Rx-hangs with Corrupt/NFS test when link connected to a switch Forced at HDX 4388874 diskless-client cannot dump core over interface; nfs_dump: server not responding 4507042 Link up/down (ce0) messages seen when running with Cauldron installed 4634455 rx_bad_descs kstat is no longer meaningful (from 111883-06) 4533316 Cassini behind Intel Bridge can cause a Target Abort 4615304 Spurious link up/down messages on loopback test 4614922 Extended Ethernet Frames/Jumbo Frames support request 4607430 flow control for cassini copper and fiber are set differently 4554255 ce: incorrect msgbuf size (including padding) when receiving frames <= 60 bytes 4533605 DLPI bound sap not handled correctly by ce driver 4527684 cassini interface goes down on grover+ 4527172 ce driver doesn't enable external loopback mode properly on Broadcom BCM5411 PHY 4524276 mutex_exit is called twice on mutex 4508877 bcopy and fdvma thresholds for data movement should be tunable 4426686 driver can send 1528 bytes packet that is greater than max_mtu of ethernet 4392989 net-install, diskless-boot hangs in 10/100 HDX mode; nfs mount and RPC time out 4620451 Tag errors are not counted in the netstat -k output 4620456 Cassini 'ce_str' adb macro out of sync with ce_str_t type in ce.h 4620467 Cassini 32bit debug driver adb macros 'ce_rxbufhist' and 'ce_rxcomphist' broken (from 111883-05) 4522230 ce_global_reset should take advantage of Cassini+ bim disable feature. 4522207 Cassini Half duplex doesn't work in 1G for any revs of Cassini. 4522162 Infinite burst should default to 1 on Schizo platforms. 4519783 Cassini driver doesn't cater for endian-ness in VPD integer parameters. 4517635 cassini cache_line_size not optimized for SUNW,Netra-T12 4498936 Starfire panics during network stress testing on cassini. 4522663 Tx Serialization fails to build queue. (from 111883-04) 4513744 Add kstats to count any pci read or write zero events and global reset. 4497516 cassini's ce_tx_msg() routine relies on well-formed packets 4511079 network communication stops after running NET + SCSI stress tests on Cauldron. 4512292 cassini cache_line_size not optimized for SUNW,Netra-T4 4513222 Cassini driver not modified to support pci_retry count interrupt. 4513232 Cassini ce_start routine always returns 1 when completing. 4513382 Cassini interrupt service routine will claim spurious interrupts (from 111883-03) 4507572 Default values for Cassini interrupt blanking feature not optimal. 4508360 Cassini driver displays too many messages during SunVTS loopback testing. 4502472 The cassini driver when ce_force_dma = 1 causes icmp checksum errors. 4501008 Cassini driver service routine leaks memory 4499549 ce driver notices have no instance information. 4493576 Cassini driver exhibits really poor Request response performance. 4493666 Cassini driver doesn't have Tx Serialization code. 4492979 Panic due to Null pointer dereference in "ce" module 4486669 cassini driver should be made D_MTPERQ (from 111883-02) Corrected patch package naming. (from 111883-01) 4463913 cassini netstat -k output - rx_allocb_fail counter is erroneous 4462477 Cassini driver needs to allow streams read service routine to send packet 4434623 Asymmetric cu-Cassini performance Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-9 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- After installing this patch, reboot the system to load the newly installed driver. Feature Removal Notification: ----------------------------- The ability to have read-only parameters present in the 'ndd' output will be removed in Solaris 9. The feature will be restored for ndd keyword 'link_status', 'link_mode' and 'link_speed' per bug report 4724434 to maintain compatibility with existing Solaris 8 scripts. Note that it is possible to gather the same information regarding link state from the 'netstat -k | grep link_' output. README -- Last modified date: Friday, October 8, 2004