Bug#537502: D-I incorrectly expects firmware requests on module load
On 11/22/2010 10:57 PM, Joey Hess wrote:
> Asbjørn Sloth Tønnesen wrote:
>> Reopening, since Sergio's description still applies to SVN trunk D-I.
>
> Hmm, bug is still archived and closed.
No, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537502
reports it as unarchived and reopened.
>> The problem is that e100 is first requesting firmware when the link is
>> brought up, and not when the module is loaded, as D-I expects.
>
>> 1) Disable first_try in check-missing-firmware
>
> I don't understand how that can fix the problem you described.
> check-missing-firmware is still being run before netcfg, so before the
> interface is brought up, so it will never see missing firmware at all
> (unless the system needs other firmware for other devices).
I have logged interesting events to tty3, so I know it gets there, and I
have looked at e100.c, so I know it has to have been up'ed first.
Ok, just found the source for the first up:
bottom of packages/hw-detect/ethdetect.sh:
> # Some modules only try to load firmware once brought up. So bring up and
> # then down all interfaces.
> for iface in $(lsifaces); do
> ip link set "$iface" up || true
> ip link set "$iface" down || true
> done
> db_get ethdetect/prompt_missing_firmware
> if [ "$RET" = true ]; then
> check-missing-firmware
> else
> check-missing-firmware -n
> fi
--
Best regards
Asbjørn Sloth Tønnesen
asbjorn.biz
Reply to: