From: "Andrey Liakhovets" <liakh@dol.ru> To: community@lists.altlinux.org Subject: Re: [Comm] P6 Simply : не определяется сетевая карта ( Atheros AR-8162 ) Date: Tue, 16 Oct 2012 21:31:11 +0400 Message-ID: <web-1098850530@cgp.dol.ru> (raw) In-Reply-To: <507D70D5.2070009@icv.org.ru> On Tue, 16 Oct 2012 18:36:05 +0400 Калинин Максим wrote: >Прошу помощи в решении проблемы с определением драйвера для сетевой карты >( Atheros AR-8162 ) на ноутбуке Lenovo G580. >При установке не найден подходящий модуль ядра; >Поискал по интернетам, аналогичная проблема практически во всех дистрибутивах, >ибо микросхема относительно новая и модуль еще не включен в состав ядра. Если вы раньше не собирали модули, то, возможно, быстрее получится, если вы заведёте bug с просьбой собрать нужный вам модуль. >Действовал по одному из руководств (правда, для Ubuntu) >http://askubuntu.com/questions/157223/12-04-does-not-detect-eth0atheros-ar8162 >Скачал архив с исходниками; затем скачал и установил вручную gcc4.5 Лучше прочесть документацию и wiki по hasher и пользоваться им. >и иже с ним, затем попытался скомпилировать модуль и тут получил >"от ворот поворот" (во вложении). >Так понял, что есть некое несоответствие в каталогах , >но что с этим делать дальше? Имеет смысл посмотреть, как собраны пакеты с модулями в ALT, например: kernel-modules-rt3070-*, kernel-modules-rtl8168-*, kernel-modules-rtl8192-*. >[root@comp-celeron-cpu-28d063 compat-wireless-2012-02-28-p]# make Если будете пользоваться hasher'ом, то вам не придётся собирать от root. >make: *** /lib/modules/3.0.20-std-def-alt0.M60P.1/build: Нет такого файла или каталога. Останов. Опять-таки, посмотрите, как устроены пакеты с модулями. Я бы даже сначала пересобрал их в hasher'е -- будет понятнее. (насчёт именно этой ошибки надо смотреть, где в Makefile ищутся заголовки ядра, и затем определять нужный путь перед вызовом make; в указанных выше пакетах это делается в spec-файлах в секции build, причём переменная каждый раз своя: LINUX_SRC=, KDIR=, KSRC=, -- зависит от Makefile). Андрей Ляховец
next prev parent reply other threads:[~2012-10-16 17:31 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-16 14:36 Калинин Максим 2012-10-16 17:31 ` Andrey Liakhovets [this message] 2012-10-16 21:30 ` Sergey 2012-10-16 22:46 ` Sergey 2012-10-16 23:21 ` Sergey
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=web-1098850530@cgp.dol.ru \ --to=liakh@dol.ru \ --cc=community@lists.altlinux.org \ /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