* [Hardware] Re: Kernel panic в Мастер 2.4 (fealnx, Myson BC001) @ 2004-12-19 12:50 ` Michael Shigorin 2004-12-19 16:19 ` Yuri N. Glibovetz 0 siblings, 1 reply; 4+ messages in thread From: Michael Shigorin @ 2004-12-19 12:50 UTC (permalink / raw) To: community; +Cc: hardware [-- Attachment #1: Type: text/plain, Size: 1844 bytes --] On Sun, Dec 19, 2004 at 01:15:56AM +0200, Yuri N. Glibovetz wrote: > >Материнка: Zida 440LX (TomatoBoard) Гм, может, первая реакция была и не на главную проблему, но Zida -- это само по себе проблема. Было такое у друзей... > >2 сетевые платы: 3Com 900 Bumerang (модуль 3с59x) и > > Surecom EP-320X-S (модуль fealnx) > >Oops: 0002 > У меня была аналогичная ситуация в ALT Compact 2.3 (см. мой > пост "Oops" за 7.7.2004 в этой рассылке). Так ничем и не > разрешилась. В моем случае: процессор Pentium-133 > 2 сетевые карточки Surecom EP-320X-S > Я не думаю, что это аппаратная проблема, поскольку уже почти > полгода на этой конфигурации работает FreeBSD 4.10 и никаких > вылетов не наблюдается. > С другой стороны до установки ALT Compact 2.3 там стоял IPCop > (файрволл на базе Linux) и тоже всё работало нормально, поэтому > грешить на драйвер fealnx я тоже не могу. Ммм... а можете глянуть, какая там была версия этого модуля? > Интересно услышать от людей как работает Surecom EP-320X-S на > более мощных процессорах. Однажды сталкивался на Duron 800 (и Junior 1.1). Было принял за 8139, завелось само, но периодически падало в таймауты по передаче, кажется (свич Surecom). Полечили выкидыванием, но с тех пор слышал противоречивое об этой карте и вроде как бродили _разные_ модули, в т.ч. на дискетке с драйверами какой-то. Вообще надо бы озаботиться тестированием как их, так и 3com -- что-то много жалоб (в т.ч. в округе). PS: а вот EP-320X -- золотая карточка... надо будет выкупить у людей, которым три года назад ставил. Как много значит два байта в маркировке порой :-( PPS: даю копию в hardware@ и давайте перебираться туда, поскольку вопрос (около)железный. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Hardware] Re: Kernel panic в Мастер 2.4 (fealnx, Myson BC001) 2004-12-19 12:50 ` [Hardware] Re: Kernel panic в Мастер 2.4 (fealnx, Myson BC001) Michael Shigorin @ 2004-12-19 16:19 ` Yuri N. Glibovetz 2004-12-19 16:52 ` Sergey Vlasov 0 siblings, 1 reply; 4+ messages in thread From: Yuri N. Glibovetz @ 2004-12-19 16:19 UTC (permalink / raw) To: hardware Michael Shigorin пишет: >>У меня была аналогичная ситуация в ALT Compact 2.3 (см. мой >>пост "Oops" за 7.7.2004 в этой рассылке). Так ничем и не >>разрешилась. В моем случае: процессор Pentium-133 >>2 сетевые карточки Surecom EP-320X-S >>Я не думаю, что это аппаратная проблема, поскольку уже почти >>полгода на этой конфигурации работает FreeBSD 4.10 и никаких >>вылетов не наблюдается. >>С другой стороны до установки ALT Compact 2.3 там стоял IPCop >>(файрволл на базе Linux) и тоже всё работало нормально, поэтому >>грешить на драйвер fealnx я тоже не могу. > > > Ммм... а можете глянуть, какая там была версия этого модуля? Увы :( IPCop я давно удалил. С другой стороны немного погуглив я нашел следующее: http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031179.html http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031194.html http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031231.html http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031258.html http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031271.html Интересно, чем закончилась эта история? Кстати если верить другим источникам, место Oops локализовано. fealnx.c:netdev_rx: > /* Check if the packet is long enough to accept without copying > to a minimally-sized skbuff. */ > if (pkt_len < rx_copybreak && > (skb = dev_alloc_skb(pkt_len + 2)) != NULL) { > skb->dev = dev; > skb_reserve(skb, 2); /* 16 byte align the IP header */ > /* Call copy + cksum if available. */ > > #if ! defined(__alpha__) > eth_copy_and_sum(skb, > np->cur_rx->skbuff->tail, pkt_len, 0); > skb_put(skb, pkt_len); > #else > memcpy(skb_put(skb, pkt_len), > np->cur_rx->skbuff->tail, pkt_len); > #endif > } else { > skb_put(skb = np->cur_rx->skbuff, pkt_len); > np->cur_rx->skbuff = NULL; > if (np->really_rx_count == RX_RING_SIZE) > np->lack_rxbuf = np->cur_rx; > --np->really_rx_count; // <----- это здесь > } ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Hardware] Re: Kernel panic в Мастер 2.4 (fealnx, Myson BC001) 2004-12-19 16:19 ` Yuri N. Glibovetz @ 2004-12-19 16:52 ` Sergey Vlasov 2004-12-19 18:58 ` Yuri N. Glibovetz 0 siblings, 1 reply; 4+ messages in thread From: Sergey Vlasov @ 2004-12-19 16:52 UTC (permalink / raw) To: hardware [-- Attachment #1: Type: text/plain, Size: 2168 bytes --] On Sun, Dec 19, 2004 at 06:19:06PM +0200, Yuri N. Glibovetz wrote: > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031179.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031194.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031231.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031258.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031271.html > > Интересно, чем закончилась эта история? А ничем - тогда так ничего и не раскопали. > Кстати если верить другим источникам, место Oops локализовано. > fealnx.c:netdev_rx: > > >/* Check if the packet is long enough to accept without copying > > to a minimally-sized skbuff. */ > >if (pkt_len < rx_copybreak && > > (skb = dev_alloc_skb(pkt_len + 2)) != NULL) { > > skb->dev = dev; > > skb_reserve(skb, 2); /* 16 byte align the IP header */ > > /* Call copy + cksum if available. */ > > > >#if ! defined(__alpha__) > > eth_copy_and_sum(skb, > > np->cur_rx->skbuff->tail, pkt_len, 0); > > skb_put(skb, pkt_len); > >#else > > memcpy(skb_put(skb, pkt_len), > > np->cur_rx->skbuff->tail, pkt_len); > >#endif > >} else { > > skb_put(skb = np->cur_rx->skbuff, pkt_len); > > np->cur_rx->skbuff = NULL; > > if (np->really_rx_count == RX_RING_SIZE) > > np->lack_rxbuf = np->cur_rx; > > --np->really_rx_count; // <----- это здесь > >} В данном случае oops был в другом месте - в intr_handler(): /* Free the original skb. */ pci_unmap_single(np->pci_dev, np->cur_tx->buffer, np->cur_tx->skbuff->len, PCI_DMA_TODEVICE); dev_kfree_skb_irq(np->cur_tx->skbuff); В np->cur_tx->skbuff оказался NULL. Это весьма похоже на проблему, исправленую в 2.6 вот этим патчем: http://linux.bkbits.net:8080/linux-2.6/cset@406b2395GEYyN1xve0b-r-4zWwj-iQ Причём в 2.4 этого патча до сих пор нет (хотя после него в 2.6 была целая серия из 11 патчей, которые вошли и в 2.4). Странно. Видимо, эти карточки никому не нужны. А вот что там за "another problem in the RX path" - не совсем понятно. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Hardware] Re: Kernel panic в Мастер 2.4 (fealnx, Myson BC001) 2004-12-19 16:52 ` Sergey Vlasov @ 2004-12-19 18:58 ` Yuri N. Glibovetz 0 siblings, 0 replies; 4+ messages in thread From: Yuri N. Glibovetz @ 2004-12-19 18:58 UTC (permalink / raw) To: hardware Sergey Vlasov пишет: > В данном случае oops был в другом месте - в intr_handler(): > > /* Free the original skb. */ > pci_unmap_single(np->pci_dev, np->cur_tx->buffer, > np->cur_tx->skbuff->len, PCI_DMA_TODEVICE); > dev_kfree_skb_irq(np->cur_tx->skbuff); > > В np->cur_tx->skbuff оказался NULL. > > Это весьма похоже на проблему, исправленую в 2.6 вот этим патчем: > > http://linux.bkbits.net:8080/linux-2.6/cset@406b2395GEYyN1xve0b-r-4zWwj-iQ > > Причём в 2.4 этого патча до сих пор нет (хотя после него в 2.6 была > целая серия из 11 патчей, которые вошли и в 2.4). Странно. Видимо, > эти карточки никому не нужны. > > А вот что там за "another problem in the RX path" - не совсем понятно. А можно рассматривать http://linux.bkbits.net:8080/linux-2.6/anno/drivers/net/fealnx.c@1.35?nav=cset@1.1371.660.20 как окончательную версию драйвера на сегодняшний день? ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-19 18:58 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-19 12:50 ` [Hardware] Re: Kernel panic в Мастер 2.4 (fealnx, Myson BC001) Michael Shigorin 2004-12-19 16:19 ` Yuri N. Glibovetz 2004-12-19 16:52 ` Sergey Vlasov 2004-12-19 18:58 ` Yuri N. Glibovetz
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