> Thanks Peter. It does help. > > I put a debug driver onto a non-debug system, which cause the > mis-uniquified, right?
Yes -- the DEBUG driver was uniquified against the DEBUG genunix. If you stub out the ctfmerge step during driver construction you'll sidestep this problem but bear in mind that mixing DEBUG and non-DEBUG kernel modules can lead to more serious problems like panics since e.g. data structure layouts may differ on DEBUG and non-DEBUG builds. -- meem