From: Denis Kirienko <dk@altlinux.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] Attansic ethernet controller и ядро 2.6.18-alt10
Date: Fri, 11 Jan 2008 16:36:31 +0300
Message-ID: <fm7reb$e9f$1@ger.gmane.org> (raw)
In-Reply-To: <8685.212.48.147.145.1200056296.squirrel@mojo.unsafe.ru>
[-- Attachment #1: Type: text/plain, Size: 3787 bytes --]
Konstantin A. Lepikhov пишет:
> <цитата от="Denis Kirienko">
>> Konstantin A. Lepikhov пишет:
>>> Hi Denis!
>>>
>>> Friday 11, at 02:17:09 PM you wrote:
>>>
>>>> Konstantin A. Lepikhov пишет:
>>>>>> Имеется такая сетевая карта:
>>>>>>
>>>>>> 01:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit
>>>>>> Ethernet Adapter (rev b0)
>>>>>> Как заставить карточку работать на новом ядре?
>>>>> покажите вывод lspci -nn.
>>>> Пожалуйста (отфильтровано):
>>>>
>>>> 01:00.0 Ethernet controller [0200]: Attansic Technology Corp. L1
>>>> Gigabit
>>>> Ethernet Adapter [1969:1048] (rev b0)
>>> так, а теперь что пишется в dmesg до команды ifup?
>> Насколько я понимаю, Вас интересует что-то вроде этого фрагмента (это
>> вывод dmesg при старте системы на ядре std-smp-2.6.18-alt10 и драйвере
>> std-smp-1.0.40.2-alt3.1326.10):
>>
>> Jan 11 15:12:43 server kernel: adsl: setting half-duplex.
>> Jan 11 15:12:43 server kernel: fiber: setting full-duplex.
>> Jan 11 15:12:43 server kernel: NET: Registered protocol family 17
>> Jan 11 15:12:45 server kernel: Installing knfsd (copyright (C) 1996
>> okir@monad.swb.de).
>> Jan 11 11:13:32 server kernel: Attansic(R) L2 Ethernet Network Driver -
>> version 1.0.40.2
>> Jan 11 11:13:32 server kernel: Copyright (c) 2006 Attansic Corporation.
>> Jan 11 11:13:39 server kernel: adsl: setting half-duplex.
>> Jan 11 11:13:40 server kernel: fiber: setting full-duplex.
>> Jan 11 11:14:45 server kernel: Kernel logging (proc) stopped.
>> Jan 11 11:14:45 server kernel: Kernel log daemon terminating.
>> Jan 11 15:15:41 server kernel: klogd 1.4.1, log source = /proc/kmsg
>> started.
>> Jan 11 15:15:41 server kernel: Linux version 2.6.18-std-smp-alt10
>> (builder@apiary.armor.altlinux.org) (gcc version 4.1.1 20070105 (
>> ALT Linux, build 4.1.1-alt12)) #1 SMP Wed Dec 12 23:42:05 MSK 2007
>>
>>
>> То есть ничего подозрительного не видно, кроме того, что в драйвере
>> написано "L2", а lspci выводит "L1" для карточки.
> так верните драйвер atl1 на место и покажите dmesg снова.
Если вернуть atl1, то получается вот что:
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1a.0: irq 177, io base 0x0000c800
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ieee1394: Initialized config rom entry `ip1394'
Atheros(R) L1 Ethernet Network Driver - version 1.2.40.0
Copyright (c) 2007 Atheros Corporation.
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 225
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1a.1: irq 225, io base 0x0000c880
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
При этом модуль atl1 загружается сильно раньше, до старта сети.
Единственный в каталоге /etc, где упоминается atl[12] - это
/etc/net/ifaces/local/options
> У вас могли просто съехать имена интерфейсов.
Они прибиты к мак-адресам в /etc/net/iftab
Во вложении - архив с полным выводом dmesg в разных ситуациях.
Вот что там лежит:
atl1-2.16.18-alt7 - как все работало на сборке alt7 с модулем atl1
atl1-2.16.18-alt10 - ядро alt10 и модуль atl1
atl2-2.16.18-alt10 - ядро alt10 и модуль atl2 прописан в настройках
интерфейса. При этом загружаются оба драйвера - как atl1, так и atl2.
noatl-2.16.18-alt10 - строчка MODULE= в настройках интерфейса совсем
закомментирована, при этом все равно загружается модуль atl1.
--
Денис
[-- Attachment #2: atl.tar.bz2 --]
[-- Type: application/x-bzip, Size: 9265 bytes --]
next prev parent reply other threads:[~2008-01-11 13:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 8:52 Denis Kirienko
2008-01-11 11:15 ` Konstantin A. Lepikhov
2008-01-11 11:17 ` Denis Kirienko
2008-01-11 12:05 ` Konstantin A. Lepikhov
2008-01-11 12:24 ` Denis Kirienko
2008-01-11 12:58 ` [Hardware] " Konstantin A. Lepikhov
2008-01-11 13:36 ` Denis Kirienko [this message]
2008-01-11 14:03 ` [Hardware] " Konstantin A. Lepikhov
2008-01-11 15:07 ` Denis Kirienko
2008-01-11 18:40 ` Sergey Vlasov
2008-01-11 19:36 ` Denis Kirienko
2008-01-11 20:32 ` Konstantin A. Lepikhov
2008-01-11 20:36 ` Denis Kirienko
2008-01-11 21:15 ` Sergey Vlasov
2008-01-11 22:26 ` Andrey Chesnokov
2008-01-11 22:40 ` Konstantin A. Lepikhov
2008-01-11 22:59 ` Andrey Chesnokov
2008-01-11 23:37 ` Konstantin A. Lepikhov
2008-01-12 2:16 ` Dmitry Lebkov
2008-01-12 7:19 ` Denis Kirienko
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='fm7reb$e9f$1@ger.gmane.org' \
--to=dk@altlinux.ru \
--cc=hardware@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 hardware support
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
public-inbox-index hardware
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.hardware
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git