netconsole after boot

hong zhang henryzhang62 at yahoo.com
Tue Aug 25 23:12:01 UTC 2009


Peter,

After dmesg -n 8, it works.
But without it, I can see printk() at local machine but not remote PC.
Why?

--henry

--- On Tue, 8/25/09, Peter Hüwe <PeterHuewe at gmx.de> wrote:

> From: Peter Hüwe <PeterHuewe at gmx.de>
> Subject: Re: netconsole after boot
> To: devel at linuxdriverproject.org
> Cc: "hong zhang" <henryzhang62 at yahoo.com>, devel at driverdev.osuosl.org
> Date: Tuesday, August 25, 2009, 5:18 PM
> Hi Henry,
> 
> I just tested a setup very similar to yours here and it
> works quite fine - 
> have you tried setting the console log level to 8 yet?
> 
> dmesg -n 8
> modprobe netconsole 
> netconsole=4444 at 10.0.0.1/eth1,9353 at 10.0.0.2/12:34:56:78:9a:bc
> 
> Maybe that printk of your wifi driver is just a KERN_DEBUG
> message.
> 
> 
> 
> Best regards,
> Peter
> 
> 
> 
> Am Dienstag 25 August 2009 23:16:38 schrieb hong zhang:
> > List,
> >
> > I want get kernel debug printk() message over
> netconsole especially when
> > machine hangs. when put following in kernel comand
> line
> >
> netconsole=4444.10.0.0.1/eth1,9353 at 10.0.0.2/12:34:56:78:9a:bc
> >
> > and put following in remote PC.
> > 'netcat -u -l -p 9353'
> >
> > When kernel is booting, I see printk() message on
> remote PC. But it is only
> > good when booting.
> >
> > Then I tried following after boot,
> > modprobe netconsole
> >
> netconsole=4444 at 10.0.0.1/eth1,9353 at 10.0.0.2/12:34:56:78:9a:bc
> >
> > Then I try to load/unload wifi driver that has
> something printk() messages
> > but nothing appears on remote PC.
> >
> > Any idea for that?
> >
> > Thanks.
> >
> > ---henry
> >
> >
> >
> >
> > _______________________________________________
> > devel mailing list
> > devel at linuxdriverproject.org
> > http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
> 
> 
> 


      



More information about the devel mailing list