Bug 217468 - Regression. -6.3.X Good. -6.4-rcY Bad.
Summary: Regression. -6.3.X Good. -6.4-rcY Bad.
Status: NEW
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: ARM Linux
: P3 normal
Assignee: Virtual assignee for kernel bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 17:37 UTC by Alan Bartlett
Modified: 2023-05-22 13:17 UTC (History)
3 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Alan Bartlett 2023-05-21 17:37:24 UTC
This is a very simple to see regression.

On arm64 hardware, take any one of the -6.4-rcY tarballs created by Linus. Extract the contents of the tarball and cd to the linux-6.4-rcY directory. Issue a "make clean" or a "make mrproper" or a "make distclean" command. Look at the output (there should not be any). In every case, the output is --

nm: 'vmlinux': No such file

A bisection of Linus' full tree was performed specifying v6.4-rc1 as bad and v6.3 as good. Here is the result --

git bisect start
# status: waiting for both good and bad commits
# bad: [ac9a78681b921877518763ba0e89202254349d1b] Linux 6.4-rc1
git bisect bad ac9a78681b921877518763ba0e89202254349d1b
# status: waiting for good commit(s), bad commit known
# good: [457391b0380335d5e9a5babdec90ac53928b23b4] Linux 6.3
git bisect good 457391b0380335d5e9a5babdec90ac53928b23b4
# good: [6e98b09da931a00bf4e0477d0fa52748bf28fcce] Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
git bisect good 6e98b09da931a00bf4e0477d0fa52748bf28fcce
# good: [70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7] Merge tag 'powerpc-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
git bisect good 70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7
# bad: [865fdb08197e657c59e74a35fa32362b12397f58] Merge tag 'input-for-v6.4-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
git bisect bad 865fdb08197e657c59e74a35fa32362b12397f58
# good: [e81507acdc19d91df4121f409871f3e4e055f6c2] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
git bisect good e81507acdc19d91df4121f409871f3e4e055f6c2
# bad: [26c009dffca89b0f8fe7facc41d1ccf88a66825a] Merge tag '6.4-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6
git bisect bad 26c009dffca89b0f8fe7facc41d1ccf88a66825a
# bad: [10de638d8ea57ebab4231ea077bed01d9bade775] Merge tag 's390-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
git bisect bad 10de638d8ea57ebab4231ea077bed01d9bade775
# good: [680957b3b8b0b2e8697592fcb77369d4f643908a] s390/relocate_kernel: use SYM* macros instead of ENTRY(), etc.
git bisect good 680957b3b8b0b2e8697592fcb77369d4f643908a
# good: [ea76e08f4d901a450619831a255e9e0a4c0ed162] rust: ioctl: Add ioctl number manipulation functions
git bisect good ea76e08f4d901a450619831a255e9e0a4c0ed162
# bad: [825a0714d2b3883d4f8ff64f6933fb73ee3f1834] Merge tag 'efi-next-for-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
git bisect bad 825a0714d2b3883d4f8ff64f6933fb73ee3f1834
# good: [9489d1bdb763a3dd954e61522043190a9fd1cb4c] power: supply: generic-adc-battery: simplify read_channel logic
git bisect good 9489d1bdb763a3dd954e61522043190a9fd1cb4c
# good: [528bd42615f4bb564613cc76dead90d7fbae76ba] power: supply: rk817: Drop unneeded debugging code
git bisect good 528bd42615f4bb564613cc76dead90d7fbae76ba
# good: [538bc0f40b364f2c7b81f11aa163f723b138b40f] efi/zboot: Set forward edge CFI compat header flag if supported
git bisect good 538bc0f40b364f2c7b81f11aa163f723b138b40f
# bad: [026b85796ab4d52af56f8a1c60d2613983ecd845] efi/zboot: arm64: Grab code size from ELF symbol in payload
git bisect bad 026b85796ab4d52af56f8a1c60d2613983ecd845
# bad: [45dd403da851124412d32e3193c21de4a51d29da] efi/zboot: arm64: Inject kernel code size symbol into the zboot payload
git bisect bad 45dd403da851124412d32e3193c21de4a51d29da
# first bad commit: [45dd403da851124412d32e3193c21de4a51d29da] efi/zboot: arm64: Inject kernel code size symbol into the zboot payload

Reverting the commit 45dd403da851124412d32e3193c21de4a51d29da resolves the problem.
Comment 1 Bagas Sanjaya 2023-05-22 00:08:39 UTC
(In reply to Alan Bartlett from comment #0)
> This is a very simple to see regression.
> 
> On arm64 hardware, take any one of the -6.4-rcY tarballs created by Linus.
> Extract the contents of the tarball and cd to the linux-6.4-rcY directory.
> Issue a "make clean" or a "make mrproper" or a "make distclean" command.
> Look at the output (there should not be any). In every case, the output is --
> 
> nm: 'vmlinux': No such file
> 
> A bisection of Linus' full tree was performed specifying v6.4-rc1 as bad and
> v6.3 as good. Here is the result --
> 
> git bisect start
> # status: waiting for both good and bad commits
> # bad: [ac9a78681b921877518763ba0e89202254349d1b] Linux 6.4-rc1
> git bisect bad ac9a78681b921877518763ba0e89202254349d1b
> # status: waiting for good commit(s), bad commit known
> # good: [457391b0380335d5e9a5babdec90ac53928b23b4] Linux 6.3
> git bisect good 457391b0380335d5e9a5babdec90ac53928b23b4
> # good: [6e98b09da931a00bf4e0477d0fa52748bf28fcce] Merge tag 'net-next-6.4'
> of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
> git bisect good 6e98b09da931a00bf4e0477d0fa52748bf28fcce
> # good: [70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7] Merge tag 'powerpc-6.4-1'
> of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
> git bisect good 70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7
> # bad: [865fdb08197e657c59e74a35fa32362b12397f58] Merge tag
> 'input-for-v6.4-rc0' of
> git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
> git bisect bad 865fdb08197e657c59e74a35fa32362b12397f58
> # good: [e81507acdc19d91df4121f409871f3e4e055f6c2] Merge tag 'clk-for-linus'
> of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
> git bisect good e81507acdc19d91df4121f409871f3e4e055f6c2
> # bad: [26c009dffca89b0f8fe7facc41d1ccf88a66825a] Merge tag
> '6.4-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6
> git bisect bad 26c009dffca89b0f8fe7facc41d1ccf88a66825a
> # bad: [10de638d8ea57ebab4231ea077bed01d9bade775] Merge tag 's390-6.4-1' of
> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
> git bisect bad 10de638d8ea57ebab4231ea077bed01d9bade775
> # good: [680957b3b8b0b2e8697592fcb77369d4f643908a] s390/relocate_kernel: use
> SYM* macros instead of ENTRY(), etc.
> git bisect good 680957b3b8b0b2e8697592fcb77369d4f643908a
> # good: [ea76e08f4d901a450619831a255e9e0a4c0ed162] rust: ioctl: Add ioctl
> number manipulation functions
> git bisect good ea76e08f4d901a450619831a255e9e0a4c0ed162
> # bad: [825a0714d2b3883d4f8ff64f6933fb73ee3f1834] Merge tag
> 'efi-next-for-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
> git bisect bad 825a0714d2b3883d4f8ff64f6933fb73ee3f1834
> # good: [9489d1bdb763a3dd954e61522043190a9fd1cb4c] power: supply:
> generic-adc-battery: simplify read_channel logic
> git bisect good 9489d1bdb763a3dd954e61522043190a9fd1cb4c
> # good: [528bd42615f4bb564613cc76dead90d7fbae76ba] power: supply: rk817:
> Drop unneeded debugging code
> git bisect good 528bd42615f4bb564613cc76dead90d7fbae76ba
> # good: [538bc0f40b364f2c7b81f11aa163f723b138b40f] efi/zboot: Set forward
> edge CFI compat header flag if supported
> git bisect good 538bc0f40b364f2c7b81f11aa163f723b138b40f
> # bad: [026b85796ab4d52af56f8a1c60d2613983ecd845] efi/zboot: arm64: Grab
> code size from ELF symbol in payload
> git bisect bad 026b85796ab4d52af56f8a1c60d2613983ecd845
> # bad: [45dd403da851124412d32e3193c21de4a51d29da] efi/zboot: arm64: Inject
> kernel code size symbol into the zboot payload
> git bisect bad 45dd403da851124412d32e3193c21de4a51d29da
> # first bad commit: [45dd403da851124412d32e3193c21de4a51d29da] efi/zboot:
> arm64: Inject kernel code size symbol into the zboot payload
> 
> Reverting the commit 45dd403da851124412d32e3193c21de4a51d29da resolves the
> problem.

I can't reproduce this on my x86_64 computer when checked out on latest mainline. Did you build the kernel on every bisection step? Did one of your above steps get wrong?
Comment 2 Akemi Yagi 2023-05-22 02:08:04 UTC
It appears that a patch has been proposed:

https://lkml.org/lkml/2023/5/21/293
Comment 3 Alan Bartlett 2023-05-22 12:49:48 UTC
(In reply to Bagas Sanjaya from comment #1)
> (In reply to Alan Bartlett from comment #0)
> > This is a very simple to see regression.
> > 
> > On arm64 hardware, take any one of the -6.4-rcY tarballs created by Linus.
> > Extract the contents of the tarball and cd to the linux-6.4-rcY directory.
> > Issue a "make clean" or a "make mrproper" or a "make distclean" command.
> > Look at the output (there should not be any). In every case, the output is
> --
> > 
> > nm: 'vmlinux': No such file
> > 
> > A bisection of Linus' full tree was performed specifying v6.4-rc1 as bad
> and
> > v6.3 as good. Here is the result --
> > 
> > git bisect start
> > # status: waiting for both good and bad commits
> > # bad: [ac9a78681b921877518763ba0e89202254349d1b] Linux 6.4-rc1
> > git bisect bad ac9a78681b921877518763ba0e89202254349d1b
> > # status: waiting for good commit(s), bad commit known
> > # good: [457391b0380335d5e9a5babdec90ac53928b23b4] Linux 6.3
> > git bisect good 457391b0380335d5e9a5babdec90ac53928b23b4
> > # good: [6e98b09da931a00bf4e0477d0fa52748bf28fcce] Merge tag 'net-next-6.4'
> > of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
> > git bisect good 6e98b09da931a00bf4e0477d0fa52748bf28fcce
> > # good: [70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7] Merge tag
> 'powerpc-6.4-1'
> > of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
> > git bisect good 70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7
> > # bad: [865fdb08197e657c59e74a35fa32362b12397f58] Merge tag
> > 'input-for-v6.4-rc0' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
> > git bisect bad 865fdb08197e657c59e74a35fa32362b12397f58
> > # good: [e81507acdc19d91df4121f409871f3e4e055f6c2] Merge tag
> 'clk-for-linus'
> > of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
> > git bisect good e81507acdc19d91df4121f409871f3e4e055f6c2
> > # bad: [26c009dffca89b0f8fe7facc41d1ccf88a66825a] Merge tag
> > '6.4-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6
> > git bisect bad 26c009dffca89b0f8fe7facc41d1ccf88a66825a
> > # bad: [10de638d8ea57ebab4231ea077bed01d9bade775] Merge tag 's390-6.4-1' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
> > git bisect bad 10de638d8ea57ebab4231ea077bed01d9bade775
> > # good: [680957b3b8b0b2e8697592fcb77369d4f643908a] s390/relocate_kernel:
> use
> > SYM* macros instead of ENTRY(), etc.
> > git bisect good 680957b3b8b0b2e8697592fcb77369d4f643908a
> > # good: [ea76e08f4d901a450619831a255e9e0a4c0ed162] rust: ioctl: Add ioctl
> > number manipulation functions
> > git bisect good ea76e08f4d901a450619831a255e9e0a4c0ed162
> > # bad: [825a0714d2b3883d4f8ff64f6933fb73ee3f1834] Merge tag
> > 'efi-next-for-v6.4' of
> git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
> > git bisect bad 825a0714d2b3883d4f8ff64f6933fb73ee3f1834
> > # good: [9489d1bdb763a3dd954e61522043190a9fd1cb4c] power: supply:
> > generic-adc-battery: simplify read_channel logic
> > git bisect good 9489d1bdb763a3dd954e61522043190a9fd1cb4c
> > # good: [528bd42615f4bb564613cc76dead90d7fbae76ba] power: supply: rk817:
> > Drop unneeded debugging code
> > git bisect good 528bd42615f4bb564613cc76dead90d7fbae76ba
> > # good: [538bc0f40b364f2c7b81f11aa163f723b138b40f] efi/zboot: Set forward
> > edge CFI compat header flag if supported
> > git bisect good 538bc0f40b364f2c7b81f11aa163f723b138b40f
> > # bad: [026b85796ab4d52af56f8a1c60d2613983ecd845] efi/zboot: arm64: Grab
> > code size from ELF symbol in payload
> > git bisect bad 026b85796ab4d52af56f8a1c60d2613983ecd845
> > # bad: [45dd403da851124412d32e3193c21de4a51d29da] efi/zboot: arm64: Inject
> > kernel code size symbol into the zboot payload
> > git bisect bad 45dd403da851124412d32e3193c21de4a51d29da
> > # first bad commit: [45dd403da851124412d32e3193c21de4a51d29da] efi/zboot:
> > arm64: Inject kernel code size symbol into the zboot payload
> > 
> > Reverting the commit 45dd403da851124412d32e3193c21de4a51d29da resolves the
> > problem.
> 
> I can't reproduce this on my x86_64 computer when checked out on latest
> mainline. Did you build the kernel on every bisection step? Did one of your
> above steps get wrong?

Look at that start of my second sentence, above. I quote: "On arm64 hardware, . . ." (To make it absolutely clear x86_64 != arm64)
Comment 4 Bagas Sanjaya 2023-05-22 13:17:38 UTC
On 5/22/23 19:49, bugzilla-daemon@kernel.org wrote:
> Look at that start of my second sentence, above. I quote: "On arm64 hardware,
> .
> . ." (To make it absolutely clear x86_64 != arm64)
> 

Oops, I didn't see that! Thanks anyway.

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