# uname -a SunOS pumba 5.10 Generic sun4u sparc SUNW,Sun-Fire-280R # ls -l total 1271762 -rw-r--r-- 1 root root 2 Aug 8 10:26 bounds -rw-r--r-- 1 root root 677312 Aug 10 10:08 my.so -rw-r--r-- 1 root root 1163675 Aug 8 10:26 unix.2 -rw-r--r-- 1 root root 648945664 Aug 8 10:26 vmcore.2 # mdb -k 2 Loading modules: [ unix krtld genunix specfs ufs ssd fcp fctl ip sctp usba nca nfs r andom sppp sd ptm ] > ::set -L . > ::load my > **my_state/8J 0x30013dcba80: 3001827b000 3001c11d000 0 0 0 0 0 0
> 3001827b000::my_dump_hba ! grep Proto phba->pHbaProto = 0x3001827e000 > 0x3001827e000::whatis -a 3001827e000 is 3001827e000+0, allocated from kmem_alloc_8192 3001827e000 is 3001827e000+0 (vmem_seg 30017531868) from kmem_firewall vmem arena 3001827e000 is 3001827e000+0 (vmem_seg 300165baf80) from kmem_firewall_va vmem arena 3001827e000 is 3001827e000+0 (vmem_seg 300165bb0b0) from heap vmem arena > > 0x3001827e000::my_show myHba ... 3001827e880: :(8.0 bytes) 103001827e882, 284773916862594 <------ something wrong 3001827e888: :(8.0 bytes) 3001827e880, 3298940151936 ... > 3001827e880::whatis -a 3001827e880 is 3001827e000+880, allocated from kmem_alloc_8192 3001827e880 is 3001827e000+880 (vmem_seg 30017531868) from kmem_firewall vmem arena 3001827e880 is 3001827e000+880 (vmem_seg 300165baf80) from kmem_firewall_va vmem arena 3001827e880 is 3001827e000+880 (vmem_seg 300165bb0b0) from heap vmem arena > > > 3001827e880::kmem_verify mdb: cache 3001827e880 () does not have redzone checking enabled >::kmem_cache ... 0000030000065908 kmem_alloc_2048 022f 200000 2048 1727 0000030000065b88 kmem_alloc_2688 022f 200000 2688 72 0000030000068008 kmem_alloc_4096 0269 200000 4096 34 0000030000068288 kmem_alloc_8192 0269 200000 8192 775 0000030000068508 kmem_alloc_12288 0269 200000 12288 16 0000030000068788 kmem_alloc_16384 0269 200000 16384 12 > 0000030000065b88::kmem_verify Summary for cache 'kmem_alloc_2688' clean > 0000030000068288::kmem_verify mdb: cache 30000068288 (kmem_alloc_8192) does not have redzone checking enabled > This message posted from opensolaris.org