Re: Why hello kernel module didn't output anything?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> But how the module will be called as it suppose to send "Hello, world "
> to either xterm or konsole?

The kernel should automatically call init_module to initialze the module.

My experience is that printk's generally don't show up on xterms or
konsoles. They will usually show up only on the console when you're not in
X, and even then the priority of the message might have to be fairly high
to actually get it to print on the console as opposed to only being
logged. Check your kernel logs to find out if the message printed out
there...

John



-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux