Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931926

Summary: sys-kernel/linux-firmware missing BT_RAM_CODE_MT7961_1a_2_hdr.bin file
Product: Gentoo Linux Reporter: Marcin Deranek <marcin.deranek>
Component: Current packagesAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kernel, mpagano, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.kernel.org/show_bug.cgi?id=218757
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcin Deranek 2024-05-15 06:40:09 UTC
sys-kernel/linux-firmware is missing BT_RAM_CODE_MT7961_1a_2_hdr.bin file needed by kernel 6.9+ otherwise Bluetooth fails and is unusable:

May 15 06:44:58 mini kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
May 15 06:44:58 mini kernel: Bluetooth: hci0: Failed to set up firmware (-2)
May 15 06:44:58 mini kernel: Bluetooth: hci0: Failed to load firmware file (-2)
May 15 06:44:58 mini kernel: bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin failed with error -2
May 15 06:44:58 mini kernel: Loading firmware: mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin

See URL for the file itself (still not merged).

Reproducible: Always

Steps to Reproduce:
1. Switch to kernel 6.9
2. Bluetooth is not available
3.
Actual Results:  
Bluetooth is not available

Expected Results:  
Bluetooth should work

$ emerge --info
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r6, 6.9.0-gentoo-k8s x86_64)
=================================================================
System uname: Linux-6.9.0-gentoo-k8s-x86_64-AMD_Ryzen_9_6900HX_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    63534484 total,  60169652 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 15 May 2024 04:00:00 +0000
Head commit of repository gentoo: ed4390b3287bfecf0e9873ab1ddece17fdae57ec
Timestamp of repository steam-overlay: Sun, 12 May 2024 05:07:06 +0000
Head commit of repository steam-overlay: f27a23afac69bac916ca885a7df2e4756bf2c910

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.10.14_p1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.6::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.5::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.5::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.5::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

slonko
    location: /usr/local/portage/slonko
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --jobs=5 --load-average=16"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,pack-relative-relocs -fuse-ld=mold"
LEX="flex"
LINGUAS="en en_US en_GB nl pl"
MAKEOPTS="-j17"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac accessibility acpi adns alsa amd64 ao appindicator asm atm audiofile avif bash-completion berkdb bidi bluetooth branding brotli bzip2 cairo calendar caps cdda cddb cet clamav clang colord crypt css cups curl cxx dbus dga dri dts dv dvb dvd encode exif expat fbcon ffmpeg fftw filecaps flac fontconfig ftp gd gdbm geoip geolocation ggi gif gimp glut gmp gnutls gphoto2 gpm graphicsmagick graphviz gstreamer gtk gui guile gzip hddtemp heif http2 iconv icu imagemagick imap imlib inotify introspection ipv6 javascript jbig jemalloc jit joystick jpeg jpeg2k jpegxl lame lcms ldap libass libcaca libffi libnotify libsamplerate libtirpc libwww lm-sensors lto lz4 lzip lzma lzo m17n-lib mad magic maildir man matroska mbox mhash mikmod mmap mms mng modplug modules modules-compress mp3 mp4 mpeg mpi mplayer mtp multilib musepack native-extensions ncurses nls nntp nocd nsplugin offensive ogg openal opencl openexr opengl openmp opentype-compat opus orc osc otf pam pango pcre pdf pgo pie plotutils png policykit posix postscript ppds pulseaudio qt5 qt6 raw readline recode scanner sdl seccomp session sid slang smp snappy sndfile snmp sockets sound sox speex spell ssl startup-notification strip svg syslog systemd szip taglib tcmalloc tcpd test-rust theora threads tidy tiff truetype ttf udev udisks uefi unicode upower usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis vulkan wavpack webkit webp wmf wxwidgets x264 x265 xcb xcomposite xft xml xmlrpc xmp xmpp xosd xpm xscreensaver xv xvid zip zlib zstd" ABI_X86="32 64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US en-GB nl pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex brotli fastcgi gzip gzip_static lua map proxy rewrite stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Mike Gilbert gentoo-dev 2024-05-16 17:58:34 UTC
Sounds like an upstream issue to me.