LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 02-18-2007, 03:51 PM   #1
rune.evjen
LQ Newbie
 
Registered: Feb 2007
Location: Norway
Distribution: Ubuntu 7.04
Posts: 4

Rep: Reputation: 0
Broken suspend and hibernate on Lenovo 3000 N100 running Ubuntu


Hi !

I have tested suspend and hibernate on my Lenovo 3000 N100 on ubuntu and have experienced some problems.

If anyone has any tips or tricks please help!

Testing conditions:

- Ubuntu 6.10 with regular kernel 2.6.17-10-generic and suspend2 patched kernel
->Both testet with nvidia (ver 1.0 -9746) and nv driver
->wireless using wpa_supplicant

- Ubuntu 7.04 herd 4 with 2.6.20-6-generic
->tested with nv driver
-> wireless using wpa_supplicant and networkmanager
Hardware:
Lenovo 3000 N100 (type 0768 BJG) - Dual Core 2 1,83Ghz, NVIDIA Geforce Go 7300, ICH7 Chipset for sound and SATA controller, intel 3495 wireless.

During suspend i get different results.
With setup Ubuntu 6.10, nvidia driver + compiz (my normal setup)
From GNOME: Suspend with wireless activated
- The screen fades to black but the laptop does not go into suspend mode.
- It is not possible to wake up, switch to text mode (CTRL-F1) or reset X (CTRL-ALT-BKSP)
- I have to do a hardware reset to reboot the computer.

X.org log reports the following after I initiated suspend:
SetGrabKeysState - disabled
Synaptics DeviceOff called
Synaptics DeviceOn called
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event1
(**) Option "Device" "/dev/input/event1"
(--) Synaptics Touchpad touchpad found

From GNOME: Suspend with wireless deactivated:
Same as above

From GDM with wireless
Same as above

From GDM w/o wireless
Computer goes into suspend, but after waking it up I get a black screen and no disk activity

Other setups:
Similar problems with suspend2 kernel, and Feisty
(except with suspend2 I get a log entry saying that suspend2 was not able to unload module "nvidia", forcing it puts the computer in the same state as without suspend2)

Please help!

Btw: Has anoyone got the fingerprint reader (Authentec) or Webcam working ?

Regards,

Rune
 
Old 02-19-2007, 01:30 PM   #2
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Quote:
Originally Posted by rune.evjen
Other setups:
Similar problems with suspend2 kernel, and Feisty
(except with suspend2 I get a log entry saying that suspend2 was not able to unload module "nvidia", forcing it puts the computer in the same state as without suspend2)
The nvidia driver should be installed and running, but it should not be unloaded. By default the hibernate script unloads it, as it is blacklisted. Check /etc/hibernate/blacklist and remove the entry for the nvidia driver. If you did not use the hibernate script, I highly recommend that you do it.

If I were you I'd try a combination of linux-2.6.19 or 2.6.20 with suspend2 and the hibernate script.

Sometimes booting with the kernel parameters "noapic nolapic" helps a lot.

It would help a lot to post here the hardware components of your laptop or a link to site that has them.

When using the hibernate script, there is a log file in /var/log/hibernate.log. Check it out.
 
Old 02-21-2007, 03:36 PM   #3
rune.evjen
LQ Newbie
 
Registered: Feb 2007
Location: Norway
Distribution: Ubuntu 7.04
Posts: 4

Original Poster
Rep: Reputation: 0
Re: Broken suspend and hibernate on Lenovo 3000 N100 running Ubuntu

Quote:
Originally Posted by gkiagia
The nvidia driver should be installed and running, but it should not be unloaded. By default the hibernate script unloads it, as it is blacklisted. Check /etc/hibernate/blacklist and remove the entry for the nvidia driver. If you did not use the hibernate script, I highly recommend that you do it.

If I were you I'd try a combination of linux-2.6.19 or 2.6.20 with suspend2 and the hibernate script.

Sometimes booting with the kernel parameters "noapic nolapic" helps a lot.

It would help a lot to post here the hardware components of your laptop or a link to site that has them.

When using the hibernate script, there is a log file in /var/log/hibernate.log. Check it out.
Thanks for the reply !

I removed the blacklist entry, no luck. Tried with hibernate-disk script and hibernate-ram script, both fails.

