Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373223 - sys-kernel/gentoo-sources-2.6.39-r2 installs firmware during "make install"
Summary: sys-kernel/gentoo-sources-2.6.39-r2 installs firmware during "make install"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 17:27 UTC by Dennis Schridde
Modified: 2011-07-19 07:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config (2.6.39-gentoo-r2) (.config,71.61 KB, text/plain)
2011-06-30 13:52 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2011-06-27 17:27:24 UTC
I ran "make install" in the kernel sources of sys-kernel/gentoo-sources-2.6.39-r2 and found these lines at the end of the output:
  INSTALL /lib/firmware/radeon/R100_cp.bin
  INSTALL /lib/firmware/radeon/R200_cp.bin
  INSTALL /lib/firmware/radeon/R300_cp.bin
  INSTALL /lib/firmware/radeon/R420_cp.bin
  INSTALL /lib/firmware/radeon/RS690_cp.bin
  INSTALL /lib/firmware/radeon/RS600_cp.bin
  INSTALL /lib/firmware/radeon/R520_cp.bin
  INSTALL /lib/firmware/radeon/R600_pfp.bin
  INSTALL /lib/firmware/radeon/R600_me.bin
  INSTALL /lib/firmware/radeon/RV610_pfp.bin
  INSTALL /lib/firmware/radeon/RV610_me.bin
  INSTALL /lib/firmware/radeon/RV630_pfp.bin
  INSTALL /lib/firmware/radeon/RV630_me.bin
  INSTALL /lib/firmware/radeon/RV620_pfp.bin
  INSTALL /lib/firmware/radeon/RV620_me.bin
  INSTALL /lib/firmware/radeon/RV635_pfp.bin
  INSTALL /lib/firmware/radeon/RV635_me.bin
  INSTALL /lib/firmware/radeon/RV670_pfp.bin
  INSTALL /lib/firmware/radeon/RV670_me.bin
  INSTALL /lib/firmware/radeon/RS780_pfp.bin
  INSTALL /lib/firmware/radeon/RS780_me.bin
  INSTALL /lib/firmware/radeon/RV770_pfp.bin
  INSTALL /lib/firmware/radeon/RV770_me.bin
  INSTALL /lib/firmware/radeon/RV730_pfp.bin
  INSTALL /lib/firmware/radeon/RV730_me.bin
  INSTALL /lib/firmware/radeon/RV710_pfp.bin
  INSTALL /lib/firmware/radeon/RV710_me.bin

This does not seem correct, as there is a separate firmware_install target, and it messes up "q file -o `find /lib/firmware`", too.

Reproducible: Always
Comment 1 Mike Pagano gentoo-dev 2011-06-29 12:05:05 UTC
what arch?
Comment 2 Dennis Schridde 2011-06-29 12:17:03 UTC
Portage 2.2.0_alpha41 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.3
Timestamp of tree: Tue, 28 Jun 2011 15:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo kde pcsx2 oss-overlay sunrise qt-symbian-overlay gamerlay-stable local
Installed sets: @kdebase
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3 -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--depclean-lib-check n --with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/kde /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/sunrise /var/cache/portage/layman/qt-symbian-overlay /var/cache/portage/layman/gamerlay /var/cache/portage/local"
[...]
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Mike Pagano gentoo-dev 2011-06-29 17:41:48 UTC
attach your .config, please
Comment 4 Dennis Schridde 2011-06-30 13:52:43 UTC
Created attachment 278697 [details]
.config (2.6.39-gentoo-r2)
Comment 5 Dennis Schridde 2011-07-18 13:56:36 UTC
Persists in 2.6.39-gentoo-r3
Comment 6 Mike Pagano gentoo-dev 2011-07-18 18:19:21 UTC
make firmware_install installs all the in-kernel-tree firmware.

Those firmware blobs come from an ebuild and considered to be outside the kernel and is not affected my make firmware_install
Comment 7 Dennis Schridde 2011-07-18 21:25:25 UTC
(In reply to comment #6)
> make firmware_install installs all the in-kernel-tree firmware.
> 
> Those firmware blobs come from an ebuild and considered to be outside the
> kernel and is not affected my make firmware_install
I do not run "make firmware_install". I stopped doing that since bug #368463.

If the firmware blobs being installed by make install are not part of the kernel, where do they come from and why does the kernel buildsystem install them here?

If I misunderstood you, please clarify.
Comment 8 Mike Pagano gentoo-dev 2011-07-18 23:29:05 UTC
Maybe they can help you upstream at http://bugzilla.kernel.org
Comment 9 Dennis Schridde 2011-07-19 07:59:33 UTC
Forwarded bug to upstream tracker.