From: Ruslan Popov <radz@yandex.ru> To: sisyphus@altlinux.ru Subject: [sisyphus] Сборка модуля at76c503-0.11 Date: Thu, 23 Dec 2004 23:57:33 +0300 Message-ID: <200412232357.34152.radz@yandex.ru> (raw) Доброе время суток. Собираю модуль, используя пакет kernel-headers-modules-std-up, указывая на include в каталоге /usr/src/linux-2.4.27-std-up. Вот что получается: # make gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c503.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c usbdfu.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c503-rfmd.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c503-rfmd-acc.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c505-rfmd.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c503-i3861.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c503-i3863.c gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/usr/src/kernel-2.4.27-std-up/include -c at76c505-rfmd2958.c Собралось без ошибок. Теперь инсталлирую модули: # make install mkdir -p /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/ for f in at76c503.o usbdfu.o at76c503-rfmd.o at76c503-rfmd-acc.o at76c505-rfmd.o at76c503-i3861.o at76c503-i3863.o at76c505-rfmd2958.o; do install -m 644 -o 0 -g 0 $f /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb//$f; done /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-i3861.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-i3863.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd-acc.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c505-rfmd.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c505-rfmd2958.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/usbdfu.o И теперь самое интересное: # modprobe usbdfu # modprobe at76c503 # modprobe at76c503-rfmd /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: unresolved symbol usbdfu_deregister /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: unresolved symbol usbdfu_in_use /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: unresolved symbol at76c503_usbdfu_post /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: unresolved symbol at76c503_delete_device /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: unresolved symbol at76c503_do_probe /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: unresolved symbol usbdfu_register /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: insmod /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o failed /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: insmod at76c503-rfmd failed Вывод из /var/log/messages: Dec 23 23:32:21 c900 kernel: hub.c: new USB device 00:07.2-1, assigned address 7 Dec 23 23:32:21 c900 kernel: usb.c: USB device 7 (vend/prod 0x3eb/0x7605) is not claimed by any active driver. Dec 23 23:32:25 c900 kernel: at76c503.c: Generic Atmel at76c503/at76c505 routines v0.11 Dec 23 23:32:25 c900 kernel: at76c503.c: Generic Atmel at76c503/at76c505 routines v0.11 exit Dec 23 23:32:25 c900 insmod: /lib/modules/2.4.27-std-up-alt1/kernel/drivers/usb/at76c503-rfmd.o: insmod at76c503-rfmd failed Dec 23 23:32:25 c900 usb.agent[10115]: ... can't load module at76c503-rfmd Подскажите, что можно сделать. В какую сторону копать??? Руслан Попов
next reply other threads:[~2004-12-23 20:57 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-23 20:57 Ruslan Popov [this message] 2004-12-23 21:19 ` [sisyphus] " Konstantin A. Lepikhov 2004-12-23 21:23 ` Ruslan Popov 2004-12-23 21:32 ` Ruslan Popov 2004-12-23 21:36 ` Konstantin A. Lepikhov 2004-12-23 21:38 ` Ruslan Popov 2004-12-23 21:44 ` Ruslan Popov 2004-12-23 21:48 ` Konstantin A. Lepikhov 2004-12-23 22:43 ` Ruslan Popov 2004-12-24 10:16 ` Konstantin A. Lepikhov 2004-12-24 10:33 ` Andriy Dobrovol's'kii 2004-12-25 11:46 ` [sisyphus] Re: Скрипты для работы 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=200412232357.34152.radz@yandex.ru \ --to=radz@yandex.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