-
jbk
as opposed to the classic Dewey, Cheatham, and Howe
-
jbk
ok.. this is interesting.. even on the CX-5 cards, reading MLXCX_REG_PCAM failes with MLXCX_CMD_R_BAD_SYS_STATE
-
jbk
at least the ones in this system
-
richlowe
w
-
richlowe
oops
-
Smithx10
Anyone use or Check out
github.com/FDio/vpp ?
-
Smithx10
Ahh nevermind it’s another kernel bypass thingie
-
tsoome_
is src.iluumos.org very busy or is it my network....
-
tsoome_
got 504 gateway timeout from it...
-
tsoome_
src.illumos.org even :)
-
richlowe
it works here, but sometimes it stalls on people
-
richlowe
(it works when I spell it right. Did you?)
-
tsoome_
:)
-
tsoome_
i better kick my router just in case...
-
tsoome_
so, mdb ::mutex command will print put info about mutex, the held pointer there is pointer to kthread_t? and to get the stack trace, I can just use that pointer with ::stacks ?
-
jbk
::stack (no s)
-
jbk
::stacks does something different
-
rmustacc
I usually use ::findstack -v
-
jbk
err yeah
-
tsoome_
so, UTM with cores > 1 usually will hung on boot. so I found thread with start_cpu() in its stack and wanted to check the mutex and found this
paste.ec/paste/sG5kZxnU#rzagv9Op+ifRrqGXUfLVXgmP8HFksN9tAm8Cwa1D4c8 -- as much as I can see, cpus should be cpuset_t in data segment and swtch_from_zombie() should be busy with resume_from_zombie()
-
tsoome_
not really sure if that start_cpu() really is guilty one, but found this example to be interesting....
-
tsoome_
ofc course resume_from_zombie() does some things with stack...
-
richlowe
::stack doesn't take a kthread_t
-
richlowe
::findstack does, ::stacks also does I think
-
tsoome_
yes it does.
-
tsoome_
stacks and findstack agree there
-
richlowe
::stack/$C take a frame pointer
-
richlowe
does anyone know of a debugger that visualizes the stack and annotates it with the %pc when %sp was adjusted?
-
richlowe
(read %rip/%rsp/%rbp if you'd like)
-
richlowe
I haven't used a debugger that had anything approaching a gui since DDD in the 90s
-
richlowe
that is the actual _stack_ not a stack trace. I'm basically asking for $C but with the data between each %fp ::dump'd
-
richlowe
(it feels like with dwarf you could make that substantially less grody, which is why I'm asking)
-
tsoome_
have you checked this one:
github.com/cyrus-and/gdb-dashboard -- altho I'm not sure it can do what you are asking for:D
-
richlowe
gosh that's busy. It might help though!
-
tsoome_
I have found it useful sometimes....
-
tsoome_
hm, boot -B smt_enabled=false and no hung...
-
tsoome_
-
tsoome_
hm, apparently no, it was just one of random good boot..