Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Udev 200 : dhcpcd problem + solution
Date: Mon, 01 Apr 2013 15:52:22
Message-Id: 20130401155206.GB904@ca.inter.net
In Reply to: Re: [gentoo-user] Udev 200 : dhcpcd problem + solution by Mick
1 130401 Mick wrote:
2 > On Monday 01 Apr 2013 02:54:08 Philip Webb wrote:
3 >> I've spent a lot of today trying to fix a glitch in starting 'dhcpcd'
4 >> after upgrading to udev-200 ; I outlined it in a msg to gentoo-dev .
5 -- details snipped --
6 > Thanks for sharing this Philip.
7 > I was surprised to see that firmware for NICs
8 > are meant to be added in this kernel config option.
9 > I thought that this config option was only for the video card firmware.
10 >
11 > # cat /usr/src/linux/.config | grep EXTRA_FIRMWARE
12 > CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin radeon/R700_rlc.bin"
13 > CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
14 >
15 > In my /lib/firmware I have:
16 >
17 > # ls -la /lib/firmware/
18 > total 1448
19 > drwxr-xr-x 5 root root 4096 Sep 14 2012 .
20 > drwxr-xr-x 14 root root 12288 Mar 31 09:26 ..
21 > drwxr-x--- 2 root root 4096 Feb 4 2012 b43
22 > drwxr-xr-x 2 root root 4096 Sep 14 2012 intel-ucode
23 > -rw-r--r-- 1 root root 1451687 Sep 14 2012 microcode.dat
24 > drwxr-xr-x 2 root root 4096 Dec 31 09:58 radeon
25 >
26 > and from dmesg I can see that all of these get loaded
27 > *without* being defined in the CONFIG_EXTRA_FIRMWARE= ...
28 > On this box in any case I do not have sys-kernel/linux-firmware installed,
29 > but have installed x11-drivers/radeon-ucode for the video card
30 > and net-wireless/b43-fwcutter for the wireless NIC.
31 > Are you saying that the correct way to go about this
32 > is to uninstall these packages
33 > and instead define the firmware in the kernel in CONFIG_EXTRA_FIRMWARE= ?
34 > PS. I'm currently running kernel-3.7.10-gentoo.
35
36 No, if your way works, keep doing it.
37 I installed 'linux-firmware' long ago, but may not have used it since.
38
39 I was faced with the peculiar problem I described,
40 ie after updating to udev-200 & following the news-item advice
41 the 1st attempt at 'dhcpcd' stalled, but a 2nd attempt always worked.
42 Not wanting to face this delay every time I reboot,
43 I investigated with the results described.
44 'dhcpcd' is now noticeably quicker than with <= udev-197
45 & the new kernel naming system seems a small general improvement,
46 so my advice wb to update to udev-200 & then solve any other problems.
47
48 I assume the underlying problem for me was
49 that the kernel took time trying to find the firmware
50 & meanwhile the Dhcpcd process went to sleep or froze.
51 Now that the firmware is compiled into the kernel, there's no delay.
52
53 --
54 ========================,,============================================
55 SUPPORT ___________//___, Philip Webb
56 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
57 TRANSIT `-O----------O---' purslowatchassdotutorontodotca