[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805151: marked as done ([PATCH] Install GPU firmware)



Your message dated Tue, 19 Jan 2016 02:55:59 +0000
with message-id <1453172159.2519.144.camel@decadent.org.uk>
and subject line Re: Bug#805151: [PATCH] Install GPU firmware
has caused the Debian Bug report #805151,
regarding [PATCH] Install GPU firmware
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
805151: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805151
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.120
Severity: normal
Tags: patch

Please apply the attached patch, see its commit message for details.

Thanks!

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 17M 2015-10-29 09:02 /boot/initrd.img-4.0.0-2-amd64
-rw-r--r-- 1 root root 22M 2015-11-14 13:48 /boot/initrd.img-4.2.0-1-amd64
-rw-r--r-- 1 root root 22M 2015-11-14 17:19 /boot/initrd.img-4.3.0
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.3.0 root=UUID=63d635cb-4469-4cbb-94b9-79ebbc42eede ro i915.preliminary_hw_support=1 quiet

-- /proc/filesystems
	ext3
	ext2
	ext4
	udf
	iso9660
	vfat
	hfsplus
	hfs
	reiserfs
	xfs
	jfs
	omfs
	fuseblk

-- lsmod
Module                  Size  Used by
arc4                   16384  0
ecb                    16384  0
md4                    16384  0
cifs                  544768  2
dns_resolver           16384  1 cifs
fscache                61440  1 cifs
fuse                   94208  1
omfs                   24576  0
jfs                   172032  0
xfs                   901120  0
reiserfs              229376  0
hfs                    53248  0
hfsplus               102400  0
vfat                   20480  0
fat                    69632  1 vfat
isofs                  40960  0
nls_utf8               16384  1
udf                    90112  0
crc_itu_t              16384  2 udf,omfs
ebtable_filter         16384  0
ebtables               36864  1 ebtable_filter
ip6table_filter        16384  0
ip6_tables             28672  1 ip6table_filter
xt_conntrack           16384  1
ipt_MASQUERADE         16384  1
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_conntrack_ipv4      20480  2
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
xt_addrtype            16384  2
br_netfilter           24576  0
nf_nat                 24576  2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack          118784  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
bridge                110592  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 stp,bridge
nfnetlink_queue        20480  1
nfnetlink              16384  2 nfnetlink_queue
dm_thin_pool           61440  1
dm_persistent_data     61440  1 dm_thin_pool
dm_bio_prison          16384  1 dm_thin_pool
dm_bufio               28672  1 dm_persistent_data
libcrc32c              16384  2 xfs,dm_persistent_data
loop                   28672  4
xt_length              16384  1
xt_tcpudp              16384  1
iptable_filter         16384  1
xt_NFQUEUE             16384  1
ip_tables              28672  2 iptable_filter,iptable_nat
x_tables               36864  11 ip6table_filter,xt_length,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_NFQUEUE,xt_conntrack,iptable_filter,ebtables,ip6_tables,xt_addrtype
snd_hda_codec_hdmi     49152  1
snd_hda_codec_realtek    81920  1
intel_rapl             20480  0
iosf_mbi               16384  1 intel_rapl
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             163840  0
snd_hda_intel          36864  4
snd_hda_codec         131072  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
kvm                   495616  1 kvm_intel
snd_hda_core           65536  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               102400  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              32768  1 snd_pcm
joydev                 20480  0
snd                    81920  15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              16384  1 snd
i2c_i801               20480  0
sg                     32768  0
shpchp                 36864  0
mei_me                 28672  0
mei                    94208  1 mei_me
tpm_tis                20480  0
tpm                    40960  1 tpm_tis
hci_uart               61440  0
btbcm                  16384  1 hci_uart
btintel                16384  1 hci_uart
bluetooth             495616  3 btbcm,hci_uart,btintel
8250_fintek            16384  0
ipmi_si                57344  0
battery                16384  0
ipmi_msghandler        49152  1 ipmi_si
rfkill                 24576  2 bluetooth
evdev                  20480  12
processor              36864  0
acpi_pad               24576  0
autofs4                40960  2
ext4                  540672  2
crc16                  16384  2 ext4,bluetooth
mbcache                20480  1 ext4
jbd2                  106496  1 ext4
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
hid_logitech_hidpp     20480  0
hid_logitech_dj        20480  0
dm_crypt               24576  1
dm_mod                106496  8 dm_persistent_data,dm_bufio,dm_crypt,dm_thin_pool
sd_mod                 40960  3
uas                    20480  0
usb_storage            65536  1 uas
hid_generic            16384  0
usbhid                 49152  0
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  1
jitterentropy_rng      16384  0
sha256_ssse3           28672  1
sha256_generic         24576  1 sha256_ssse3
hmac                   16384  2
drbg                   24576  1
ansi_cprng             16384  0
aesni_intel           167936  2
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  3 aesni_intel,ablk_helper
ahci                   36864  2
libahci                32768  1 ahci
e1000e                229376  0
ast                    57344  1
igb                   184320  0
i915                 1105920  4
dca                    16384  1 igb
libata                233472  2 ahci,libahci
xhci_pci               16384  0
ttm                    94208  1 ast
ptp                    20480  2 igb,e1000e
pps_core               16384  1 ptp
xhci_hcd              172032  1 xhci_pci
i2c_algo_bit           16384  3 ast,igb,i915
drm_kms_helper        131072  2 ast,i915
scsi_mod              221184  5 sg,uas,usb_storage,libata,sd_mod
usbcore               233472  5 uas,usb_storage,usbhid,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
drm                   348160  8 ast,ttm,i915,drm_kms_helper
fan                    16384  0
thermal                20480  0
video                  32768  1 i915
i2c_hid                20480  0
hid                   118784  6 i2c_hid,hid_generic,usbhid,hid_logitech_dj,hid_logitech_hidpp
button                 16384  1 i915

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = No
do_bootloader = No
do_initrd = Yes
link_in_boot = No

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fsck
fuse
keymap
klibc
kmod
ntfs_3g
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools depends on:
ii  busybox      1:1.22.0-15
ii  cpio         2.11+dfsg-4.1
ii  klibc-utils  2.0.4-4
ii  kmod         21-1
ii  udev         227-2

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.22.0-15

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- no debconf information
>From ee91cd37f002a08e8ddbf1977085bac8e1320fee Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <stapelberg@debian.org>
Date: Sun, 15 Nov 2015 11:46:56 +0100
Subject: [PATCH] Install GPU firmware by default.

This is necessary to include files such as
/lib/firmware/i915/skl_dmc_ver1.bin and others (shipped in the
firmware-misc-nonfree package), which are necessary to properly
initialize the graphics output in early boot.
---
 hook-functions | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hook-functions b/hook-functions
index ee1c205..6b5570f 100644
--- a/hook-functions
+++ b/hook-functions
@@ -513,7 +513,7 @@ auto_add_modules()
 	local modules=
 
 	if [ "$#" -eq 0 ] ; then
-		set -- base net ide scsi block ata i2o dasd ieee1394 firewire mmc usb_storage
+		set -- base net ide scsi block ata i2o dasd ieee1394 firewire mmc usb_storage gpu
 	fi
 
 	for arg in "$@" ; do
@@ -594,6 +594,9 @@ auto_add_modules()
 		usb_storage)
 			copy_modules_dir kernel/drivers/usb/storage
 		;;
