linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: APM Suspend Problem
@ 2003-11-29  1:02 pZa1x
  2003-11-29  1:14 ` pZa1x
  0 siblings, 1 reply; 30+ messages in thread
From: pZa1x @ 2003-11-29  1:02 UTC (permalink / raw)
  To: linux-kernel

I would like to join in here. I have a Thinkpad T20 I just put 
2.6.0-test11 on and APM will only suspend properly if the power plug is 
pulled out of the back (thanks for that tip, btw). With power connected, 
it plays a high-low beep and turns off screen and HD without suspending 
properly (and if left too long, may not come back to life).

I believe I read somewhere there is some kind of settings to override 
power features when AC power is connected. Perhaps this problem is 
related to that. I tried running "apm -i" and "apm -n" but it wouldn't 
recognize the commands as set out in the man page.

If I stop apmd AND rmmod apm then I can suspend by closing the lid 
(hardware suspend I guess) but then I have no battery monitor capability.

I tried ACPI but it would not work without =force as a kernel parameter 
and when used, did not cleanly come back from a suspend.

APM worked perfectly in 2.4.20 which is what I used up to today. Are the 
APM/ACPI people out there?

an interesting email on "suspend rejects" caused by kernel drivers from 
a year ago or more:

http://open.nit.ca/lists/archives/apmd-list/msg00006.html


^ permalink raw reply	[flat|nested] 30+ messages in thread
[parent not found: <15Eea-Id-23@gated-at.bofh.it>]
[parent not found: <WnPi.57n.5@gated-at.bofh.it>]
* APM Suspend Problem
@ 2003-11-27  6:20 Misha Nasledov
  2003-11-27 11:46 ` Felipe Alfaro Solana
                   ` (3 more replies)
  0 siblings, 4 replies; 30+ messages in thread
From: Misha Nasledov @ 2003-11-27  6:20 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

Hi,

Since about 2.6.0-test9, my ThinkPad T21 no longer suspends with APM. I had
issues with it suspending before, I don't remember exactly what issues, but I
know that it definitely worked in -test2. When I hit the key on my laptop to
suspend, it will turn off the LCD and the HD will spin down, but the machine
will not actually suspend. Here is what is printed out on the console when I
hit the suspend key and then when I hit another key to "wake" it up:

hdc: start_power_step(step: 0)
hdc: completing PM request, suspend
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspend
hda: Wakeup request inited, waiting for !BSY...
hda: start_power_step(step: 1000)
blk: queue c138fa00, I/O limit 4095Mb (mask 0xffffffff)
hda: completing PM request, resume
hdc: Wakeup request inited, waiting for !BSY...
hdc: start_power_step(step: 1000)
hdc: completing PM request, resume

I have attached the output of dmesg and my .config file. I am using
2.6.0-test11, of course.
-- 
Misha Nasledov
misha@nasledov.com
http://nasledov.com/misha/

[-- Attachment #2: DMESG-2.6 --]
[-- Type: text/plain, Size: 8890 bytes --]

Linux version 2.6.0-test11 (root@aurora.alkaid.org) (gcc version 3.3.2 (Debian)) #1 Wed Nov 26 19:07:33 PST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fffec00 (ACPI data)
 BIOS-e820: 000000000fffec00 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
IBM machine detected. Enabling interrupts during APM calls.
IBM machine detected. Disabling SMBus accesses.
Building zonelist for node : 0
Kernel command line: root=/dev/hda1 idebus=66 video=vesa:mtrr vga=0x317
ide_setup: idebus=66
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 796.590 MHz processor.
Console: colour dummy device 80x25
Memory: 255120k/262080k available (2406k kernel code, 6232k reserved, 805k data, 224k init, 0k highmem)
Calibrating delay loop... 1572.86 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: 0383f9ff 00000000 00000000 00000000
CPU:     After vendor identify, caps: 0383f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After all inits, caps: 0383f9ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfd94f, last bus=7
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f7210
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xb1ef, dseg 0x400
pnp: 00:00: ioport range 0x15e8-0x15ef has been reserved
pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0b: ioport range 0x1000-0x103f has been reserved
pnp: 00:0b: ioport range 0x1040-0x104f has been reserved
PnPBIOS: 20 nodes reported by PnP BIOS; 20 recorded by driver
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Address space collision on region 7 of bridge 0000:00:07.3 [1000:103f]
PCI: Address space collision on region 8 of bridge 0000:00:07.3 [1040:105f]
PCI: Discovered primary peer bus 08 [IRQ]
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
vesafb: framebuffer at 0xf0000000, mapped to 0xd0800000, size 8192k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:8704
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
SBF: ACPI BOOT descriptor is wrong length (39)
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
speedstep-smi: signature:0x47534943, command:0x008200b2, event:0x00c000b3, perf_level:0x07d00000.
speedstep-smi: could not detect low and high frequencies by SMI call.
cpufreq: change to 0 MHz succeded
cpufreq: change to 4 MHz succeded
speedstep-smi: workaround worked.
cpufreq: currently at high speed setting - 800 MHz
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Console: switching to colour frame buffer device 128x48
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xf8000000
Hangcheck: starting hangcheck timer 0.5.0 (tick is 180 seconds, margin is 60 seconds).
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 66MHz system bus speed for PIO modes
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1c00-0x1c07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1c08-0x1c0f, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK4019GAX, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Console: switching to colour frame buffer device 128x48
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:05.0
PCI: Sharing IRQ 11 with 0000:01:00.0
Yenta: CardBus bridge found at 0000:00:02.0 [1014:0130]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ list 06b8, PCI irq11
Socket status: 30000006
PCI: Found IRQ 11 for device 0000:00:02.1
Yenta: CardBus bridge found at 0000:00:02.1 [1014:0130]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ list 06b8, PCI irq11
Socket status: 30000006
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
PCI: Found IRQ 11 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 11, io base 00001c20
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: PC Speaker
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
ip_tables: (C) 2000-2002 Netfilter core team
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 224k freed
Adding 498952k swap on /dev/hda3.  Priority:-1 extents:1
EXT3 FS on hda1, internal journal
PCI: Found IRQ 11 for device 0000:00:05.0
PCI: Sharing IRQ 11 with 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:01:00.0
Crystal 4280/46xx + AC97 Audio, version 1.28.32, 18:57:43 Nov 26 2003
cs46xx: Card found at 0xe8100000 and 0xe8000000, IRQ 11
cs46xx: Thinkpad 600X/A20/T20 (1014:0153) at 0xe8100000/0xe8000000, IRQ 11
ac97_codec: AC97 Audio codec, id: CRY20 (Cirrus Logic CS4297A rev B)
PCI: Found IRQ 11 for device 0000:00:03.0
PCI: Sharing IRQ 11 with 0000:00:03.1
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:03.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800. Vers LK1.1.19
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Disabled Privacy Extensions on device c03ea200(lo)
eth0: no IPv6 routers present
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.

[-- Attachment #3: config-2.6.0-test11.gz --]
[-- Type: application/octet-stream, Size: 6899 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2003-12-25 19:18 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-29  1:02 APM Suspend Problem pZa1x
2003-11-29  1:14 ` pZa1x
2003-11-29  8:22   ` Russell King
2003-11-29 11:26     ` pZa1x
2003-12-01 21:07       ` Russell King
2003-12-06 21:46         ` pZa1x
2003-12-07 17:06           ` Russell King
2003-12-08  2:06             ` pcmcia yenta no devices " Bob
2003-12-08  9:43               ` Russell King
     [not found] <15Eea-Id-23@gated-at.bofh.it>
     [not found] ` <15Eea-Id-25@gated-at.bofh.it>
     [not found]   ` <15Eea-Id-27@gated-at.bofh.it>
     [not found]     ` <15Eea-Id-21@gated-at.bofh.it>
