> On Mon, 4 Feb 2008, Dennis Clarke wrote: >> >>> When unix/genunix is loaded, set "kmem_flags" to 0xf via >>> >>> kmem_flags/W f
OKay .. so CONTENTS|REDZONE|TEST|AUDIT == 0x8|0x4|0x2|0x1 == 0xf gotcha .. With moddebug I'll use 0xe0000000 for even more verbosity fun :-) >> well .. if I look here : >> >> panic[cpu1]/thread=d3738de0: kernel heap corruption detected >> >> d3738cc0 genunix:kmem_error+416 (6, d3036030, d36f24) >> d3738cf0 genunix:kmem_slab_free+21a (d3036030, d36f2400) >> d3738d20 genunix:kmem_magazine_destroy+b9 (d3036030, d459ed80,) >> d3738d58 genunix:kmem_cache_magazine_purge+8d (d3036030) >> d3738d78 genunix:kmem_cache_magazine_resize+23 (d3036030, 0, 0, 0, ) >> d3738dc8 genunix:taskq_thread+176 (d36d8f08, 0) >> d3738dd8 unix:thread_start+8 () >> >> I see kmem_slab_free there and I'm guessing that this page will help: >> >> http://docs.sun.com/app/docs/doc/817-2543/modules-24?l=en&q=kmem_flags&a=view >> >> The dcmd ::kmem_log seems reasonable .. if i can get to that point. > > Will only tell you what you need if you had kmem_flags set. > > Are you trying to install a debug build ? If so, kmem debugging active is > the case by default. This looks to be the SXDE snv_81 release that was just posted last week. Loading kmdb... Welcome to kmdb kmdb: unable to determine terminal type: assuming `vt100' Loaded modules: [ unix krtld genunix ] [0]> moddebug/W e0000000 moddebug: 0 = 0xe0000000 [0]> kmem_flags/W f kmem_flags: 0 = 0xf [0]> ::status debugging live kernel (32-bit) on (not set) operating system: 5.11 snv_81 (i86pc) CPU-specific support: Intel P6 family (Pentium Pro, Pentium II, Pentium III) DTrace state: inactive stopped on: debugger entry trap [0]> [0]> moddebug/X moddebug: moddebug: e0000000 [0]> kmem_flags/X kmem_flags: kmem_flags: f [0]> cpuid_info0::print { cpi_pass = 0x1 cpi_maxeax = 0x2 cpi_vendorstr = [ "GenuineIntel" ] cpi_vendor = 0 cpi_family = 0x6 cpi_model = 0x5 cpi_step = 0x2 cpi_chipid = 0xffffffff cpi_brandid = 0 cpi_clogid = 0 cpi_ncpu_per_chip = 0x1 cpi_cacheinfo = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] cpi_ncache = 0 cpi_ncpu_shr_last_cache = 0 cpi_last_lvl_cacheid = 0 cpi_std_4_size = 0 cpi_std_4 = 0 cpi_std = [ { cp_eax = 0x2 cp_ebx = 0x756e6547 cp_ecx = 0x6c65746e cp_edx = 0x49656e69 } { cp_eax = 0x652 cp_ebx = 0 cp_ecx = 0 cp_edx = 0x183fbff } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } ] cpi_xmaxeax = 0 cpi_brandstr = [ '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', ' \0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', ... ] cpi_pabits = 0x24 cpi_vabits = 0x20 cpi_extd = [ { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } { cp_eax = 0 cp_ebx = 0 cp_ecx = 0 cp_edx = 0 } ] cpi_coreid = 0 cpi_ncore_per_chip = 0x1 cpi_support = [ 0, 0, 0, 0, 0 ] cpi_chiprev = 0 cpi_chiprevstr = 0xfe8b1598 "Unknown" cpi_socket = 0 cpi_mwait = { mon_min = 0 mon_max = 0 size_actual = 0 buf_actual = 0 support = 0 } } [0]> [0]> :c kobj_open: can't open /platform/i86pc/ucode/GenuineIntel/00000652-01 kobj_open: '/etc/system' descr = 0x13 kobj_close: 0x13 Name of system file [/etc/system]: hrmmm .. I really didn't want the -a option here. Oh well .. I'll hit enter a pile of times and then see where we go. Stay tuned ... Dennis _______________________________________________ opensolaris-discuss mailing list [email protected]
