From owner-freebsd-stable@FreeBSD.ORG Wed May 30 11:43:48 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20C5F16A468 for ; Wed, 30 May 2007 11:43:48 +0000 (UTC) (envelope-from gonzo@pbxpress.com) Received: from bugor.portaone.com (bugor.portaone.com [65.61.203.147]) by mx1.freebsd.org (Postfix) with ESMTP id D90A013C45D for ; Wed, 30 May 2007 11:43:47 +0000 (UTC) (envelope-from gonzo@pbxpress.com) Received: from mail.pbxpress.com ([65.61.203.142] helo=leaf.pbxpress.com) by bugor.portaone.com (8.11.3/8.11.3) with ESMTP (TLSv1:AES256-SHA:256)id 1HtMCs-000EeD-AH for stable@freebsd.org; Wed, 30 May 2007 04:19:10 -0700 Received: from [192.168.0.6] (k3-gw.portaone.com [193.28.87.193]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id l4UBJoAx066685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 30 May 2007 04:19:53 -0700 (PDT) (envelope-from gonzo@pbxpress.com) Message-ID: <465D5D8E.2050102@pbxpress.com> Date: Wed, 30 May 2007 14:18:38 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 1.5.0.9 (X11/20070115) MIME-Version: 1.0 To: stable@freebsd.org Content-Type: multipart/mixed; boundary="------------090007020104090107070104" X-Spam-Status: No, recieved from customer server pbxpress.com or rt.portaone.com Cc: Subject: acpi_hpet panic on amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 11:43:48 -0000 This is a multi-part message in MIME format. --------------090007020104090107070104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit My 6.2-STABLE box panics on boot trying to initialize acpi_hpet0. The problem is "divide by zero" exception and takes place in dev/acpica/acpi_hpet.c in acpi_hpet_attach. HPET_OFFSET_PERIOD register is zero and there is no check for it. I've added this check for my system, though I'm not sure it's the best solution. dmesg is attached in case it might be useful. -- Sincerely, Oleksandr Tymoshenko PBXpress Communications, Inc. http://www.pbxpress.com Tel./Fax.: +1 866 SIP PBX1 Ext. 656 --------------090007020104090107070104 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #3: Wed May 30 11:04:17 UTC 2007 root@wooster.pbxpress.com:/usr/obj/usr/src/sys/WOOSTER WARNING: WITNESS option enabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 real memory = 1039204352 (991 MB) avail memory = 992591872 (946 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 pci0: at device 5.0 (no driver attached) pci0: at device 9.0 (no driver attached) isab0: port 0x8800-0x887f at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) ohci0: mem 0xf2204000-0xf2204fff irq 18 at device 11.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 8 ports with 8 removable, self powered ehci0: mem 0xf2208000-0xf22080ff irq 19 at device 11.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 8 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 8 ports with 8 removable, self powered atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8c00-0x8c0f at device 13.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x8c40-0x8c47,0x8c34-0x8c37,0x8c38-0x8c3f,0x8c30-0x8c33,0x8c10-0x8c1f mem 0xf2205000-0xf2205fff irq 20 at device 14.0 on pci0 ata2: on atapci1 ata3: on atapci1 atapci2: port 0x8c58-0x8c5f,0x8c4c-0x8c4f,0x8c50-0x8c57,0x8c48-0x8c4b,0x8c20-0x8c2f mem 0xf2206000-0xf2206fff irq 21 at device 15.0 on pci0 ata4: on atapci2 ata5: on atapci2 pcib3: at device 16.0 on pci0 pci4: on pcib3 pci0: at device 16.1 (no driver attached) nve0: port 0x8c60-0x8c67 mem 0xf2207000-0xf2207fff irq 23 at device 20.0 on pci0 nve0: Ethernet address 00:30:05:a7:bc:30 miibus0: on nve0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nve0: Ethernet address: 00:30:05:a7:bc:30 acpi_hpet0: iomem 0x1e0e000-0x1e0efff on acpi0 device_attach: acpi_hpet0 attach returned 22 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A acpi_hpet0: iomem 0x1e0e000-0x1e0efff on acpi0 device_attach: acpi_hpet0 attach returned 12 orm0: at iomem 0xcf000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled ukbd0: CHESEN USB Keyboard, rev 1.10/1.10, addr 2, iclass 3/1 kbd2 at ukbd0 uhid0: CHESEN USB Keyboard, rev 1.10/1.10, addr 2, iclass 3/1 Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master UDMA33 ad4: 76319MB at ata2-master SATA300 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a --------------090007020104090107070104--