2003-12-25 19:17       ` Michael Schierl
     [not found] <WnPi.57n.5@gated-at.bofh.it>
     [not found] ` <WsPg.Xi.35@gated-at.bofh.it>
     [not found]   ` <WAWd.BP.7@gated-at.bofh.it>
2003-11-28 21:12     ` Michael Schierl
  -- strict thread matches above, loose matches on Subject: below --
2003-11-27  6:20 Misha Nasledov
2003-11-27 11:46 ` Felipe Alfaro Solana
2003-11-27 20:22   ` Misha Nasledov
2003-11-27 22:58 ` Benjamin Herrenschmidt
2003-11-27 23:33   ` Misha Nasledov
2003-11-28 21:28 ` William Lee Irwin III
2003-11-28 21:50   ` Misha Nasledov
2003-11-28 21:50     ` William Lee Irwin III
2003-11-28 22:27       ` Nigel Cunningham
2003-11-28 22:49         ` William Lee Irwin III
2003-11-29  2:17           ` Misha Nasledov
2003-11-29  2:20             ` William Lee Irwin III
2003-11-29  2:35               ` Nigel Cunningham
2003-11-29  5:38               ` Shawn Willden
2003-11-29  5:46                 ` William Lee Irwin III
2003-11-29  9:57                   ` Misha Nasledov
2003-11-29  7:36                 ` Misha Nasledov
2003-12-01 20:24             ` Pavel Machek
2003-12-02 21:44 ` john stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).