From: Artem Pastukhov <past@yam.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: [Comm] Re: Различия в работе depmod и insmod
Date: Thu, 10 Apr 2003 13:08:09 +0400
Message-ID: <200304101308.09718.past@yam.ru> (raw)
In-Reply-To: <20030410151826.1f7692d4.fid@darim.ru>
10 Апрель 2003 12:18, Igor Fadin написал:
> On Thu, 10 Apr 2003 10:52:15 +0400
>
> Artem Pastukhov <past@yam.ru> wrote:
> >> > Artem Pastukhov <past@yam.ru> wrote:
> >> > > Собрал я тут модуль для IDE RAID tekram DC200
> >> > > insmod срабатывает на нем нормально, а когда я его
> >> > > сложил в /lib/modules/...
> >> > > и попытался сделать depmod -a получил
> >> > > # depmod -a
> >> > > depmod: *** Unresolved symbols in
> >> > > /lib/modules/2.4.20-alt5-up/kernel/drivers/ide/ultima.o
> >> > > Это баг modutils ?
> >> > > Система Master 2.2
> >> >
> >> > Нет, это модуль неправильно собрался. Возможно,
> >> > использовалась не та версия gcc (ядро в Master 2.2
> >> > собиралось gcc-2.96).
> >>
> >> Вы плохо прочитали мое письмо
> >> iinsmod ultima срабатывает нормально без всяких unresolved
> >> symbols
>
> AP> Ну так что?
> AP> Вешать баг на modutils? Модуль-то работает.
> AP> С уважением,
> AP> Артем Пастухов past@yam.ru
>
> Неплохо бы для начала расследование до конца довести.
> Что depmod -ae скажет? И то что скажет - есть ли оно в
> System.map? И еще, в кернеловом .config когда компилял
> CONFIG_MODVERSIONS - во что утановлено? И во что установлено
> то же самое в ядре было в котором работаешь?
> .config в ручную правил или как?
> Расследование не закончил - и сразу багу...
>
> Игорь
Я как раз и пытаюсь расследовать.
depmod -ae говорит:
depmod: *** Unresolved symbols in
/lib/modules/2.4.20-alt5-up/kernel/drivers/ide/ultima.o
depmod: schedule
depmod: __release_region
depmod: kmalloc
depmod: scsi_unregister_module
depmod: scsi_register
depmod: pcibios_present
depmod: free_irq
depmod: panic
depmod: kfree
depmod: request_irq
depmod: scsi_register_module
depmod: pci_find_device
depmod: __request_region
depmod: printk
depmod: scsi_unregister
depmod: __const_udelay
depmod: ioport_resource
Ядро родное из мастера т.е. 2.4.20-alt5.
Драйвер идет не как патч к ядру, а как отдельный пакет со своим
Makefile
--
С уважением,
Артем Пастухов past@yam.ru
ЯМ Интернешнл http://www.yam.ru
next prev parent reply other threads:[~2003-04-10 9:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 11:33 [Comm] " Artem Pastukhov
2003-04-08 11:56 ` [Comm] " Sergey Vlasov
2003-04-08 17:17 ` Artem Pastukhov
2003-04-10 6:52 ` Artem Pastukhov
2003-04-10 8:18 ` [Comm] " Igor Fadin
2003-04-10 9:08 ` Artem Pastukhov [this message]
2003-04-10 9:30 ` [Comm] gSmart Mini 2 Alexey A. Shanko
2003-04-10 9:39 ` [Comm] Re: [Comm] Re: [Comm] Re: Различия в работе depmod и insmod Igor Fadin
2003-04-10 10:08 ` Artem Pastukhov
2003-04-10 11:22 ` [Comm] " Igor Fadin
2003-04-10 11:40 ` Sergey Vlasov
2003-04-10 12:06 ` [Comm] " Igor Fadin
2003-04-10 12:46 ` Artem Pastukhov
2003-04-10 12:47 ` Artem Pastukhov
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=200304101308.09718.past@yam.ru \
--to=past@yam.ru \
--cc=community@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