Re: [Bug #15042] socket(PF_INET6 hangs when ipv6 not yetinitialized

From: Marc Haber
Date: Sun Feb 14 2010 - 01:20:25 EST


Hi,

sorry for the late reply.

On Wed, Jan 27, 2010 at 05:10:44PM +0800, AmÃrico Wang wrote:
> On Mon, Jan 25, 2010 at 6:23 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > This message has been generated automatically as a part of a report
> > of regressions introduced between 2.6.31 and 2.6.32.
> >
> > The following bug entry is on the current list of known regressions
> > introduced between 2.6.31 and 2.6.32. ÂPlease verify if it still should
> > be listed and let me know (either way).
> >
> >
> > Bug-Entry    : http://bugzilla.kernel.org/show_bug.cgi?id=15042
> > Subject     : socket(PF_INET6 hangs when ipv6 not yet initialized
> > Submitter    : Marc Haber <mh+linux-kernel@xxxxxxxxxxxx>
> > Date      Â: 2010-01-10 14:28 (15 days old)
> > References   Â: http://marc.info/?l=linux-kernel&m=126313553029280&w=4
> >
>
> (Adding net-dev into Cc)
>
> Hi, Marc,
>
> Sorry, I don't really understand your description of the problem, your mean
> your ssh hangs on socket PF_INET6 for 30 seconds?

No, it hangs on socket PF_INET6 indefinetely (max time I waited was
like ten minutes), ignoring SIGTERM while hanging. This does only
happen if the sshd is started within seconds of the ipv6 module being
loaded (or the Interface being brought up), so I guess that the kernel
needs to be in a state where it already thinks that it has IPv6 but
hasn't completed autoconfiguration yet.

To obtain an strace, I had to use timeout --signal=9 30. The
virtualbox process this happens inside takes all host CPU while the
ssh process hangs.

> Have you enabled CONFIG_DETECT_SOFTLOCKUP for your kernel?

yes, that's enabled.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190

Bitte beachten Sie, daà dem [m.E. grundgesetzwidrigen] Gesetz zur
Vorratsdatenspeicherung zufolge, seit dem 1. Januar 2008 jeglicher
elektronische Kontakt (E-Mail, TelefongesprÃche, SMS, Internet-
Telefonie, Mobilfunk, Fax) mit mir oder anderen Nutzern verdachts-
unabhÃngig fÃr den automatisierten geheimen Zugriff durch Strafver-
folgungs- u. PolizeivollzugsbehÃrden, die Bundesanstalt fÃr Finanz-
dienstleistungsaufsicht, Zollkriminal- und ZollfahndungsÃmter,die
Zollverwaltung zur SchwarzarbeitsbekÃmpfung, Notrufabfragestellen,
VerfassungsschutzbehÃrden, den MilitÃrischen Abschirmdienst, Bundes-
nachrichtendienst sowie 52 Staaten wie beispielsweise Aserbeidschan
oder die USA sechs Monate lang gespeichert wird, einschlieÃlich der
Kommunikation mit BerufsgeheimnistrÃgern wie Ãrzten, Journalisten und
AnwÃlten. Mehr Infos zur totalen Protokollierung Ihrer Kommunikations-
daten auf www.vorratsdatenspeicherung.de. (leicht verÃndert Ãbernommen
kopiert von www.lawblog.de)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/