Marty Faltesek
2007-May-23 07:22 UTC
[dtrace-discuss] dtrace is attaching the driver it is observing
While attempting to dtrace the attach of a storage HBA driver, running the dtrace script causes the driver I am attempting to observe to attach to its nodes. And because the driver is misbehaving in attach, dtrace never starts. I thought starting dtrace might be causing all drivers to attach, so I tried this workaround: # move the HBA driver out of the way mv /kernel/drv/amd64/nv_sata /kernel/drv/amd64/nv_sata.bk # run devfsadm to attach everything else include the dtrace driver devfsadm # move the HBA driver back mv /kernel/drv/amd64/nv_sata.bk /kernel/drv/amd64/nv_sata # load it, but don''t attach modload /kernel/drv/amd64/nv_sata # dtrace it dtrace -s ./nv.d And still no luck. nv.d still causes the driver''s attach routine to run. What am I doing wrong? thx Marty