lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120907022928.GA14646@localhost>
Date:	Fri, 7 Sep 2012 10:29:28 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Tomas Hlavacek <tmshlvck@...il.com>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: tty: WARNING at drivers/base/core.c:196 device_release()

Hi Tomas,

FYI, this commit triggers a boot time warning.

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
head:   6915c0e487c822e2436683e14302c0b8a6155cc7
commit: 6915c0e487c822e2436683e14302c0b8a6155cc7 [1/1] tty: uartclk value from serial_core exposed to sysfs

[    1.882306]  [<c11ddeff>] ? put_device+0xf/0x20
[    1.883140]  [<c11ddeff>] put_device+0xf/0x20
[    1.884821]  [<c11c4736>] tty_unregister_device+0x26/0x50

[    1.875434] PM: Removing info for No Bus:ttyS0
[    1.876344] ------------[ cut here ]------------
[    1.876762] WARNING: at /c/kernel-tests/src/stable/drivers/base/core.c:196 device_release+0x6e/0x80()
[    1.877550] Device 'ttyS0' does not have a release() function, it is broken and must be fixed.
[    1.878247] Modules linked in:
[    1.878552] Pid: 1, comm: swapper/0 Not tainted 3.6.0-rc3-00189-g6915c0e #176
[    1.879209] Call Trace:
[    1.879419]  [<c1028e1f>] warn_slowpath_common+0x5f/0x80
[    1.879861]  [<c11de0ee>] ? device_release+0x6e/0x80
[    1.880268]  [<c11de0ee>] ? device_release+0x6e/0x80
[    1.880682]  [<c1028ebe>] warn_slowpath_fmt+0x2e/0x30
[    1.881090]  [<c11de0ee>] device_release+0x6e/0x80
[    1.881479]  [<c1164e86>] kobject_cleanup+0x36/0x80
[    1.881942]  [<c1164f05>] kobject_put+0x25/0x60
[    1.882306]  [<c11ddeff>] ? put_device+0xf/0x20
[    1.882746]  [<c11deccc>] ? device_del+0x12c/0x160
[    1.883140]  [<c11ddeff>] put_device+0xf/0x20
[    1.883551]  [<c11ded36>] device_unregister+0x36/0x50
[    1.883963]  [<c11ded7d>] device_destroy+0x2d/0x40
[    1.884346]  [<c11dde40>] ? class_dir_child_ns_type+0x10/0x10
[    1.884821]  [<c11c4736>] tty_unregister_device+0x26/0x50
[    1.885314]  [<c11d0472>] uart_remove_one_port+0x82/0xf0
[    1.885830]  [<c11d44bd>] serial8250_register_8250_port+0x6d/0x280
[    1.886321]  [<c1250c37>] ? check_name+0x2f/0x2f
[    1.886711]  [<c1250d9d>] serial_pnp_probe+0x166/0x1ff
[    1.887126]  [<c11bf0f7>] pnp_device_probe+0x57/0xc0
[    1.887592]  [<c11e187b>] driver_probe_device+0xdb/0x2e0
[    1.888020]  [<c11e1b11>] __driver_attach+0x91/0xa0
[    1.888403]  [<c11e1a80>] ? driver_probe_device+0x2e0/0x2e0
[    1.888864]  [<c11dfe78>] bus_for_each_dev+0x38/0x70
[    1.889269]  [<c11e1319>] driver_attach+0x19/0x20
[    1.889721]  [<c11e1a80>] ? driver_probe_device+0x2e0/0x2e0
[    1.890157]  [<c11e0ec6>] bus_add_driver+0xd6/0x240
[    1.890567]  [<c11bef00>] ? pnp_device_detach+0x40/0x40
[    1.890982]  [<c11e20d5>] driver_register+0x65/0x160
[    1.891381]  [<c11e2ebb>] ? platform_driver_register+0x3b/0x40
[    1.891877]  [<c13becdd>] ? early_serial_setup+0xd2/0xd2
[    1.892295]  [<c11beeb7>] pnp_register_driver+0x17/0x20
[    1.892724]  [<c13becea>] serial8250_pnp_init+0xd/0xf
[    1.893185]  [<c1001202>] do_one_initcall+0x112/0x160
[    1.893605]  [<c139fa5a>] kernel_init+0xf7/0x18e
[    1.893987]  [<c139f423>] ? do_early_param+0x7a/0x7a
[    1.894394]  [<c139f963>] ? start_kernel+0x324/0x324
[    1.894818]  [<c12697b6>] kernel_thread_helper+0x6/0xd

Thanks,
Fengguang

View attachment "dmesg-kvm-fat-29234-2012-09-07-00-50-52-3.6.0-rc3-00189-g6915c0e-176" of type "text/plain" (84167 bytes)

View attachment "config-3.6.0-rc3-00189-g6915c0e" of type "text/plain" (59334 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