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: <57c746b1.Uk+1sbeKkLEfYFbr%xiaolong.ye@intel.com>
Date:   Thu, 01 Sep 2016 05:05:53 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc:     lkp@...org, LKML <linux-kernel@...r.kernel.org>,
        Sudip Mukherjee <sudip.mukherjee@...ethink.co.uk>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [ppdev]  8b7d3a9d90: WARNING: CPU: 0 PID: 153 at
 fs/sysfs/dir.c:31 sysfs_warn_dup+0x62/0x80


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
commit 8b7d3a9d903ee1d1f5febc8e74223e4e72720e35 ("ppdev: use new parport device model")

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G

caused below changes:


+---------------------------------------------------------+------------+------------+
|                                                         | 5ed22cebba | 8b7d3a9d90 |
+---------------------------------------------------------+------------+------------+
| boot_successes                                          | 0          | 19         |
| boot_failures                                           | 1          | 8          |
| BUG:kernel_reboot-without-warning_in_test_stage         | 1          |            |
| message:BUG:kernel_reboot-without-warning_in_test_stage | 0          |            |
| pattern:BUG:kernel_reboot-without-warning_in_test_stage | 0          |            |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup               | 0          | 8          |
| message:WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup       | 0          | 0.0        |
| pattern:WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup       | 0          | 0.0        |
| calltrace:parport_pc_init                               | 0          | 8          |
| message:calltrace:parport_pc_init                       | 0          | 0.0        |
| pattern:calltrace:parport_pc_init                       | 0          | 0          |
| calltrace:SyS_finit_module                              | 0          | 8          |
| message:calltrace:SyS_finit_module                      | 0          | 0.0        |
| pattern:calltrace:SyS_finit_module                      | 0          | 0          |
| WARNING:at_lib/kobject.c:#kobject_add_internal          | 0          | 8          |
| message:WARNING:at_lib/kobject.c:#kobject_add_internal  | 0          | 0.0        |
| pattern:WARNING:at_lib/kobject.c:#kobject_add_internal  | 0          | 0.0        |
+---------------------------------------------------------+------------+------------+



[    8.347735] blk_update_request: I/O error, dev fd0, sector 0
[    8.349231] floppy: error -5 while reading block 0
[    8.350671] ------------[ cut here ]------------
[    8.352075] WARNING: CPU: 0 PID: 153 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x62/0x80
[    8.354659] sysfs: cannot create duplicate filename '/devices/pnp0/00:04/ppdev/parport0'
[    8.357017] Modules linked in: ppdev snd_pcm snd_timer crc32c_intel snd soundcore
[    8.358738] ata2.01: NODEV after polling detection
[    8.359071] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    8.359795] ata2.00: configured for MWDMA2