+		gpu)
+			copy_modules_dir kernel/drivers/gpu
+		;;
 		esac
 	done
 
-- 
2.6.1


--- End Message ---
--- Begin Message ---
On Sun, 15 Nov 2015 21:11:00 +0000 Ben Hutchings <ben@decadent.org.uk> wrote:
> On Sun, 2015-11-15 at 21:46 +0100, Michael Stapelberg wrote:
> > 
> > 
> > 
> > On Sun, Nov 15, 2015 at 7:40 PM, Ben Hutchings <ben@decadent.org.uk>
> > wrote:
> > > On Sun, 2015-11-15 at 14:45 +0100, Michael Stapelberg wrote:
> > > > So, if I understand correctly, the drm driver is initialized when
> > > the
> > > > initramfs runs,
> > > [...]
> > > 
> > > How is that going to happen if it's not in the initramfs?
> > Hm. I must be mixing up symptoms, I think. I’ll double-check when I
> > get a chance to reboot.
> > 
> > Would it not in any case be good to have the drm driver + firmware in
> > the initramfs to initialize displays with their correct resolution in
> > early boot already?
> 
> In a standard Debian system, the purpose of the initramfs is to mount
> the filesystem(s) needed by the real init system, and to provide
> facilities to recover the system in case that fails.
> 
> Any 'good to have' features beyond that can be done by hook scripts in
> another package (such as plymouth, which adds DRM drivers if you
> configure it to use graphics).

Therefore, closing this.

Ben.

-- 
Ben Hutchings
Horngren's Observation:
                   Among economists, the real world is often a special case.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: