All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Chuck Ebbert <cebbert@redhat.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Maciej Rutecki <maciej.rutecki@gmail.com>,
	"Ales Teska" <ales.teska@gmail.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [Bug #16206] PROBLEM: PPP and other serial port related application hangs in kernel space
Date: Sun, 25 Jul 2010 15:36:19 -0400	[thread overview]
Message-ID: <20100725153619.54280d71@katamari> (raw)
In-Reply-To: <PRbv8sgxY6G.A.k7F.dVYSMB@chimera>

On Fri, 23 Jul 2010 14:15:51 +0200 (CEST)
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:

> This message has been generated automatically as a part of a report
> of regressions introduced between 2.6.33 and 2.6.34.
> 
> The following bug entry is on the current list of known regressions
> introduced between 2.6.33 and 2.6.34.  Please verify if it still should
> be listed and let the tracking team know (either way).
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16206
> Subject		: PROBLEM: PPP and other serial port related application hangs in kernel space
> Submitter	: Ales Teska <ales.teska@gmail.com>
> Date		: 2010-06-09 20:46 (45 days old)
> Message-ID	: <900E3B14-5B92-4A37-9581-049DB40F4D1C@gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127611640301071&w=2
> 

I think this is some kind of race in the ldisc handling code.

This patch went in 2.6.34:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=638b9648ab51c9c549ff5735d3de519ef6199df3

"tty: Fix the ldisc hangup race"

Warning message from the original report:

Line 1278 is:
        WARN_ON(!test_bit(TTY_LDISC, &tty->flags));

[ 1673.660876] ------------[ cut here ]------------
[ 1673.661471] WARNING: at drivers/char/tty_io.c:1278 tty_open+0x213/0x451()
[ 1673.689168] Pid: 1275, comm: ufoprobe_client Not tainted
2.6.34-486-exiprobes #1
[ 1673.690452] Call Trace:
[ 1673.690947]  [<c10e93af>] ? tty_open+0x213/0x451
[ 1673.691926]  [<c1018f51>] warn_slowpath_common+0x45/0x5c
[ 1673.693006]  [<c1018f75>] warn_slowpath_null+0xd/0x10
[ 1673.694293]  [<c10e93af>] tty_open+0x213/0x451

With softlockup detection enabled, there is also this trace:

[  841.121579] INFO: task pppd:1390 blocked for more than 120 seconds.
[  841.122613] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  841.123578] pppd          D cec53ea4     0  1390   1139 0x00000000
[  841.151250] Call Trace:
[  841.151815]  [<c1037b30>] ? trace_hardirqs_on+0xb/0xd
[  841.152755]  [<c1198bf6>] ? _raw_spin_unlock_irqrestore+0x53/0x60
[  841.153657]  [<c10f7049>] ? spin_unlock_irqrestore+0x8/0xa
[  841.154601]  [<c10f79fb>] tty_ldisc_ref_wait+0x5d/0x75
[  841.155265]  [<c102b471>] ? autoremove_wake_function+0x0/0x33
[  841.156456]  [<d0c35211>] ? serial_ioctl+0x0/0x68 [usbserial]
[  841.157913]  [<c10f3c54>] tty_ioctl+0x6d1/0x731

I put the full traces into the bug report.

WARNING: multiple messages have this Message-ID (diff)
From: Chuck Ebbert <cebbert-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>
Cc: Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Kernel Testers List
	<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Maciej Rutecki
	<maciej.rutecki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Ales Teska <ales.teska-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
Subject: Re: [Bug #16206] PROBLEM: PPP and other serial port related application hangs in kernel space
Date: Sun, 25 Jul 2010 15:36:19 -0400	[thread overview]
Message-ID: <20100725153619.54280d71@katamari> (raw)
In-Reply-To: <PRbv8sgxY6G.A.k7F.dVYSMB@chimera>

On Fri, 23 Jul 2010 14:15:51 +0200 (CEST)
"Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org> wrote:

> This message has been generated automatically as a part of a report
> of regressions introduced between 2.6.33 and 2.6.34.
> 
> The following bug entry is on the current list of known regressions
> introduced between 2.6.33 and 2.6.34.  Please verify if it still should
> be listed and let the tracking team know (either way).
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16206
> Subject		: PROBLEM: PPP and other serial port related application hangs in kernel space
> Submitter	: Ales Teska <ales.teska-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date		: 2010-06-09 20:46 (45 days old)
> Message-ID	: <900E3B14-5B92-4A37-9581-049DB40F4D1C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> References	: http://marc.info/?l=linux-kernel&m=127611640301071&w=2
> 

I think this is some kind of race in the ldisc handling code.

This patch went in 2.6.34:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=638b9648ab51c9c549ff5735d3de519ef6199df3

"tty: Fix the ldisc hangup race"

Warning message from the original report:

Line 1278 is:
        WARN_ON(!test_bit(TTY_LDISC, &tty->flags));

[ 1673.660876] ------------[ cut here ]------------
[ 1673.661471] WARNING: at drivers/char/tty_io.c:1278 tty_open+0x213/0x451()
[ 1673.689168] Pid: 1275, comm: ufoprobe_client Not tainted
2.6.34-486-exiprobes #1
[ 1673.690452] Call Trace:
[ 1673.690947]  [<c10e93af>] ? tty_open+0x213/0x451
[ 1673.691926]  [<c1018f51>] warn_slowpath_common+0x45/0x5c
[ 1673.693006]  [<c1018f75>] warn_slowpath_null+0xd/0x10
[ 1673.694293]  [<c10e93af>] tty_open+0x213/0x451

With softlockup detection enabled, there is also this trace:

[  841.121579] INFO: task pppd:1390 blocked for more than 120 seconds.
[  841.122613] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  841.123578] pppd          D cec53ea4     0  1390   1139 0x00000000
[  841.151250] Call Trace:
[  841.151815]  [<c1037b30>] ? trace_hardirqs_on+0xb/0xd
[  841.152755]  [<c1198bf6>] ? _raw_spin_unlock_irqrestore+0x53/0x60
[  841.153657]  [<c10f7049>] ? spin_unlock_irqrestore+0x8/0xa
[  841.154601]  [<c10f79fb>] tty_ldisc_ref_wait+0x5d/0x75
[  841.155265]  [<c102b471>] ? autoremove_wake_function+0x0/0x33
[  841.156456]  [<d0c35211>] ? serial_ioctl+0x0/0x68 [usbserial]
[  841.157913]  [<c10f3c54>] tty_ioctl+0x6d1/0x731

I put the full traces into the bug report.

  reply	other threads:[~2010-07-25 19:42 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 12:11 2.6.35-rc6: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-07-23 12:11 ` Rafael J. Wysocki
2010-07-23 12:11 ` [Bug #15664] Graphics hang and kernel backtrace when starting Azureus with Compiz enabled Rafael J. Wysocki
2010-07-23 12:11   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #15977] WARNING: at lib/dma-debug.c:866 check_for_stack Rafael J. Wysocki
2010-07-30  6:58   ` FUJITA Tomonori
2010-07-30  6:58     ` FUJITA Tomonori
2010-07-23 12:15 ` [Bug #15912] Audio/video sync and crackling issues with snd-hda-intel (AD1981 codec) Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #15862] 2.6.34-rc4/5: iwlagn unusable until reload Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #15673] 2.6.34-rc2: "ima_dec_counts: open/free imbalance"? Rafael J. Wysocki
2010-07-23 15:12   ` Thomas Meyer
2010-07-23 15:12     ` Thomas Meyer
2010-07-23 19:50     ` Rafael J. Wysocki
2010-07-23 19:50       ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c Rafael J. Wysocki
2010-07-26 13:16   ` Sergey Senozhatsky
2010-07-26 13:16     ` Sergey Senozhatsky
2010-07-26 14:34     ` Eric Dumazet
2010-07-26 14:57       ` Sergey Senozhatsky
2010-07-26 14:57         ` Sergey Senozhatsky
2010-07-26 15:20         ` Eric Dumazet
2010-07-26 15:20           ` Eric Dumazet
2010-07-26 15:50   ` Sergey Senozhatsky
2010-07-26 15:50     ` Sergey Senozhatsky
2010-07-23 12:15 ` [Bug #16035] Incorrect initial resolution of (external) vga monitor with KMS Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16007] x86/pci Oops with CONFIG_SND_HDA_INTEL Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 14:20   ` Bjorn Helgaas
2010-07-23 19:51     ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16097] 2.6.34 on Samsung P460: reset after "Waiting for /dev to be fully populated" Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16082] host panic on kernel 2.6.34 Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16170] Leadtek Winfast DTV Dongle (STK7700P based) is not working in 2.6.34 Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16111] hostap_pci: infinite registered netdevice wifi0 Rafael J. Wysocki
2010-07-23 13:13   ` Tim Gardner
2010-07-23 13:13     ` Tim Gardner
2010-07-23 19:53     ` Rafael J. Wysocki
2010-07-23 19:53       ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16139] wait_even_interruptible_timeout(), signal, spin_lock() = system hang Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16206] PROBLEM: PPP and other serial port related application hangs in kernel space Rafael J. Wysocki
2010-07-25 19:36   ` Chuck Ebbert [this message]
2010-07-25 19:36     ` Chuck Ebbert
2010-07-23 12:15 ` [Bug #16137] Ooops in BTRFS in 2.6.34 / x86_64 when mounting subvolume by name Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16207] Suspend and VT switch hangs since 2.6.34 Rafael J. Wysocki
2010-07-23 17:33   ` Jesse Barnes
2010-07-23 17:33     ` Jesse Barnes
2010-07-23 17:50     ` Tino Keitel
2010-07-23 17:50       ` Tino Keitel
2010-07-23 17:57       ` Jesse Barnes
2010-07-23 17:57         ` Jesse Barnes
2010-07-23 12:15 ` [Bug #16233] Fwd: [2.6.34] INFO: task rsync:20019 blocked for more than 120 seconds Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16270] Image is a hit-or-a-miss. Often displayed green+purple Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16300] [2.6.34 regression] mplayer gets out of sync due to problems with ALSA Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16320] iwl3945 crashes, seems to be disconnecting from the PCI bus Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16348] kswapd continuously active when doing IO Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 13:45   ` Dave Chinner
2010-07-23 19:55     ` Rafael J. Wysocki
2010-07-23 19:55       ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16361] KMS not working on Radeon Mobility 3430 Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16371] Regression 2.6.33->2.6.34: OOPS at boot, kmalloc corruption? Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16357] acpi-cpufreq fails to load (No such device) if CONFIG_SMP=n Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16388] i915 drm BUG: unable to handle kernel paging request at a5e89046 Rafael J. Wysocki
2010-07-23 12:15   ` Rafael J. Wysocki
2010-07-23 17:37   ` Jesse Barnes
2010-07-23 17:37     ` Jesse Barnes
2010-07-23 12:15 ` [Bug #16377] X.org crash while running a OpenGL composited KDE 4.4.4 session with Radeon KMS Rafael J. Wysocki
2010-07-23 12:15 ` [Bug #16376] random - possibly Radeon DRM KMS related - freezes Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2010-08-01 14:27 2.6.35-rc6-git6: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-08-01 14:44 ` [Bug #16206] PROBLEM: PPP and other serial port related application hangs in kernel space Rafael J. Wysocki
2010-07-10  0:24 2.6.35-rc4-git4: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-07-10  0:33 ` [Bug #16206] PROBLEM: PPP and other serial port related application hangs in kernel space Rafael J. Wysocki
2010-07-10  0:33   ` Rafael J. Wysocki
2010-06-20 22:32 2.6.35-rc3: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-06-20 22:34 ` [Bug #16206] PROBLEM: PPP and other serial port related application hangs in kernel space Rafael J. Wysocki
2010-06-20 22:34   ` 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=20100725153619.54280d71@katamari \
    --to=cebbert@redhat.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ales.teska@gmail.com \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    --cc=rjw@sisk.pl \
    /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.