[    8.363714]  floppy pcspkr parport_pc(+) serio_raw ata_piix parport libata i2c_piix4 acpi_cpufreq
[    8.367797] CPU: 0 PID: 153 Comm: systemd-udevd Not tainted 4.8.0-rc2-00102-g8b7d3a9 #1
[    8.370307] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    8.370387] Kernel tests: Boot OK!
[    8.374113]  0000000000000000 ffff88010f0cb740 ffffffff8144bb29 ffff88010f0cb790
[    8.376739]  0000000000000000 ffff88010f0cb780 ffffffff8107e6ab 0000001f0dd7d000
[    8.379427]  ffff88010dd7d000 ffff88010f377110 ffff88010fab69d8 ffff88010fb4f400
[    8.382066] Call Trace:
[    8.383085]  [<ffffffff8144bb29>] dump_stack+0x63/0x8a
[    8.384557]  [<ffffffff8107e6ab>] __warn+0xcb/0xf0
[    8.385924]  [<ffffffff8107e71f>] warn_slowpath_fmt+0x4f/0x60
[    8.387368]  [<ffffffff8128f1c2>] sysfs_warn_dup+0x62/0x80
[    8.388780]  [<ffffffff8128f2a7>] sysfs_create_dir_ns+0x77/0x90
[    8.390282]  [<ffffffff8144e829>] kobject_add_internal+0xa9/0x320
[    8.391840]  [<ffffffff81457ff3>] ? vsnprintf+0x1e3/0x4d0
[    8.393256]  [<ffffffff8144eb08>] kobject_add+0x68/0xb0
[    8.394618]  [<ffffffff8192bec5>] ? mutex_lock+0x25/0x50
[    8.395973]  [<ffffffff815a5c75>] device_add+0x165/0x630
[    8.397377]  [<ffffffff8119fd61>] ? kfree_const+0x21/0x30
[    8.398804]  [<ffffffff815a6330>] device_create_groups_vargs+0xe0/0xf0
[    8.400490]  [<ffffffffa0079060>] ? dead_read+0x10/0x10 [parport]
[    8.402022]  [<ffffffff815a63a1>] device_create+0x41/0x50
[    8.403977]  [<ffffffff81920b7d>] ? klist_next+0x7d/0x100
[    8.405376]  [<ffffffffa000b0b2>] pp_attach+0x32/0x40 [ppdev]
[    8.406934]  [<ffffffffa0079077>] driver_check+0x17/0x20 [parport]
[    8.408462]  [<ffffffff815a6ecb>] bus_for_each_drv+0x5b/0x90
[    8.409894]  [<ffffffffa0079499>] attach_driver_chain+0x59/0x60 [parport]
[    8.411537]  [<ffffffffa007a7e7>] parport_announce_port+0xc7/0x110 [parport]
[    8.413173]  [<ffffffffa00a3f96>] parport_pc_probe_port+0x6f6/0xca0 [parport_pc]
[    8.415531]  [<ffffffff815a511c>] ? __dev_printk+0x3c/0x80
[    8.416999]  [<ffffffff815a54ac>] ? _dev_info+0x5c/0x60
[    8.418499]  [<ffffffffa00a48f3>] parport_pc_pnp_probe+0x143/0x1e0 [parport_pc]
[    8.420721]  [<ffffffffa00a47b0>] ? parport_pc_pci_probe+0x270/0x270 [parport_pc]
[    8.422979]  [<ffffffff81524865>] pnp_device_probe+0x65/0xc0
[    8.424555]  [<ffffffff815a9323>] driver_probe_device+0x223/0x430
[    8.426088]  [<ffffffff815a960f>] __driver_attach+0xdf/0xf0
[    8.427541]  [<ffffffff815a9530>] ? driver_probe_device+0x430/0x430
[    8.429072]  [<ffffffff815a6e10>] bus_for_each_dev+0x60/0xa0
[    8.430502]  [<ffffffff815a8a5e>] driver_attach+0x1e/0x20
[    8.431988]  [<ffffffff815a84a0>] bus_add_driver+0x170/0x270
[    8.433549]  [<ffffffff815a9f30>] driver_register+0x60/0xe0
[    8.435027]  [<ffffffff815246a0>] pnp_register_driver+0x20/0x30
[    8.436486]  [<ffffffffa00ab36c>] parport_pc_init+0x2b4/0xf48 [parport_pc]
[    8.438179]  [<ffffffffa00ab0b8>] ? parport_parse_param+0xb8/0xb8 [parport_pc]
[    8.442285]  [<ffffffff8100217d>] do_one_initcall+0x3d/0x150
[    8.443818]  [<ffffffff810a4a79>] ? __might_sleep+0x49/0x80
[    8.445245]  [<ffffffff811e68f3>] ? kmem_cache_alloc_trace+0x163/0x1b0
[    8.446831]  [<ffffffff8117b3e0>] do_init_module+0x5f/0x1ef
[    8.448350]  [<ffffffff811092a9>] load_module+0x1439/0x1b50
[    8.449791]  [<ffffffff81105e50>] ? __symbol_put+0x40/0x40
[    8.451268]  [<ffffffff81212f93>] ? kernel_read_file+0x1a3/0x1c0
[    8.452766]  [<ffffffff81213069>] ? kernel_read_file_from_fd+0x49/0x80






Thanks,
Kernel Test Robot

View attachment "config-4.8.0-rc2-00102-g8b7d3a9" of type "text/plain" (152709 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (19096 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