ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Ruslandh <ruslandh@gmail.com>
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] Как в условиях systemd понять есть-ли обращение к модулю ядра
Date: Tue, 7 Jun 2022 08:25:48 +0300
Message-ID: <9e515706-17cc-e256-ef2e-368134b8ceac@gmail.com> (raw)
In-Reply-To: <ac49498f-585c-f6dc-21cf-25e0c1366e44@gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1861 bytes --]

On 31.05.2022 06:03, Ruslandh <ruslandh@gmail.com> wrote:
> 30.05.2022 14:22, Alexey Sheplyakov пишет:
> > Это не факт, а как Вы сами пишите, догадки. Факты нужно добывать из
> > подробного лога ядра.
> >
> >> И не создаёт соответствующий путь в /sys   
> >> (/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/enxe6b2fb396ea6 (net)), 
> >>
> >> а дальше идёт ругань об отсутствии этого sys.
> >
> > Если имеется в виду вот это:
> >
> >>>> /lib/udev/rules.d/90-iphone-tether.rules:5 Invalid operator for 
> >>>> KERNEL.
> >>>> sd-device: Syspath '/sys90-iphone-tether.rules' is not a 
> >>>> subdirectory of /sys
> >>>> Failed to open device '/sys90-iphone-tether.rules': Invalid argument
> >
> Это результат моего неправильного понимания как работает
> udevadmin test
> Я думал,в параметрах надо давать правило по отработке, а надо давать 
> путь устройства в sysfs
> 

И всё-таки, расскажите подробнее, как в условиях systemd понять есть-ли 
обращение к модулю ядра (ipheth), или правила udev его обходят, а если 
есть, то он "не принимает устройство", потому, что его место занял 
другой модуль, или считает, что "это не его" устройсво.

Я не умею получать такие логи, научите пожалуйста. Желательно с краткими 
примерами. Готов за это выложить это на Wiki ;-)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

      parent reply	other threads:[~2022-06-07  5:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-29  4:25 [d-kernel] Модуль ipheth Ruslandh
2022-05-29  6:16 ` Ruslandh
2022-05-30  9:50 ` Alexey Sheplyakov
2022-06-07  5:25         ` Ruslandh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e515706-17cc-e256-ef2e-368134b8ceac@gmail.com \
    --to=ruslandh@gmail.com \
    --cc=devel-kernel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git