Re: entries in sysfs regarding enclosures seem not being updated after hot plugging

James Bottomley
2010-01-22T15:28:05Z

On Wed, 2010-01-20 at 09:57 +0100, Lars Täuber wrote:
> I might be wrong on this mailing list. Is there a special sysfs ML?

No, this is the right list.

> Please point me out a place to look next with my problem.
>
> I should have mentioned the kernel version and enclosure type:
> # uname -a
> Linux speicher48 2.6.31-17-server #54-Ubuntu SMP Thu Dec 10 18:06:56 UTC 2009 x86_64 GNU/Linux
> # cat /sys/class/enclosure/10\:0\:24\:0/device/vendor
> CHENBRO
> # cat /sys/class/enclosure/10\:0\:24\:0/device/model
> SASX36 B0

So the bug reports sound like something is going wrong in the device
unbinding ... I don't see what from the code, so I need to play with an
actual enclosure. Unfortunately, that can only be done when physically
present (unlike most of the SCSI development which I can do remotely),
so it has to wait until I get back home.

James