On Tue, Jul 14, 2020 at 10:31:21AM -0400, Walter Dnes wrote:
>   One thing I should've mentioned in the first post is that booting from
> the minimal install USB, wlan0 does show up, so the hardware works.

That's because the "minimal" install disk actually has  quite  a  lot  of  stuff
installed/enabled, to support all (or, as much as possible) common hardware in a
live environment, as this generally runs before the point at which the user  can
configure their own kernel.

> On Tue, Jul 14, 2020 at 05:59:37AM +0100, Ashley Dixon wrote
> > It doesn't look like it's loading the firmware.  Are there any obvious
> > firmware-loading errors in dmesg ?
> 
>   What is ASPM and what is error -2?  BTW, on my first attempt, when I
> accidentally tried a non-existant firmware path, the kernel compile died
> early on.  Here is what I get in dmesg with ucode 8.83.5.1-1

Error -2 means that  it  can't  find  the  file:  "ENOENT  2  No  such  file  or
directory". You should install the firmware through `sys-kernel/linux-firmware`,
and then edit your .config accordingly (as Michael mentioned, no  subdirectories
are added by the Gentoo package):
        
        CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
        CONFIG_EXTRA_FIRMWARE="iwlwifi-5000-1.ucode iwlwifi-5000-2.ucode 
iwlwifi-5000-5.ucode"

> > That looks fine, although why are you using such an outdated version
> > of the microcode ? For kernels 2.6.38+, you can use 8.83.5.1-1.
> 
>   The way the items lined up on the webpage, I mis-interpreted it to
> mean one driver for 5100AGN, one for 5300AGN, and one for 5350AGN.  See
> attachment.

The table is slightly misleading, but I think that any of  the  listed  firmware
packages can work for any of  the  listed  devices,  and  the  only  distinction
between the files is the supported kernel versions.  Thus, you should be able to
safely use the latest version.

> > Perhaps it would be better to  install  it  from
> > the  Gentoo-provided  firmware package ?  Amend
> > /etc/portage/savedconfig/sys-kernel/linux-firmware  to  include the
> > appropriate entries (listing at [1]), and emerge `linux-firmware`
> > with  the `savedconfig` USE-flag.
> 
>   I'll do that next if there's nothing obvious here.

Yes, that is your next step.  Append the appropriate entries to your savedconfig
file and emerge `linux-firmware` with `savedconfig`:

        iwlwifi-5000-1.ucode
        iwlwifi-5000-2.ucode
        iwlwifi-5000-5.ucode

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA

Attachment: signature.asc
Description: PGP signature

Reply via email to