From owner-freebsd-current@FreeBSD.ORG Wed Jun 18 10:26:15 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F43037B401 for ; Wed, 18 Jun 2003 10:26:15 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD3843F85 for ; Wed, 18 Jun 2003 10:26:14 -0700 (PDT) (envelope-from freebsd-current@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Sgbn-00088Q-00 for ; Wed, 18 Jun 2003 19:20:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19SgXl-0007Ys-00 for ; Wed, 18 Jun 2003 19:16:21 +0200 From: Jesse Guardiani Date: Wed, 18 Jun 2003 13:16:23 -0400 Organization: WingNET Lines: 206 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: APM problem in 5.1-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 17:26:15 -0000 Not sure if this is the appropriate list, but I've tried the -mobile list a few times with no response. Background: ----------- I have an IBM Thinkpad A30p with all the latest BIOS code and Controller code. It's running 5.1-RELEASE well. But I had to set: hw.pci.allow_unsupported_io_range=1 To get the kernel booting. I have apm enabled and loading properly in the kernel (as a module), and I have apmd running and apm enabled in user space. Problem: -------- I can place the system into Standby mode and bring it back without problems, but when I try to suspend the system, I run into problems: The system suspends without problems. But when I try to bring it back from suspend it freezes right after the line: ata1: resetting devices .. Firewire appears to resume fine, and so does ata0, but I think it's hanging on the ATAPI devices under ata1. Help! This APM BIOS suspends fine under Linux (2.4.18 kernel)! I've tried everything I can think of to get suspend working under 5.1-RELEASE! I will happily do my best to provide any further information required! I'll even build a debug kernel if that's what it takes. I'm out of ideas here... Dmesg.boot: ----------- 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.1-RELEASE #7: Wed Jun 18 12:02:02 EDT 2003 jesse@trevarthan.int.wingnet.net:/usr/src/sys/i386/compile/TREVARTHAN Preloaded elf kernel "/boot/kernel/kernel" at 0xc04df000. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc04df26c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04df318. Preloaded elf module "/boot/kernel/apm.ko" at 0xc04df3c4. Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Pentium(R) III Mobile CPU 1200MHz (1198.99-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff real memory = 402063360 (383 MB) avail memory = 385155072 (367 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00fdeb0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xd0000000-0xdfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 9 at device 29.0 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 uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Logitech USB Receiver, rev 1.10/16.00, addr 2, iclass 3/1 ums0: 7 buttons and Z dir. uhci2: port 0x1840-0x185f irq 9 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0x50000000-0x50000fff irq 9 at device 0.0 on pci2 start (50000000) < sc->membase (c0200000) start (50000000) < sc->pmembase (e8000000) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50100000-0x50100fff irq 5 at device 0.1 on pci2 start (50100000) < sc->membase (c0200000) start (50100000) < sc->pmembase (e8000000) cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: vendor=1180, dev=522 fwohci0: <1394 Open Host Controller Interface> mem 0xc0201000-0xc02017ff irq 9 at device 0.2 on pci2 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:06:1b:02:01:00:24:63 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:06:1b:00:24:63 sbp0: on firewire0 fwohci0: Initiate bus reset wi0: mem 0xf0000000-0xf0000fff irq 9 at device 2.0 on pci2 wi0: 802.11 address: 00:20:e0:8a:90:61 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps fxp0: port 0x8000-0x803f mem 0xc0200000-0xc0200fff irq 10 at device 8.0 on pci2 fxp0: Ethernet address 00:d0:59:aa:70:ec miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ichsmb0: port 0x1880-0x189f irq 5 at device 31.3 on pci0 smbus0: on ichsmb0 smb0: on smbus0 pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) eisa0: on motherboard eisa0: unknown card @H@0000 (0x01000000) at slot 1 orm0: