* [mdk-re] Re: про ядро
@ 2001-08-18 21:30 Ivan Adzhubei
2001-08-19 13:56 ` Sergey Vlasov
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Adzhubei @ 2001-08-18 21:30 UTC (permalink / raw)
To: ALT Linux mailing list
Приветствую!
Спасибо 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 (встроеный)? К сожалению не могу пока
проверить работает ли он - в настоящий момент сказевых устрйств под
рукой нет. Диски только IDE, в том числе и загрузочный.
--
Иван Аджубей
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [mdk-re] Re: про ядро
2001-08-18 21:30 [mdk-re] Re: про ядро Ivan Adzhubei
@ 2001-08-19 13:56 ` Sergey Vlasov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2001-08-19 13:56 UTC (permalink / raw)
To: mandrake-russian
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-19 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-18 21:30 [mdk-re] Re: про ядро Ivan Adzhubei
2001-08-19 13:56 ` Sergey Vlasov
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