Bug 81311 - [trivial] adapter_id permissions wrong on ibm raid driver
Summary: [trivial] adapter_id permissions wrong on ibm raid driver
Status: RESOLVED OBSOLETE
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: SCSI (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Alan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 05:44 UTC by lovelgw
Modified: 2016-02-24 14:02 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.10.0-123.4.2.el7.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description lovelgw 2014-07-29 05:44:06 UTC
[ 0.603122] scsi0 : PMC MaxRAID
 [ 0.603153] ------------[ cut here ]------------
 [ 0.603157] WARNING: at drivers/base/core.c:601 device_create_file+0x8d/0xa0()
 [ 0.603158] Attribute adapter_id: write permission without 'store'
 [ 0.603159] Modules linked in: i915(+) i2c_algo_bit drm_kms_helper drm mpt2sas(+) pmcraid(+) raid_class scsi_transport_sas i2c_core video
 [ 0.603165] CPU: 3 PID: 155 Comm: systemd-udevd Not tainted 3.10.0-123.4.2.el7.x86_64 0000001
 [ 0.603167] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H77 Pro4-M, BIOS P1.80 02/25/2013
 [ 0.603168] ffff8807f0fd9a58 0000000050f8a773 ffff8807f0fd9a10 ffffffff815e1ebb
 [ 0.603171] ffff8807f0fd9a48 ffffffff8105dee1 ffffffffa00362c0 ffff8807ef908430
 [ 0.603174] ffff8807ef908000 ffffffffa0036120 ffff8807ef92da00 ffff8807f0fd9ab0
 [ 0.603176] Call Trace:
 [ 0.603180] [<ffffffff815e1ebb>] dump_stack+0x19/0x1b
 [ 0.603184] [<ffffffff8105dee1>] warn_slowpath_common+0x61/0x80
 [ 0.603187] [<ffffffff8105df5c>] warn_slowpath_fmt+0x5c/0x80
 [ 0.603189] [<ffffffff813b12ed>] device_create_file+0x8d/0xa0
 [ 0.603192] [<ffffffff813e1b25>] scsi_sysfs_add_host+0x65/0xa0
 [ 0.603195] [<ffffffff813d4152>] scsi_add_host_with_dma+0x182/0x2a0
 [ 0.603199] [<ffffffffa0030198>] pmcraid_probe+0xda8/0x10f0 [pmcraid]
 [ 0.603203] [<ffffffff812eac15>] local_pci_probe+0x45/0xa0
 [ 0.603205] [<ffffffff812ec005>] ? pci_match_device+0xc5/0xd0
 [ 0.603208] [<ffffffff812ec189>] pci_device_probe+0x139/0x150
 [ 0.603210] [<ffffffff813b6797>] driver_probe_device+0x87/0x390
 [ 0.603212] [<ffffffff813b6b73>] __driver_attach+0x93/0xa0
 [ 0.603214] [<ffffffff813b6ae0>] ? __device_attach+0x40/0x40
 [ 0.603216] [<ffffffff813b4523>] bus_for_each_dev+0x73/0xc0
 [ 0.603218] [<ffffffff813b61ee>] driver_attach+0x1e/0x20
 [ 0.603220] [<ffffffff813b5d40>] bus_add_driver+0x200/0x2d0
 [ 0.603222] [<ffffffff813b71f4>] driver_register+0x64/0xf0
 [ 0.603224] [<ffffffff812ebe75>] __pci_register_driver+0xa5/0xc0
 [ 0.603226] [<ffffffffa003a000>] ? 0xffffffffa0039fff
 [ 0.603229] [<ffffffffa003a10b>] pmcraid_init+0x10b/0x1000 [pmcraid]
 [ 0.603232] [<ffffffff810020e2>] do_one_initcall+0xe2/0x190
 [ 0.603235] [<ffffffff810ca9cb>] load_module+0x129b/0x1a90
 [ 0.603237] [<ffffffff812da260>] ? ddebug_proc_write+0xf0/0xf0
 [ 0.603240] [<ffffffff810c7303>] ? copy_module_from_fd.isra.43+0x53/0x150
 [ 0.603242] [<ffffffff810cb376>] SyS_finit_module+0xa6/0xd0
 [ 0.603245] [<ffffffff815f2599>] system_call_fastpath+0x16/0x1b
 [ 0.603246] ---[ end trace 76920e09aa99a004 ]---



=========================== 3.15.6-1.el7.elrepo.x86_64==========================
 [ 0.534893] scsi0 : PMC MaxRAID
 [ 0.534944] ------------[ cut here ]------------
 [ 0.534950] WARNING: CPU: 0 PID: 160 at drivers/base/core.c:548 device_create_file+0x8d/0xa0()
 [ 0.534951] Attribute adapter_id: write permission without 'store'
 [ 0.534951] Modules linked in: i915(+) i2c_algo_bit drm_kms_helper drm pmcraid(+) mpt2sas(+) raid_class scsi_transport_sas i2c_core video
 [ 0.534959] CPU: 0 PID: 160 Comm: systemd-udevd Not tainted 3.15.6-1.el7.elrepo.x86_64 0000001
 [ 0.534960] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H77 Pro4-M, BIOS P1.80 02/25/2013
 [ 0.534962] 0000000000000000 00000000f5f90015 ffff8807f048f9e0 ffffffff8163cfcc
 [ 0.534964] ffff8807f048fa28 ffff8807f048fa18 ffffffff8106dc1d ffffffffa0080280
 [ 0.534966] ffff8807ef9ac430 ffff8807ef9ac000 ffffffffa0080100 ffff8807efb63200
 [ 0.534968] Call Trace:
 [ 0.534973] [<ffffffff8163cfcc>] dump_stack+0x45/0x56
 [ 0.534976] [<ffffffff8106dc1d>] warn_slowpath_common+0x7d/0xa0
 [ 0.534979] [<ffffffff8106dc9c>] warn_slowpath_fmt+0x5c/0x80
 [ 0.534982] [<ffffffff8162a86a>] ? klist_add_tail+0x3a/0x40
 [ 0.534985] [<ffffffff813f944d>] device_create_file+0x8d/0xa0
 [ 0.534988] [<ffffffff8142d525>] scsi_sysfs_add_host+0x65/0xa0
 [ 0.534990] [<ffffffff8141f959>] scsi_add_host_with_dma+0x189/0x2b0
 [ 0.534995] [<ffffffffa007a1a8>] pmcraid_probe+0xda8/0x1100 [pmcraid]
 [ 0.534999] [<ffffffff81324aa5>] local_pci_probe+0x45/0xa0
 [ 0.535001] [<ffffffff81325d55>] ? pci_match_device+0xc5/0xd0
 [ 0.535003] [<ffffffff81325e99>] pci_device_probe+0xf9/0x150
 [ 0.535006] [<ffffffff813fe510>] driver_probe_device+0x90/0x3c0
 [ 0.535008] [<ffffffff813fe913>] __driver_attach+0x93/0xa0
 [ 0.535010] [<ffffffff813fe880>] ? __device_attach+0x40/0x40
 [ 0.535012] [<ffffffff813fc3d3>] bus_for_each_dev+0x73/0xc0
 [ 0.535014] [<ffffffff813fdf5e>] driver_attach+0x1e/0x20
 [ 0.535016] [<ffffffff813fdb10>] bus_add_driver+0x180/0x250
 [ 0.535018] [<ffffffffa002f000>] ? 0xffffffffa002efff
 [ 0.535020] [<ffffffff813fef94>] driver_register+0x64/0xf0
 [ 0.535021] [<ffffffffa002f000>] ? 0xffffffffa002efff
 [ 0.535024] [<ffffffff8132443c>] __pci_register_driver+0x4c/0x50
 [ 0.535026] [<ffffffffa002f10b>] pmcraid_init+0x10b/0x1000 [pmcraid]
 [ 0.535029] [<ffffffff8100216a>] do_one_initcall+0xfa/0x1b0
 [ 0.535032] [<ffffffff8105c893>] ? set_memory_nx+0x43/0x50
 [ 0.535036] [<ffffffff810eb7f3>] load_module+0x1df3/0x2510
 [ 0.535038] [<ffffffff810e7400>] ? store_uevent+0x70/0x70
 [ 0.535041] [<ffffffff810e7fd9>] ? copy_module_from_fd.isra.48+0x129/0x180
 [ 0.535043] [<ffffffff810ec0c6>] SyS_finit_module+0xa6/0xd0
 [ 0.535046] [<ffffffff8164e029>] system_call_fastpath+0x16/0x1b
 [ 0.535048] ---[ end trace a537c3630a13731e ]---
Comment 1 lovelgw 2014-07-29 05:44:29 UTC
https://bugs.centos.org/view.php?id=7418

Note You need to log in before you can comment on or make changes to this bug.