public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* Dtracing Nvidia Graphics driver
@ 2024-03-10 17:15 Till Wegmüller
  2024-03-12 18:12 ` Carsten Grzemba
  0 siblings, 1 reply; 2+ messages in thread
From: Till Wegmüller @ 2024-03-10 17:15 UTC (permalink / raw)
  To: illumos-developer

Hello All

OpenIndiana users are again having issues with loading the vbios and I 
wanted to see if I can get better information on what is happening I 
have a function called rm_init_adapter which I want to find out if I am 
running into ABI compatibility errors or if I can start debugging from 
there. It seems to be a generic error which just records that the card 
cannot load.

Can somebody point me to some kernel debugging tools to get started 
digging into it?

Thanks
Till

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dtracing Nvidia Graphics driver
  2024-03-10 17:15 Dtracing Nvidia Graphics driver Till Wegmüller
@ 2024-03-12 18:12 ` Carsten Grzemba
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Grzemba @ 2024-03-12 18:12 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

Hi Till,
normally the following script could deliver some information:
#!/usr/sbin/dtrace -s
#pragma D option flowindent

fbt:nvidia:rm_init_adapter:entry
{
    self->trace = 1;
}

fbt:nvidia:rm_init_adapter:return
/self->trace/
{
    self->trace = 0
}

fbt:nvidia::enter,
fbt:nvidia::return
{
}
Unfortunately the function rm_init_adapter is not exposed as a dtrace probe. And if you look at the disassembly of this function, you can see that the names of subfunctions that are called by rm_init_adapter are mutilate.
An other possible function to start could be nv_attach instead.

[-- Attachment #2: Type: text/html, Size: 1182 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-12 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 17:15 Dtracing Nvidia Graphics driver Till Wegmüller
2024-03-12 18:12 ` Carsten Grzemba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).