On Tue, 20 Mar 2012, Stojsavljevic, Zoran wrote: > Greg, > > I looked into the fs/sysfs/file.c, this was the obvious thing to do. > > But the BUG_ON macro there does not say to me anything meaningful: > > BUG_ON(!kobj || !kobj->sd || !attr); in sysfs_create_file(). You could add a printk at that point to see which of the three things is equal to NULL. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html