From: Sergey Vlasov <vsu@altlinux.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] Сборка модуля для WLU11A-E Date: Thu, 23 Dec 2004 14:07:14 +0300 Message-ID: <20041223110714.GB5916@master.mivlgu.local> (raw) In-Reply-To: <41CAA256.5060200@jet.msk.su> [-- Attachment #1: Type: text/plain, Size: 1480 bytes --] On Thu, Dec 23, 2004 at 01:47:50PM +0300, Ruslan Popov wrote: > >apt-get install kernel-headers-modules-std-up > > > >После этого нужно указать в качестве каталога ядра > >/usr/src/linux-2.4.27-std-up - способ зависит от того, как написан > >Makefile модуля. > > Сконфигурировал исходники ядра: > make oldconfig && make dep > Затем привёл к следующему виду строчку в файле > /usr/src/linux/include/linux/version.h: > #define UTS_RELEASE "2.4.27-std-up-alt1" Из этого ничего хорошего не выйдет. > В исходниках модуля > make > make install > > Собралось, поставилось. > Теперь другая проблема: > > # modprobe usbdfu > /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/usbdfu.o: > /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/usbdfu.o: unresolved > symbol usb_register_R374d6a76 То, что получилось в /usr/src/linux, не соответствует реальному пакету kernel-image-std-up-2.4.27-alt1, поэтому модуль не загрузится. > Есть подозрение, что ядро надо всё-таки собрать. Но со сборкой сторонних > модулей у меня опыта нет. Подскажите, куда копать в данном случае. Ещё раз повторяю: модули для ядер из пакетов kernel-image-* нужно собирать, используя заголовки из соответствующих пакетов kernel-headers-modules-*. Для этого при сборке модуля надо указать соответствующий каталог; к сожалению, универсального способа для этого не существует - нужно смотреть Makefile от модуля. В качестве образцов смотрите пакеты kernel-modules-*. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-12-23 11:07 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-23 9:56 Ruslan Popov 2004-12-23 10:02 ` Sergey Vlasov 2004-12-23 10:47 ` Ruslan Popov 2004-12-23 11:07 ` Sergey Vlasov [this message] 2004-12-23 11:27 ` Ruslan Popov 2004-12-23 11:41 ` Sergey Vlasov 2004-12-23 11:11 ` Ruslan Popov 2004-12-23 11:44 ` Epiphanov Sergei 2004-12-23 11:43 ` Ruslan Popov 2004-12-23 12:34 ` [sisyphus] Соберите модуль at76c503 (WiFi) Ruslan Popov 2004-12-23 14:00 ` Ruslan Popov 2004-12-24 9:14 ` Epiphanov Sergei 2004-12-24 9:14 ` [sisyphus] Соберите модуль at76c503 (WiFi) - СОБРАН Ruslan Popov
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=20041223110714.GB5916@master.mivlgu.local \ --to=vsu@altlinux.ru \ --cc=sisyphus@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 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