Weird behavior while building Kernel Objects
Vinay Perneti
vinay.perneti-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jun 7 20:31:44 EDT 2007
Hi,
I added some printk's in the kernel code. I built using the make file as
shown which i got from this link
http://www.captain.at/programming/kernel-2.6/
obj-m := nfs4xdr.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
After i executed "make" everything was cool, a kernel object was created (
nfs4xdr.ko, nfs4xdr.o) etc.. but the weird thing is it still doesn't print
any of the messages to the log (/var/log/messages)
Am i doing something wrong?
P.S ( i even ran make modules in the /lib/modules/kernelversion/build and
did a make modules_install, and it still didn't print anything to the kernel
log messages)
Thanks,
-Vinay
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list