* netconsole problem @ 2006-02-10 14:23 JaniD++ 2006-02-12 17:46 ` Matt Mackall 0 siblings, 1 reply; 6+ messages in thread From: JaniD++ @ 2006-02-10 14:23 UTC (permalink / raw) To: linux-kernel Hello, list, I have a little problem, with netconsole. It does not work for me. On the "client": modprobe netconsole netconsole=@/,514@192.168.2.100/ dmesg: netconsole: local port 6665 netconsole: interface eth0 netconsole: remote port 514 netconsole: remote IP 192.168.2.100 netconsole: remote ethernet address ff:ff:ff:ff:ff:ff netconsole: local IP 192.168.2.50 netconsole: network logging started (kernel: 2.6.15-rc5, and 2.6.16-rc1,2) On the server: ]# netcat -u -l -v -s 192.168.2.100 -p 514 192.168.2.100: inverse host lookup failed: Unknown host listening on [192.168.2.100] 514 ... And nothing comes. The firewall is off on both system. The ping comes from any direction. If i try the remote and local syslog, it works well, two. And in this case, the netlog only displays what the syslog is sends. What can be the problem? Thanks, Janos ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netconsole problem 2006-02-10 14:23 netconsole problem JaniD++ @ 2006-02-12 17:46 ` Matt Mackall 2006-02-12 22:45 ` JaniD++ 0 siblings, 1 reply; 6+ messages in thread From: Matt Mackall @ 2006-02-12 17:46 UTC (permalink / raw) To: JaniD++; +Cc: linux-kernel On Fri, Feb 10, 2006 at 03:23:23PM +0100, JaniD++ wrote: > Hello, list, > > I have a little problem, with netconsole. > It does not work for me. > > On the "client": > > modprobe netconsole netconsole=@/,514@192.168.2.100/ > dmesg: > netconsole: local port 6665 > netconsole: interface eth0 > netconsole: remote port 514 > netconsole: remote IP 192.168.2.100 > netconsole: remote ethernet address ff:ff:ff:ff:ff:ff > netconsole: local IP 192.168.2.50 > netconsole: network logging started > > (kernel: 2.6.15-rc5, and 2.6.16-rc1,2) > > On the server: > ]# netcat -u -l -v -s 192.168.2.100 -p 514 > 192.168.2.100: inverse host lookup failed: Unknown host > listening on [192.168.2.100] 514 ... > > And nothing comes. > > The firewall is off on both system. > The ping comes from any direction. > > If i try the remote and local syslog, it works well, two. > And in this case, the netlog only displays what the syslog is sends. > > What can be the problem? Perhaps your console log level is set too low. Fedora for instance is very quiet by default. -- Mathematics is the supreme nostalgia of our time. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netconsole problem 2006-02-12 17:46 ` Matt Mackall @ 2006-02-12 22:45 ` JaniD++ 2006-02-12 22:43 ` Matt Mackall 0 siblings, 1 reply; 6+ messages in thread From: JaniD++ @ 2006-02-12 22:45 UTC (permalink / raw) To: Matt Mackall; +Cc: linux-kernel ----- Original Message ----- From: "Matt Mackall" <mpm@selenic.com> To: "JaniD++" <djani22@dynamicweb.hu> Cc: <linux-kernel@vger.kernel.org> Sent: Sunday, February 12, 2006 6:46 PM Subject: Re: netconsole problem > On Fri, Feb 10, 2006 at 03:23:23PM +0100, JaniD++ wrote: > > Hello, list, > > > > I have a little problem, with netconsole. > > It does not work for me. > > > > On the "client": > > > > modprobe netconsole netconsole=@/,514@192.168.2.100/ > > dmesg: > > netconsole: local port 6665 > > netconsole: interface eth0 > > netconsole: remote port 514 > > netconsole: remote IP 192.168.2.100 > > netconsole: remote ethernet address ff:ff:ff:ff:ff:ff > > netconsole: local IP 192.168.2.50 > > netconsole: network logging started > > > > (kernel: 2.6.15-rc5, and 2.6.16-rc1,2) > > > > On the server: > > ]# netcat -u -l -v -s 192.168.2.100 -p 514 > > 192.168.2.100: inverse host lookup failed: Unknown host > > listening on [192.168.2.100] 514 ... > > > > And nothing comes. > > > > The firewall is off on both system. > > The ping comes from any direction. > > > > If i try the remote and local syslog, it works well, two. > > And in this case, the netlog only displays what the syslog is sends. > > > > What can be the problem? > > Perhaps your console log level is set too low. Fedora for instance is > very quiet by default. Sorry, i was not clear enough.... The system, what i want to debug is RedHat 9.0, with kernel 2.6.15, 2.6.16-* The syslog server is Fedora, and the syslog to syslog messages is works, but netconsole to syslog (and netconsole to netcat) is the problem, including the init-message! At this time i try to receive with another redhat 9, but it looks like the netconsole did not working properly for me. :( Thanks, Janos > > -- > Mathematics is the supreme nostalgia of our time. > - > 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/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netconsole problem 2006-02-12 22:45 ` JaniD++ @ 2006-02-12 22:43 ` Matt Mackall 2006-02-12 23:42 ` JaniD++ 0 siblings, 1 reply; 6+ messages in thread From: Matt Mackall @ 2006-02-12 22:43 UTC (permalink / raw) To: JaniD++; +Cc: linux-kernel On Sun, Feb 12, 2006 at 11:45:52PM +0100, JaniD++ wrote: > > On Fri, Feb 10, 2006 at 03:23:23PM +0100, JaniD++ wrote: > > > Hello, list, > > > > > > I have a little problem, with netconsole. > > > It does not work for me. > > > > > > On the "client": > > > > > > modprobe netconsole netconsole=@/,514@192.168.2.100/ > > > dmesg: > > > netconsole: local port 6665 > > > netconsole: interface eth0 > > > netconsole: remote port 514 > > > netconsole: remote IP 192.168.2.100 > > > netconsole: remote ethernet address ff:ff:ff:ff:ff:ff > > > netconsole: local IP 192.168.2.50 > > > netconsole: network logging started > > > > > > (kernel: 2.6.15-rc5, and 2.6.16-rc1,2) > > > > > > On the server: > > > ]# netcat -u -l -v -s 192.168.2.100 -p 514 > > > 192.168.2.100: inverse host lookup failed: Unknown host > > > listening on [192.168.2.100] 514 ... > > > > > > And nothing comes. > > > > > > The firewall is off on both system. > > > The ping comes from any direction. > > > > > > If i try the remote and local syslog, it works well, two. > > > And in this case, the netlog only displays what the syslog is sends. > > > > > > What can be the problem? > > > > Perhaps your console log level is set too low. Fedora for instance is > > very quiet by default. > > Sorry, i was not clear enough.... > The system, what i want to debug is RedHat 9.0, with kernel 2.6.15, 2.6.16-* > The syslog server is Fedora, and the syslog to syslog messages is works, but > netconsole to syslog (and netconsole to netcat) is the problem, including > the init-message! > > At this time i try to receive with another redhat 9, but it looks like the > netconsole did not working properly for me. :( Netconsole logging level is based off the _console log level_, which defaults to quiet on recent Redhat releases. If it doesn't show up on the console, netconsole doesn't see it either. -- Mathematics is the supreme nostalgia of our time. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netconsole problem 2006-02-12 22:43 ` Matt Mackall @ 2006-02-12 23:42 ` JaniD++ 2006-02-13 1:17 ` Randy.Dunlap 0 siblings, 1 reply; 6+ messages in thread From: JaniD++ @ 2006-02-12 23:42 UTC (permalink / raw) To: Matt Mackall; +Cc: linux-kernel ----- Original Message ----- From: "Matt Mackall" <mpm@selenic.com> To: "JaniD++" <djani22@dynamicweb.hu> Cc: <linux-kernel@vger.kernel.org> Sent: Sunday, February 12, 2006 11:43 PM Subject: Re: netconsole problem > On Sun, Feb 12, 2006 at 11:45:52PM +0100, JaniD++ wrote: > > > On Fri, Feb 10, 2006 at 03:23:23PM +0100, JaniD++ wrote: > > > > Hello, list, > > > > > > > > I have a little problem, with netconsole. > > > > It does not work for me. > > > > > > > > On the "client": > > > > > > > > modprobe netconsole netconsole=@/,514@192.168.2.100/ > > > > dmesg: > > > > netconsole: local port 6665 > > > > netconsole: interface eth0 > > > > netconsole: remote port 514 > > > > netconsole: remote IP 192.168.2.100 > > > > netconsole: remote ethernet address ff:ff:ff:ff:ff:ff > > > > netconsole: local IP 192.168.2.50 > > > > netconsole: network logging started > > > > > > > > (kernel: 2.6.15-rc5, and 2.6.16-rc1,2) > > > > > > > > On the server: > > > > ]# netcat -u -l -v -s 192.168.2.100 -p 514 > > > > 192.168.2.100: inverse host lookup failed: Unknown host > > > > listening on [192.168.2.100] 514 ... > > > > > > > > And nothing comes. > > > > > > > > The firewall is off on both system. > > > > The ping comes from any direction. > > > > > > > > If i try the remote and local syslog, it works well, two. > > > > And in this case, the netlog only displays what the syslog is sends. > > > > > > > > What can be the problem? > > > > > > Perhaps your console log level is set too low. Fedora for instance is > > > very quiet by default. > > > > Sorry, i was not clear enough.... > > The system, what i want to debug is RedHat 9.0, with kernel 2.6.15, 2.6.16-* > > The syslog server is Fedora, and the syslog to syslog messages is works, but > > netconsole to syslog (and netconsole to netcat) is the problem, including > > the init-message! > > > > At this time i try to receive with another redhat 9, but it looks like the > > netconsole did not working properly for me. :( > > Netconsole logging level is based off the _console log level_, which > defaults to quiet on recent Redhat releases. If it doesn't show up on > the console, netconsole doesn't see it either. The netconsole had worked for me some months ago, but i have made some changes on the system... (some software, more hardware) OK, i will see it. Where can i get/set this loglevel? Thanks, Janos > > -- > Mathematics is the supreme nostalgia of our time. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netconsole problem 2006-02-12 23:42 ` JaniD++ @ 2006-02-13 1:17 ` Randy.Dunlap 0 siblings, 0 replies; 6+ messages in thread From: Randy.Dunlap @ 2006-02-13 1:17 UTC (permalink / raw) To: JaniD++; +Cc: mpm, linux-kernel On Mon, 13 Feb 2006 00:42:00 +0100 JaniD++ wrote: > > ----- Original Message ----- > From: "Matt Mackall" <mpm@selenic.com> > To: "JaniD++" <djani22@dynamicweb.hu> > Cc: <linux-kernel@vger.kernel.org> > Sent: Sunday, February 12, 2006 11:43 PM > Subject: Re: netconsole problem > > > > On Sun, Feb 12, 2006 at 11:45:52PM +0100, JaniD++ wrote: > > > > On Fri, Feb 10, 2006 at 03:23:23PM +0100, JaniD++ wrote: > > > > > Hello, list, > > > > > > > > > > I have a little problem, with netconsole. > > > > > It does not work for me. > > > > > > > > > > On the "client": > > > > > > > > > > modprobe netconsole netconsole=@/,514@192.168.2.100/ > > > > > dmesg: > > > > > netconsole: local port 6665 > > > > > netconsole: interface eth0 > > > > > netconsole: remote port 514 > > > > > netconsole: remote IP 192.168.2.100 > > > > > netconsole: remote ethernet address ff:ff:ff:ff:ff:ff > > > > > netconsole: local IP 192.168.2.50 > > > > > netconsole: network logging started > > > > > > > > > > (kernel: 2.6.15-rc5, and 2.6.16-rc1,2) > > > > > > > > > > On the server: > > > > > ]# netcat -u -l -v -s 192.168.2.100 -p 514 > > > > > 192.168.2.100: inverse host lookup failed: Unknown host > > > > > listening on [192.168.2.100] 514 ... > > > > > > > > > > And nothing comes. > > > > > > > > > > The firewall is off on both system. > > > > > The ping comes from any direction. > > > > > > > > > > If i try the remote and local syslog, it works well, two. > > > > > And in this case, the netlog only displays what the syslog is sends. > > > > > > > > > > What can be the problem? > > > > > > > > Perhaps your console log level is set too low. Fedora for instance is > > > > very quiet by default. > > > > > > Sorry, i was not clear enough.... > > > The system, what i want to debug is RedHat 9.0, with kernel 2.6.15, > 2.6.16-* > > > The syslog server is Fedora, and the syslog to syslog messages is works, > but > > > netconsole to syslog (and netconsole to netcat) is the problem, > including > > > the init-message! > > > > > > At this time i try to receive with another redhat 9, but it looks like > the > > > netconsole did not working properly for me. :( > > > > Netconsole logging level is based off the _console log level_, which > > defaults to quiet on recent Redhat releases. If it doesn't show up on > > the console, netconsole doesn't see it either. > > The netconsole had worked for me some months ago, but i have made some > changes on the system... (some software, more hardware) > OK, i will see it. > Where can i get/set this loglevel? via Magic Sysrq + number (e.g., alt-sysrq-9) or via (as root) "echo 9 > /proc/sysrq-trigger" or via (as root) "echo 9 4 1 7 > /proc/sys/kernel/printk" (first "cat /proc/sys/kernel/printk" and increase the first value). For the first one, you need a kernel that has CONFIG_MAGIC_SYSRQ=y and also has /proc/sys/kernel/sysrq = 1 (echo 1 > /proc/sys/kernel/sysrq # to enable it) --- ~Randy ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-02-13 1:16 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-02-10 14:23 netconsole problem JaniD++ 2006-02-12 17:46 ` Matt Mackall 2006-02-12 22:45 ` JaniD++ 2006-02-12 22:43 ` Matt Mackall 2006-02-12 23:42 ` JaniD++ 2006-02-13 1:17 ` Randy.Dunlap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox