Re: Linux v2.6.21-rc3

From: Greg KH
Date: Tue Mar 13 2007 - 15:42:40 EST


On Tue, Mar 13, 2007 at 01:26:48PM -0600, Eric W. Biederman wrote:
> - We have a network ABI regression caused by the latest sysfs
> changes to net-sysfs.c In particular we now cannot rename network
> devices if our destination name happens to be the name of a sysfs file that
> the network device appears in, and if we try the kernel gets very
> confused and we loose access to the network device.
>
> Do we just want to revert commit 43cb76d91ee85f579a69d42bc8efc08bac560278
> Greg has been working on this off and on and has not found a
> simple solution yet.

I do not think this should be reverted, as the odds that some one will
rename their network device to be "irq" or something else that is in the
pci device's directory is pretty slim. It also only shows up if
CONFIG_SYSFS_DEPRECATED is disabled, not the common option.

But I am still working on it, I sent you and Kay a patch that, while it
locks up at boot time, should be close to what we need to address this
:)

> - pci_save_state, pci_restore_state are broken and have been for a
> while if used on anything besides plain pci (pci-x, pci-e and msi)
> and are not used in pairs. (gregkh and Andrew have the patches to
> correct this).

I think these are already in Linus's tree right now, right?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/