Bug 1546228
| Summary: | kernel BUG on iSCSI logout when multipath is active | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Maxim Ivanov <ivanov.maxim> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | airlied, ajax, bskeggs, ewk, hdegoede, ichavero, itamar, ivanov.maxim, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, labbott, linville, mchehab, mjg59, steved |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-19 17:11:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Maxim Ivanov
2018-02-16 16:47:42 UTC
I am trying to run bisect, but being completely new to Fedora/RH ecosystem I am a bit lost. I am trying to use https://pagure.io/fedbisect, but it fails to build: kernel-4.14.0-0.rc8.git2.1.fc28 build (rawhide, /rpms/kernel:d8bca9aaecd50e9254af30aac99bd764595039d2) d8bca9aaecd50e9254af30aac99bd764595039d2 cp: cannot stat '/root/multipath/pkg-git/config-*': No such file or directory cp: cannot stat '/root/multipath/pkg-git/Makefile.config': No such file or directory now calling building for kernel-4.14.0-0.rc8.git2.1.fc28. This may take a while... sources file doesn't exist. Source files download skipped. warning: line 751: Possible unexpanded macro in: %package %{pae} warning: line 751: Possible unexpanded macro in: Provides: kernel-x86_64 = 9.9.9-0+%{p .... error: Failed build dependencies: perl is needed by kernel-9.9.9-0.x86_64 Could not execute local: rpmbuild --define '_sourcedir /root/multipath/build' --define '_specdir /root/multipath/build' --define '_builddir /root/multipath/build' --define '_srcrpmdir /root/multipath/build' --define '_rpmdir /root/multipath/build' --define 'dist .fc27' -- define 'fedora 27' --eval '%undefine rhel' --define 'fc27 1' -ba /root/multipath/build/kernel.spec | tee .build-9.9.9-0.log well that didn't work... Shouldn't it be calling `mock` to build stuff? Fedbisect is really out of date and basically abandoned. You are better off just bisecting with the kernel tree manually. Laura Abbott, would it work if I try to build vanilla kernel without patches? I'll give it a go. Vanilla kernel usually works just fine on most hardware if you use the same configuration file. Git bisect points to this commit:
fbce4d97fd4333bcffd00a73b9d98412be630332 is the first bad commit
commit fbce4d97fd4333bcffd00a73b9d98412be630332
Author: Hannes Reinecke <hare>
Date: Wed Oct 4 10:28:56 2017 +0200
scsi: fixup kernel warning during rmmod()
Calling rmmod() on a FC driver will results in warnings like
WARNING: CPU: 60 PID: 14640 at fs/sysfs/group.c:237 device_del+0x54/0x240()
sysfs group ffffffff81eff140 not found for kobject '3:0:0:3'
The problem here is that during scsi_remove_target() we will iterate
over all devices, but fail to remove any of those as the call to
scsi_device_get() fails the check to module_is_live(). Hence the
devices will not be removed at this point, but all intermediate
structures like fc rport etc. will be. Later on during
scsi_forget_host() the devices are removed for real, but the device
parent is already removed and causes this warning.
Signed-off-by: Hannes Reinecke <hare>
Reviewed-by: Johannes Thumshirn <jthumshirn>
Reviewed-by: Kyle Fortin <kyle.fortin>
Tested-by: Don Brace <don.brace>
Signed-off-by: Martin K. Petersen <martin.petersen>
git bisect log:
git bisect start
# bad: [39dae59d66acd86d1de24294bd2f343fd5e7a625] Linux 4.14-rc8
git bisect bad 39dae59d66acd86d1de24294bd2f343fd5e7a625
# good: [e87c13993f16549e77abce9744af844c55154349] Linux 4.13.16
git bisect good e87c13993f16549e77abce9744af844c55154349
# good: [569dbb88e80deb68974ef6fdd6a13edb9d686261] Linux 4.13
git bisect good 569dbb88e80deb68974ef6fdd6a13edb9d686261
# good: [a0725ab0c7536076d5477264420ef420ebb64501] Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
git bisect good a0725ab0c7536076d5477264420ef420ebb64501
# good: [ae46654bcff303b33facbbd04a3ad9c21d303f9b] Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good ae46654bcff303b33facbbd04a3ad9c21d303f9b
# good: [6ff15f8db7eaf29ef5ead6afbec9b25485fe8703] x86/fpu: Change 'size_total' parameter to unsigned and standardize the size checks in copy_xstate_to_*()
git bisect good 6ff15f8db7eaf29ef5ead6afbec9b25485fe8703
# good: [238604ca0b708319e089e22545bcda39afb5faa8] drm/exynos: Clear drvdata after component unbind
git bisect good 238604ca0b708319e089e22545bcda39afb5faa8
# bad: [b5ac3beb5a9f0ef0ea64cd85faf94c0dc4de0e42] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect bad b5ac3beb5a9f0ef0ea64cd85faf94c0dc4de0e42
# good: [3728e6a255b50382591ee374c70e6f5276a47d0a] Merge tag 'media/v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
git bisect good 3728e6a255b50382591ee374c70e6f5276a47d0a
# bad: [e5f468b3f23313994c5e6c356135f9b0d76bcb94] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
git bisect bad e5f468b3f23313994c5e6c356135f9b0d76bcb94
# bad: [eb62722a06c4e6715c71e5c8fcf14aed857c0964] Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
git bisect bad eb62722a06c4e6715c71e5c8fcf14aed857c0964
# bad: [96f893abc87bd29339c973edf6068a064cb8a756] Merge branch 'parisc-4.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
git bisect bad 96f893abc87bd29339c973edf6068a064cb8a756
# bad: [020b3023762fdf6cc816ed154e3b1f8eafaf0836] Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect bad 020b3023762fdf6cc816ed154e3b1f8eafaf0836
# bad: [503f7e297d76bf109533eef3287ad821f05e47a4] Merge tag 'trace-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
git bisect bad 503f7e297d76bf109533eef3287ad821f05e47a4
# bad: [a9e170e28636fd577249f39029d59e4e960a42b8] scsi: qla2xxx: Fix uninitialized work element
git bisect bad a9e170e28636fd577249f39029d59e4e960a42b8
# bad: [d1b3f51ee1eab3a6db1b09a60e61280c48eb0b01] scsi: libfc: fix a deadlock in fc_rport_work
git bisect bad d1b3f51ee1eab3a6db1b09a60e61280c48eb0b01
# bad: [fbce4d97fd4333bcffd00a73b9d98412be630332] scsi: fixup kernel warning during rmmod()
git bisect bad fbce4d97fd4333bcffd00a73b9d98412be630332
# first bad commit: [fbce4d97fd4333bcffd00a73b9d98412be630332] scsi: fixup kernel warning during rmmod()
great! Your best bet is to send an e-mail to the authors of the patch + LKML + scsi mailing list. Feel free to cc me as well. cherry-picling commit 81b6c9998979 ('scsi: core: check for device state in
__scsi_remove_target()') on top of 4.4.20 fixes the problem for me
edit: on top of 4.14.20 of course Thanks for bisecting and reporting. Fedora is getting upgraded to the 4.15 series (which should have the fix) so I'm going to close this bug as fixed in the current release. |