From: David Miller <davem@davemloft.net>
To: torvalds@linux-foundation.org
Cc: rjw@sisk.pl, linux-kernel@vger.kernel.org, bunk@kernel.org,
akpm@linux-foundation.org, protasnb@gmail.com
Subject: Re: 2.6.26-rc6-git2: Reported regressions from 2.6.25
Date: Sat, 14 Jun 2008 18:07:03 -0700 (PDT) [thread overview]
Message-ID: <20080614.180703.147133112.davem@davemloft.net> (raw)
In-Reply-To: <alpine.LFD.1.10.0806141727390.2949@woody.linux-foundation.org>
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sat, 14 Jun 2008 17:41:24 -0700 (PDT)
> IOW, I'm pretty damn sure that the bug entry above is very much a result
> of the tcp_defer_accept_check() thing, and that commit ec0a196626 fixed
> it by reverting it.
I agree with the gist of your analysis.
And it seems that Apache does try to use the deferred accept socket
option. So we may indeed have a hit on this IA64 bug.
The wording in the report about versions is a little confusing:
With kernel 2.6.26-rc5 and a git kernel just between rc4
and rc5, my kernel panic...
Does this mean that the problem appeared between rc4 and rc5? Or
that all 2.6.26-rcX releases have the problem? That's an important
fact because the change in question showed up in 2.6.26-rc1, as it
came in the inital networking merge for the 2.6.26 merge window.
> > The behavior of that bug would not usually be a crash, but
> > rather stuck connections, and I severely doubt anything in
> > that specweb test setup is using the deferred-accept option
> > which is a requirement for hitting those problems.
>
> Hey, I might be wrong. But see above. I don't think I am. I think the
> deferred-accept was just even buggier than you believed.
Because of the requirements to trigger the new code, this case is
not likely to match the revert. SSH absolutely does not use the
deferred accept socket option.
Let's look at the change in question.
Every single code path touched in the data paths are guarded
with "tp->defer_tcp_accept.request" which will be NULL unless
1) defer-accept socket option enabled and 2) a new connection
got queued up there.
Nothing about the normal accept queue handling got modified by those
changes which were reverted.
And note that this means the behavior change only hits listening
sockets. So if we have a report that client outgoing SSH
connections hang with the current kernel, that report cannot
reasonably match this revert.
I also anticipate that if this change could trigger problems for
non-deferred-accept cases, we'd see a ton more reports than we have.
And we did some research and one of the only major servers that use
this obscure defer-accept feature is distcc and apache. It is this
element of Ingo's bug report (that he uses distcc heavily and it was a
distcc socket which hung) that helped us narrow things down.
The SSH report clearly states "With kernel 2.6.26-rc5, ssh connections
to _remote_ servers randomly hang". So this is a report about SSH
client connections under 2.6.26-rc5, not SSH server connections and
therefore not listening sockets.
So right now I'd say that the IA64 case could definitely be a match
but the SSH case very much is not.
next prev parent reply other threads:[~2008-06-15 1:07 UTC|newest]
Thread overview: 116+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-14 20:04 2.6.26-rc6-git2: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-14 20:04 ` [Bug 10493] mips BCM47XX compile error Rafael J. Wysocki
2008-06-14 21:26 ` Adrian Bunk
2008-06-14 20:12 ` [Bug 10642] general protection fault: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10711] BUG: unable to handle kernel paging request - scsi_bus_uevent Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10726] x86-64 NODES_SHIFT compile failure Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10714] Badness seen on 2.6.26-rc2 with lockdep enabled Rafael J. Wysocki
2008-06-14 23:04 ` Adrian Bunk
2008-06-14 23:04 ` Adrian Bunk
2008-06-14 23:29 ` Benjamin Herrenschmidt
2008-06-14 23:29 ` Benjamin Herrenschmidt
2008-06-14 20:12 ` [Bug 10741] bug in `tty: BKL pushdown'? Rafael J. Wysocki
2008-06-16 10:03 ` Johannes Weiner
2008-06-16 10:33 ` Alan Cox
2008-06-16 11:46 ` Alan Cox
2008-06-16 15:33 ` Johannes Weiner
2008-06-16 18:22 ` Alan Cox
2008-06-19 11:06 ` Johannes Weiner
2008-06-14 20:12 ` [Bug 10724] ACPI: EC: GPE storm detected, disabling EC GPE Rafael J. Wysocki
2008-06-14 22:29 ` Justin Mattock
2008-06-14 20:12 ` [Bug 10764] some serial configurations are now broken Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10730] build issue #503 for v2.6.26-rc2-433-gf26a398 : undefined reference to `request_firmware' Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10725] Write protect on on Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10819] Fatal DMA error with b43 driver since 2.6.26 Rafael J. Wysocki
2008-06-14 21:34 ` Michael Buesch
2008-06-14 20:12 ` [Bug 10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-14 21:59 ` Frans Pop
2008-06-15 10:22 ` Romano Giannetti
2008-06-15 10:39 ` Adrian Bunk
2008-06-15 11:25 ` Romano Giannetti
2008-06-15 12:23 ` Adrian Bunk
2008-06-15 10:40 ` Rafael J. Wysocki
2008-06-15 11:25 ` Frans Pop
2008-06-15 11:35 ` Romano Giannetti
2008-06-15 11:26 ` Romano Giannetti
2008-06-15 19:29 ` Siddha, Suresh B
2008-06-15 23:02 ` Frans Pop
2008-06-16 0:41 ` Suresh Siddha
2008-06-16 10:53 ` Frans Pop
2008-06-16 11:07 ` Frans Pop
2008-06-23 12:38 ` Frans Pop
2008-06-24 23:22 ` Suresh Siddha
2008-09-12 10:54 ` Frans Pop
2008-09-12 12:43 ` Pallipadi, Venkatesh
2008-09-12 13:33 ` Frans Pop
2008-09-12 16:05 ` Pallipadi, Venkatesh
2008-09-13 0:24 ` Pallipadi, Venkatesh
2008-09-13 9:49 ` Frans Pop
2008-09-14 13:25 ` Ingo Molnar
2008-06-14 20:12 ` [Bug 10861] 2.6.26-rc4-git2 - long pause during boot Rafael J. Wysocki
2008-06-15 6:12 ` Chris Clayton
2008-06-14 20:12 ` [Bug 10828] [2.6.25-git18 => 2.6.26-rc1-git1] Xorg crash with xf86MapVidMem error Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10830] two different oopses with 2.6.26-rc4 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10826] NFS oops in 2.6.26rc4 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10815] 2.6.26-rc4: RIP find_pid_ns+0x6b/0xa0 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10860] total system freeze at boot with 2.6.26-rc Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10794] mips: CONF_CM_DEFAULT build error Rafael J. Wysocki
2008-06-14 21:24 ` Adrian Bunk
2008-06-14 20:12 ` [Bug 10827] 2.6.26rc4 GFS2 oops Rafael J. Wysocki
2008-06-22 9:09 ` [Cluster-devel] " Adrian Bunk
2008-06-22 9:09 ` Adrian Bunk
2008-06-23 14:40 ` [Cluster-devel] " Bob Peterson
2008-06-23 14:40 ` Bob Peterson
2008-06-23 15:14 ` Adrian Bunk
2008-06-23 15:14 ` Adrian Bunk
2008-06-23 15:32 ` Bob Peterson
2008-06-23 15:32 ` Bob Peterson
2008-06-23 17:02 ` Rafael J. Wysocki
2008-06-23 17:05 ` Adrian Bunk
2008-06-23 17:05 ` Adrian Bunk
2008-06-14 20:12 ` [Bug 10799] sky2 general protection fault Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10786] 2.6.26-rc3 64bit SMP does not boot on J5600 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10821] rt25xx: lock dependency warning, association failure, and kmalloc corruption Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10872] x86_64 boot hang when CONFIG_NUMA=n Rafael J. Wysocki
2008-06-15 16:35 ` Randy Dunlap
2008-06-15 19:18 ` Yinghai Lu
2008-06-16 1:11 ` Randy Dunlap
2008-06-16 4:12 ` Yinghai Lu
2008-06-16 5:14 ` Randy Dunlap
2008-06-16 4:15 ` Yinghai Lu
2008-06-16 15:32 ` Randy Dunlap
2008-06-14 20:12 ` [Bug 10903] ssh connections hang with 2.6.26-rc5 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10868] Oops on loading ipaq module since 2.6.26, prevents use of device Rafael J. Wysocki
2008-06-14 21:26 ` Alan Cox
2008-06-15 6:44 ` Adam Williamson
2008-06-16 9:10 ` Alan Cox
2008-06-14 20:12 ` [Bug 10865] i get the following oops trying to mount an ntfs partition on thinkpad Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10862] forcedeth: lockdep warning on ethtool -s Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10864] [regression][bisected] ~90,000 wakeups as of 2.6.26-rc3 Rafael J. Wysocki
2008-06-15 6:30 ` Németh Márton
2008-06-15 7:50 ` Ingo Molnar
2008-06-15 8:54 ` Németh Márton
2008-06-15 10:48 ` Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10866] /dev/rtc was missing until I disabled CONFIG_RTC_CLASS Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10892] Sometime (often) X come out blank (black screen) on cold boot - Intel chipset Rafael J. Wysocki
2008-06-15 10:21 ` Romano Giannetti
2008-06-14 20:12 ` [Bug 9791] Clock is running too fast^Wslow using acpi_pm clocksource Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10905] 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ? Rafael J. Wysocki
2008-06-16 11:26 ` Miquel van Smoorenburg
2008-06-16 13:19 ` Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10912] Regressions in the last kernels Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10908] IPF Montvale machine panic when running a network-relevent testing Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10906] repeatable slab corruption with LTP msgctl08 Rafael J. Wysocki
2008-06-14 21:42 ` 2.6.26-rc6-git2: Reported regressions from 2.6.25 Linus Torvalds
2008-06-14 22:00 ` Maciej W. Rozycki
2008-06-15 0:00 ` Linus Torvalds
2008-06-15 23:31 ` Maciej W. Rozycki
2008-06-17 15:24 ` Dave Jones
2008-06-14 23:31 ` David Miller
2008-06-15 0:41 ` Linus Torvalds
2008-06-15 1:07 ` David Miller [this message]
2008-06-15 2:15 ` Linus Torvalds
2008-06-15 10:51 ` Rafael J. Wysocki
2008-06-14 22:09 ` Vegard Nossum
2008-06-15 11:14 ` Rafael J. Wysocki
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=20080614.180703.147133112.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=akpm@linux-foundation.org \
--cc=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=protasnb@gmail.com \
--cc=rjw@sisk.pl \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.