Subject: Re: Kernel oops on setting sky2 interfaces down

From: Stephen Hemminger <[email-masked]>
Date: Mon, 27 Jul 2009 09:30:18 -0700

On Mon, 27 Jul 2009 13:03:17 +0200
Rene Mayrhofer <[email-masked]> 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.