From: "Andrey Liakhovets" <liakh@dol.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] mkmodpack: modprobe --show-depends
Date: Wed, 22 Aug 2012 18:01:17 +0400
Message-ID: <web-1080317761@cgp.dol.ru> (raw)
In-Reply-To: <20120822132203.GA21475@t60p.mithraen.ru>
On Wed, 22 Aug 2012 17:22:03 +0400 "Денис Смирнов" wrote:
>On Wed, Aug 22, 2012 at 04:50:47PM +0400, Andrey Liakhovets wrote:
>
>AL> У меня в чруте stage1/.work такие команды ничего не выдают:
>AL> # modprobe --set-version=3.5.2-std-def-alt2 --show-depends ahci
>
>Ставится ядро, но не ставится к нему никаких модулей?
>
>Проблема в том, что в такой ситуации никто не запускает depmod.
Все модули в чруте есть. На примере ahci:
# cd /lib/modules/3.5.2-std-def-alt2/
# ls -l kernel/drivers/ata/ahci.ko kernel/drivers/ata/libahci.ko kernel/drivers/ata/libata.ko kernel/drivers/scsi/scsi_mod.ko
-rw-r--r-- 1 root root 41544 Aug 19 15:49 kernel/drivers/ata/ahci.ko
-rw-r--r-- 1 root root 31668 Aug 19 15:49 kernel/drivers/ata/libahci.ko
-rw-r--r-- 1 root root 234843 Aug 19 15:49 kernel/drivers/ata/libata.ko
-rw-r--r-- 1 root root 251462 Aug 19 15:50 kernel/drivers/scsi/scsi_mod.ko
Также есть зависимости:
# grep ahci /lib/modules/3.5.2-std-def-alt2/modules.dep
kernel/drivers/ata/ahci.ko: kernel/drivers/ata/libahci.ko kernel/drivers/ata/libata.ko kernel/drivers/scsi/scsi_mod.ko
kernel/drivers/ata/libahci.ko: kernel/drivers/ata/libata.ko kernel/drivers/scsi/scsi_mod.ko
kernel/drivers/ata/acard-ahci.ko: kernel/drivers/ata/libahci.ko kernel/drivers/ata/libata.ko kernel/drivers/scsi/scsi_mod.ko
kernel/drivers/ata/ahci_platform.ko: kernel/drivers/ata/libahci.ko kernel/drivers/ata/libata.ko kernel/drivers/scsi/scsi_mod.ko
Однако:
# modprobe --set-version=3.5.2-std-def-alt2 --show-depends ahci
#
# modprobe -V
kmod version 9
# rpm -q kmod
kmod-9-alt1
Повторюсь, что при сборке из t6 всё хорошо. В этом случае в чруте ядро
3.0.41-std-def-alt0.M60P.1 и module-init-tools-3.16-alt2.M60P.1
(2 дня назад ядро было 3.0.40-std-def-alt0.M60P.1, и тоже всё хорошо).
Андрей Ляховец
next prev parent reply other threads:[~2012-08-22 14:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 12:50 Andrey Liakhovets
2012-08-22 13:22 ` Денис Смирнов
2012-08-22 14:01 ` Andrey Liakhovets [this message]
2012-08-22 14:03 ` Michael Shigorin
2012-08-22 14:27 ` Andrey Liakhovets
2012-08-22 14:34 ` Andrey Liakhovets
2012-08-22 21:18 ` Michael Shigorin
2012-08-23 6:46 ` Andrey Liakhovets
2012-08-24 13:29 ` Anton V. Boyarshinov
2012-08-24 15:24 ` Andrey Liakhovets
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=web-1080317761@cgp.dol.ru \
--to=liakh@dol.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git