Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #51328 > unrolled thread
| Started by | Michael Stapelberg <stapelberg@debian.org> |
|---|---|
| First post | 2015-11-15 12:00 +0100 |
| Last post | 2016-01-19 04:00 +0100 |
| Articles | 10 — 3 participants |
Back to article view | Back to linux.debian.kernel
Bug#805151: [PATCH] Install GPU firmware Michael Stapelberg <stapelberg@debian.org> - 2015-11-15 12:00 +0100
Processed: Re: Bug#805151: [PATCH] Install GPU firmware owner@bugs.debian.org (Debian Bug Tracking System) - 2015-11-15 13:00 +0100
Bug#805151: [PATCH] Install GPU firmware Ben Hutchings <ben@decadent.org.uk> - 2015-11-15 13:00 +0100
Bug#805151: [PATCH] Install GPU firmware Michael Stapelberg <stapelberg@debian.org> - 2015-11-15 13:10 +0100
Bug#805151: [PATCH] Install GPU firmware Ben Hutchings <ben@decadent.org.uk> - 2015-11-15 14:40 +0100
Bug#805151: [PATCH] Install GPU firmware Michael Stapelberg <stapelberg@debian.org> - 2015-11-15 14:50 +0100
Bug#805151: [PATCH] Install GPU firmware Ben Hutchings <ben@decadent.org.uk> - 2015-11-15 19:50 +0100
Bug#805151: [PATCH] Install GPU firmware Michael Stapelberg <stapelberg@debian.org> - 2015-11-15 21:50 +0100
Bug#805151: [PATCH] Install GPU firmware Ben Hutchings <ben@decadent.org.uk> - 2015-11-15 22:20 +0100
Bug#805151: marked as done ([PATCH] Install GPU firmware) owner@bugs.debian.org (Debian Bug Tracking System) - 2016-01-19 04:00 +0100
| From | Michael Stapelberg <stapelberg@debian.org> |
|---|---|
| Date | 2015-11-15 12:00 +0100 |
| Subject | Bug#805151: [PATCH] Install GPU firmware |
| Message-ID | <qv3cl-gr-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [next] | [standalone]
| From | owner@bugs.debian.org (Debian Bug Tracking System) |
|---|---|
| Date | 2015-11-15 13:00 +0100 |
| Subject | Processed: Re: Bug#805151: [PATCH] Install GPU firmware |
| Message-ID | <qv48q-We-11@gated-at.bofh.it> |
| In reply to | #51328 |
Processing control commands: > tag -1 moreinfo Bug #805151 [initramfs-tools] [PATCH] Install GPU firmware Added tag(s) moreinfo. -- 805151: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805151 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2015-11-15 13:00 +0100 |
| Message-ID | <qv48q-We-7@gated-at.bofh.it> |
| In reply to | #51328 |
[Multipart message — attachments visible in raw view] — view raw
Control: tag -1 moreinfo
On Sun, 2015-11-15 at 11:49 +0100, Michael Stapelberg wrote:
> Package: initramfs-tools
> Version: 0.120
> Severity: normal
> Tags: patch
>
> Please apply the attached patch, see its commit message for details.
[...]
This is not about adding firmware, it is adding modules (and the
firmware they refer to). This will increase the initramfs size
substantially and is not needed on most systems.
> 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.
Presumably there are some systems that need this. But most do not.
Maybe the installer should detect those and add the appropriate drivers
to /etc/initramfs-tools/modules?
Ben.
--
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
- Albert Einstein
[toc] | [prev] | [next] | [standalone]
| From | Michael Stapelberg <stapelberg@debian.org> |
|---|---|
| Date | 2015-11-15 13:10 +0100 |
| Message-ID | <qv4i6-1eW-11@gated-at.bofh.it> |
| In reply to | #51334 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Nov 15, 2015 at 12:47 PM, Ben Hutchings <ben@decadent.org.uk> wrote: > Control: tag -1 moreinfo > > On Sun, 2015-11-15 at 11:49 +0100, Michael Stapelberg wrote: > > Package: initramfs-tools > > Version: 0.120 > > Severity: normal > > Tags: patch > > > > Please apply the attached patch, see its commit message for details. > [...] > > This is not about adding firmware, it is adding modules (and the > firmware they refer to). This will increase the initramfs size > substantially and is not needed on most systems. > > > 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. > > Presumably there are some systems that need this. But most do not. > Maybe the installer should detect those and add the appropriate drivers > to /etc/initramfs-tools/modules? > Whatever makes my initrd contain the i915 firmware files makes me happy. Do you need any more information from me to get this done? Thanks! > > Ben. > > -- > Ben Hutchings > Everything should be made as simple as possible, but not simpler. > - Albert > Einstein -- Best regards, Michael
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2015-11-15 14:40 +0100 |
| Message-ID | <qv5Hc-20o-5@gated-at.bofh.it> |
| In reply to | #51336 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, 2015-11-15 at 13:00 +0100, Michael Stapelberg wrote:
>
>
> On Sun, Nov 15, 2015 at 12:47 PM, Ben Hutchings <ben@decadent.org.uk>
> wrote:
> > Control: tag -1 moreinfo
> >
> > On Sun, 2015-11-15 at 11:49 +0100, Michael Stapelberg wrote:
> > > Package: initramfs-tools
> > > Version: 0.120
> > > Severity: normal
> > > Tags: patch
> > >
> > > Please apply the attached patch, see its commit message for
> > details.
> > [...]
> >
> > This is not about adding firmware, it is adding modules (and the
> > firmware they refer to). This will increase the initramfs size
> > substantially and is not needed on most systems.
> >
> > > 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.
> >
> > Presumably there are some systems that need this. But most do not.
> > Maybe the installer should detect those and add the appropriate
> > drivers
> > to /etc/initramfs-tools/modules?
> Whatever makes my initrd contain the i915 firmware files makes me
> happy.
>
> Do you need any more information from me to get this done?
There is no reason to have the firmware files there without the driver
that loads them. So you need to explain why you think all GPU drivers,
or specifically the i915 driver, should be included.
Ben.
--
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
- Albert Einstein
[toc] | [prev] | [next] | [standalone]
| From | Michael Stapelberg <stapelberg@debian.org> |
|---|---|
| Date | 2015-11-15 14:50 +0100 |
| Message-ID | <qv5QS-23T-7@gated-at.bofh.it> |
| In reply to | #51341 |
[Multipart message — attachments visible in raw view] — view raw
So, if I understand correctly, the drm driver is initialized when the initramfs runs, and the i915 drm loads the skylake firmware blob. Without the firmware being in the initramfs, I got an error message during early boot: Nov 13 11:30:43 midna kernel: [ 10.747038] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1.bin failed with error -2 I also recall the screen resolution (on my 3840x2160 display) not being quite right, but that’s purely from memory and I’d need to reproduce it to describe the way in which behavior differs. On Sun, Nov 15, 2015 at 2:33 PM, Ben Hutchings <ben@decadent.org.uk> wrote: > On Sun, 2015-11-15 at 13:00 +0100, Michael Stapelberg wrote: > > > > > > On Sun, Nov 15, 2015 at 12:47 PM, Ben Hutchings <ben@decadent.org.uk> > > wrote: > > > Control: tag -1 moreinfo > > > > > > On Sun, 2015-11-15 at 11:49 +0100, Michael Stapelberg wrote: > > > > Package: initramfs-tools > > > > Version: 0.120 > > > > Severity: normal > > > > Tags: patch > > > > > > > > Please apply the attached patch, see its commit message for > > > details. > > > [...] > > > > > > This is not about adding firmware, it is adding modules (and the > > > firmware they refer to). This will increase the initramfs size > > > substantially and is not needed on most systems. > > > > > > > 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. > > > > > > Presumably there are some systems that need this. But most do not. > > > Maybe the installer should detect those and add the appropriate > > > drivers > > > to /etc/initramfs-tools/modules? > > Whatever makes my initrd contain the i915 firmware files makes me > > happy. > > > > Do you need any more information from me to get this done? > > There is no reason to have the firmware files there without the driver > that loads them. So you need to explain why you think all GPU drivers, > or specifically the i915 driver, should be included. > > Ben. > > -- > Ben Hutchings > Everything should be made as simple as possible, but not simpler. > - Albert > Einstein > -- Best regards, Michael
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2015-11-15 19:50 +0100 |
| Message-ID | <qvaxb-526-3@gated-at.bofh.it> |
| In reply to | #51342 |
[Multipart message — attachments visible in raw view] — view raw
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?
I see that you're using a custom kernel; do you have i915 built-in?
Unfortunately it's not currently possible to find out which firmware is
wanted by a built-in driver.
Ben.
--
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
- Albert Einstein
[toc] | [prev] | [next] | [standalone]
| From | Michael Stapelberg <stapelberg@debian.org> |
|---|---|
| Date | 2015-11-15 21:50 +0100 |
| Message-ID | <qvcpk-6fe-1@gated-at.bofh.it> |
| In reply to | #51347 |
[Multipart message — attachments visible in raw view] — view raw
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? > > I see that you're using a custom kernel; do you have i915 built-in? > Unfortunately it's not currently possible to find out which firmware is > wanted by a built-in driver. > The kernel is built with Debian’s config: $ grep I915 /boot/config-4.3.0 CONFIG_DRM_I915=m # CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set CONFIG_SND_HDA_I915=y > > Ben. > > -- > Ben Hutchings > Everything should be made as simple as possible, but not simpler. > - Albert > Einstein > -- Best regards, Michael
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2015-11-15 22:20 +0100 |
| Message-ID | <qvcSm-6Ft-3@gated-at.bofh.it> |
| In reply to | #51352 |
[Multipart message — attachments visible in raw view] — view raw
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).
Ben.
--
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
- Albert Einstein
[toc] | [prev] | [next] | [standalone]
| From | owner@bugs.debian.org (Debian Bug Tracking System) |
|---|---|
| Date | 2016-01-19 04:00 +0100 |
| Subject | Bug#805151: marked as done ([PATCH] Install GPU firmware) |
| Message-ID | <qSuGu-1nT-15@gated-at.bofh.it> |
| In reply to | #51328 |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web