Bug 23092

Summary: WARNING in tty_io.c
Product: Drivers Reporter: Maciej Rutecki (maciej.rutecki)
Component: SerialAssignee: Russell King (rmk)
Status: CLOSED UNREPRODUCIBLE    
Severity: normal CC: maciej.rutecki, rjw, shanwei, zdenek.kabelac
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.37-rc1 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 21782    

Description Maciej Rutecki 2010-11-17 17:58:34 UTC
Subject    : WARNING in tty_io.c
Submitter  : Shan Wei <shanwei@cn.fujitsu.com>
Date       : 2010-11-10 8:06
Message-ID : 4CDA5291.4010802@cn.fujitsu.com
References : http://marc.info/?l=linux-kernel&m=128937645120159&w=2

This entry is being used for tracking a regression from 2.6.36. Please don't
close it until the problem is fixed in the mainline.
Comment 1 Rafael J. Wysocki 2010-11-19 20:35:17 UTC
On Friday, November 19, 2010, Shan Wei wrote:
> Rafael J. Wysocki wrote, at 11/19/2010 07:42 AM:
> > This message has been generated automatically as a part of a summary report
> > of recent regressions.
> > 
> > The following bug entry is on the current list of known regressions
> > from 2.6.36.  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=23092
> > Subject             : WARNING in tty_io.c
> > Submitter   : Shan Wei <shanwei@cn.fujitsu.com>
> > Date                : 2010-11-10 8:06 (9 days old)
> 
> It's not appreared in 2.6.37-rc2+ with top commit 59365d13.
> I don't know which patch/commit fix it.
Comment 2 Zdenek Kabelac 2010-11-19 23:14:27 UTC
I'm still seeing it:

(vanilla kernel 6656b3fc8aba2eb7ca00c06c7fe4917938b0b652)

[    7.944842] EXT4-fs (sda2): re-mounted. Opts: data=ordered
[    7.966383] systemd-logger[351]: Got error on stream: No such process
[    8.366392] ------------[ cut here ]------------
[    8.366513] WARNING: at drivers/tty/tty_io.c:1331 tty_open+0x567/0x570()
[    8.366623] Hardware name: 6464CTO
[    8.366787] Modules linked in: autofs4 pcmcia sdhci_pci uhci_hcd ehci_hcd sdhci video mmc_core backlight usbcore sr_mod cdrom yenta_sock
et output dm_mod
[    8.368068] Pid: 126, comm: plymouthd Not tainted 2.6.37-rc2-00126-gde3bb36 #67
[    8.368206] Call Trace:
[    8.368323]  [<ffffffff8105511f>] warn_slowpath_common+0x7f/0xc0
[    8.368435]  [<ffffffff8105517a>] warn_slowpath_null+0x1a/0x20
[    8.368547]  [<ffffffff81338747>] tty_open+0x567/0x570
[    8.368663]  [<ffffffff8115cf53>] ? chrdev_open+0x63/0x320
[    8.368779]  [<ffffffff8115d120>] chrdev_open+0x230/0x320
[    8.368892]  [<ffffffff81155b3c>] __dentry_open+0x11c/0x4a0
[    8.369006]  [<ffffffff8115cef0>] ? chrdev_open+0x0/0x320
[    8.369118]  [<ffffffff81157389>] nameidata_to_filp+0x69/0x80
[    8.369234]  [<ffffffff811677e0>] do_last+0x480/0x750
[    8.369349]  [<ffffffff812abe28>] ? __raw_spin_lock_init+0x38/0x70
[    8.369457]  [<ffffffff81167c88>] do_filp_open+0x1d8/0x6a0
[    8.369569]  [<ffffffff8112ad2a>] ? might_fault+0x7a/0xd0
[    8.369683]  [<ffffffff814af159>] ? sub_preempt_count+0xa9/0xe0
[    8.369797]  [<ffffffff811752d1>] ? alloc_fd+0x1b1/0x210
[    8.369911]  [<ffffffff81157408>] do_sys_open+0x68/0x120
[    8.370057]  [<ffffffff814aa5f9>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[    8.370178]  [<ffffffff811574e0>] sys_open+0x20/0x30
[    8.370286]  [<ffffffff8100325b>] system_call_fastpath+0x16/0x1b
[    8.370389] ---[ end trace 249b918486812eb7 ]---
[    8.555058] udev[346]: starting version 164