https://bugzilla.kernel.org/show_bug.cgi?id=201609 Bug ID: 201609 Summary: sysfs duplicate filename on driver loading Adaptec AIC-9410W Product: SCSI Drivers Version: 2.5 Kernel Version: 4.18.16 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: AIC94XX Assignee: scsi_drivers-aic94xx@xxxxxxxxxxxxxxxxxxxx Reporter: vnigtha@xxxxxxxxx Regression: No Kernel can't load aic94xx driver Motherboard: Supermicro X7DA8/X7DA8, BIOS 2.0b 03/20/2008 RAID controller: AIC-9410W SAS/SATA Host Adapter, device 0000:07:02.0 lspci: 00:00.0 Host bridge: Intel Corporation 5000X Chipset Memory Controller Hub (rev 31) 00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 (rev 31) 00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev 31) 00:04.0 PCI bridge: Intel Corporation 5000X Chipset PCI Express x16 Port 4-7 (rev 31) 00:08.0 System peripheral: Intel Corporation 5000 Series Chipset DMA Engine (rev 31) 00:10.0 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 31) 00:10.1 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 31) 00:10.2 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 31) 00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 31) 00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 31) 00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 31) 00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 31) 00:1d.0 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09) 00:1d.1 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09) 00:1d.2 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09) 00:1d.3 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09) 00:1d.7 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9) 00:1e.2 Multimedia audio controller: Intel Corporation 631xESB/632xESB AC '97 Audio Controller (rev 09) 00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09) 00:1f.2 IDE interface: Intel Corporation 631xESB/632xESB/3100 Chipset SATA IDE Controller (rev 09) 00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1) 02:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01) 02:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01) 03:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01) 03:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01) 04:00.0 PCI bridge: Intel Corporation 6702PXH PCI Express-to-PCI Bridge A (rev 09) 06:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) 06:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) 07:02.0 RAID bus controller: Adaptec AIC-9410W SAS (Razor ASIC RAID) (rev 09) dmesg: [66831.520219] aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded [66831.520555] aic94xx: found Adaptec AIC-9410W SAS/SATA Host Adapter, device 0000:07:02.0 [66831.520559] scsi host2: aic94xx [66831.521049] aic94xx: BIOS present (1,1), 1822 [66831.521050] aic94xx: ue num:1, ue size:88 [66831.533221] aic94xx: manuf sect SAS_ADDR 500304800050ad20 [66831.533223] aic94xx: manuf sect PCBA SN ORG [66831.533224] aic94xx: ms: num_phy_desc: 8 [66831.533224] aic94xx: ms: phy0: ENABLED [66831.533225] aic94xx: ms: phy1: ENABLED [66831.533226] aic94xx: ms: phy2: ENABLED [66831.533226] aic94xx: ms: phy3: ENABLED [66831.533227] aic94xx: ms: phy4: ENABLED [66831.533228] aic94xx: ms: phy5: ENABLED [66831.533228] aic94xx: ms: phy6: ENABLED [66831.533229] aic94xx: ms: phy7: ENABLED [66831.533230] aic94xx: ms: max_phys:0x8, num_phys:0x8 [66831.533231] aic94xx: ms: enabled_phys:0xff [66831.541491] aic94xx: ctrla: phy0: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541493] aic94xx: ctrla: phy1: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541495] aic94xx: ctrla: phy2: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541496] aic94xx: ctrla: phy3: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541498] aic94xx: ctrla: phy4: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541499] aic94xx: ctrla: phy5: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541501] aic94xx: ctrla: phy6: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541502] aic94xx: ctrla: phy7: sas_addr: 500304800050ad20, sas rate:0x9-0x8, sata rate:0x0-0x0, flags:0x0 [66831.541507] aic94xx: max_scbs:512, max_ddbs:128 [66831.541510] aic94xx: setting phy0 addr to 500304800050ad20 [66831.541511] aic94xx: setting phy1 addr to 500304800050ad20 [66831.541512] aic94xx: setting phy2 addr to 500304800050ad20 [66831.541513] aic94xx: setting phy3 addr to 500304800050ad20 [66831.541514] aic94xx: setting phy4 addr to 500304800050ad20 [66831.541518] aic94xx: setting phy5 addr to 500304800050ad20 [66831.541519] aic94xx: setting phy6 addr to 500304800050ad20 [66831.541519] aic94xx: setting phy7 addr to 500304800050ad20 [66831.541543] aic94xx: num_edbs:21 [66831.541545] aic94xx: num_escbs:3 [66831.541611] aic94xx: Found sequencer Firmware version 1.1 (V30) [66831.541612] aic94xx: downloading CSEQ... [66831.541628] aic94xx: dma-ing 8192 bytes [66831.543732] aic94xx: verified 8192 bytes, passed [66831.543733] aic94xx: downloading LSEQs... [66831.543746] aic94xx: dma-ing 14336 bytes [66831.547447] aic94xx: LSEQ0 verified 14336 bytes, passed [66831.550965] aic94xx: LSEQ1 verified 14336 bytes, passed [66831.554477] aic94xx: LSEQ2 verified 14336 bytes, passed [66831.557990] aic94xx: LSEQ3 verified 14336 bytes, passed [66831.561505] aic94xx: LSEQ4 verified 14336 bytes, passed [66831.565019] aic94xx: LSEQ5 verified 14336 bytes, passed [66831.568531] aic94xx: LSEQ6 verified 14336 bytes, passed [66831.572044] aic94xx: LSEQ7 verified 14336 bytes, passed [66831.584868] aic94xx: max_scbs:446 [66831.584869] aic94xx: first_scb_site_no:0x20 [66831.584870] aic94xx: last_scb_site_no:0x1fe [66831.584890] aic94xx: First SCB dma_handle: 0x22dbe4000 [66831.585312] aic94xx: device 0000:07:02.0: SAS addr 500304800050ad20, PCBA SN ORG, 8 phys, 8 enabled phys, flash present, BIOS build 1822 [66831.585333] aic94xx: posting 3 escbs [66831.585334] aic94xx: escbs posted [66831.585342] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:03.0/0000:02:00.3/0000:07:02.0/revision' [66831.585345] CPU: 3 PID: 2167 Comm: modprobe Not tainted 4.18.16-arch1-1-ARCH #1 [66831.585346] Hardware name: Supermicro X7DA8/X7DA8, BIOS 2.0b 03/20/2008 [66831.585347] Call Trace: [66831.585357] dump_stack+0x5c/0x80 [66831.585362] sysfs_warn_dup.cold.0+0x17/0x2a [66831.585366] sysfs_add_file_mode_ns+0x147/0x170 [66831.585372] asd_pci_probe.cold.12+0x8c0/0xb7f [aic94xx] [66831.585377] local_pci_probe+0x41/0x90 [66831.585380] pci_device_probe+0x115/0x1a0 [66831.585384] driver_probe_device+0x2da/0x450 [66831.585387] __driver_attach+0xdd/0x110 [66831.585389] ? driver_probe_device+0x450/0x450 [66831.585391] ? driver_probe_device+0x450/0x450 [66831.585393] bus_for_each_dev+0x76/0xc0 [66831.585396] bus_add_driver+0x152/0x230 [66831.585398] ? 0xffffffffc0541000 [66831.585400] driver_register+0x6b/0xb0 [66831.585402] ? 0xffffffffc0541000 [66831.585406] aic94xx_init+0xf4/0x1000 [aic94xx] [66831.585409] do_one_initcall+0x46/0x1f5 [66831.585414] ? free_unref_page_commit+0x70/0xf0 [66831.585418] ? kmem_cache_alloc_trace+0x181/0x1d0 [66831.585421] ? do_init_module+0x22/0x210 [66831.585424] do_init_module+0x5a/0x210 [66831.585426] load_module+0x2384/0x2590 [66831.585431] ? vmap_page_range_noflush+0x23f/0x350 [66831.585434] ? __se_sys_init_module+0x10c/0x170 [66831.585436] __se_sys_init_module+0x10c/0x170 [66831.585440] do_syscall_64+0x5b/0x170 [66831.585444] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [66831.585447] RIP: 0033:0x7fa71570c56e [66831.585448] Code: 48 8b 0d f5 18 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c2 18 0c 00 f7 d8 64 89 01 48 [66831.585484] RSP: 002b:00007fff1d8cd2d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af [66831.585486] RAX: ffffffffffffffda RBX: 0000560df87a8c60 RCX: 00007fa71570c56e [66831.585488] RDX: 0000560df87a9640 RSI: 0000000000041a39 RDI: 0000560df8ffa080 [66831.585489] RBP: 0000560df87a9640 R08: 0000000000000001 R09: 0000000000000000 [66831.585490] R10: 0000560df87a8010 R11: 0000000000000246 R12: 0000560df8ffa080 [66831.585491] R13: 0000560df87a8d90 R14: 0000000000040000 R15: 0000560df87a8c60 [66831.624342] aic94xx: probe of 0000:07:02.0 failed with error -17 -- You are receiving this mail because: You are watching the assignee of the bug.