<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; ClearOS vs Atheros AR8151]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=16070&amp;type=atom" />
	<updated>2011-08-25T13:45:54Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=16070</id>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205813#p205813" />
			<content type="html"><![CDATA[<p><strong>Vascom</strong>, спасибо за совет! после удаления строк драйвер встал.</p>]]></content>
			<author>
				<name><![CDATA[panya525]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4482</uri>
			</author>
			<updated>2011-08-25T13:45:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205813#p205813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205773#p205773" />
			<content type="html"><![CDATA[<p>Ну не совсем правильно я сказал что надо выкинуть. Ещё завершение условия забыл. Выкини его тоже.<br />И покажи ещё lspci -k</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-08-25T11:07:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205773#p205773</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205770#p205770" />
			<content type="html"><![CDATA[<p>Блин. Удалил строки, пришет<br /></p><div class="codebox"><pre><code>[root@system src]# make install
make -C /lib/modules/2.6.18-164.11.1.v5/build SUBDIRS=/home/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.11.1.v5-i686&#039;
  CC [M]  /home/src/at_common_main.o
In file included from /home/src/at_common.h:4,
                 from /home/src/at_common_main.c:1:
/home/src/kcompat.h:1587:2: error: #else without #if
/home/src/kcompat.h:1595:2: error: #endif without #if
/home/src/kcompat.h:1643:2: error: #endif without #if
In file included from /home/src/at_osdep.h:34,
                 from /home/src/at_common.h:5,
                 from /home/src/at_common_main.c:1:
/home/src/kcompat.h:1587:2: error: #else without #if
/home/src/kcompat.h:1595:2: error: #endif without #if
/home/src/kcompat.h:1643:2: error: #endif without #if
make[2]: *** [/home/src/at_common_main.o] Ошибка 1
make[1]: *** [_module_/home/src] Ошибка 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.v5-i686&#039;
make: *** [default] Ошибка 2</code></pre></div><p>Попробую поискать поновее. Хотя и этот нашел с трудом</p>]]></content>
			<author>
				<name><![CDATA[panya525]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4482</uri>
			</author>
			<updated>2011-08-25T10:58:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205770#p205770</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205747#p205747" />
			<content type="html"><![CDATA[<p>Этот драйвер неправильно определяет весии ядра. Попробуй поискать версию драйвера поновее. Либо закомментируй/удали эти строки в файле kcompat.h<br /></p><div class="codebox"><pre><code>#if ( LINUX_VERSION_CODE &lt; KERNEL_VERSION(2,6,24) )
/* NAPI API changes in 2.6.24 break everything */
struct napi_struct {
    /* used to look up the real NAPI polling routine */
    int (*poll)(struct napi_struct *, int);
    int weight;
};
#ifdef NAPI
extern int __kc_adapter_clean(struct net_device *, int *);
#define netif_rx_complete(netdev, napi) netif_rx_complete(netdev)
#define netif_rx_schedule_prep(netdev, napi) netif_rx_schedule_prep(netdev)
#define netif_rx_schedule(netdev, napi) netif_rx_schedule(netdev)
#define __netif_rx_schedule(netdev, napi) __netif_rx_schedule(netdev)
#define napi_enable(napi) netif_poll_enable(adapter-&gt;netdev)
#define napi_disable(napi) netif_poll_disable(adapter-&gt;netdev)
#define netif_napi_add(_netdev, _napi, _poll, _weight) \
    do { \
        struct napi_struct *__napi = _napi; \
        _netdev-&gt;poll = &amp;(__kc_adapter_clean); \
        _netdev-&gt;weight = (_weight); \
        __napi-&gt;poll = &amp;(_poll); \
        __napi-&gt;weight = (_weight); \
        netif_poll_disable(_netdev); \
    } while (0)
#else /* NAPI */</code></pre></div><p>Вдруг поможет</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-08-25T09:46:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205747#p205747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205726#p205726" />
			<content type="html"><![CDATA[<p>[root@system src]# make install<br />make -C /lib/modules/2.6.18-164.11.1.v5/build SUBDIRS=/home/AR81Family/src modules<br />make[1]: Entering directory `/usr/src/kernels/2.6.18-164.11.1.v5-i686&#039;<br />&nbsp; CC [M]&nbsp; /home/AR81Family/src/at_common_main.o<br />In file included from /home/AR81Family/src/at_common.h:4,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /home/AR81Family/src/at_common_main.c:1:<br />/home/AR81Family/src/kcompat.h:1575: ошибка: повторное определение ‘struct napi_struct’<br />make[2]: *** [/home/AR81Family/src/at_common_main.o] Ошибка 1<br />make[1]: *** [_module_/home/AR81Family/src] Ошибка 2<br />make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.v5-i686&#039;<br />make: *** [default] Ошибка 2<br />[root@system src]#</p>]]></content>
			<author>
				<name><![CDATA[panya525]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4482</uri>
			</author>
			<updated>2011-08-25T09:03:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205726#p205726</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205724#p205724" />
			<content type="html"><![CDATA[<p>Readme читал? Там написано выполнить команду make install, попробуй.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-08-25T08:57:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205724#p205724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205722#p205722" />
			<content type="html"><![CDATA[<p>wget <a href="http://iats.googlecode.com/files/AR81Family-Linux-v1.0.1.9.tar.gz">http://iats.googlecode.com/files/AR81Fa … 1.9.tar.gz</a></p>]]></content>
			<author>
				<name><![CDATA[panya525]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4482</uri>
			</author>
			<updated>2011-08-25T08:53:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205722#p205722</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205712#p205712" />
			<content type="html"><![CDATA[<p>Что-то недоступен этот драйвер. Откуда его скачать?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-08-25T08:06:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205712#p205712</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205710#p205710" />
			<content type="html"><![CDATA[<p>обновление системы без изменений реп полное.<br />драйвер `AR81Family-Linux-v1.0.1.9.tar.gz</p>]]></content>
			<author>
				<name><![CDATA[panya525]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4482</uri>
			</author>
			<updated>2011-08-25T07:45:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205710#p205710</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205707#p205707" />
			<content type="html"><![CDATA[<p>Обновления все установил?<br />Драйвер какой версии берёшь?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-08-25T07:32:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205707#p205707</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[ClearOS vs Atheros AR8151]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=205703#p205703" />
			<content type="html"><![CDATA[<p>День добрый. Имеется материнская плата Gigabyte G41MT-S2 с встроенной сетевой картой ATHEROS AR8151. <br />После установки Clear OS 5.1 ОС не увидела сетевую. Попытки установки драйверов оканчивались<br /></p><div class="codebox"><pre><code>Makefile:61: *** Linux kernel source not found. Останов.</code></pre></div><p>Почитал посты тут <a href="http://www.clearos.ru/forum/viewtopic.php?f=17&amp;t=869">http://www.clearos.ru/forum/viewtopic.p … &amp;t=869</a> и тут <a href="http://rhythmcloud.blogspot.com/2010/07/how-to-install-ar8151-v10-gigabit.html">http://rhythmcloud.blogspot.com/2010/07 … gabit.html</a><br />На форуме клероси ничего не изменилось. После операций с англоязычного сайта ошибка теперь<br /></p><div class="codebox"><pre><code>[root@system ~]# cd /home/AR81Family/src
[root@system src]# make
make -C /lib/modules/2.6.18-164.11.1.v5/build SUBDIRS=/home/AR81Family/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.11.1.v5-i686&#039;
  CC [M]  /home/AR81Family/src/at_common_main.o
In file included from /home/AR81Family/src/at_common.h:4,
                 from /home/AR81Family/src/at_common_main.c:1:
/home/AR81Family/src/kcompat.h:1575: ошибка: повторное определение ‘struct napi_struct’
make[2]: *** [/home/AR81Family/src/at_common_main.o] Ошибка 1
make[1]: *** [_module_/home/AR81Family/src] Ошибка 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.v5-i686&#039;
make: *** [default] Ошибка 2</code></pre></div><p>вот что говорит lspci | grep Ethernet<br /></p><div class="codebox"><pre><code>[root@system ~]# lspci | grep Ethernet
02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[panya525]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4482</uri>
			</author>
			<updated>2011-08-25T07:15:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=205703#p205703</id>
		</entry>
</feed>
