Re: [PATCH] request_firmware: skip timeout if userspace was not notified

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Javier Pello <javier.pello@...>
Cc: Cornelia Huck <cornelia.huck@...>, <linux-kernel@...>, GregKH <greg@...>
Date: Thursday, August 9, 2007 - 7:58 am

On Thu, 2007-08-09 at 11:36 +0200, Javier Pello wrote:

That's true. And it sounds all reasonable from your point of view, and
the firmware loader needs fixing, and the silly blocking request needs
to be removed from the kernel, that's known for a very long time now,
but nobody did the work so far.

But in this specific case, it is more the combination of your options,
what causes this problem to appear. You don't have an initramfs, you
don't use modules, but you are linking a driver into the kernel image
which depends on a conceptually broken blocking userspace transaction to
initialize.
This combination of options just doesn't make sense. Either use
initramfs, or use a kernel module for the driver that needs userspace to
initialize, or patch the driver not to block in the request, or patch
the driver to optionally include the firmware in the driver.

You just picked a set of options that doesn't work nicely together. No
distro setup has this problem, that's probably why nobody really cared
and it didn't get fixed so far.

Kay

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

Messages in current thread:
Re: [PATCH] request_firmware: skip timeout if userspace was ..., Kay Sievers, (Thu Aug 9, 7:58 am)