From nobody@FreeBSD.org  Wed Dec  8 20:23:37 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7345216A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Dec 2004 20:23:37 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3FAE643D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Dec 2004 20:23:37 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iB8KNa0H038349
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 8 Dec 2004 20:23:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iB8KNapJ038348;
	Wed, 8 Dec 2004 20:23:36 GMT
	(envelope-from nobody)
Message-Id: <200412082023.iB8KNapJ038348@www.freebsd.org>
Date: Wed, 8 Dec 2004 20:23:36 GMT
From: Joerg Ruppe-Tanner <joerg.ruppe-tanner@ch-open.ch>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ACPI  enabled in 5.3 Release make Kernel reboot in 5.3.b7 not!!
X-Send-Pr-Version: www-2.3

>Number:         74868
>Category:       kern
>Synopsis:       [acpi] ACPI enabled in 5.3 Release make Kernel reboot in 5.3.b7 not!!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-acpi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 08 20:30:35 GMT 2004
>Closed-Date:    Thu Jun 14 06:24:49 GMT 2007
>Last-Modified:  Thu Jun 14 06:24:49 GMT 2007
>Originator:     Joerg Ruppe-Tanner
>Release:        5.3 Release
>Organization:
>Environment:
neptun# uname -a
FreeBSD neptun.jrtnet.ch 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Wed Dec  8 18:33:38 UTC 2004     root@neptun.jrtnet.ch:/usr/obj/usr/src/sys/neptun01  amd64
neptun#
neptun#



>Description:
   neptun# dmesg
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.3-RELEASE #2: Wed Dec  8 18:33:38 UTC 2004
    root@neptun.jrtnet.ch:/usr/obj/usr/src/sys/neptun01
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1794.90-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf48  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 535756800 (510 MB)
avail memory = 505790464 (482 MB)
ACPI APIC Table: <PTLTD          APIC  >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 0.3> irqs 0-23 on motherboard
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0xb> port 0x66,0x62 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <network> at device 10.0 (no driver attached)
cbb0: <RF5C476 PCI-CardBus Bridge> at device 11.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C476 PCI-CardBus Bridge> at device 11.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: <Ricoh R5C552> mem 0xd0002000-0xd00027ff irq 19 at device 11.2 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:0a:e4:04:07:10:1b:ba
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:0a:e4:10:1b:ba
fwe0: Ethernet address: 02:0a:e4:10:1b:ba
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
bge0: <Broadcom BCM5788 Gigabit Ethernet, ASIC rev. 0x3003> mem 0xd0010000-0xd001ffff irq 20 at device 12.0 on pci0
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:0a:e4:4e:f7:36
uhci0: <VIA 83C572 USB controller> port 0x1020-0x103f at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0x1040-0x105f at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0x1060-0x107f at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: <VIA VT8235> port 0x1400-0x14ff irq 22 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <VIA Technologies VIA1612A AC97 Codec>
pci0: <simple comms> at device 17.6 (no driver attached)
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 3 drq 1 on acpi0
sio0: type 16550A
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xd8000-0xdbfff,0xcf000-0xcffff,0xc0000-0xcefff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1794897589 Hz quality 800
Timecounters tick every 0.976 msec
ad0: 57231MB <IC25N060ATMR04-0/MO3OAD4A> [116280/16/63] at ata0-master UDMA100
acd0: DVDR <Slimtype DVDRW SDW-431S/MCS3> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
Accounting enabled
cpu0: Performance states changed
neptun#   
>How-To-Repeat:

>Fix:
The following Files from 5.3.Beta 7 copy in the Release Source Tree
dev/acpica/acpi.c
dev/acpica/acpi_pcib_acpi.c
dev/acpica/acpi_quirks
dev/acpica/Osd/OsdTable.c
dev/acpica/acpi_timer.c
dev/acpica/acpivar.h

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: ceri 
State-Changed-When: Thu Dec 9 00:14:56 GMT 2004 
State-Changed-Why:  
Could you please add a few more sentences to this PR stating what the 
problem is?  It's not really clear from the submission.  Thanks, 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74868 
State-Changed-From-To: feedback->open 
State-Changed-By: ceri 
State-Changed-When: Fri Dec 10 10:04:54 GMT 2004 
State-Changed-Why:  
Feedback received: 

Date: Thu, 09 Dec 2004 20:22:19 +0100 
From: Joerg Ruppe-Tanner <joerg.ruppe-tanner@ch-open.ch> 

Without the modifcation and acpi enabled the Kernel "crashes" and reboots. 
When I take the generic Kernel and disable the acpi Mode, the usb 
doesn't work and the power doesn't switch of when i make init 0. 
With the modifikation and acpi enabled the usb ports work and the power 
switch off when i make init 0. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=74868 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sat Apr 28 09:12:54 UTC 2007 
State-Changed-Why:  
Does this problem still recur with 6.2? 


Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Apr 28 09:12:54 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=74868 

From: John Baldwin <jhb@FreeBSD.org>
To: bug-followup@FreeBSD.org, joerg.ruppe-tanner@ch-open.ch
Cc:  
Subject: Re: kern/74868: [acpi] ACPI enabled in 5.3 Release make Kernel reboot in 5.3.b7 not!!
Date: Mon, 30 Apr 2007 11:56:17 -0400

 I've looked at the changes to those files around the time of 5.3 and there's 
 nothing that really sticks out except that a quirk for the ACPI timer was 
 changed to be narrower, but that wouldn't affect poweroff.  To have any hope 
 of debugging this, we'd need to have 1) the messages from the kernel crash, 
 and 2) the actual diff of the changed files.
 
 -- 
 John Baldwin
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 14 06:24:19 UTC 2007 
State-Changed-Why:  
Feedback timeout (1 month). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74868 
>Unformatted:
