[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Processed: Bug#725714: udev firmware loading does not work in the Debian installer



On Thu, Dec 12, 2013 at 10:58 PM, Michael Biebl <email@michaelbiebl.de> wrote:
> This was removed upstream [1] and is highly unlikely to be added back.
> Especially considering that the user space firmware loader is scheduled
> to be removed sooner rather then later.
>
> This most likely means d-i needs to be updated to use some kind of
> different mechanism to detect missing firmware.
>
> Kay, what is the recommended approach nowadays to detect such missing
> firmware?

There is no replacement for that. Userspace is no longer in the loop
any more regarding firmware loading, it's all the kernel's job only.
Hence, there will be no facility in udev for handling firmware, or
getting notified about that.

The only possible solution would be to add explicit messages to the
kernel drivers in case a firmware is really *missing* and the device
does not just probe for stuff until it finds something.

There are quite a lot devices which just look for *updates* and do not
need anything to function.

Such an explicit message would probably use printk_emit() and pass
structured data with the filename and the ides from the kernel to
userspace, and on systemd systems the journal would pick up the
MESSAGE_ID and do something with it, or provide the data to other
consumers.

Kay


Reply to: