Date: Tue, 22 Jul 2008 23:19:48 +0200 From: Dimitry Andric <dimitry@andric.com> To: John Baldwin <jhb@freebsd.org> Cc: Jeremy Chadwick <koitsu@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: ACPI regression on recent 7.0-STABLE: HPET stops working Message-ID: <48864EF4.3090708@andric.com> In-Reply-To: <200807211800.12415.jhb@freebsd.org> References: <20080719100315.2td4dl2q5ck88wkw@webmail.opentransfer.com> <20080719111838.il32fec2880wok4g@webmail.opentransfer.com> <20080721130752.pstwcwkz88wso8cs@webmail.opentransfer.com> <200807211800.12415.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-07-22 00:00, John Baldwin wrote: > On Monday 21 July 2008 06:07:52 am Oleg V. Nauman wrote: >> Well.. Backout 1.243.2.3 revision of /usr/src/sys/dev/acpica/acpi.c >> (committed to RELENG_7 at July 10 by jhb) fixes this issue for me: >> >> acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on > acpi0 >> Timecounter "HPET" frequency 14318180 Hz quality 900 >> >> kern.timecounter.choice: TSC(800) HPET(900) ACPI-safe(850) i8254(0) >> dummy(-1000000) >> kern.timecounter.hardware: HPET >> >> Hopefully it helps to understand what is went wrong there. > > Ok, so the attempt to allocate the resource is failing for some reason. Can > you get output from 'devinfo -r' and 'devinfo -u'? FWIW, I've tried acpi.c revs 1.243.2.1 through 1.243.2.3, and all give the same result: acpi_hpet0: <High Precision Event Timer> iomem 0xfe800000-0xfe8003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 E.g. it looks like bus_alloc_resource_any() in acpi_hpet_attach() fails, but no idea why? Anyway, devinfo -r and -u give: nexus0 apic0 ram0 I/O memory addresses: 0x0-0x9efff 0x100000-0x1eedffff npx0 acpi0 Interrupt request lines: 9 I/O ports: 0x10-0x1f 0x22-0x3f 0x44-0x5f 0x62-0x63 0x65-0x6f 0x74-0x7f 0x91-0x93 0xa2-0xbf 0xe0-0xef 0x290-0x297 0x400-0x47f 0x4d0-0x4d1 0x500-0x50f 0x800-0x805 I/O memory addresses: 0xf0000-0xfffff 0x1eee0000-0x1eefffff 0xfe800000-0xfe8000ff 0xfea00000-0xfea000ff 0xfec00000-0xfecfffff 0xfee00000-0xfeefffff 0xfff80000-0xfffeffff 0xffff0000-0xffffffff cpu0 ACPI I/O ports: 0x414 0x415 acpi_perf0 est0 p4tcc0 cpufreq0 acpi_button0 acpi_sysresource0 pcib0 pci0 hostb0 I/O memory addresses: 0xe8000000-0xefffffff hostb1 hostb2 hostb3 hostb4 hostb5 pcib1 pci1 vgapci0 I/O memory addresses: 0xf4000000-0xf7ffffff 0xfb000000-0xfbffffff re0 Interrupt request lines: 18 I/O ports: 0xf000-0xf0ff I/O memory addresses: 0xfdfff000-0xfdfff0ff miibus0 rgephy0 re1 Interrupt request lines: 19 I/O ports: 0xf200-0xf2ff I/O memory addresses: 0xfdffe000-0xfdffe0ff miibus1 rgephy1 atapci0 Interrupt request lines: 20 I/O ports: 0xf400-0xf4ff 0xfb00-0xfb0f 0xfc00-0xfc03 0xfd00-0xfd07 0xfe00-0xfe03 0xff00-0xff07 ata2 ad4 subdisk4 ata3 ad6 subdisk6 atapci1 I/O ports: 0x170-0x177 0x1f0-0x1f7 0x376 0x3f6 0xfa00-0xfa0f ata0 Interrupt request lines: 14 ata1 Interrupt request lines: 15 uhci0 Interrupt request lines: 21 I/O ports: 0xf900-0xf91f usb0 uhub0 uhci1 I/O ports: 0xf800-0xf81f usb1 uhub1 uhci2 I/O ports: 0xf700-0xf71f usb2 uhub2 uhci3 I/O ports: 0xf600-0xf61f usb3 uhub3 ehci0 I/O memory addresses: 0xfdffd000-0xfdffd0ff usb4 uhub4 isab0 isa0 atkbdc0 I/O ports: 0x60 0x64 atkbd0 Interrupt request lines: 1 sc0 vga0 I/O ports: 0x3c0-0x3df I/O memory addresses: 0xa0000-0xbffff orm0 I/O memory addresses: 0xc0000-0xcf7ff pmtimer0 acpi_sysresource1 acpi_sysresource2 pci_link0 pci_link1 pci_link2 pci_link3 pci_link4 pci_link5 pci_link6 pci_link7 pci_link8 pci_link9 pci_link10 pci_link11 acpi_sysresource3 atpic0 atdma0 attimer0 attimer1 npxisa0 uart0 Interrupt request lines: 4 I/O ports: 0x3f8-0x3ff uart1 Interrupt request lines: 3 I/O ports: 0x2f8-0x2ff ppc0 Interrupt request lines: 7 I/O ports: 0x378-0x37f ppbus0 plip0 lpt0 ppi0 acpi_tz0 acpi_timer0 ACPI I/O ports: 0x408-0x40b Interrupt request lines: 0 (root0) 1 (atkbd0) 3 (uart1) 4 (uart0) 5-6 (root0) 7 (ppc0) 8 (root0) 9 (acpi0) 10-13 (root0) 14 (ata0) 15 (ata1) 16-17 (root0) 18 (re0) 19 (re1) 20 (atapci0) 21 (uhci0) 22-23 (root0) DMA request lines: 0-7 (root0) I/O ports: 0x0-0xf (root0) 0x10-0x1f (acpi0) 0x20-0x21 (root0) 0x22-0x3f (acpi0) 0x40-0x43 (root0) 0x44-0x5f (acpi0) 0x60 (atkbdc0) 0x61 (root0) 0x62-0x63 (acpi0) 0x64 (atkbdc0) 0x65-0x6f (acpi0) 0x70-0x73 (root0) 0x74-0x7f (acpi0) 0x80-0x90 (root0) 0x91-0x93 (acpi0) 0x94-0xa1 (root0) 0xa2-0xbf (acpi0) 0xc0-0xdf (root0) 0xe0-0xef (acpi0) 0xf0-0x16f (root0) 0x170-0x177 (atapci1) 0x178-0x1ef (root0) 0x1f0-0x1f7 (atapci1) 0x1f8-0x28f (root0) 0x290-0x297 (acpi0) 0x298-0x2f7 (root0) 0x2f8-0x2ff (uart1) 0x300-0x375 (root0) 0x376 (atapci1) 0x377 (root0) 0x378-0x37f (ppc0) 0x380-0x3bf (root0) 0x3c0-0x3df (vga0) 0x3e0-0x3f5 (root0) 0x3f6 (atapci1) 0x3f7 (fdc0) 0x3f8-0x3ff (uart0) 0x400-0x47f (acpi0) 0x480-0x4cf (root0) 0x4d0-0x4d1 (acpi0) 0x4d2-0x4ff (root0) 0x500-0x50f (acpi0) 0x510-0x7ff (root0) 0x800-0x805 (acpi0) 0x806-0xedff (root0) 0xee00-0xeeff ---- 0xef00-0xefff (root0) 0xf000-0xf0ff (re0) 0xf100-0xf1ff (root0) 0xf200-0xf2ff (re1) 0xf300-0xf3ff (root0) 0xf400-0xf4ff (atapci0) 0xf500-0xf5ff (root0) 0xf600-0xf61f (uhci3) 0xf620-0xf6ff (root0) 0xf700-0xf71f (uhci2) 0xf720-0xf7ff (root0) 0xf800-0xf81f (uhci1) 0xf820-0xf8ff (root0) 0xf900-0xf91f (uhci0) 0xf920-0xf9ff (root0) 0xfa00-0xfa0f (atapci1) 0xfa10-0xfaff (root0) 0xfb00-0xfb0f (atapci0) 0xfb10-0xfbff (root0) 0xfc00-0xfc03 (atapci0) 0xfc04-0xfcff (root0) 0xfd00-0xfd07 (atapci0) 0xfd08-0xfdff (root0) 0xfe00-0xfe03 (atapci0) 0xfe04-0xfeff (root0) 0xff00-0xff07 (atapci0) 0xff08-0xffff (root0) I/O memory addresses: 0x0-0x9efff (ram0) 0x9f000-0x9ffff (root0) 0xa0000-0xbffff (vga0) 0xc0000-0xcf7ff (orm0) 0xcf800-0xeffff (root0) 0xf0000-0xfffff (acpi0) 0x100000-0x1eedffff (ram0) 0x1eee0000-0x1eefffff (acpi0) 0x1ef00000-0xe7ffffff (root0) 0xe8000000-0xefffffff (hostb0) 0xf0000000-0xf3ffffff (root0) 0xf4000000-0xf7ffffff (vgapci0) 0xf8000000-0xfaffffff (root0) 0xfb000000-0xfbffffff (vgapci0) 0xfc000000-0xfdffcfff (root0) 0xfdffd000-0xfdffd0ff (ehci0) 0xfdffd100-0xfdffdfff (root0) 0xfdffe000-0xfdffe0ff (re1) 0xfdffe100-0xfdffefff (root0) 0xfdfff000-0xfdfff0ff (re0) 0xfdfff100-0xfe7fffff (root0) 0xfe800000-0xfe8000ff (acpi0) 0xfe800100-0xfe9fffff (root0) 0xfea00000-0xfea000ff (acpi0) 0xfea00100-0xfebfffff (root0) 0xfec00000-0xfecfffff (acpi0) 0xfed00000-0xfedfffff (root0) 0xfee00000-0xfeefffff (acpi0) 0xfef00000-0xfff7ffff (root0) 0xfff80000-0xfffeffff (acpi0) 0xffff0000-0xffffffff (acpi0) ACPI I/O ports: 0x10-0x1f (root0) 0x22-0x3f (root0) 0x44-0x5f (root0) 0x62-0x63 (root0) 0x65-0x6f (root0) 0x74-0x7f (root0) 0x91-0x93 (root0) 0xa2-0xbf (root0) 0xe0-0xef (root0) 0x290-0x297 (root0) 0x400-0x407 (root0) 0x408-0x40b (acpi_timer0) 0x40c-0x413 (root0) 0x414 (cpu0) 0x415 (cpu0) 0x416-0x47f (root0) 0x4d0-0x4d1 (root0) 0x500-0x50f (root0) 0x800-0x805 (root0) ACPI I/O memory addresses: 0xf0000-0xfffff (root0) 0x1eee0000-0x1eefffff (root0) 0xfe800000-0xfe8000ff (root0) 0xfea00000-0xfea000ff (root0) 0xfec00000-0xfecfffff (root0) 0xfee00000-0xfeefffff (root0) 0xfff80000-0xfffeffff (root0) 0xffff0000-0xffffffff (root0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48864EF4.3090708>