Bug 1889090

Summary: After upgrading to kernel-5.8.15-201.fc32.aarch64 Banana Pi M64 does not get IP address from DHCP on eth0
Product: [Fedora] Fedora Reporter: Jan Pazdziora <jpazdziora>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: acaringi, airlied, bskeggs, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, jpazdziora, kernel-maint, lgoncalv, linville, masami256, mchehab, mjg59, pbrobinson, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-5.8.17-300.fc33 kernel-5.8.17-100.fc31 kernel-5.8.17-200.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-03 00:59:19 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:
Bug Depends On:    
Bug Blocks: 245418    
Attachments:
Description Flags
Output of journalctl --no-hostname -k -b. none

Description Jan Pazdziora 2020-10-17 15:51:33 UTC
1. Please describe the problem:

After upgrading to kernel-5.8.15-201.fc32.aarch64 Banana Pi M64 does not get IP address from DHCP on eth0. The DHCP activation always timeouts after 45 seconds

NetworkManager[567]: <info>  [1600660823.1122] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[567]: <warn>  [1602943594.5009] dhcp4 (eth0): request timed out

2. What is the Version-Release number of the kernel:

kernel-5.8.15-201.fc32.aarch64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

It worked fine on kernel-5.8.8-200.fc32.aarch64. I upgraded directly to kernel-5.8.15-201.fc32.aarch64 so that's where it first appeared for me.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Boot Banana Pi M64 with ethernet cable attached to network where kernel-5.8.8-200.fc32.aarch64 was able to get IP address via DHCP.

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

I tried kernel-5.10.0-0.rc0.20201014gitb5fc7a89e58b.41.fc34.aarch64, that one does not even boot.

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Comment 1 Jan Pazdziora 2020-10-17 15:52:39 UTC
Created attachment 1722318 [details]
Output of journalctl --no-hostname -k -b.

Comment 2 Peter Robinson 2020-10-28 09:46:35 UTC
Can you check if the following dtb fixes it: https://pbrobinson.fedorapeople.org/pine64/sun50i-a64-bananapi-m64.dtb

Basically just put it in /boot/dtb/allwinner/ overwriting the one there and reboot.

Comment 3 Fedora Update System 2020-10-29 21:56:02 UTC
FEDORA-2020-920a258c79 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-920a258c79

Comment 4 Fedora Update System 2020-10-29 21:56:03 UTC
FEDORA-2020-09e4d062fe has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-09e4d062fe

Comment 5 Fedora Update System 2020-10-30 01:17:16 UTC
FEDORA-2020-474d747b60 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-474d747b60`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-474d747b60

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-10-30 01:31:16 UTC
FEDORA-2020-920a258c79 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-920a258c79`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-920a258c79

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-10-30 02:02:40 UTC
FEDORA-2020-09e4d062fe has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-09e4d062fe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-09e4d062fe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Jan Pazdziora 2020-11-01 16:25:51 UTC
(In reply to Peter Robinson from comment #2)
> Can you check if the following dtb fixes it:
> https://pbrobinson.fedorapeople.org/pine64/sun50i-a64-bananapi-m64.dtb
> 
> Basically just put it in /boot/dtb/allwinner/ overwriting the one there and
> reboot.

Sorry for getting to it so late. Yes, I confirm that putting that file (SHA256 ee5618ee2e5442c5cbc51db9dbb21397d96c7a7e2b49624962584b49395821a4) there makes things work on my Banana Pi M64.

Another way to make it work even with the old dbt file is

# nmcli con modify eth0 802-3-ethernet.speed 10 802-3-ethernet.duplex full

Comment 9 Jan Pazdziora 2020-11-01 16:36:50 UTC
Also, with kernel 5.8.17-200.fc32.aarch64 that ships that file, things work as well. Thank you!

Comment 10 Jan Pazdziora 2020-11-01 17:32:21 UTC
And upgrade to Fedora 33 with upgrade of the kernel to 5.8.17-300.fc33.aarch64 from updates-testing also keeps eth0 working.

Comment 11 Fedora Update System 2020-11-03 00:59:19 UTC
FEDORA-2020-474d747b60 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-11-03 01:21:05 UTC
FEDORA-2020-09e4d062fe has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-11-03 01:29:50 UTC
FEDORA-2020-920a258c79 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.