Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Contd: LAN problems? + strange problems


  • Subject: Re: lug-bg: Contd: LAN problems? + strange problems
  • From: wizard@email.domain.hidden (Kaloyan Ivanov)
  • Date: Fri, 18 Jul 2003 21:41:21 +0300


v takav slu4ai gre6kata e moia.
tarpq kritika.

<p>Çäðàñòè,

On Fri, 18 Jul 2003 20:32:09 +0300
Kaloyan Ivanov <wizard_at_e-card.bg> wrote:

<em class="quotelev1">> 
<em class="quotelev1">> Friday, July 18, 2003, 4:28:41 PM, raptor wrote:
<em class="quotelev1">> 
<em class="quotelev1">> [cut]
<em class="quotelev1">> 
<em class="quotelev1">> r> |kernel: NETDEV WATCHDOG: eth5: transmit timed out
<em class="quotelev1">> r> ]- ot de se wze toq watchdog, kwo trqbwa da compiliram za da ima takwoz
<em class="quotelev1">> nesto...
<em class="quotelev1">> 
<em class="quotelev1">> mislq 4e si instaliral watchdog. moje bi pokrai nqkkoi drug paket.
<em class="quotelev1">> ebuild-a e v app-admin/watchdog . probvai emerge -s app-admin/watchdog
<em class="quotelev1">> ili qpkg watchdog -c -v , ili pak s etcat
<em class="quotelev1">> nqkakav demon be6e mai. ama predi da instalira6 ne6to ne probva6 li
<em class="quotelev1">> emerge -p _edi_kakvo_si_
<em class="quotelev1">> 

Òîçè watchdog íÿìà íèùî îáùî ñ * ïàêåòè watchdog. 
 ñúùíîñò íÿìa íèùî îáùî ñ user space ïðîãðàìè, ïîðàäè ïðîñòàòà 
ïðè÷èíà, ÷å òîâà êó÷åíöå æèâåå ïðè kernel-a.

/usr/src/linux-2.4.21/net/sched/sch_generic.c:
static void dev_watchdog(unsigned long arg)
{
        struct net_device *dev = (struct net_device *)arg;

        spin_lock(&dev->xmit_lock);
        if (dev->qdisc != &noop_qdisc) {
                if (netif_device_present(dev) &&
                    netif_running(dev) &&
                    netif_carrier_ok(dev)) {
                        if (netif_queue_stopped(dev) &&
                            (jiffies - dev->trans_start) > dev->watchdog_timeo)
{
                                printk(KERN_INFO "NETDEV WATCHDOG: %s: transmit
timed out\n", dev->name);
                                dev->tx_timeout(dev);
                        }
                        if (!mod_timer(&dev->watchdog_timer, jiffies +
dev->watchdog_timeo))
                                dev_hold(dev);
                }
        }
        spin_unlock(&dev->xmit_lock);

        dev_put(dev);
}

<p><p><p>
-- 
Best Regards,
Hristo Erinin
http://www.catb.org/~esr/faqs/smart-questions.html
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
---------------------
http://mail.e-card.bg
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.