Guest User

Trenton - Dtrace / PC-BSD

a guest
Nov 23rd, 2016
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. Hi Allan and Kris,
  2.  
  3. I've been listening to the show for the past two years and really enjoy
  4. it. I used to be working with FreeBSD back around the turn of the
  5. century and it's fun to see how much has changed (and remained the
  6. same) since I left. Your show has helped rekindle the fun I had cutting
  7. my teeth on this during my computer science education and in my first
  8. job. Well done to everyone involved in the show.
  9.  
  10. But, I have a comment and question.
  11.  
  12. First, in the last episode you had a question using ports and packages
  13. and you lamented the lack of a good tool for building configured ports
  14. and using the packages. As far I as I know synth (portsmgmt/synth) does
  15. this, but you need to have your ports tree branch and package repo
  16. lined up. It requires more knowledge about the port and package system
  17. than maybe a normal user would want, but it seems possible. Of course,
  18. I can only attest to this in practice because I only understood this
  19. after trying to build 64-bit linux_base and realizing everything was
  20. out of synch, but not really wanting to destroy a god working system. I
  21. imagine someday I'll create a boot environment and blow away all my
  22. packages to see how well this really works.
  23.  
  24. Next, I'm having problems with using DTrace an PC-BSD 10.3. PC-BSD is
  25. installed on a Lenovo T420 and is using Geli encryption. The dtrace
  26. command runs OK, but any script I run (even hello world) returns this
  27. error message:
  28.  
  29. : "/usr/lib/dtrace/io.d", line 43: operator -> cannot be applied to a
  30. forward declaration: no struct devstat definition is available
  31.  
  32. I've pulled my hair out trying to find an answer and the closest I can
  33. find is a bug report to FreeBSD that claimed it was an issue with Grub
  34. not filling in some paths correctly:
  35.  
  36. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185290
  37.  
  38. Though the report claims it was fixed, it doesn't seem to work for me.
  39.  
  40. You probably just want me to upgrade to TrueOS, but I don't have a
  41. clear upgrade path because of the Geli.
  42.  
  43. I'm not afraid to dig and get my hands dirty, but I honestly don't know
  44. where to start. My original goal for running DTrace was to run the
  45. scripts from the tuning chapter of the Advanced ZFS mastery book, just
  46. so I could experiment with tuning. Anyway, I figured you two might have
  47. some pointers.
  48.  
  49. Thanks again for the great work and best regards,
  50.  
  51. --
  52. Trenton
Advertisement
Add Comment
Please, Sign In to add comment