Bug#703469: HP EliteBook 8570p UEFI install works, with some effort
I managed to get the USB storage working, so that I could grab the lspci output. 00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09) Subsystem: Hewlett-Packard Company Device [103c:17a7] 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) Kernel driver in use: pcieport 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] 00:16.3 Serial controller [0700]: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller [8086:1e3d] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: serial 00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: e1000e 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: ehci_hcd 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: snd_hda_intel 00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) Kernel driver in use: pcieport 00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4) Kernel driver in use: pcieport 00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4) Kernel driver in use: pcieport 00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4) Kernel driver in use: pcieport 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: ehci_hcd 00:1f.0 ISA bridge [0601]: Intel Corporation QM77 Express Chipset LPC Controller [8086:1e55] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] 00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: ahci 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Thames [Radeon 7500M/7600M Series] [1002:6841] Subsystem: Hewlett-Packard Company Device [103c:17a9] Kernel driver in use: radeon 01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Turks/Whistler HDMI Audio [Radeon HD 6000 Series] [1002:aa90] Subsystem: Hewlett-Packard Company Device [103c:17a9] Kernel driver in use: snd_hda_intel 24:00.0 FireWire (IEEE 1394) [0c00]: JMicron Technology Corp. IEEE 1394 Host Controller [197b:2380] (rev 30) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: firewire_ohci 24:00.1 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392] (rev 30) Subsystem: Hewlett-Packard Company Device [103c:17a7] Kernel driver in use: sdhci-pci 24:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391] (rev 30) Subsystem: Hewlett-Packard Company Device [103c:17a7] 25:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0082] (rev 34) Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1301] Kernel driver in use: iwlwifi
Bug#703469: HP EliteBook 8570p UEFI install works, with some effort
dmesg output truncated after the USB stuff. There are two USB 2.0, one USB 2.0/eSATA, and two USB 3.0 ports on the hardware. [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.2.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-15) ) #1 SMP Debian 3.2.39-2 [0.00] Command line: BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/laptop-root ro quiet [0.00] BIOS-provided physical RAM map: [0.00] BIOS-e820: - 000a (usable) [0.00] BIOS-e820: 0010 - bdcf3000 (usable) [0.00] BIOS-e820: bdcf3000 - beebc000 (reserved) [0.00] BIOS-e820: beebc000 - befbc000 (ACPI NVS) [0.00] BIOS-e820: befbc000 - befff000 (ACPI data) [0.00] BIOS-e820: befff000 - bf00 (usable) [0.00] BIOS-e820: e00f8000 - e00f9000 (reserved) [0.00] BIOS-e820: fed1c000 - fed2 (reserved) [0.00] BIOS-e820: ffee - ffeff000 (reserved) [0.00] BIOS-e820: 0001 - 00013e00 (usable) [0.00] NX (Execute Disable) protection: active [0.00] EFI v2.10 by HPQ [0.00] ACPI=0xbeffe000 ACPI 2.0=0xbeffe014 SMBIOS=0xbe56b698 [0.00] Kernel-defined memdesc doesn't match the one from EFI! [0.00] EFI: mem00: type=3, attr=0xf, range=[0x-0x1000) (0MB) [0.00] EFI: mem01: type=7, attr=0xf, range=[0x1000-0x00058000) (0MB) [0.00] EFI: mem02: type=4, attr=0xf, range=[0x00058000-0x00059000) (0MB) [0.00] EFI: mem03: type=7, attr=0xf, range=[0x00059000-0x0007d000) (0MB) [0.00] EFI: mem04: type=4, attr=0xf, range=[0x0007d000-0x0007e000) (0MB) [0.00] EFI: mem05: type=3, attr=0xf, range=[0x0007e000-0x000a) (0MB) [0.00] EFI: mem06: type=2, attr=0xf, range=[0x0010-0x003b) (2MB) [0.00] EFI: mem07: type=7, attr=0xf, range=[0x003b-0x00c0) (8MB) [0.00] EFI: mem08: type=3, attr=0xf, range=[0x00c0-0x0100) (4MB) [0.00] EFI: mem09: type=7, attr=0xf, range=[0x0100-0x36958000) (857MB) [0.00] EFI: mem10: type=2, attr=0xf, range=[0x36958000-0x374a4000) (11MB) [0.00] EFI: mem11: type=7, attr=0xf, range=[0x374a4000-0x88ddc000) (1305MB) [0.00] EFI: mem12: type=2, attr=0xf, range=[0x88ddc000-0xb6cf4000) (735MB) [0.00] EFI: mem13: type=4, attr=0xf, range=[0xb6cf4000-0xb6d14000) (0MB) [0.00] EFI: mem14: type=7, attr=0xf, range=[0xb6d14000-0xb80be000) (19MB) [0.00] EFI: mem15: type=1, attr=0xf, range=[0xb80be000-0xb80db000) (0MB) [0.00] EFI: mem16: type=3, attr=0xf, range=[0xb80db000-0xb8604000) (5MB) [0.00] EFI: mem17: type=4, attr=0xf, range=[0xb8604000-0xb9ce4000) (22MB) [0.00] EFI: mem18: type=3, attr=0xf, range=[0xb9ce4000-0xb9cf3000) (0MB) [0.00] EFI: mem19: type=7, attr=0xf, range=[0xb9cf3000-0xb9da) (0MB) [0.00] EFI: mem20: type=4, attr=0xf, range=[0xb9da-0xba6e4000) (9MB) [0.00] EFI: mem21: type=7, attr=0xf, range=[0xba6e4000-0xba6e5000) (0MB) [0.00] EFI: mem22: type=4, attr=0xf, range=[0xba6e5000-0xba736000) (0MB) [0.00] EFI: mem23: type=7, attr=0xf, range=[0xba736000-0xba737000) (0MB) [0.00] EFI: mem24: type=4, attr=0xf, range=[0xba737000-0xbbdce000) (22MB) [0.00] EFI: mem25: type=7, attr=0xf, range=[0xbbdce000-0xbbdd8000) (0MB) [0.00] EFI: mem26: type=2, attr=0xf, range=[0xbbdd8000-0xbbdde000) (0MB) [0.00] EFI: mem27: type=4, attr=0xf, range=[0xbbdde000-0xbbddf000) (0MB) [0.00] EFI: mem28: type=7, attr=0xf, range=[0xbbddf000-0xbbde1000) (0MB) [0.00] EFI: mem29: type=4, attr=0xf, range=[0xbbde1000-0xbbde4000) (0MB) [0.00] EFI: mem30: type=7, attr=0xf, range=[0xbbde4000-0xbbde7000) (0MB) [0.00] EFI: mem31: type=4, attr=0xf, range=[0xbbde7000-0xbbe04000) (0MB) [0.00] EFI: mem32: type=7, attr=0xf, range=[0xbbe04000-0xbbe06000) (0MB) [0.00] EFI: mem33: type=4, attr=0xf, range=[0xbbe06000-0xbbecb000) (0MB) [0.00] EFI: mem34: type=7, attr=0xf, range=[0xbbecb000-0xbbecc000) (0MB) [0.00] EFI: mem35: type=4, attr=0xf,
Bug#703469: HP EliteBook 8570p UEFI install works, with some effort
Package: installation-reports Boot method: ISO on USB drive Image version: http://cdimage.debian.org/cdimage/wheezy_di_rc1/amd64/iso-cd/debian-wheezy-DI-rc1-amd64-netinst.iso Date: 2013-03-19 Machine: HP EliteBook 8570p (C6Z56UT) Processor: Intel Core i5-3320M Memory: 4 GiB Partitions: # df -Tl | human rootfs rootfs / udev devtmpfs /dev tmpfstmpfs/run /dev/mapper/___-root ext4 / - dm_crypt tmpfstmpfs/run/lock tmpfstmpfs/run/shm /dev/sda_ext4 /boot /dev/sda_vfat /boot/efi - ESP Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card:[O] Configure network: [O] Detect CD: [O] Load installer modules: [O] Detect hard drives: [O] Partition hard drives: [O] Install base system:[O] Clock/timezone setup: [O] User/password setup:[O] Install tasks: [O] Install boot loader:[E] Overall install:[E] Comments/Problems: In order to document this failure mode, I made this installation attempt on a system that I cleaned after a successful installation. So it isn't quite the same as a brand-new machine. At the HP startup screen, hit ESC for the Startup Menu, F10 for BIOS Setup, in System Configuration tab, Boot Options, change Boot Mode from Legacy to UEFI Hybrid (With CSM). (I made other, irrelevant, settings changes, too.) Reboot to the Startup Menu, F9 for Boot Device Options, choose USB Hard Drive 1, Advanced options, Expert install. The Installer seemed to think that GRUB succeeded: grub-installer: info: grub-install ran successfully. But rebooting fails to find boot code, gives HP screen: BootDevice Not Found Please install an operating system on your hard disk. etc. Rebooting the USB stick to rescue mode, I umount the /boot and /boot/efi partitions--because mount thinks they're mounted--before I truly mount them. Then I install grub-efi-amd64, and: # grub-install /dev/sda Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root. Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root. Installation finished. No error reported. # modprobe efivars ERROR: could not insert 'efivars': Unknown symbol in module, or unknown parameter (see dmesg) # dmesg | tail -1 [...] efivars: Unknown symbol efi_enabled_facility (err 0) I assume that's because I haven't booted the USB stick in UEFI mode. So mkdir /boot/efi/EFI/boot and cp -p /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/boot/bootx64.efi (Thanks to http://tanguy.ortolo.eu/blog/article51/debian-efi.) and reboot. That boots to the GRUB menu, followed by: Booting 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 error: file not found. error: file not found. Loading Linux 3.2.0-4-amd64 ... Loading initial ramdisk ... Press any key to continue... error: no suitable mode found. Booting however and no further output. Rebooting to USB stick rescue mode again, dpkg-reconfigure grub-efi-amd64 which now decides to add insmod efi_gop and insmod efi_uga to /boot/grub/grub.cfg. Why didn't it do it when I installed the package? Then reboot. login: Side note: Why isn't Debian or GRUB in http://www.uefi.org/specs/esp_registry? -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130320002524.ga9...@64-142-29-25.dsl.static.sonic.net
Bug#703469: HP EliteBook 8570p UEFI install works, with some effort
On Wed, 2013-03-20 at 00:25 +, Mike wrote: [...] In order to document this failure mode, I made this installation attempt on a system that I cleaned after a successful installation. So it isn't quite the same as a brand-new machine. At the HP startup screen, hit ESC for the Startup Menu, F10 for BIOS Setup, in System Configuration tab, Boot Options, change Boot Mode from Legacy to UEFI Hybrid (With CSM). (I made other, irrelevant, settings changes, too.) Reboot to the Startup Menu, F9 for Boot Device Options, choose USB Hard Drive 1, At a guess, this option might result in booting the installer in legacy mode. The installer cannot set EFI boot variables unless it is booted in EFI mode. On the system I've installed using EFI, the BIOS shows two boot options for removable media, for the two possible boot modes. Advanced options, Expert install. The Installer seemed to think that GRUB succeeded: grub-installer: info: grub-install ran successfully. But rebooting fails to find boot code, gives HP screen: BootDevice Not Found Please install an operating system on your hard disk. etc. Rebooting the USB stick to rescue mode, I umount the /boot and /boot/efi partitions--because mount thinks they're mounted--before I truly mount them. Then I install grub-efi-amd64, and: # grub-install /dev/sda Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root. Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root. Installation finished. No error reported. # modprobe efivars ERROR: could not insert 'efivars': Unknown symbol in module, or unknown parameter (see dmesg) # dmesg | tail -1 [...] efivars: Unknown symbol efi_enabled_facility (err 0) [...] The rescue system should load efivars from the installation kernel, since the installed system which might not have a compatible kernel version (as happened here). This is bug #703363 and should be fixed in rc2. Still, efivars will fail to initialise if you didn't boot in EFI mode. Ben. -- Ben Hutchings The generation of random numbers is too important to be left to chance. - Robert Coveyou signature.asc Description: This is a digitally signed message part
Bug#703469: HP EliteBook 8570p UEFI install works, with some effort
Ben Hutchings wrote: At a guess, this option might result in booting the installer in legacy mode. See the next bug #703470 for why I boot legacy. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130320022933.ga9...@64-142-29-25.dsl.static.sonic.net