130401 Mick wrote:
> On Monday 01 Apr 2013 02:54:08 Philip Webb wrote:
>> I've spent a lot of today trying to fix a glitch in starting 'dhcpcd'
>> after upgrading to  udev-200 ; I outlined it in a msg to  gentoo-dev .
 -- details snipped --
> Thanks for sharing this Philip.
> I was surprised to see that firmware for NICs 
> are meant to be added in this kernel config option.
> I thought that this config option was only for the video card firmware.
> 
>   # cat /usr/src/linux/.config | grep EXTRA_FIRMWARE
>     CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin radeon/R700_rlc.bin"
>     CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
> 
> In my /lib/firmware I have:
> 
>   # ls -la /lib/firmware/
>     total 1448
>     drwxr-xr-x  5 root root    4096 Sep 14  2012 .
>     drwxr-xr-x 14 root root   12288 Mar 31 09:26 ..
>     drwxr-x---  2 root root    4096 Feb  4  2012 b43
>     drwxr-xr-x  2 root root    4096 Sep 14  2012 intel-ucode
>     -rw-r--r--  1 root root 1451687 Sep 14  2012 microcode.dat
>     drwxr-xr-x  2 root root    4096 Dec 31 09:58 radeon
> 
> and from dmesg I can see that all of these get loaded
> *without* being defined in the CONFIG_EXTRA_FIRMWARE= ...
> On this box in any case I do not have sys-kernel/linux-firmware installed,
> but have installed x11-drivers/radeon-ucode for the video card
> and net-wireless/b43-fwcutter for the wireless NIC.
> Are you saying that the correct way to go about this
> is to uninstall these packages
> and instead define the firmware in the kernel in CONFIG_EXTRA_FIRMWARE= ?
> PS. I'm currently running kernel-3.7.10-gentoo.

No, if your way works, keep doing it.
I installed 'linux-firmware' long ago, but may not have used it since.

I was faced with the peculiar problem I described,
ie after updating to  udev-200  & following the news-item advice
the 1st attempt at 'dhcpcd' stalled, but a 2nd attempt always worked.
Not wanting to face this delay every time I reboot,
I investigated with the results described.
'dhcpcd' is now noticeably quicker than with  <= udev-197
& the new kernel naming system seems a small general improvement,
so my advice wb to update to  udev-200  & then solve any other problems.

I assume the underlying problem for me was
that the kernel took time trying to find the firmware
& meanwhile the Dhcpcd process went to sleep or froze.
Now that the firmware is compiled into the kernel, there's no delay.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to