Under stock ubuntu feisty 2.6.20 kernels Hibernate is now working, but not suspend. Seems like there is a change in Feisty regarding wake up from hibernation, there is a kinit thing on console 1 at startup looking for an hibernation image that was not there in Edgy.

Output of lshw:
Code:
feisty-laptop
    description: Notebook
    product: 0768BJG
    vendor: LENOVO
    version: 3000 N100
    serial: L3DT748
    width: 32 bits
    capabilities: smbios-2.4 dmi-2.4
    configuration: administrator_password=disabled boot=oem-specific chassis=notebook frontpanel_password=unknown keyboard_password=unknown power-on_password=disabled uuid=0452B3B7-7642-11DB-B8C5-000FB0CED126
  *-core
       description: Motherboard
       product: CAPELL VALLEY(NAPA) CRB
       vendor: LENOVO
       physical id: 0
       version: Not Applicable
       serial: 41W1221Z1ZBUB6BY1B6
       slot: PCI Express Slot J7C1
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: 61ET34WW (12/07/06)
          size: 101KB
          capacity: 960KB
          capabilities: isa pci pcmcia pnp apm upgrade shadowing escd cdboot acpi usb agp biosbootspecification
     *-cpu
          description: CPU
          product: Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: 6.15.6
          serial: 0000-06F6-0000-0000-0000-0000
          slot: U2E1
          size: 1833MHz
          capacity: 2048MHz
          width: 64 bits
          clock: 166MHz
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm cpufreq
          configuration: id=0
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1 Cache
             size: 32KB
             capacity: 32KB
             capabilities: asynchronous internal write-back
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2 Cache
             size: 2MB
             capacity: 2MB
             capabilities: burst external write-back
        *-logicalcpu:0
             description: Logical CPU
             physical id: 0.1
             width: 64 bits
             capabilities: logical
        *-logicalcpu:1
             description: Logical CPU
             physical id: 0.2
             width: 64 bits
             capabilities: logical
     *-memory
          description: System Memory
          physical id: 13
          slot: System board or motherboard
          size: 2GB
          capacity: 3GB
        *-bank:0
             description: SODIMM Synchronous
             physical id: 0
             slot: M1
             size: 1GB
             width: 32 bits
        *-bank:1
             description: SODIMM Synchronous
             physical id: 1
             slot: M2
             size: 1GB
             width: 32 bits
     *-pci
          description: Host bridge
          product: Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@00:01.0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport-driver
           *-display
                description: VGA compatible controller
                product: Quadro NVS 110M / GeForce Go 7300
                vendor: nVidia Corporation
                physical id: 0
                bus info: pci@01:00.0
                version: a1
                size: 256MB
                width: 64 bits
                clock: 33MHz
                capabilities: vga bus_master cap_list
                configuration: driver=nvidia latency=0
                resources: iomemory:d1000000-d1ffffff iomemory:c0000000-cfffffff iomemory:d0000000-d0ffffff irq:16
        *-multimedia
             description: Audio device
             product: 82801G (ICH7 Family) High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@00:1b.0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=HDA Intel latency=0
             resources: iomemory:d2400000-d2403fff irq:22
        *-pci:1
             description: PCI bridge
             product: 82801G (ICH7 Family) PCI Express Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@00:1c.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport-driver
        *-pci:2
             description: PCI bridge
             product: 82801G (ICH7 Family) PCI Express Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@00:1c.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport-driver
           *-network
                description: Wireless interface
                product: PRO/Wireless 3945ABG Network Connection
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@03:00.0
                logical name: eth1
                version: 02
                serial: 00:18:de:ca:ff:4d
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ipw3945 driverversion=1.2.0mp firmware=14.2 1:0 () ip=192.168.1.120 latency=0 link=yes multicast=yes wireless=IEEE 802.11g
                resources: iomemory:d2000000-d2000fff irq:17
        *-usb:0
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@00:1d.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: ioport:1800-181f irq:18
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.20-8-generic uhci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
              *-usb
                   description: Bluetooth wireless interface
                   product: Foxconn Bluetooth 2.0 plus EDR
                   vendor: Broadcom Corp
                   physical id: 2
                   bus info: usb@1:2
                   version: 1.00
                   capabilities: bluetooth usb-2.00
                   configuration: driver=hci_usb maxpower=0mA speed=12.0MB/s
        *-usb:1
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI #2
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: pci@00:1d.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: ioport:1820-183f irq:19
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.20-8-generic uhci_hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:2
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI #3
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: pci@00:1d.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: ioport:1840-185f irq:20
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.20-8-generic uhci_hcd
                physical id: 1
                bus info: usb@3
                logical name: usb3
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
              *-usb UNCLAIMED
                   description: Generic USB device
                   product: Fingerprint Sensor
                   physical id: 2
                   bus info: usb@3:2
                   version: 6.21
                   capabilities: usb-1.10
                   configuration: maxpower=100mA speed=12.0MB/s
        *-usb:3
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI #4
             vendor: Intel Corporation
             physical id: 1d.3
             bus info: pci@00:1d.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: ioport:1860-187f irq:16
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.20-8-generic uhci_hcd
                physical id: 1
                bus info: usb@4
                logical name: usb4
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:4
             description: USB Controller
             product: 82801G (ICH7 Family) USB2 EHCI Controller
             vendor: Intel Corporation
             physical id: 1d.7
             bus info: pci@00:1d.7
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci_hcd latency=0
             resources: iomemory:d2404000-d24043ff irq:18
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 2.6.20-8-generic ehci_hcd
                physical id: 1
                bus info: usb@5
                logical name: usb5
                version: 2.06
                capabilities: usb-2.00
                configuration: driver=hub maxpower=0mA slots=8 speed=480.0MB/s
              *-usb UNCLAIMED
                   description: Generic USB device
                   product: USB20 Camera
                   physical id: 4
                   bus info: usb@5:4
                   version: 1.00
                   capabilities: usb-2.00
                   configuration: maxpower=500mA speed=480.0MB/s
        *-pci:3
             description: PCI bridge
             product: 82801 Mobile PCI Bridge
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@00:1e.0
             version: e2
             width: 32 bits
             clock: 33MHz
             capabilities: pci subtractive_decode bus_master cap_list
           *-network
                description: Ethernet interface
                product: RTL-8139/8139C/8139C+
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 1
                bus info: pci@05:01.0
                logical name: eth0
                version: 10
                serial: 00:0f:b0:ce:d1:26
                size: 10MB/s
                capacity: 100MB/s
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s
                resources: ioport:2000-20ff iomemory:d2100000-d21000ff irq:21
           *-pcmcia
                description: CardBus bridge
                product: CB1410 Cardbus Controller
                vendor: ENE Technology Inc
                physical id: 4
                bus info: pci@05:04.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pcmcia bus_master cap_list
                configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
                resources: iomemory:d2102000-d2102fff irq:16
           *-firewire
                description: FireWire (IEEE 1394)
                product: Ricoh Co Ltd
                vendor: Ricoh Co Ltd
                physical id: 6
                bus info: pci@05:06.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ohci bus_master cap_list
                configuration: driver=ohci1394 latency=64 maxlatency=4 mingnt=2
                resources: iomemory:d2100800-d2100fff irq:22
           *-system:0
                description: Generic system peripheral
                product: R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
                vendor: Ricoh Co Ltd
                physical id: 6.1
                bus info: pci@05:06.1
                version: 19
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=sdhci latency=64
                resources: iomemory:d2100400-d21004ff irq:18
           *-system:1 UNCLAIMED
                description: System peripheral
                product: Ricoh Co Ltd
                vendor: Ricoh Co Ltd
                physical id: 6.2
                bus info: pci@05:06.2
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: iomemory:d2101000-d21010ff irq:5
           *-system:2 UNCLAIMED
                description: System peripheral
                product: R5C592 Memory Stick Bus Host Adapter
                vendor: Ricoh Co Ltd
                physical id: 6.3
                bus info: pci@05:06.3
                version: 0a
                width: 32 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: iomemory:d2101400-d21014ff irq:5
           *-system:3 UNCLAIMED
                description: System peripheral
                product: xD-Picture Card Controller
                vendor: Ricoh Co Ltd
                physical id: 6.4
                bus info: pci@05:06.4
                version: 05
                width: 32 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: iomemory:d2101800-d21018ff irq:5
        *-isa
             description: ISA bridge
             product: 82801GBM (ICH7-M) LPC Interface Bridge
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@00:1f.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@00:1f.2
             logical name: scsi0
             logical name: scsi1
             version: 02
             width: 32 bits
             clock: 66MHz
             capabilities: ide bus_master cap_list emulated scsi-host
             configuration: driver=ata_piix latency=0
             resources: ioport:1f0-1f7 ioport:3f4-3f3 ioport:170-177 ioport:374-373 ioport:18b0-18bf irq:19
           *-disk
                description: SCSI Disk
                product: FUJITSU MHV2100B
                vendor: ATA
                physical id: 0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: 0084
                serial: NW9TT6B259CA
                size: 93GB
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5
              *-volume:0
                   description: HPFS/NTFS partition
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   capacity: 30GB
                   capabilities: primary bootable
              *-volume:1
                   description: Linux filesystem partition
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   logical name: /dev/sda2
                   capacity: 40GB
                   capabilities: primary
              *-volume:2
                   description: Linux filesystem partition
                   physical id: 3
                   bus info: scsi@0:0.0.0,3
                   logical name: /dev/sda3
                   capacity: 21GB
                   capabilities: primary
              *-volume:3
                   description: Extended partition
                   physical id: 4
                   bus info: scsi@0:0.0.0,4
                   logical name: /dev/sda4
                   size: 1357MB
                   capacity: 1357MB
                   capabilities: primary extended partitioned partitioned:extended
                 *-logicalvolume
                      description: Linux swap / Solaris partition
                      physical id: 5
                      logical name: /dev/sda5
                      capacity: 1357MB
                      capabilities: nofs
           *-cdrom
                description: DVD-RAM writer
                product: DVD-RAM UJ-850
                vendor: MATSHITA
                physical id: 1
                bus info: scsi@1:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/dvd
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: RB31
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5
              *-disc
                   physical id: 0
                   logical name: /dev/cdrom
        *-serial UNCLAIMED
             description: SMBus
             product: 82801G (ICH7 Family) SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@00:1f.3
             version: 02
             width: 32 bits
             clock: 33MHz
             configuration: latency=0
             resources: ioport:18c0-18df irq:10
The hibernate.log logs this:
Code:
Starting suspend at Tue Feb 20 18:54:20 CET 2007
hibernate-disk: [01] Executing CheckLastResume ... 
hibernate-disk: [01] Executing CheckRunlevel ... 
hibernate-disk: [01] Executing LockFileGet ... 
hibernate-disk: [01] Executing NewKernelFileCheck ... 
hibernate-disk: [10] Executing EnsureSysfsPowerStateCapable ... 
hibernate-disk: [11] Executing XHacksSuspendHook1 ... 
hibernate-disk: [59] Executing RemountXFSBootRO ... 
hibernate-disk: [89] Executing SaveKernelModprobe ... 
hibernate-disk: [91] Executing ModulesUnloadBlacklist ... 
hibernate-disk: [91] Executing ModulesUnloadBlacklist ... 
hibernate-disk: [95] Executing XHacksSuspendHook2 ... 
hibernate-disk: [98] Executing CheckRunlevel ... 
hibernate-disk: [99] Executing DoSysfsPowerStateSuspend ... 
hibernate-disk: Activating sysfs power state disk ...
hibernate-disk: [90] Executing ModulesLoad ... 
hibernate-disk: [89] Executing RestoreKernelModprobe ... 
hibernate-disk: [85] Executing XHacksResumeHook2 ... 
hibernate-disk: [70] Executing ClockRestore ... 
hibernate-disk: [70] Executing ClockRestore ... 
hibernate-disk: [59] Executing RemountXFSBootRW ... 
hibernate-disk: [11] Executing XHacksResumeHook1 ... 
hibernate-disk: [01] Executing NoteLastResume ... 
hibernate-disk: [01] Executing LockFilePut ... 
Resumed at Tue Feb 20 18:54:24 CET 2007
After adding the kernel parameters, this occurs (although this may be related to another problem probably):

Code:
rune@feisty-laptop:~$ sudo hibernate-disk
hibernate-disk: Less than 3 seconds since last resumed. Not suspending.
hibernate-disk: Aborting suspend due to errors in CheckLastResume (use --force to override).
rune@feisty-laptop:~$ sudo hibernate-disk --force
hibernate-disk: Less than 3 seconds since last resumed. Not suspending.
/bin/echo: write error: Invalid argument

Thank you for helping !

Rune
 
Old 02-21-2007, 07:04 PM   #4
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
You seem to have hardware very close to mine. I have an acer aspire 9113 which is a bit older but it has lots of similarities with your laptop. My laptop can suspend correctly, so if yours can't either you are doing something wrong or your bios has buggy acpi dsdt.

Try out my kernel: http://www.freewebs.com/gkiagia/kernel.html
Don't use the ready made packages. Get the sources and the patches (without the acerhk patch, it is not needed), take also my configuration file and before you compile the kernel, do make menuconfig and select the driver for your ethernet card (I haven't included your card in my config). Then compile and use my hibernate script configuration from here: http://www.freewebs.com/gkiagia/hibernate.html

If it cannot suspend again, then you probably have a buggy dsdt. Beyond-patches also include the custom dsdt patch so check out http://acpi.sf.net and see if you can do anything to get it working.
 
