lkml.org 
[lkml]   [2004]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Printk output on console
    Hi srinivas,
    My question is "We are having lot more printk
    statements in the kernel source files. While the
    kernel is in execution where the output of all these
    statements will go? and can we redirect the output of
    printk to our console?
    Please help me. Also I have one more error after
    having compiled my new kernel 2.6.9. After booting it
    shows the following error

    "Kernel panic syncing unable to mount block(0,0) VFS
    specify root =LABEL correctly"
    Do u know how to deal with it?

    Thanks,
    selva
    --- srinivas naga vutukuri
    <srinivas.vutukuri@gmail.com> wrote:

    > Hi Selva,
    >
    > I understood the question as where all/what all
    > printks (with
    > line nos and the file names)
    > you are looking for is it. I think, in a normal
    > printf using the
    > macros __FILE__ and __LINE__ will give that...
    >
    > ex:
    > printk(KERN_ERR "%s: Driver Initialisation failed",
    > __FILE__);
    > Is this helpful...
    >
    > Regards,
    > srinivas.
    > -
    > To unsubscribe from this list: send the line
    > "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at
    > http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/
    >




    __________________________________
    Do you Yahoo!?
    Read only the mail you want - Yahoo! Mail SpamGuard.
    http://promotions.yahoo.com/new_mail
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.022 / U:0.572 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site