Re: 2.6.24 breaks BIOS updates on all Dell machines

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <gregkh@...>
Cc: <markus.rechberger@...>, Matt_Domsch@dell.com <Matt_Domsch@...>, Jos?? Luis Tall??n <jltallon@...>, Douglas_Warzecha@dell.com <Douglas_Warzecha@...>, Abhay_Salunke@dell.com <Abhay_Salunke@...>, <linux-kernel@...>, Michael E Brown <Michael_E_Brown@...>, Kay Sievers <kay.sievers@...>
Date: Wednesday, February 6, 2008 - 9:20 am

On Tue, 5 Feb 2008 15:44:13 -0800, Greg KH wrote:

Not really. Why is =Y supposed to be a factor for duplicate names? The
exact same collision can happen in the =N case. This is exactly the
problem Markus and myself tried to address with
109f0e93b6b728f03c1eb4af02bc25d71b646c59. The i2c-dev class names its
class devices i2c-%d, and the firmware class as well (for i2c devices).
If 109f0e93b6b728f03c1eb4af02bc25d71b646c59 is going to be reverted,
then we will see the same collision again, but only for DEPRECATED=N.
That's rather confusing.

To add to the confusion, it seems that, in some cases, the potential
name collision is addressed by inserting a directory (named after the
class name) between the parent device and the class device. For example:

/sys/bus/pci/devices/0000:00:11.0/i2c-adapter/i2c-0

0000:00:11.0 is the PCI device, i2c-0 is the class device and
i2c-adapter is the class name.

So why isn't it done in all cases? This would solve the problem, as the
colliding class devices would finally get their own namespace:

/sys/bus/pci/devices/0000:00:11.0/i2c-adapter/i2c-0/i2c-dev/i2c-0
/sys/bus/pci/devices/0000:00:11.0/i2c-adapter/i2c-0/firmware/i2c-0


Unfortunately the =N case is the one that will break when you revert
109f0e93b6b728f03c1eb4af02bc25d71b646c59.

-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: FW: 2.6.24 breaks BIOS updates on all Dell machines, Markus Rechberger, (Tue Jan 29, 10:59 am)
Re: FW: 2.6.24 breaks BIOS updates on all Dell machines, Sytse Wielinga, (Tue Jan 29, 3:04 pm)
Re: FW: 2.6.24 breaks BIOS updates on all Dell machines, Jean Delvare, (Tue Jan 29, 6:15 pm)
Re: 2.6.24 breaks BIOS updates on all Dell machines, Jean Delvare, (Tue Feb 5, 4:16 pm)
Re: 2.6.24 breaks BIOS updates on all Dell machines, Jean Delvare, (Wed Feb 6, 9:20 am)