← Back to team overview

kernel-packages team mailing list archive

[Bug 1093217] Re: 8086:0166 [Lenovo IdeaPad Z580] 12.04-13.10 10-20min boot delay (From 3.2.0.29->3.12-rc2)

 

The only way I have been able to get the patched DSDT to work is to
build it into the kernel.  This is less than ideal but will allow you to
use your computer.  If you have been unable to get a patched DSDT to
work, this should work for you.  I am currently running 14.04 with a
custom kernel build.  The following should work with other kernel
versions as well.  I am only posting the steps exactly as I performed
them, so if version number etc don't match for you, you are on your own.

1) Install Ubuntu 14.04.  If you have to, just pull out your battery and
complete the installation.  Just leave it out until we are finished.

2) Compile your custom DSDT - this should produce a DSDT.hex file that you will need for incorporation into the kernel.  
sudo iasl -tc DSDT.dsl

3) Get the source:
sudo apt-get source linux-image-3.13.0-24-generic

4) Untar the source:
gzip -cd linux_3.13.0.orig.tar.gz | tar xvf -

5) Move into the directory that contains the kernel source code and apply the patch:
cd linux-3.13/
gzip -cd ~/linux_3.13.0-24.47.diff.gz | patch -p1

6) Get the required tools to build the kernel
sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev linux-source qt3-dev-tools libqt3-mt-dev libncurses5 libncurses5-dev fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package gcc

7) Configure the kernel for compilation:
make menuconfig

When the menu comes up navigate to Power Management and ACPI options -> ACPI
In the field "Custom DSDT Table file to include" enter the path to your DSDT.hex file which for me was /home/DSDT.hex

Now navigate to General Setup (you will have to go back to the main menu)
In the field "Local Version" enter "-custom-dsdt"

Now navigate to Device Drivers -> Generic Driver Options 
Deselect the field "Prevent Firmware from being built"

Select save at the bottom, accept the default file name and exit

8) Build the kernel:
sudo make -j3 deb-pkg

At this point, just walk away from you computer.  Come back every so
often to check on the progress but the build will probably take a couple
of hours(depending on your system).  Try to resolve it and retry
building the kernel

9) Install the kernel:
sudo dpkg -i linux-image-3.13.9-custom-dsdt_3.13.9-custom-dsdt-4_amd64.deb

This will install the new kernel.  If it completes successfully, reboot
your system.  The default grub option should now be your new kernel.
You can verify the custom DSDT is loaded in dmesg and you should see
your custom version number with the "uname -r" command.  If all goes
well power off your computer, reinstall your battery, and boot your
computer up.

Let me know if I missed anything and good luck.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1093217

Title:
  8086:0166 [Lenovo IdeaPad Z580] 12.04-13.10 10-20min boot delay (From
  3.2.0.29->3.12-rc2)

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  On updating the kernel from 3.2.0.29 to any later version (3.2.0.30)
  and above, Ubuntu will not boot. I see a blank screen with a cursor
  but nothing happens after that.

  Trying to boot into recovery mode is not useful either.

  Booting into an older version of the kernel (3.2.0.29) is successful.

  I have seen this issue with all kernels after 3.2.0.29 till date :
  3.2.0.31, 3.2.0.32, 3.2.0.33, 3.2.0.34, 3.2.0.35

  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu15.1
  Architecture: i386, AMD64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  abhishek   2104 F.... pulseaudio
   /dev/snd/pcmC0D0p:   abhishek   2104 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf0610000 irq 46'
     Mixer name	: 'Intel PantherPoint HDMI'
     Components	: 'HDA:10ec0269,17aa4022,00100202 HDA:80862806,80860101,00100000'
     Controls      : 26
     Simple ctrls  : 12
  DistroRelease: Ubuntu 12.04
  HibernationDevice: RESUME=UUID=4b3dd96d-8b88-4dbf-97d4-e2d78e5ad0fc
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  MachineType: LENOVO IdeaPad Z580
  MarkForUpload: True
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic-pae root=UUID=a24e74a5-a245-4b37-b63c-96869939bf5c ro quiet splash
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-29-generic-pae N/A
   linux-backports-modules-3.2.0-29-generic-pae  N/A
   linux-firmware                                1.79.1
  StagingDrivers: rts5139 mei
  Tags:  precise running-unity staging
  Uname: Linux 3.2.0-29-generic-pae i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo
  dmi.bios.date: 06/11/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 5FCN34WW
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Lenovo
  dmi.board.vendor: LENOVO
  dmi.board.version: Lenovo Z580
  dmi.chassis.asset.tag: Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: Intel Corporation
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnLENOVO:bvr5FCN34WW:bd06/11/2012:svnLENOVO:pnIdeaPadZ580:pvrLenovoZ580:rvnLENOVO:rnLenovo:rvrLenovoZ580:cvnIntelCorporation:ct9:cvr0.1:
  dmi.product.name: IdeaPad Z580
  dmi.product.version: Lenovo Z580
  dmi.sys.vendor: LENOVO

  These logs were collected from 3.2.0.29 version which boots
  successfully

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1093217/+subscriptions