check for modular kernel