Hi
On 10/23/06 09:20, Ashok Kumar wrote:
On 10/16/06, Victor Latushkin <[EMAIL PROTECTED]> wrote:
Hi Ashok,
Ashok Kumar wrote:
> Hi all,
>
> i am newbie to open solaris. i have installed soalris 10 on my
computer.
> i want to understand solaris booting sequence on source level, so i
> enabled booting with kmdb.
These two links may be useful to you:
http://blogs.sun.com/elowe/entry/debugging_early_in_boot
http://blogs.sun.com/dmick/entry/diagnosing_kernel_hangs_panics_with
very nice blogs, i have tried this and tried to put some break points,but i
am getting error message like this
"kmdb: failed to arm breakpoint at 0: operation not supported by
target "
That sounds like you are using :b with address 0
any kernel recompilation is required with any flags enabled?
No, kmdb support is always complete
most of the commands expecting address as part of command. i don't know how
to find that.
They don't need the actual address - they can use the symbol instead
for example, take a function called startup_end, i want to put a break
point
startup_end:b
If the symbol is not in genunix/unix and the module is not loaded but you
want to break on that symbol use deferred breakpoints
::bp module`symbol
eg
::bp cpu.AuthenticAMD.15`ao_init
Gavin
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code