← Back to team overview

kernel-packages team mailing list archive

[Bug 1527702] Re: Kernel hangs (early) using pure EFI boot. (regression)


** Changed in: linux (Ubuntu)
       Status: Confirmed => New

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Kernel hangs (early) using pure EFI boot. (regression)

Status in linux package in Ubuntu:

Bug description:
  Good day.
  I'm testing pure EFI boot capability on my iMac 7.1 (Late 2007, graphic card ATI radeon HD2600 pro).
  So far, with Ubuntu 14.10, i've been able to boot directly into a perfectly working system using the EFI kernel stub.
  No GRUB, no ELILO, no rEFIND, no boot manager whatsoever!
  To achieve this, do the following:
  1) Create a small (50MB) HFS+ partition. E.g. #> sudo mkfs.hfsplus /dev/sdaX -v "Ubuntu (EFI-Stub)"
  2) Copy the files vmlinuz-3.XX.YY-ZZ-generic.efi.signed and initrd.img-3.XX.YY-ZZ-generig to the new partition. Also rename the files to "vmlinuz.efi" and "initrd.img" for sake of simplicity in further command line work. Furthermore, Apple's EFI won't boot anything that doesn't end with the ".efi" extension.
  3) Create a boot entry in the NVRAM using efibootmgr like this: #> sudo efibootmgr -d /dev/sdX -p Y -c -L "Ubuntu 14.04 LTS" -l /vmlinuz.efi -u "root=UUID=b0c4efb9-95b0-4e5d-98e1-8beb43f413c2 ro rootflags=subvol=@ quiet splash initrd=\initrd.img" where X is the drive identfier (eg: a, i.e. /dev/sda) and Y is the partition number (eg: 8, i.e.: -p 8).
  4) bless the vmlinuz.efi file using: sudo hfs-bless <path-to-efi-image>/vmlinuz.efi
  5) reboot.
  As I've said, Ubuntu 14.10, with kernel up to 3.16 is working fine. The regression has begun with the upgrade to Ubuntu 15.
  Ubuntu 15.04 with kernel 3.16 is booting but X somehow fails to detect the graphic card. Now, Ubuntu 15.10 simply hangs.
  Upon power-on, I can hear the chime sound, but the screen stays light grey forever.
  Impossible to have any kind of crash info.
  As a suggestion, I would recommend, in case of problems during an efi boot, to switch the graphic mode of the console to text, so to see any output/crash info from the kernel 


  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-21-generic 4.2.0-21.25
  ProcVersionSignature: Ubuntu 4.2.0-21.25-generic 4.2.6
  Uname: Linux 4.2.0-21-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
   /dev/snd/controlC0:  rampr      1657 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Fri Dec 18 17:47:36 2015
  HibernationDevice: RESUME=UUID=4d830519-a986-4f0e-93b5-a644febc51a2
  InstallationDate: Installed on 2015-08-24 (115 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150603)
  MachineType: Apple Inc. iMac7,1
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-21-generic.efi.signed root=UUID=a1fdd4e1-b5c6-4cc2-a93b-8f5f92647362 ro rootflags=subvol=@ quiet splash vt.handoff=7
   linux-restricted-modules-4.2.0-21-generic N/A
   linux-backports-modules-4.2.0-21-generic  N/A
   linux-firmware                            1.149.3
  SourcePackage: linux
  UdevLog: Error: [Errno 2] File o directory non esistente: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/05/08
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: IM71.88Z.007A.B03.0803051705
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Mac-F4238CC8
  dmi.board.vendor: Apple Inc.
  dmi.board.version: PVT
  dmi.chassis.asset.tag: Asset Tag#
  dmi.chassis.type: 13
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-F4238CC8
  dmi.modalias: dmi:bvnAppleInc.:bvrIM71.88Z.007A.B03.0803051705:bd03/05/08:svnAppleInc.:pniMac7,1:pvr1.0:rvnAppleInc.:rnMac-F4238CC8:rvrPVT:cvnAppleInc.:ct13:cvrMac-F4238CC8:
  dmi.product.name: iMac7,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to: