From owner-freebsd-acpi@FreeBSD.ORG Mon Apr 4 17:03:41 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15DFF16A4CE for ; Mon, 4 Apr 2005 17:03:41 +0000 (GMT) Received: from portpc-design.spb.ru (ns2.portpc-design.spb.ru [195.161.118.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 859EA43D2D for ; Mon, 4 Apr 2005 17:03:39 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [83.237.228.229] (ppp83-237-228-229.pppoe.mtu-net.ru [83.237.228.229]) (authenticated bits=0) by portpc-design.spb.ru (8.13.4/8.13.4) with ESMTP id j34H3aZY008582; Mon, 4 Apr 2005 21:03:36 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <42517363.9060108@mcsi.pp.ru> Date: Mon, 04 Apr 2005 21:03:31 +0400 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.6) Gecko/20050326 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Nate Lawson References: <42515B22.6040109@mcsi.pp.ru> <425169F4.3000200@root.org> In-Reply-To: <425169F4.3000200@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on 81.176.64.226 X-Virus-Status: Clean cc: acpi@freebsd.org Subject: Re: cmbat hangs X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 17:03:41 -0000 Nate Lawson wrote: > Maxim Maximov wrote: > >> Hello. >> >> I've got a problem with acpi_cmbat device. Specifically, Mar 31 >> kernel hangs at boot after 'Preseeding PRNG:'. DDB shows that 'sysctl' >> proc hangs in [cmbat] status. After setting >> debug.acpi.disabled="cmbat" the problem disappeared. >> Mar 25 dated kernel doesn't have this problem. I'm working on ASUS >> L5 (w/HTT). Here's ACPI related strings from dmesg (cmbat disabled). I >> can provide any information by request. Should I file a PR? >> >> >> acpi0: on motherboard >> acpi0: Power Button (fixed) >> acpi_ec0: port 0x62,0x66 on acpi0 >> acpi_ec0: can't allocate data port >> device_attach: acpi_ec0 attach returned 6 > > > This would be the issue. If your EC can't attach, cmbat reads will time > out. Can you send the output of devinfo -rv with the broken kernel? We > need to figure out who's stealing the data port. > > Here it is: # devinfo -rv nexus0 legacy0 npx0 acpi0 Interrupt request lines: 0x9 I/O ports: 0x10-0x1f 0x22-0x3f 0x44-0x5f 0x62-0x63 0x65-0x6f 0x72-0x7f 0x80 0x84-0x86 0x88 0x8c-0x8e 0x90-0x9f 0xa2-0xbf 0xe0-0xef 0x400-0x40f 0x410-0x41f 0x480-0x4bf 0x4d0-0x4d1 0x800-0x87f 0xc00-0xc0f I/O memory addresses: 0x0-0x9ffff 0xc0000-0xcffff 0xe0000-0xfffff 0x100000-0x1fffffff 0xfed20000-0xfed8ffff 0xfee00000-0xfee00fff 0xffb80000-0xffbfffff 0xffc00000-0xfff7ffff 0xfff80000-0xffffffff cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU1 I/O ports: 0x814 p4tcc0 acpi_perf0 acpi_throttle0 cpufreq0 cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU2 p4tcc1 cpufreq1 pcib0 pnpinfo _HID=PNP0A03 _UID=0 at handle=\_SB_.PCI0 pci0 agp0 pnpinfo vendor=0x8086 device=0x2570 subvendor=0x1043 subdevice=0x177b class=0x060000 at slot=0 function=0 I/O memory addresses: 0xf8000000-0xfbffffff pcib1 pnpinfo vendor=0x8086 device=0x2571 subvendor=0x0000 subdevice=0x0000 class=0x060400 at slot=1 function=0 handle=\_SB_.PCI0.P0P1 pci1 unknown pnpinfo vendor=0x1002 device=0x4e50 subvendor=0x1043 subdevice=0x1772 class=0x030000 at slot=0 function=0 handle=\_SB_.PCI0.P0P1.VGA_ I/O ports: 0x9800-0x98ff I/O memory addresses: 0xe8000000-0xefffffff 0xfe9f0000-0xfe9fffff uhci0 pnpinfo vendor=0x8086 device=0x24d2 subvendor=0x1043 subdevice=0x1778 class=0x0c0300 at slot=29 function=0 handle=\_SB_.PCI0.USB1 Interrupt request lines: 0x10 I/O ports: 0xe000-0xe01f usb0 uhub0 uhci1 pnpinfo vendor=0x8086 device=0x24d4 subvendor=0x1043 subdevice=0x1778 class=0x0c0300 at slot=29 function=1 handle=\_SB_.PCI0.USB2 Interrupt request lines: 0x13 I/O ports: 0xe400-0xe41f usb1 uhub1 ums0 pnpinfo vendor=0x046d product=0xc016 devclass=0x00 devsubclass=0x00 sernum="" intclass=0x03 intsubclass=0x01 at port=0 interface=0 ukbd0 pnpinfo vendor=0x0566 product=0x3002 devclass=0x00 devsubclass=0x00 sernum="" intclass=0x03 intsubclass=0x01 at port=1 interface=0 uhid0 pnpinfo vendor=0x0566 product=0x3002 devclass=0x00 devsubclass=0x00 sernum="" intclass=0x03 intsubclass=0x00 at port=1 interface=1 uhci2 pnpinfo vendor=0x8086 device=0x24d7 subvendor=0x1043 subdevice=0x1778 class=0x0c0300 at slot=29 function=2 handle=\_SB_.PCI0.USB3 Interrupt request lines: 0x12 I/O ports: 0xe800-0xe81f usb2 uhub2 uhci3 pnpinfo vendor=0x8086 device=0x24de subvendor=0x1043 subdevice=0x1778 class=0x0c0300 at slot=29 function=3 handle=\_SB_.PCI0.USB4 I/O ports: 0xec00-0xec1f usb3 uhub3 ehci0 pnpinfo vendor=0x8086 device=0x24dd subvendor=0x1043 subdevice=0x177a class=0x0c0320 at slot=29 function=7 handle=\_SB_.PCI0.EUSB Interrupt request lines: 0x17 I/O memory addresses: 0xfebffc00-0xfebfffff usb4 uhub4 pcib2 pnpinfo vendor=0x8086 device=0x244e subvendor=0x0000 subdevice=0x0000 class=0x060400 at slot=30 function=0 handle=\_SB_.PCI0.P0P4 pci2 skc0 pnpinfo vendor=0x10b7 device=0x1700 subvendor=0x1043 subdevice=0x173c class=0x020000 at slot=0 function=0 handle=\_SB_.PCI0.P0P4.LAN0 I/O ports: 0xa800-0xa8ff I/O memory addresses: 0xfeafc000-0xfeafffff sk0 miibus0 e1000phy0 pnpinfo oui=0x5043 model=0x2 rev=0x3 at phyno=0 cbb0 pnpinfo vendor=0x1180 device=0x0476 subvendor=0x1043 subdevice=0x1774 class=0x060700 at slot=1 function=0 handle=\_SB_.PCI0.P0P4.CBS0 I/O memory addresses: 0xfea00000-0xfea00fff cardbus0 pccard0 cbb1 pnpinfo vendor=0x1180 device=0x0476 subvendor=0x1043 subdevice=0x1774 class=0x060700 at slot=1 function=1 handle=\_SB_.PCI0.P0P4.CBS3 Interrupt request lines: 0x11 I/O memory addresses: 0xfea01000-0xfea01fff cardbus1 pccard1 fwohci0 pnpinfo vendor=0x1180 device=0x0552 subvendor=0x1043 subdevice=0x1777 class=0x0c0010 at slot=1 function=2 I/O memory addresses: 0xfeafb000-0xfeafb7ff firewire0 fwe0 sbp0 unknown pnpinfo vendor=0x1180 device=0x0576 subvendor=0x1043 subdevice=0x177f class=0x088000 at slot=1 function=3 I/O memory addresses: 0xfeafb800-0xfeafb8ff unknown pnpinfo vendor=0x1180 device=0x0592 subvendor=0x1043 subdevice=0x177e class=0x088000 at slot=1 function=4 I/O memory addresses: 0xfeafbc00-0xfeafbcff ndis0 pnpinfo vendor=0x14e4 device=0x4320 subvendor=0x1043 subdevice=0x120f class=0x028000 at slot=2 function=0 handle=\_SB_.PCI0.P0P4.MPCI I/O memory addresses: 0xfeaf8000-0xfeaf9fff isab0 pnpinfo vendor=0x8086 device=0x24d0 subvendor=0x0000 subdevice=0x0000 class=0x060100 at slot=31 function=0 handle=\_SB_.PCI0.SBRG isa0 adv0 aha0 aic0 bt0 cs0 ed0 fe0 ie0 lnc0 sc0 sio2 sio3 sn0 vga0 I/O ports: 0x3c0-0x3df I/O memory addresses: 0xa0000-0xbffff vt0 orm0 I/O memory addresses: 0xc0000-0xcffff pmtimer0 atapci0 pnpinfo vendor=0x8086 device=0x24db subvendor=0x1043 subdevice=0x1778 class=0x01018a at slot=31 function=1 handle=\_SB_.PCI0.IDE0 I/O ports: 0x170-0x177 0x1f0-0x1f7 0x376 0x3f6 0xfc00-0xfc0f ata0 Interrupt request lines: 0xe acd0 ata1 Interrupt request lines: 0xf ad2 subdisk2 pcm0 pnpinfo vendor=0x8086 device=0x24d5 subvendor=0x1043 subdevice=0x1773 class=0x040100 at slot=31 function=5 I/O ports: 0xd000-0xd03f 0xd400-0xd4ff I/O memory addresses: 0xfebff400-0xfebff4ff 0xfebff800-0xfebff9ff unknown pnpinfo vendor=0x8086 device=0x24d6 subvendor=0x1043 subdevice=0x177d class=0x070300 at slot=31 function=6 handle=\_SB_.PCI0.MC97 I/O ports: 0xd800-0xd8ff 0xdc00-0xdc7f unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.CHN0 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.CHN0.DRV0 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.CHN0.DRV1 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.CHN1 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.CHN1.DRV0 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.CHN1.DRV1 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE1 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.P0P2 unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.P0P1.VGA_.CRTD unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.P0P1.VGA_.TVOD unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.P0P1.VGA_.LCDD atpic0 pnpinfo _HID=PNP0000 _UID=0 at handle=\_SB_.PCI0.SBRG.PIC_ atdma0 pnpinfo _HID=PNP0200 _UID=0 at handle=\_SB_.PCI0.SBRG.DMAD attimer0 pnpinfo _HID=PNP0100 _UID=0 at handle=\_SB_.PCI0.SBRG.TMR_ attimer1 pnpinfo _HID=PNP0B00 _UID=0 at handle=\_SB_.PCI0.SBRG.RTC0 atkbdc0 pnpinfo _HID=PNP0303 _UID=0 at handle=\_SB_.PCI0.SBRG.PS2K I/O ports: 0x60 0x64 atkbd0 Interrupt request lines: 0x1 psm0 Interrupt request lines: 0xc psmcpnp0 pnpinfo _HID=PNP0F03 _UID=0 at handle=\_SB_.PCI0.SBRG.PS2M speaker0 pnpinfo _HID=PNP0800 _UID=0 at handle=\_SB_.PCI0.SBRG.SPKR npxisa0 pnpinfo _HID=PNP0C04 _UID=0 at handle=\_SB_.PCI0.SBRG.COPR acpi_sysresource0 pnpinfo _HID=PNP0C02 _UID=16 at handle=\_SB_.PCI0.SBRG.RMSC acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=0 at handle=\_SB_.PCI0.SBRG.OMSC acpi_ec0 pnpinfo _HID=PNP0C09 _UID=0 at handle=\_SB_.PCI0.SBRG.EC0_ I/O ports: 0x62 0x66 acpi_sysresource2 pnpinfo _HID=PNP0C02 _UID=2 at handle=\_SB_.PCI0.SBRG.FWH_ acpi_sysresource3 pnpinfo _HID=PNP0C02 _UID=3 at handle=\_SB_.PCI0.SBRG.FWHE sio0 pnpinfo _HID=PNP0501 _UID=1 at handle=\_SB_.PCI0.SBRG.UAR1 Interrupt request lines: 0x4 I/O ports: 0x3f8-0x3ff sio1 pnpinfo _HID=PNP0510 _UID=2 at handle=\_SB_.PCI0.SBRG.UAR2 Interrupt request lines: 0x3 I/O ports: 0x2f8-0x2ff fdc0 pnpinfo _HID=PNP0700 _UID=0 at handle=\_SB_.PCI0.SBRG.FDC_ Interrupt request lines: 0x6 DMA request lines: 2 I/O ports: 0x3f0-0x3f5 0x3f7 fd0 ppc0 pnpinfo _HID=PNP0401 _UID=0 at handle=\_SB_.PCI0.SBRG.LPTE Interrupt request lines: 0x7 I/O ports: 0x378-0x37f ppbus0 plip0 lpt0 ppi0 acpi_acad0 pnpinfo _HID=ACPI0003 _UID=0 at handle=\_SB_.PCI0.AC0_ unknown pnpinfo _HID=PNP0C0A _UID=0 at handle=\_SB_.PCI0.BAT0 acpi_sysresource4 pnpinfo _HID=PNP0C01 _UID=1 at handle=\_SB_.RMEM acpi_button0 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB acpi_lid0 pnpinfo _HID=PNP0C0D _UID=0 at handle=\_SB_.LID_ unknown pnpinfo _HID=ATK0100 _UID=16843008 at handle=\_SB_.ATKD acpi_button1 pnpinfo _HID=PNP0C0C _UID=14 at handle=\_SB_.PWRB pci_link0 pnpinfo _HID=PNP0C0F _UID=1 at handle=\_SB_.LNKA pci_link1 pnpinfo _HID=PNP0C0F _UID=2 at handle=\_SB_.LNKB pci_link2 pnpinfo _HID=PNP0C0F _UID=3 at handle=\_SB_.LNKC pci_link3 pnpinfo _HID=PNP0C0F _UID=4 at handle=\_SB_.LNKD pci_link4 pnpinfo _HID=PNP0C0F _UID=5 at handle=\_SB_.LNKE pci_link5 pnpinfo _HID=PNP0C0F _UID=6 at handle=\_SB_.LNKF pci_link6 pnpinfo _HID=PNP0C0F _UID=7 at handle=\_SB_.LNKG pci_link7 pnpinfo _HID=PNP0C0F _UID=8 at handle=\_SB_.LNKH acpi_tz0 pnpinfo _HID=none _UID=0 at handle=\_TZ_.THRM unknown pnpinfo _HID=PNP0C0B _UID=0 at handle=\FN00 unknown pnpinfo _HID=none _UID=0 at handle=\GFAN acpi_timer0 pnpinfo unknown at unknown I/O ports: 0x808-0x80b -- Maxim Maximov