I seem to have succeeded - it is error free when I do deep world updates, and I have xorg and an xfce interface working, using the 'desktop' profile.
The sole exception is the broadcom wifi adapter - I just don't seem to have the kernel configured right, despite following the details in the gentoo wifi and kernel wikis. I couldn't find anything to help further on the gentoo forum.
The broadcom wifi adapter works fine when the system is booted with the minimum install disk, so I know it is working. As will be obvious from the outputs below, after booting, the wifi adapter is not detected.
I am not using an initramfs file - could that be the problem?
Can someone more experienced guide me to a working system? I expect it is something obvious, but I just can't see it.
Some hardware details:
Code: Select all
# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: Qualcomm Atheros AR8132 Fast Ethernet (rev c0)
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01)
Code: Select all
[ 11.924744] ACPI: Video Device [OVGA] (multi-head: yes rom: no post: no)
[ 12.022130] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 12.031615] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 12.130459] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 12.130468] cfg80211: failed to load regulatory.db
[ 12.239211] acpi device:24: registered as cooling_device3
[ 12.239479] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
[ 12.266504] fbcon: i915drmfb (fb0) is primary device
[ 12.300712] Console: switching to colour frame buffer device 128x37
[ 12.324416] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 12.466534] b43-phy0: Broadcom 4313 WLAN found (core revision 24)
[ 12.467431] b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 10, Type 8 (LCN), Revision 1)
[ 12.467471] b43: probe of bcma0:1 failed with error -95
[ 12.467611] Broadcom 43xx driver loaded [ Features: PNL ]
[ 13.972180] EXT4-fs (sda4): re-mounted. Opts: (null)
[ 14.379025] Adding 1048572k swap on /dev/sda3. Priority:-2 extents:1 across:1048572k
[ 14.507604] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
[ 14.526840] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[ 14.526864] ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[ 18.499748] udevd (565) used greatest stack depth: 5288 bytes left
I see the Broadcom 43xx driver loaded, after various errors associated with 43 were reported - but the significance of that is lost on me.
I did try to emerge the broadcom-sta package, for good measure, but emerge reported that it was masked by the ~x86 keyword, I presume for good reason.
My list of modules is pretty small - I was trying to compile everything but the wifi modules into the kernel.
The ralink drivers are included because I was trying to get a ralink usb wifi adapter working as an alternative - again without success.
Code: Select all
# lsmod
/lib/modules/5.10.27-gentoo/modules.builtin.modinfo
/lib/modules/5.10.27-gentoo/kernel/fs/ntfs/ntfs.ko
/lib/modules/5.10.27-gentoo/kernel/crypto/aes_ti.ko
/lib/modules/5.10.27-gentoo/kernel/net/wireless/cfg80211.ko
/lib/modules/5.10.27-gentoo/kernel/net/mac80211/mac80211.ko
/lib/modules/5.10.27-gentoo/kernel/lib/crypto/libarc4.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/thermal/intel/x86_pkg_temp_thermal.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/gpu/drm/gma500/gma500_gfx.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/gpu/drm/ttm/ttm.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/gpu/drm/i915/i915.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
/lib/modules/5.10.27-gentoo/kernel/drivers/net/wireless/broadcom/b43/b43.ko
Code: Select all
mac80211.ko
cfg80211.ko
b43.ko
For comparison, the following is the matching outputs after booting the system with the minimum install disk:
Tail of dmesg from minimum install disk:
Code: Select all
[ 74.182830] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
[ 74.182844] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement)
[ 74.594846] NET: Registered protocol family 10
[ 74.597656] Segment Routing with IPv6
[ 133.666505] wlp2s0b1: authenticate with a0:bd:cd:4a:12:f2
[ 133.668350] wlp2s0b1: send auth to a0:bd:cd:4a:12:f2 (try 1/3)
[ 133.669909] wlp2s0b1: authenticated
[ 133.673191] wlp2s0b1: associate with a0:bd:cd:4a:12:f2 (try 1/3)
[ 133.677221] wlp2s0b1: RX AssocResp from a0:bd:cd:4a:12:f2 (capab=0x1411 status=0 aid=1)
[ 133.678468] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: associated
[ 133.678474] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: true (implement)
[ 133.678492] wlp2s0b1: associated
[ 133.684410] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 159/256 dur 1778/1504
[ 133.689981] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 137/256 dur 1602/1504
[ 133.884696] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0b1: link becomes ready
[ 139.753704] brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 1 addresses (implement)
[ 173.551177] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[ 207.282715] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
[ 207.298830] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[ 207.298853] ext2 filesystem being mounted at /mnt/gentoo/boot supports timestamps until 2038 (0x7fffffff)
[ 239.724802] Adding 1048572k swap on /dev/sda3. Priority:-2 extents:1 across:1048572k
[ 2128.217287] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[ 5727.669668] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[ 9331.495216] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[ 9331.890063] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[ 9331.890450] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[12927.806089] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[16528.523952] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[20127.963376] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
[23728.653276] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: txop exceeded phylen 153/256 dur 1730/1504
Code: Select all
# lsmod
Module Size Used by
ctr 16384 3
ccm 20480 9
ipv6 270336 18
8021q 24576 0
brcmsmac 421888 0
brcmutil 16384 1 brcmsmac
b43 339968 0
cordic 16384 2 brcmsmac,b43
mac80211 417792 2 brcmsmac,b43
sha256_generic 16384 0
libsha256 24576 1 sha256_generic
cfg80211 393216 3 brcmsmac,b43,mac80211
snd_hda_codec_realtek 77824 1
snd_hda_codec_generic 45056 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel 24576 0
ssb 45056 1 b43
snd_intel_nhlt 16384 1 snd_hda_intel
snd_hda_codec 65536 3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
acer_wmi 16384 0
mmc_core 90112 2 b43,ssb
snd_hda_core 45056 4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
sparse_keymap 16384 1 acer_wmi
pcmcia 32768 1 ssb
pcmcia_core 20480 1 pcmcia
snd_pcm 61440 3 snd_hda_intel,snd_hda_codec,snd_hda_core
rfkill 20480 3 acer_wmi,cfg80211
libarc4 16384 1 mac80211
snd_timer 24576 1 snd_pcm
i2c_i801 20480 0
wmi_bmof 16384 0
i2c_core 45056 1 i2c_i801
lpc_ich 24576 0
snd 45056 5 snd_hda_intel,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm
mfd_core 16384 1 lpc_ich
bcma 36864 2 brcmsmac,b43
soundcore 16384 1 snd
wmi 20480 2 wmi_bmof,acer_wmi
ac 16384 0
video 36864 1 acer_wmi
backlight 16384 2 video,acer_wmi
button 16384 0
battery 20480 0
thermal 16384 0
fan 16384 0
acpi_cpufreq 16384 1
usb_storage 40960 1
ahci 32768 3
libahci 24576 1 ahci
libata 155648 2 ahci,libahci
uhci_hcd 24576 0
atl1c 32768 0
ehci_pci 16384 0
ehci_hcd 40960 1 ehci_pci
Many thanks in anticipation.
Alan



