lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200610041326.55048.bschindler@student.ethz.ch>
Date:	Wed, 4 Oct 2006 13:26:54 +0200
From:	Benjamin Schindler <bschindler@...dent.ethz.ch>
To:	Alan Menegotto <macnish@...il.com>, linux-kernel@...r.kernel.org
Cc:	mpm@...enic.com
Subject: Re: netconsole not working on 2.6.17.6

On Tuesday 03 October 2006 18:37, you wrote:
> Benjamin Schindler wrote:
> > Hi
> >
> > I'm unsuccesfully trying to get networking to work - I've got two boxes 
that 
> > can ping each other: 192.168.0.101 and 192.168.0.102 - I load the 
netconsole 
> > module:
> >
> > modprobe netconsole 
> > netconsole=6666@....168.0.102/eth0,6666@....168.0.101/00:02:44:34:5d:f6
> >
> > In dmesg I get: 
> >
> > netconsole: local port 6666
> > netconsole: local IP 192.168.0.102
> > netconsole: interface eth0
> > netconsole: remote port 6666
> > netconsole: remote IP 192.168.0.101
> > netconsole: remote ethernet address 00:02:44:34:5d:f6
> > netconsole: network logging started
> >
> > I start wireshark/tcpdump whatever - and load a few modules just to 
produce 
> > some kernel messages. However, noething leaves the wire but I get all the 
> > messages in dmesg.
> >
> > What's wrong here?
> >
> > Thanks
> > Benjamin Schindler
> >
> > P.s. please cc me as I'm not subscribed to this list
> >   
> Are you pointing to the correct MAC? Have you tried to compile the 
> netconsole as built-in?
> 
Yes, I'm pointing at the correct MAC, but since wireshark doesn't see in the 
networl, I doubt anything actually is sent. 
No, I have not tried to compile netconsole into the kernel because of 
flexibility. Anyway, I have investiaged further:
I ran this systemtap script: 

probe module("netconsole").function("write_msg@...vers/net/netconsole.c") {
        printf("WriteMsg called\b")
}

Once this script was run, I rmmod and modprobe'd my wireless-module a few 
times to generate some dmesg output, but according to systemtap, this 
function never gets called. 
So, either the call to register_console in netconsole fails, is wrong or there 
is a but in register_console

Thanks
Benjamin Schindler
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