mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Miroslav Zubcic <mvz@nimium.com>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Bug in ethernet module b44.c (2.6.7)
Date: Mon, 02 Aug 2004 20:33:41 +0200	[thread overview]
Message-ID: <lz65814cfu.fsf@anthea.home.int> (raw)
In-Reply-To: <200408021218.21958.vda@port.imtp.ilyichevsk.odessa.ua> (Denis Vlasenko's message of "Mon, 2 Aug 2004 12:18:21 +0300")

Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> writes:

> Provide strace of hung nmap.

--------------------------------------
execve("/usr/bin/nmap", ["nmap", "-sS", "192.168.3.1"], [/* 45 vars */]) = 0

[...]

read(3, "Iface\tDestination\tGateway \tFlags"..., 1024) = 640
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x4017d000, 4096)                = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 4
setsockopt(4, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
socket(PF_PACKET, SOCK_RAW, 768)        = 5
ioctl(5, 0x8933, 0xbfffa650)            = 0
ioctl(5, 0x8927, 0xbfffa650)            = 0
ioctl(5, 0x8933, 0xbfffa650)            = 0
bind(5, {sa_family=AF_PACKET, proto=0x03, if3, pkttype=PACKET_HOST, addr(0)={0, }, 20) = 0
setsockopt(5, SOL_PACKET, PACKET_ADD_MEMBERSHIP, "\3\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
ioctl(5, 0x8921, 0xbfffa650)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6
ioctl(6, 0x8915, 0xbfffa4c0)            = 0
ioctl(6, 0x891b, 0xbfffa4c0)            = 0
close(6)                                = 0
setsockopt(5, SOL_SOCKET, 0x1a /* SO_??? */, "r\0\0\0\210\35\r\10", 8) = 0
gettimeofday({1091471189, 938221}, NULL) = 0
setsockopt(4, SOL_IP, IP_HDRINCL, [1], 4) = 0
sendto(4, "E\0\0\34\317\6\0\0003\1\3651\0\0\0\0\300\250\3\1\10\0\376"..., 28, 0, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("192.168.3.1")}, 16) =
 28
gettimeofday({1091471189, 938342}, NULL) = 0
setsockopt(3, SOL_IP, IP_HDRINCL, [1], 4) = 0
sendto(3, "E\0\0(t\377\0\0001\6\215u\300\250\3\n\300\250\3\1\214\n"..., 40, 0, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("192.168.3.1")}, 16) = 
40
gettimeofday({1091471189, 938429}, NULL) = 0
gettimeofday({1091471189, 938446}, NULL) = 0
gettimeofday({1091471189, 938464}, NULL) = 0
gettimeofday({1091471189, 938483}, NULL) = 0
gettimeofday({1091471189, 938501}, NULL) = 0
select(6, [5], NULL, NULL, {0, 20000})  = 0 (Timeout)
gettimeofday({1091471189, 958183}, NULL) = 0
select(6, [5], NULL, NULL, {0, 20000})  = 0 (Timeout)
gettimeofday({1091471189, 978194}, NULL) = 0
select(6, [5], NULL, NULL, {0, 20000})  = 0 (Timeout)
gettimeofday({1091471189, 998175}, NULL) = 0
select(6, [5], NULL, NULL, {0, 20000})  = 0 (Timeout)
gettimeofday({1091471190, 18172}, NULL) = 0
select(6, [5], NULL, NULL, {0, 20000})  = 0 (Timeout)
gettimeofday({1091471190, 38168}, NULL) = 0

[...]

... and so on and on until interrupted on the console.

[...]

--- SIGINT (Interrupt) @ 0 (0) ---
write(2, "caught SIGINT signal, cleaning u"..., 34) = 34
munmap(0x40017000, 4096)                = 0
exit_group(1)       

--------------------------------------

> Does just setting promisc with ifconfig or ip tool helps?

Yes, 'ifconfig eth0 promisc' works as a workaround. Just like when I
do it indirectly with tcpdump(8).


-- 
Many men would sooner die then think. In fact they do.
		-- Bertrand Russell


      reply	other threads:[~2004-08-02 18:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02  9:02 Miroslav Zubcic
2004-08-02  9:18 ` Denis Vlasenko
2004-08-02 18:33   ` Miroslav Zubcic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lz65814cfu.fsf@anthea.home.int \
    --to=mvz@nimium.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®