From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 2 22:35:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26CA416A4CE for ; Fri, 2 Jan 2004 22:35:02 -0800 (PST) Received: from cheer.mahoroba.org (flets20-024.kamome.or.jp [218.45.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E86B43D49 for ; Fri, 2 Jan 2004 22:34:15 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from lyrics.mahoroba.org (IDENT:fFYCSg6629zJdP9X/UwSkg3ng7ZxwqThQzEB3vlQqDUAF2QRWThjYRXnnXw/KMpC@piano.mahoroba.org [IPv6:3ffe:501:185b:8010:240:96ff:fe48:4ea8]) (user=ume mech=CRAM-MD5 bits=0)i036Y2aH043645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Jan 2004 15:34:05 +0900 (JST) (envelope-from ume@FreeBSD.org) Message-ID: From: Hajimu UMEMOTO To: "M. Warner Losh" In-Reply-To: <20040102.112311.71086877.imp@bsdimp.com> References: <20040101.233009.58826299.imp@bsdimp.com> <20040102.112311.71086877.imp@bsdimp.com> User-Agent: xcite1.38> Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.2-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Sat_Jan__3_15:34:02_2004-1" X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cheer.mahoroba.org cc: hackers@FreeBSD.org Subject: Re: Power Patches X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 03 Jan 2004 06:35:02 -0000 X-Original-Date: Sat, 03 Jan 2004 15:34:02 +0900 X-List-Received-Date: Sat, 03 Jan 2004 06:35:02 -0000 --Multipart_Sat_Jan__3_15:34:02_2004-1 Content-Type: text/plain; charset=US-ASCII Hi, >>>>> On Fri, 02 Jan 2004 11:23:11 -0700 (MST) >>>>> "M. Warner Losh" said: imp> This looks like it isn't mapping the cis in correctly. Can you turn imp> on hw.cardbus.debug_cis=1? I assumed you meant hw.cardbus.cis_debug. ;) cardbus0: Resource not specified in CIS: id=10, size=8000000 cardbus0: Resource not specified in CIS: id=14, size=20000 cardbus0: Resource not specified in CIS: id=18, size=80 cardbus0: Non-prefetchable memory at 88000000-9001ffff cardbus0: IO port at 1000-107f cardbus0: at device 0.0 (no driver attached) cbb0: CardBus card activation failed Full output of dmesg is also attached in this mail. imp> : imp> 1) You are using hw.pci.unsupported_io=1. Turn it off and use imp> : imp> these patches. Let me know if it doesn't. Typically it imp> : imp> appears that this helps people hitting the double imp> : imp> allocation problem. imp> : imp> : I used to set hw.pci.unsupported_io=1. Changing this value doesn't imp> : help. imp> Dang. I'd like to get to the bottom of this. Aha, I made sure to set hw.pci.allow_unsupported_io_range. But, I did just copy&paste it from your message. :-) Sincerely, --Multipart_Sat_Jan__3_15:34:02_2004-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="dmesg.out" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2004 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.2-CURRENT #1: Sat Jan 3 01:16:45 JST 2004 root@lyrics.mahoroba.org:/ad0s3/usr/obj/usr/src/sys/LYRICS Preloaded elf kernel "/boot/kernel/kernel" at 0xc08ec000. Preloaded elf module "/boot/kernel/if_an.ko" at 0xc08ec1f4. Preloaded elf module "/boot/kernel/wlan.ko" at 0xc08ec2a0. Preloaded elf module "/boot/kernel/rc4.ko" at 0xc08ec34c. Preloaded elf module "/boot/kernel/if_sis.ko" at 0xc08ec3f4. Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc08ec4a0. Preloaded elf module "/boot/kernel/snd_t4dwave.ko" at 0xc08ec54c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc08ec5fc. Preloaded elf module "/boot/kernel/usb.ko" at 0xc08ec6a8. Preloaded elf module "/boot/kernel/ugen.ko" at 0xc08ec750. Preloaded elf module "/boot/kernel/umass.ko" at 0xc08ec7fc. Preloaded elf module "/boot/kernel/cam.ko" at 0xc08ec8a8. Preloaded elf module "/boot/kernel/agp.ko" at 0xc08ec950. Preloaded elf module "/boot/kernel/if_ath.ko" at 0xc08ec9f8. Preloaded elf module "/boot/kernel/ath_hal.ko" at 0xc08ecaa4. Preloaded elf module "/boot/kernel/uplcom.ko" at 0xc08ecb50. Preloaded elf module "/boot/kernel/ucom.ko" at 0xc08ecbfc. Preloaded elf module "/boot/kernel/firewire.ko" at 0xc08ecca8. Preloaded elf module "/boot/kernel/sbp.ko" at 0xc08ecd58. Preloaded elf module "/boot/kernel/if_fwe.ko" at 0xc08ece00. Preloaded elf module "/boot/kernel/aout.ko" at 0xc08eceac. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III Mobile CPU 800MHz (797.46-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff real memory = 369078272 (351 MB) avail memory = 351404032 (335 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00f1530 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0:0:0: setting power state D0 pci0:0:1: setting power state D0 pci0:1:0: setting power state D0 pci0:1:1: setting power state D0 pcib0: slot 1 INTC is routed to irq 5 pci0:1:2: setting power state D0 pcib0: slot 1 INTD is routed to irq 4 pci0:1:3: setting power state D0 pcib0: slot 1 INTD is routed to irq 4 pci0:1:4: setting power state D0 pcib0: slot 1 INTB is routed to irq 7 pci0:1:6: setting power state D0 pcib0: slot 1 INTC is routed to irq 5 pcib0: slot 9 INTA is routed to irq 11 pcib0: slot 9 INTA is routed to irq 11 pci0:9:2: setting power state D0 pcib0: slot 9 INTA is routed to irq 11 pci0:10:0: setting power state D0 pcib0: slot 10 INTA is routed to irq 4 agp0: mem 0xd4000000-0xd7ffffff at device 0.0 on pci0 agp0: Bus reserved 0x4000000 bytes for rid 0x10 type 3 at 0xd4000000 atapci0: port 0xd800-0xd80f at device 0.1 on pci0 atapci0: Bus reserved 0x10 bytes for rid 0x20 type 4 at 0xd800 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] isab0: at device 1.0 on pci0 isa0: on isab0 sis0: port 0xd400-0xd4ff mem 0xd3800000-0xd3800fff irq 5 at device 1.1 on pci0 sis0: Bus reserved 0x100 bytes for rid 0x10 type 4 at 0xd400 sis0: Ethernet address: 00:80:88:03:48:41 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ohci0: mem 0xd3000000-0xd3000fff irq 4 at device 1.2 on pci0 ohci0: Bus reserved 0x1000 bytes for rid 0x10 type 3 at 0xd3000000 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xd2800000-0xd2800fff irq 4 at device 1.3 on pci0 ohci1: Bus reserved 0x1000 bytes for rid 0x10 type 3 at 0xd2800000 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pcm0: port 0xd000-0xd0ff mem 0xd2000000-0xd2000fff irq 7 at device 1.4 on pci0 pcm0: Bus reserved 0x100 bytes for rid 0x10 type 4 at 0xd000 pcm0: pci0: at device 1.6 (no driver attached) pci0: Failed to set ACPI power state D3 on (null): AE_BAD_PARAMETER pci0:1:6: setting power state D3 pcib1: at device 2.0 on pci0 pci1: on pcib1 pci1:0:0: setting power state D0 pci1: at device 0.0 (no driver attached) cbb0: mem 0xde000-0xdefff irq 11 at device 9.0 on pci0 cbb0: Bus reserved 0x1000 bytes for rid 0x10 type 3 at 0xde000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: irq 11 at device 9.1 on pci0 cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] cbb1: bad Vcc request. ctrl=0xf000ef08, status=0xf000e2c3 cbb_power: 0V pci0: at device 9.2 (no driver attached) pci0: Failed to set ACPI power state D3 on (null): AE_BAD_PARAMETER pci0:9:2: setting power state D3 fwohci0: vendor=104c, dev=8026 fwohci0: <1394 Open Host Controller Interface> mem 0xd0800000-0xd0803fff,0xd1000000-0xd10007ff irq 4 at device 10.0 on pci0 fwohci0: Bus reserved 0x800 bytes for rid 0x10 type 3 at 0xd1000000 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:e0:18:00:03:03:2a:66 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:03:2a:66 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: flags 0x6000 irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 pmtimer0 on isa0 orm0: