LINUX KERNEL HACKERS / MODDERS BEWARE
If you are totally lost on why you aren’t getting debug messsages when you expect them in linux kernel space … or if you are relying on them for state information … DONT USE KERN_DEBUG. Grrr I have been slaving all day trying all these little test programs/modules for a project I’m working on. I finally clicked that the /var/log/* files are buffered to quite a lot of messages (well at least the /var/log/debug file). I think its mainly if you are printing multiple messages of the same content.