Re: new kernel newbie column is up

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

 



sorry for the noise..just to share this..i think i can answer my own question:

klogd is not a kernel thread, but a userspace daemon.   in FC10, it
does not exists anymore:

http://forums.fedoraforum.org/showthread.php?t=206690

thanks.

On Thu, Sep 10, 2009 at 3:32 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
> I liked all these articles....perhaps a suggestion for a new article:
> klogd and its internal.
>
> First it started with me reading this:
>
> http://the-hydra.blogspot.com/2009/03/kernel-panic-when-calling-printk-inside.html
>
> and the comment was on klogd....but in my 2.6.31-rc9, i was not able
> to find any klogd kernel when I do a "ps -ef", showing the following
> list instead:
>
> root         2     0  0 10:42 ?        00:00:00 [kthreadd]
> root         3     2  0 10:42 ?        00:00:00 [migration/0]
> root         4     2  0 10:42 ?        00:00:00 [ksoftirqd/0]
> root         5     2  0 10:42 ?        00:00:00 [watchdog/0]
> root         6     2  0 10:42 ?        00:00:00 [migration/1]
> root         7     2  0 10:42 ?        00:00:00 [ksoftirqd/1]
> root         8     2  0 10:42 ?        00:00:00 [watchdog/1]
> root         9     2  0 10:42 ?        00:00:00 [events/0]
> root        10     2  0 10:42 ?        00:00:00 [events/1]
> root        11     2  0 10:42 ?        00:00:00 [khelper]
> root        17     2  0 10:42 ?        00:00:00 [async/mgr]
> root       155     2  0 10:42 ?        00:00:00 [kintegrityd/0]
> root       156     2  0 10:42 ?        00:00:00 [kintegrityd/1]
> root       158     2  0 10:42 ?        00:00:00 [kblockd/0]
> root       159     2  0 10:42 ?        00:00:00 [kblockd/1]
> root       161     2  0 10:42 ?        00:00:00 [kacpid]
> root       162     2  0 10:42 ?        00:00:00 [kacpi_notify]
> root       163     2  0 10:42 ?        00:00:00 [kacpi_hotplug]
> root       253     2  0 10:42 ?        00:00:00 [ata/0]
> root       254     2  0 10:42 ?        00:00:01 [ata/1]
> root       255     2  0 10:42 ?        00:00:00 [ata_aux]
> root       257     2  0 10:42 ?        00:00:00 [ksuspend_usbd]
> root       261     2  0 10:42 ?        00:00:00 [khubd]
> root       264     2  0 10:42 ?        00:00:00 [kseriod]
> root       333     2  0 10:42 ?        00:00:00 [khungtaskd]
> root       356     2  0 10:42 ?        00:00:00 [pdflush]
> root       357     2  0 10:42 ?        00:00:00 [pdflush]
> root       358     2  0 10:42 ?        00:00:01 [kswapd0]
> root       412     2  0 10:42 ?        00:00:00 [aio/0]
> root       413     2  0 10:42 ?        00:00:00 [aio/1]
> root       424     2  0 10:42 ?        00:00:00 [crypto/0]
> root       425     2  0 10:42 ?        00:00:00 [crypto/1]
> root       636     2  0 10:42 ?        00:00:00 [kpsmoused]
> root       642     2  0 10:42 ?        00:00:00 [kstriped]
> root       645     2  0 10:42 ?        00:00:00 [ksnapd]
> root       674     2  0 10:42 ?        00:00:00 [usbhid_resumer]
> root       807     2  0 10:42 ?        00:00:01 [scsi_eh_0]
> root       808     2  0 10:42 ?        00:00:00 [scsi_eh_1]
> root       819     2  0 10:42 ?        00:00:00 [scsi_eh_2]
> root       820     2  0 10:42 ?        00:00:00 [scsi_eh_3]
> root       822     2  0 10:42 ?        00:00:00 [scsi_eh_4]
> root       823     2  0 10:42 ?        00:00:00 [scsi_eh_5]
> root       830     2  0 10:42 ?        00:00:00 [kjournald]
> root      1275     2  0 10:42 ?        00:00:00 [kgameportd]
> root      1426     2  0 10:42 ?        00:00:00 [scsi_eh_6]
> root      1427     2  0 10:42 ?        00:00:00 [scsi_eh_7]
> root      1628     2  0 10:42 ?        00:00:00 [kauditd]
> root      1784     2  0 10:42 ?        00:00:00 [kmpathd/0]
> root      1786     2  0 10:42 ?        00:00:00 [kmpathd/1]
> root      1787     2  0 10:42 ?        00:00:00 [kmpath_handlerd]
> root      1829     2  0 10:43 ?        00:00:00 [kjournald2]
> root      1830     2  0 10:43 ?        00:00:00 [kjournald]
> root      1831     2  0 10:43 ?        00:00:00 [kjournald]
> root      1832     2  0 10:43 ?        00:00:00 [kjournald]
> root      1833     2  0 10:43 ?        00:00:00 [kjournald]
> root      1834     2  0 10:43 ?        00:00:00 [kjournald]
> root      1835     2  0 10:43 ?        00:00:00 [kjournald]
> root      1836     2  0 10:43 ?        00:00:00 [kjournald]
> root      1841     2  0 10:43 ?        00:00:00 [kjournald2]
> root      2060     2  0 10:43 ?        00:00:00 [rpciod/0]
> root      2062     2  0 10:43 ?        00:00:00 [rpciod/1]
> root      2411     2  0 10:43 ?        00:00:00 [bluetooth]
>
> where is klogd?
>
> the /proc/kmsg and fs/proc/kmsg.c interface still exists, but I cannot
> find who uses this facilitiy, and thus transferring the data from the
> "ring buffer" (as mentioned in Mulyadi's blog) to the syslogd?
>
> kernel does changes very fast....:-), or perhaps i missed something.
>
> On Thu, Sep 10, 2009 at 1:36 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>> On Wed, 9 Sep 2009, Mulyadi Santosa wrote:
>>
>>> On Wed, Sep 9, 2009 at 11:04 PM, Robert P. J. Day<rpjday@xxxxxxxxxxxxxx> wrote:
>>> >
>>> >  for various reasons, i skipped a week, but i like to think this
>>> > week's column -- part 3 of 3 of sequence files -- makes up for it.
>>> > it hurt to write.  make sure you ask questions in the comments
>>> > section.
>>> >
>>> >  http://cli.gs/ShyJXz
>>> >
>>> > rday
>>>
>>> personally, I appreciate your effort on writing every article in
>>> this series Robert. I think, in this particular article, you did
>>> quite extensive explanation so one or two mistakes are quite
>>> acceptable IMO.
>>
>>  and if you do indeed find errors, by all means, leave a comment, and
>> i'll take care of it.  because at linux.com, we're all about customer
>> service.  :-)
>>
>> rday
>> --
>>
>> ========================================================================
>> Robert P. J. Day                               Waterloo, Ontario, CANADA
>>
>>        Linux Consulting, Training and Annoying Kernel Pedantry.
>>
>> Web page:                                          http://crashcourse.ca
>> Twitter:                                       http://twitter.com/rpjday
>> ========================================================================
>
>
>
> --
> Regards,
> Peter Teoh
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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