From owner-freebsd-mobile Sun Jan 19 13:57:54 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FDC737B401 for ; Sun, 19 Jan 2003 13:57:47 -0800 (PST) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2324C43E4A for ; Sun, 19 Jan 2003 13:57:46 -0800 (PST) (envelope-from l.ertl@univie.ac.at) Received: from adslle.cc.univie.ac.at (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h0JLvaX6038636 for ; Sun, 19 Jan 2003 22:57:40 +0100 Date: Sun, 19 Jan 2003 22:57:36 +0100 (CET) From: Lukas Ertl To: freebsd-mobile@freebsd.org Subject: 5.0 and Thinkpad T20: ACPI related panics Message-ID: <20030119223421.X363@leelou.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-DCC-ZID-Univie-Metrics: mx1 4261; Body=1 Fuz1=1 Fuz2=1 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi there, today I upgraded my Thinkpad T20 from 4.7 to 5.0, just to see how it might run. The upgrade itself went smoothly, but I have big problems getting ACPI power management/suspend/resume to work. First off, apm worked quite good with 4.7; closing the lid, issueing "zzz" or hitting the suspend button put the laptop into sleep mode. Ok, now with 5.0, closing the lid seems to do nothing. If I open it again I either get some information messages about "resetting devices" and "wake up from sleep mode", but I'm sure the machine hasn't slept (suspend led wasn't on, but hard disk and fan were still running), or I get a kernel panic and after the crash dump the machine hits a deadlock or something (it doesn't do anything, like rebooting or so, it justs sits there and does nothing and I can only power-cycle it). If I press the suspend key (the blue Fn+F4), the display looks like it is melting away. Really. I've never seen something like this before: the screen is black (classic console), and if I suspend, it starts fading into yellow and bright white from the bottom slowly all over the screen. I was shocked when I first saw it. (If you're interested in how that looks I can take a picture or a short movie.) If I hit the Fn key again, the screen goes back to normal black, but I get again a kernel panic. ("zzz" doesn't do anything but giving an IOCTL error - as expected, since there's no apm in kernel and no apmd running. "apm" itself shows me the correct battery status, though.) Following is the dmesg and a backtrace of one of the panics (suspend and resume with Fn key). Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Sun Jan 19 20:07:10 CET 2003 le@korben:/usr/src/sys/i386/compile/KORBEN Preloaded elf kernel "/boot/kernel/kernel" at 0xc053f000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc053f0a8. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc053f0f8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 696974546 Hz CPU: Intel Pentium III (696.97-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x683 Stepping =3D 3 Features=3D0x383f9ff real memory =3D 268369920 (255 MB) avail memory =3D 255029248 (243 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Using $PIR table, 11 entries at 0xc00fdee0 ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fxp0: port 0x1800-0x183f mem 0xe8100000-0xe811 ffff,0xe8120000-0xe8120fff irq 11 at device 3.0 on pci0 fxp0: Ethernet address 00:02:b3:04:8d:3b inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 3.1 (no driver attached) csa0: mem 0xe8000000-0xe80fffff,0xe8122000- 0xe8122fff irq 11 at device 5.0 on pci0 csa: card is Thinkpad 600X/A20/T20 pcm0: on csa0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1850-0x185f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1860-0x187f irq 11 at de vice 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f7,0x3f0-0 x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled acpi_ec0: port 0x66,0x62 on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled orm0: