ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] про модули ядра
Date: Fri, 1 Aug 2008 19:56:23 +0400
Message-ID: <20080801155623.GB4980@atlas.home> (raw)
In-Reply-To: <4c23cefe0808010816g65e07ebepb9fb8f63ea26da90@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]

On Fri, Aug 01, 2008 at 07:16:00PM +0400, egorov_stas wrote:
> 1 августа 2008 г. 18:56 пользователь Andrey Rahmatullin написал:
> > On Fri, Aug 01, 2008 at 06:42:07PM +0400, egorov_stas wrote:
> > > Объясните вкраце почему могут вылетать сообщения при insmod'e
> > > модуля (на этапе работы initrd, модуль adpahci) в ядро (2.4)
> > > такого содержания "Hint: insmod errors can be caused by
> > > incorrect module parameters including invalid IO or IRQ
> > > parameters", у модуля есть один параметр, задание которого не
> > > изменяет ситуацию.
> > В dmesg обычно написано подробнее.
> в dmesg вижу только стартовое сообщение модуля типа adpahci <версия> - он
> типа стартанул. но в lsmod'e его нет

Значит, при инициализации модуля произошла ошибка (функция
инициализации вернула не 0), но выдача сообщений о причинах ошибки в
данном модуле по каким-то причинам не предусмотрена.  Что это за
модуль, откуда взят, какой дистрибутив и версия ядра?

В ядрах 2.4.x, если модуль при загрузке не обнаружил поддерживаемых
устройств, обычно загрузка его завершается неудачно (а insmod выдаёт
ошибку No such device).  Это отличается от нормального поведения
драйверов устройств в ядрах 2.6.x, где модули обычно могут быть
успешно загружены даже при отсутствии соответствующих устройств
(предполагается, что устройства могут быть подключены позднее).

Даже если поддерживаемые драйвером устройства найдены, ошибка "No such
device" может возникнуть, если ранее был загружен другой драйвер,
работающий с теми же устройствами - в этом случае будет использоваться
тот драйвер, который был загружен первым.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2008-08-01 15:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01 14:56 ` Andrey Rahmatullin
2008-08-01 15:56     ` Sergey Vlasov [this message]
2008-08-01 16:00 ` Michael Shigorin
2008-08-01 20:53 ` Sergey Shilov

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=20080801155623.GB4980@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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