[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070625080126.GA26566@dose.home.local>
Date: Mon, 25 Jun 2007 10:01:26 +0200
From: Tino Keitel <tino.keitel@...ei.de>
To: netdev@...r.kernel.org
Subject: Re: strange sky disable/enable in the kernel log
On Sun, Jun 24, 2007 at 23:11:20 -0700, Stephen Hemminger wrote:
> On Fri, 22 Jun 2007 07:53:42 +0200
> Tino Keitel <tino.keitel@...ei.de> wrote:
>
> > Hi,
> >
> > I just found this in the kernel log:
> >
> > 2007-06-22_05:47:50.69894 kern.info: sky2 eth0: disabling interface
> > 2007-06-22_05:47:50.72039 kern.info: sky2 eth0: enabling interface
> > 2007-06-22_05:47:50.72240 kern.info: sky2 eth0: ram buffer 48K
> > 2007-06-22_05:47:52.40903 kern.info: sky2 eth0: Link is up at 100 Mbps,
> > full duplex, flow control both
> >
> > What could be the cause for this? I use kernel 2.6.22-rc5 with this
> > hardware:
> >
> > sky2 0000:01:00.0: v1.14 addr 0x90200000 irq 17 Yukon-EC (0xb6) rev 2
> >
> > 01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053
> > PCI-E Gigabit Ethernet Controller (rev 22)
> >
> > Regards,
> > Tino
>
> Some script is calling the device stop (down) call.
> ifconfig eth0 down
> ip link set eth0 down
I have a network watchdog script, that should only run after suspend,
as the sky2 driver sometimes hangs after resume. It tries to do a DNS
lookup and re-initializes the interface (ifdown, rmmod, modprobe, ifup)
if the lookup failed. But no activity here at that time:
2007-06-22_04:47:54.31644 Server: 10.100.1.254
2007-06-22_04:47:54.32896 Address: 10.100.1.254#53
2007-06-22_04:47:54.32897
2007-06-22_04:47:54.32898 Name: mguard.home.local
2007-06-22_04:47:54.32899 Address: 10.100.1.253
2007-06-22_04:47:54.32899
2007-06-22_08:47:04.15808 Server: 10.100.1.254
2007-06-22_08:47:04.17365 Address: 10.100.1.254#53
2007-06-22_08:47:04.17366
2007-06-22_08:47:04.17367 Name: mguard.home.local
2007-06-22_08:47:04.17368 Address: 10.100.1.253
2007-06-22_08:47:04.17369
> another possibility is suspend/resume.
A resume happened at 4:47:
2007-06-22_04:47:31.51073 kern.debug: Back to C!
So the above disabling interface/enabling interface was in the middle
of normal operation.
Regards,
Tino
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists