From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Re: про ядро
Date: Sun Aug 19 13:56:00 2001
Message-ID: <20010819135629.751ccf23.vsu@mivlgu.murom.ru> (raw)
In-Reply-To: <3B7EA694.50697CE5@protein.bio.msu.su>
On Sat, 18 Aug 2001 21:32:04 +0400
Ivan Adzhubei <ivan@protein.bio.msu.su> wrote:
> Спасибо Alexander'у за наводку, скачал и поставил себе на Spring новое
> ядро 2.2.19-alt4-smp (у меня двухпроцессорная машина). Перегрузился
> удачно и вроде все работает, несмотря на кучу сообщений об ошибках
> скриптов при установке rpm'ов. Вот только в dmesg появилось
> подозрительное сообщение:
>
> VFS: Mounted root (ext2 filesystem).
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> (scsi0) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 0/12/0
> (scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
> (scsi0) Downloading sequencer code... 383 instructions downloaded
> (scsi1) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 0/12/1
> (scsi1) Wide Channel B, SCSI ID=7, 32/255 SCBs
> (scsi1) Downloading sequencer code... 383 instructions downloaded
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.33/3.2.4
> <Adaptec AIC-7895 Ultra SCSI host adapter>
> scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.33/3.2.4
> <Adaptec AIC-7895 Ultra SCSI host adapter>
> scsi : 2 hosts.
>
> Почему ругается kmod хотя модуль SCSI явно грузится и вполне правильный,
> у меня действительно AIC-7895 (встроеный)?
Дело в том, что в ядре 2.2.19-alt4 поддержку SCSI вынесли в модули, в
том числе и основной модуль scsi_mod.o. Когда этот модуль
загружается, он делает попытку запросить загрузку модуля
scsi_hostadapter; предполагается, что на это имя стоит alias в
/etc/modules.conf, указывающий нужный драйвер SCSI-адаптера. Такой
механизм нужен для автозагрузки модулей: например, при открытии
/dev/sg0 запрашивается автозагрузка модуля sg.o, который требует
scsi_mod.o, при его загрузке автоматически грузится драйвер адаптера,
опрашивается шина, определяются устройства, и все работает.
В данном случае получается, что scsi_mod.o загружается из initrd, в
котором просто нет /sbin/modprobe (есть только insmod и нужные для
загрузки модули). Поэтому и выдается это сообщение. Можно его
проигнорировать, т.к. драйвер все равно загружается явным вызовом
insmod.
prev parent reply other threads:[~2001-08-19 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-18 21:30 Ivan Adzhubei
2001-08-19 13:56 ` Sergey Vlasov [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=20010819135629.751ccf23.vsu@mivlgu.murom.ru \
--to=vsu@mivlgu.murom.ru \
--cc=mandrake-russian@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 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