[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090727093018.4a830259@nehalam>
Date: Mon, 27 Jul 2009 09:30:18 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Rene Mayrhofer <rene.mayrhofer@...raltar.at>
Cc: netdev@...r.kernel.org, Richard Leitner <leitner@...s.at>
Subject: Re: Kernel oops on setting sky2 interfaces down
On Mon, 27 Jul 2009 13:03:17 +0200
Rene Mayrhofer <rene.mayrhofer@...raltar.at> wrote:
> Stephen Hemminger schrieb:
> > You could try commenting out sky2_shutdown which does the Wol
> > power down stuff. Maybe changing setting of Wake On Lan would
> > help as well.
> >
> > What happens if you take interface down 'ip link set eth0 down' (or ifconfig)?
> >
> > There are several different register writes in the shutdown path.
> > You could add code to check if a particular access is disabling
> > the PCI buss with:
> >
> > sky2_write(... som register...)
> > BUG_ON(sky2_read16(sky2->hw, B0_CTST) == 0xffff);
>
> I tried adding that wherever it seemed to make sense, resulting in
Does the platform use MSI? Perhaps it generates a bogus interrupt when
powered off.
--
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