Re: printk -- unable to print messages

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

 



I have tried the same thing.
I logged in to my first console. then i did insmod for the module. i didnt
get any messeges on the first console but they were logged in /var/log/messages and i cud see them in dmesg also.
i cudn't understand that why thy didnt appear on first console.

rohit hooda wrote:

Log in to your first console and then insmod your module. You will definitely get your messeges on the first console.


On Wed, 08 Mar 2006 Gowri Satish Adimulam wrote :
>  message has been logged in var/log/messages.
>
>On Wed, 2006-03-08 at 14:16 +0530, shivaligupta wrote:
> > If u r insmoding from a GUI session, check your /var/log/messages file.
> > The messages will be logged in that file
> >
> > Gowri Satish Adimulam wrote:
> >
> > >Hi ,
> > >
> > >Thanks for helping me for my previous postings.
> > >
> > >now i have new Problem,
> > >" in one of the simple example programm , i have assigned KERN_ALERT or
> > ><1> in printk , but when i run using ./insmod ,
> > > message in the double quotes of printk is not displayed on terminal
> > >window.
> > >I have checked in file /proc/modules , my module name was present"
> > >
> > >iam not able to understand, why the message has not printed.
> > >
> > >
> > >Thanks
> > >Gowri
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >--
> > >Kernelnewbies: Help each other learn about the Linux kernel.
> > >Archive:      http://mail.nl.linux.org/kernelnewbies/
> > >FAQ:          http://kernelnewbies.org/faq/
> > >
> > >
> > >
> > >
>
>
>--
>Kernelnewbies: Help each other learn about the Linux kernel.
>Archive:      http://mail.nl.linux.org/kernelnewbies/
>FAQ:          http://kernelnewbies.org/faq/
>



<http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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