Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: pd-mapper.service failed to start during boot #1130

Open
MarcAndreWyss opened this issue Nov 27, 2024 · 3 comments
Open

Bug Report: pd-mapper.service failed to start during boot #1130

MarcAndreWyss opened this issue Nov 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@MarcAndreWyss
Copy link

MarcAndreWyss commented Nov 27, 2024

What happened?

During the boot up of my Orange Pi 5 Plus with Ubuntu 24.04 LTS I noticed that the pd-mapper.service failed to start. In my unterstanding this service is for Qualcomm cpu's only and can be disabled by default on Rockchip cpu's.

One option is to disable it by hand with the following command: sudo systemctl disable pd-mapper.service

Even though it would be much nicer to not activate it at all by default.

Thoughts: I'm not sure if I understand the project structure here correctly. My assumption is that one possibility would be to add it i.e. in the script /ubuntu-rockchip/config/boards/orangepi-5-plus.sh. Thought about adding the following: chroot "${rootfs}" systemctl disable pd-mapper.service However I'm unsure if this would work. Furthermore this would just solve the issue for an Orange Pi 5 Plus and not all the other boards. Therefore one would have to possibly add it to every script in /ubuntu-rockchip/config/boards/. However because of the lack of my understanding of the project structure I'm unsure if there is a more general way to add it for every board. If "my solution" with adding it to every script in /ubuntu-rockchip/config/boards/ would work in your opinion, I would try to do a pull request for it (last time I did one GitHub was 2014).

Kernel version

6.1.0-1025-rockchip

SBC model

Orange Pi 5 Plus

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

sudo systemctl status pd-mapper.service
× pd-mapper.service - Qualcomm PD mapper service
     Loaded: loaded (/usr/lib/systemd/system/pd-mapper.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-11-27 12:01:03 CET; 1min 9s ago
   Duration: 33ms
   Main PID: 840 (code=exited, status=1/FAILURE)
        CPU: 30ms

Nov 27 12:01:03 OrangePi systemd[1]: pd-mapper.service: Scheduled restart job, restart counter is at 5.
Nov 27 12:01:03 OrangePi systemd[1]: pd-mapper.service: Start request repeated too quickly.
Nov 27 12:01:03 OrangePi systemd[1]: pd-mapper.service: Failed with result 'exit-code'.
Nov 27 12:01:03 OrangePi systemd[1]: Failed to start pd-mapper.service - Qualcomm PD mapper service.
@MarcAndreWyss MarcAndreWyss added the bug Something isn't working label Nov 27, 2024
@MarcAndreWyss
Copy link
Author

I finally managed to get the image build process somehow up and running. I'm building an image for Orange Pi 5 Plus to try out my assumption with adapting the /ubuntu-rockchip/config/boards/orangepi-5-plus.sh script.

@MarcAndreWyss
Copy link
Author

My local build for an Orange Pi 5 Plus worked. Therefore I made a pull request.

@Joshua-Riek Joshua-Riek removed their assignment Nov 29, 2024
@MarcAndreWyss
Copy link
Author

Input from @Joshua-Riek to my pull request:

There are two ways this could be addressed, either through the ubuntu-rockchip-settings package or when the rootfs is created, which is done in livecd-rootfs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants