Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
suspend/resume on Lenovo T400
I've been testing NetBSD 6.0 on a Lenovo T400 laptop. Everything seems to work
fine and, in particular, the wireless networking is rock solid.
However I had already noticed in the lists that suspend/resume might be a
problem so I decided to investigate. In order to get the laptop to suspend I
just had to comment out the "pciide* at pci? dev ? function ?..." in
the GENERIC kernel as the bluetooth power problem was fixed by pullup #159.
Since the laptop uses the native ahcisata driver, the pciide is not needed
anyway.
With the modified kernel the laptop would suspend with the hotkeys or
setting hw.acpi.sleep.state=3
Pressing power on or the sleep hotkey does cause something to happen as the
bluetooth light and the disk activity light come on and the disk sounds like
it spins up, But that is the limit of the response and a power cycle is needed
to get it to boot up.
Wisdom on the web suggests that one or more devices may not be powering up
properly and are causing a hang. I have tried booting a minimal kernel config,
basically all of acpi, ahcisata disk support, keyboard and virtually nothing
else but it still is unresponsive. Any suggestions as to how to proceed to
debug this. The enclosed dmesg is from the minimal kernel - any other things I
could try and get rid of?
Cheers,
Dave
--
=====================================================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
=====================================================================
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 6.0_BETA (MIN) #3: Mon Apr 9 21:18:21 BST 2012
root%T400.anduin.org.uk@localhost:/usr/obj/sys/arch/i386/compile/MIN
total memory = 3016 MB
avail memory = 2961 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
LENOVO 7434AZ9 (ThinkPad T400)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, id
0x1067a
cpu1 at mainbus0 apid 1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, id
0x1067a
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <LENOVO,TP-7U ,00002160>, AslId < LTP,00000000>
acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
MEM (PNP0C01) at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
SIO (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
sysbeep0 at pcppi1
npx0 at acpi0 (FPU, PNP0C04): io 0xf0 irq 13
npx0: reported by CPUID; using exception 16
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, IBM0057) (aux port): irq 12
TPM (INTC0102) at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
acpibat0: LGC LION rechargeable battery
acpibat0: granularity: low->warn 0.001 Wh, warn->full 0.001 Wh
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
thinkpad0 at acpi0 (HKEY, IBM0068)
acpivga0 at acpi0 (VID): ACPI Display Adapter
acpiout0 at acpivga0 (LCD0, 0x0400): ACPI Display Output Device
acpiout0: brightness levels: 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 100
acpiout1 at acpivga0 (CRT0, 0x0100): ACPI Display Output Device
acpiout2 at acpivga0 (DVI0, 0x0300): ACPI Display Output Device
acpiout3 at acpivga0 (DVI1, 0x0301): ACPI Display Output Device
acpiout4 at acpivga0 (DVI2, 0x0302): ACPI Display Output Device
acpivga0: unknown output device acpiout1
acpivga0: unknown output device acpiout2
acpivga0: unknown output device acpiout3
acpivga0: unknown output device acpiout4
acpivga0: connected output devices:
acpivga0: 0x0400 (acpiout0): Unknown Output Device, head 0
acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
acpitz0 at acpi0 (THM0)
acpitz0: levels: critical 127.0 C, passive cooling
acpitz1 at acpi0 (THM1): cpu0 cpu1
acpitz1: levels: critical 100.0 C, passive 95.5 C, passive cooling
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x2a40 (rev. 0x07)
agp0 at pchb0: detected 32764k stolen memory
agp0: aperture at 0xd0000000, size 0x10000000
vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x2a42 (rev. 0x07)
vga1: WARNING: ignoring 64-bit BAR @ 0x10
vga1: WARNING: ignoring 64-bit BAR @ 0x18
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
vendor 0x8086 product 0x2a43 (miscellaneous display, revision 0x07) at pci0 dev
2 function 1 not configured
vendor 0x8086 product 0x2a44 (miscellaneous communications, revision 0x07) at
pci0 dev 3 function 0 not configured
vendor 0x8086 product 0x2a46 (IDE mass storage, interface 0x85, revision 0x07)
at pci0 dev 3 function 2 not configured
vendor 0x8086 product 0x2a47 (serial communications, interface 0x02, revision
0x07) at pci0 dev 3 function 3 not configured
vendor 0x8086 product 0x10f5 (ethernet network, revision 0x03) at pci0 dev 25
function 0 not configured
vendor 0x8086 product 0x2937 (USB serial bus, revision 0x03) at pci0 dev 26
function 0 not configured
vendor 0x8086 product 0x2938 (USB serial bus, revision 0x03) at pci0 dev 26
function 1 not configured
vendor 0x8086 product 0x2939 (USB serial bus, revision 0x03) at pci0 dev 26
function 2 not configured
vendor 0x8086 product 0x293c (USB serial bus, interface 0x20, revision 0x03) at
pci0 dev 26 function 7 not configured
vendor 0x8086 product 0x293e (multimedia, subclass 0x03, revision 0x03) at pci0
dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x2940 (rev. 0x03)
ppb0: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x2942 (rev. 0x03)
ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 3
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x8086 product 0x4237 (miscellaneous network) at pci2 dev 0 function 0
not configured
ppb2 at pci0 dev 28 function 3: vendor 0x8086 product 0x2946 (rev. 0x03)
ppb2: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 5
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 28 function 4: vendor 0x8086 product 0x2948 (rev. 0x03)
ppb3: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci4 at ppb3 bus 13
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x8086 product 0x2934 (USB serial bus, revision 0x03) at pci0 dev 29
function 0 not configured
vendor 0x8086 product 0x2935 (USB serial bus, revision 0x03) at pci0 dev 29
function 1 not configured
vendor 0x8086 product 0x2936 (USB serial bus, revision 0x03) at pci0 dev 29
function 2 not configured
vendor 0x8086 product 0x293a (USB serial bus, interface 0x20, revision 0x03) at
pci0 dev 29 function 7 not configured
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0x93)
pci5 at ppb4 bus 21
pci5: i/o space, memory space enabled
vendor 0x1180 product 0x0476 (CardBus bridge, revision 0xba) at pci5 dev 0
function 0 not configured
vendor 0x1180 product 0x0832 (Firewire serial bus, interface 0x10, revision
0x04) at pci5 dev 0 function 1 not configured
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x2917 (rev. 0x03)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpio0 at ichlpcib0: 64 pins
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x2929 (rev. 0x03)
ahcisata0: interrupting at ioapic0 pin 16
ahcisata0: AHCI revision 1.20, 4 ports, 32 slots, CAP
0xef20ffa3<SXS,CCCS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SSS,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
vendor 0x8086 product 0x2930 (SMBus serial bus, revision 0x03) at pci0 dev 31
function 3 not configured
isa at ichlpcib0 not configured
isa0 at mainbus0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat 1 us, pow 1000 mW
acpicpu0: C2: FFH, lat 1 us, pow 500 mW
acpicpu0: C3: FFH, lat 57 us, pow 100 mW, bus master check
acpicpu0: P0: FFH, lat 10 us, pow 35000 mW, 2401 MHz, turbo boost
acpicpu0: P1: FFH, lat 10 us, pow 35000 mW, 2400 MHz
acpicpu0: P2: FFH, lat 10 us, pow 15000 mW, 1600 MHz
acpicpu0: P3: FFH, lat 10 us, pow 12000 mW, 800 MHz
acpicpu0: T0: FFH, lat 1 us, pow 12000 mW, 100 %
acpicpu0: T1: FFH, lat 1 us, pow 10500 mW, 88 %
acpicpu0: T2: FFH, lat 1 us, pow 9000 mW, 75 %
acpicpu0: T3: FFH, lat 1 us, pow 7500 mW, 63 %
acpicpu0: T4: FFH, lat 1 us, pow 6000 mW, 50 %
acpicpu0: T5: FFH, lat 1 us, pow 4500 mW, 38 %
acpicpu0: T6: FFH, lat 1 us, pow 3000 mW, 25 %
acpicpu0: T7: FFH, lat 1 us, pow 1500 mW, 13 %
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
ahcisata0 port 0: device present, speed: 1.5Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <HTS721010G9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
(using DMA)
atapibus at ahcisata0 not configured
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Home |
Main Index |
Thread Index |
Old Index