ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Zhenja Kaluta <y.kalyuta@sam-solutions.net>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: Re: [d-kernel] Re: insmod/modprobe in initrd
Date: Wed, 20 Aug 2003 17:38:33 +0300
Message-ID: <87fzjwpf6e.fsf@pc347.belcaf.minsk.by> (raw)
In-Reply-To: <20030819164149.GB1961@basalt.office.altlinux.org> (Dmitry V. Levin's message of "Tue, 19 Aug 2003 20:41:49 +0400")


>>>>> "DVL" == Dmitry V. Levin writes:

 >>  > Можно узнать тайный смысл загрузки модулей insmod'ом, а не
 >>  > modprobe в initrd?
 >>  
 >>  А зачем? Зависимости модулей всё равно нужно отследить на этапе
 >>  создания initrd, а shell-команды из modules.conf, скорее всего,
 >>  всё равно в среде initrd не сработают.

А вот. Так просто бы не спрашивал. 
  
 DVL>  Имеет место более сильное утверждение: модули с ramdisk'а
 DVL>  загружаются с помощью modprobe в 2 этапа, 
 DVL>  1. на стадии создания
 DVL>  ramdisk'а вычисляются зависимости
 DVL>    (modprobe -L);

Да, я приметил.

 DVL>  2. на стадии загрузки ramdisk'а загружаются модули,
 DVL>    вычисленные на этапе 1.
  
Дело в том, что я поимел неприятную ситуацию. Не знаю в чем причина,
на самом деле.

У нас вся ide в модулях.

Есть железка, в ней promise ide конроллер, который висит не на
стандартных ide портах (поэтому ide-mod его не видит без загрузки
драйвера чипсета). Имею загруженные ide-mod, ide-disk,
ide-probe-mod. Пытаюсь загрузить pdc202xx_new.o insmod'ом -- получаю
Unresolved symbols, modprobe -- все ок. Никаких драйверов при загрузке
modprobe, дополнительных, не подгрузилось. Заменяю в mkinitrd insmod
на modprobe -- все ставится и работает. 

-- 
Zhenja Kaluta                                            ICQ 74596027
GnuPG FingerPrint: B86C B548 7CC4 B58F 0CA3  856E 7EE8 52DE E6B7 8725

      reply	other threads:[~2003-08-20 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-19 15:49 [d-kernel] kernel-source-sensors-2.8.0 Sergey Vlasov
2003-08-19 15:08 ` Ed V. Bartosh
2003-08-19 16:15   ` [d-kernel] kernel-source-sensors-2.8.0 Sergey Vlasov
2003-08-19 16:15   ` [d-kernel] kernel-source-sensors-2.8.0 Peter Novodvorsky
2003-08-19 16:25     ` [d-kernel] kernel-source-sensors-2.8.0 Sergey Vlasov
2003-08-19 16:25 ` [d-kernel] insmod/modprobe in initrd Zhenja Kaluta
2003-08-19 16:32   ` [d-kernel] " Sergey Vlasov
2003-08-19 16:41     ` Dmitry V. Levin
2003-08-20 14:38       ` Zhenja Kaluta [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=87fzjwpf6e.fsf@pc347.belcaf.minsk.by \
    --to=y.kalyuta@sam-solutions.net \
    --cc=devel-kernel@altlinux.ru \
    /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