最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

udev - systemd DVB frontend device targets not created - Stack Overflow

matteradmin5PV0评论

Since I upgraded my system from Ubuntu 22.04.5 LTS to Ubuntu 24.10, with new motherboard,cpu,nvme, using both kernel 6.11.7, the systemd DVB frontend device targets are not created.

Besides this, everything works on the new system. The systemd unit files have been used since many years.

Unfortunately, I cannot check with old Linux installation, as it complains about "hd0,gpt2" and not finding root device at boot.

What is causing the systemd DVB frontend devices targets not to be created, and therefor the awaits to fail?

systemd-analyze plot >plot.svg, does also not show the targets, however an old plot.svg shows them.

Following are the journal snippets from the new and the old system, and the systemd package used:

newsys# journalctl --file=/var/log/journal/*/system.journal | grep frontend

Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter0-frontend0.device - /dev/dvb/adapter0/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result 'timeout'.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter2-frontend0.device: Job dev-dvb-adapter2-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter2-frontend0.device - /dev/dvb/adapter2/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter2-frontend0.device: Job dev-dvb-adapter2-frontend0.device/start failed with result 'timeout'.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter3-frontend0.device: Job dev-dvb-adapter3-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter3-frontend0.device - /dev/dvb/adapter3/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter3-frontend0.device: Job dev-dvb-adapter3-frontend0.device/start failed with result 'timeout'.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter1-frontend0.device: Job dev-dvb-adapter1-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter1-frontend0.device - /dev/dvb/adapter1/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter1-frontend0.device: Job dev-dvb-adapter1-frontend0.device/start failed with result 'timeout'.

ii  systemd                                 256.5-2ubuntu3                             amd64        system and service manager


oldsys# journalctl --file=/var/log/journal/*/system.journal | grep frontend

Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter0/frontend0.
Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter1/frontend0.
Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter2/frontend0.
Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter3/frontend0.

ii  systemd                               249.11-0ubuntu3.12                           amd64        system and service manager

Since I upgraded my system from Ubuntu 22.04.5 LTS to Ubuntu 24.10, with new motherboard,cpu,nvme, using both kernel 6.11.7, the systemd DVB frontend device targets are not created.

Besides this, everything works on the new system. The systemd unit files have been used since many years.

Unfortunately, I cannot check with old Linux installation, as it complains about "hd0,gpt2" and not finding root device at boot.

What is causing the systemd DVB frontend devices targets not to be created, and therefor the awaits to fail?

systemd-analyze plot >plot.svg, does also not show the targets, however an old plot.svg shows them.

Following are the journal snippets from the new and the old system, and the systemd package used:

newsys# journalctl --file=/var/log/journal/*/system.journal | grep frontend

Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter0-frontend0.device - /dev/dvb/adapter0/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result 'timeout'.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter2-frontend0.device: Job dev-dvb-adapter2-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter2-frontend0.device - /dev/dvb/adapter2/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter2-frontend0.device: Job dev-dvb-adapter2-frontend0.device/start failed with result 'timeout'.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter3-frontend0.device: Job dev-dvb-adapter3-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter3-frontend0.device - /dev/dvb/adapter3/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter3-frontend0.device: Job dev-dvb-adapter3-frontend0.device/start failed with result 'timeout'.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter1-frontend0.device: Job dev-dvb-adapter1-frontend0.device/start timed out.
Nov 18 16:35:17 newsys systemd[1]: Timed out waiting for device dev-dvb-adapter1-frontend0.device - /dev/dvb/adapter1/frontend0.
Nov 18 16:35:17 newsys systemd[1]: dev-dvb-adapter1-frontend0.device: Job dev-dvb-adapter1-frontend0.device/start failed with result 'timeout'.

ii  systemd                                 256.5-2ubuntu3                             amd64        system and service manager


oldsys# journalctl --file=/var/log/journal/*/system.journal | grep frontend

Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter0/frontend0.
Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter1/frontend0.
Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter2/frontend0.
Nov 10 10:46:32 oldsys systemd[1]: Found device /dev/dvb/adapter3/frontend0.

ii  systemd                               249.11-0ubuntu3.12                           amd64        system and service manager
Share Improve this question asked Nov 18, 2024 at 16:32 Angela SchmidAngela Schmid 131 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

Add a udev rule:

SUBSYSTEM=="dvb", TAG+="systemd"

It triggers systemd services, when devices in the dvb subsystem are added or removed

Post a comment

comment list (0)

  1. No comments so far