Old 02-23-2007, 09:28 AM   #5
rune.evjen
LQ Newbie
 
Registered: Feb 2007
Location: Norway
Distribution: Ubuntu 7.04
Posts: 4

Original Poster
Rep: Reputation: 0
Hi!

I tried to compile a new kernel based on your guide, adding the 8139 driver for networking. The kernel compiled ok, and hibernate works, but hibernate-ram does not work.

Hibernate did not work with the other suspend2 patched kernel, but do work with the stock ubuntu 2.6.20.8 kernel.

I looked into the DSDT table issue. As I can recall, I got dmesg error messages in stock ubuntu 2.6.17 kernels but not 2.6-20 kernels.

When running:
Code:
# cat /proc/acpi/dsdt > dsdt.aml
iasl -d dsdt.aml
to get the DSDT table, and then recompiling it with:

Code:
 iasl -tc dsdt.dsl
This gave me no compiling errors, the result was
Code:
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Dec  6 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

ASL Input:  dsdt.dsl - 5084 lines, 169435 bytes, 1912 keywords
AML Output: dsdt.aml - 17226 bytes 499 named objects 1413 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 34 Optimizations
As far as I understand this does not indicate a faulty DSDT table.

I have entered the suspend (S3) problem as a bug in lauchpad. (https://launchpad.net/ubuntu/+source....20/+bug/86852)

Thank you for a very good guide on compiling kernels !

Regards,

Rune
 
Old 02-23-2007, 03:56 PM   #6
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Quote:
Originally Posted by rune.evjen
Thank you for a very good guide on compiling kernels !
You're welcome. I didn't mean to write a good guide but I guess it is a very simple one, so users new to kernel compiling will find it good. A good guide would be... http://www.kroah.com/lkn/

I hope that bug gets fixed. Good luck
 
Old 02-23-2007, 06:31 PM   #7
sirius56
Member
 
Registered: Nov 2006
Location: Illinois
Distribution: Ubuntu 10.4
Posts: 35

Rep: Reputation: 15
At the risk of spreading misinformation, I would like to report what worked for me.

I had been bugged by the failure to recover from Suspend since the release of FC6. I found
that disabling cpuspeed on 2.6.19-1.2911.fc6.i86 fixed this problem for me on two FC6 systems.

Disabling cpuspeed was suggested on another forum.

I don't see the relationship between Suspend and the cpuspeed service, but it worked for me.
 
  


Reply

Tags
hibernate, lenovo, suspend, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing sound drivers for IBM Lenovo N100 series Laptop running Fedora Core 5 balajiz4u Linux - Hardware 1 12-17-2006 02:45 PM
Lenovo 3000 C100 liaty Suse/Novell 2 09-29-2006 03:12 AM
Lenovo 3000 N100 - config PC cam or fingerprinting jokerv Linux - Laptop and Netbook 3 06-24-2006 05:29 PM
Lenovo 3000 N100 debian unstable aschmi Linux - Laptop and Netbook 0 06-08-2006 02:24 AM
Lenovo 3000 N100 setup issues mngmd Linux - Laptop and Netbook 3 05-23-2006 09:15 AM


All times are GMT -5. The time now is 05:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration