From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 3 22:20:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6EA816A4C1 for ; Wed, 3 Sep 2003 22:20:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC3AB43FE9 for ; Wed, 3 Sep 2003 22:20:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h845KJUp094844 for ; Wed, 3 Sep 2003 22:20:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h845KJTH094843; Wed, 3 Sep 2003 22:20:19 -0700 (PDT) Date: Wed, 3 Sep 2003 22:20:19 -0700 (PDT) Message-Id: <200309040520.h845KJTH094843@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Anish Mistry Subject: Re: kern/56394:ACPI sleep delay causes system reboot on second suspend X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 05:20:23 -0000 The following reply was made to PR kern/56394; it has been noted by GNATS. From: Anish Mistry To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/56394:ACPI sleep delay causes system reboot on second suspend Date: Thu, 4 Sep 2003 01:19:05 -0400 http://am-productions.biz/debug/acpidump.txt http://am-productions.biz/debug/littleguy.dsdt http://am-productions.biz/debug/littleguy.asl http://am-productions.biz/debug/dmesg.txt Forgot to include dmesg: Copyright (c) 1992-2003 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.1-CURRENT #13: Tue Sep 2 00:13:41 EDT 2003 root@littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY Preloaded elf kernel "/boot/kernel/kernel" at 0xc0416000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0416250. Calibrating clock(s) ... i8254 clock: 1193167 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 842151665 Hz CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (842.15-MHz 586-class CPU) Origin = "GenuineTMx86" Id = 0x543 Processor revision 1.4.1.0 Code Morphing Software revision 4.3.0-9-197 20020207 23:55 official release 4.3.0#7 LongRun mode: 2 <867MHz 1300mV 100%> real memory = 251527168 (239 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) 0x000000000043d000 - 0x000000000eb81fff, 242503680 bytes (59205 pages) avail memory = 239779840 (228 MB) bios32: Found BIOS32 Service Directory header at 0xc00f6f90 bios32: Entry = 0xfd770 (c00fd770) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd770+0x11e pnpbios: Found PnP BIOS data at 0xc00f6fe0 pnpbios: Entry = f0000:9528 Rev = 1.0 Other BIOS signatures found: mem: null: random: npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x80003074 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=03951279) pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 2 A 0x59 3 4 5 7 10 11 embedded 0 4 A 0x08 3 4 5 7 9 10 14 15 embedded 0 12 A 0x01 3 4 5 7 9 10 14 15 embedded 0 16 A 0x02 3 4 5 7 9 10 14 15 embedded 0 18 A 0x05 3 4 5 7 9 10 14 15 embedded 0 18 B 0x06 3 4 5 7 9 10 14 15 embedded 0 19 A 0x03 3 4 5 7 9 10 14 15 embedded 0 20 A 0x04 3 4 5 7 9 10 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 6 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 6 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 18 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 16 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 12 func 0 acpi0: power button is handled as a fixed feature programming model. ACPI timer looks BAD min = 2, max = 941, width = 939 ACPI timer looks BAD min = 2, max = 16, width = 14 ACPI timer looks BAD min = 2, max = 7, width = 5 ACPI timer looks BAD min = 2, max = 6, width = 4 ACPI timer looks BAD min = 2, max = 5, width = 3 ACPI timer looks GOOD min = 2, max = 4, width = 2 ACPI timer looks BAD min = 2, max = 5, width = 3 ACPI timer looks BAD min = 2, max = 5, width = 3 ACPI timer looks GOOD min = 2, max = 4, width = 2 ACPI timer looks GOOD min = 2, max = 4, width = 2 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0 acpi_cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \\_SB_.PCI0.EIO_.LNKU irq 11: [ 3 4 5 7 9 10 11] low,level,sharable 0.2.0 \\_SB_.PCI0.EIO_.LNKH irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.4.0 \\_SB_.PCI0.EIO_.LNKA irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.12.0 \\_SB_.PCI0.EIO_.LNKC irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.19.0 \\_SB_.PCI0.EIO_.LNKD irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.20.0 \\_SB_.PCI0.EIO_.LNKB irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.16.0 \\_SB_.PCI0.EIO_.LNKE irq 0: [ 3 4 5 7 9 10 11] low,level,sharable 0.18.0 \\_SB_.PCI0.EIO_.LNKF irq 0: [ 3 4 5 7 9 10 11] low,level,sharable 0.18.1 ---- before setting priority for links ------------ \\_SB_.PCI0.EIO_.LNKE: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 0 \\_SB_.PCI0.EIO_.LNKF: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 0 ---- before fixup boot-disabled links ------------- \\_SB_.PCI0.EIO_.LNKE: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 734 \\_SB_.PCI0.EIO_.LNKF: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 734 ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \\_SB_.PCI0.EIO_.LNKU irq 11: [ 3 4 5 7 9 10 11] low,level,sharable 0.2.0 \\_SB_.PCI0.EIO_.LNKH irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.4.0 \\_SB_.PCI0.EIO_.LNKA irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.12.0 \\_SB_.PCI0.EIO_.LNKC irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.19.0 \\_SB_.PCI0.EIO_.LNKD irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.20.0 \\_SB_.PCI0.EIO_.LNKB irq 9: [ 3 4 5 7 9 10 11] low,level,sharable 0.16.0 \\_SB_.PCI0.EIO_.LNKE irq 10: [ 3 4 5 7 9 10 11] low,level,sharable 0.18.0 \\_SB_.PCI0.EIO_.LNKF irq 5: [ 3 4 5 7 9 10 11] low,level,sharable 0.18.1 pci0: on pcib0 pci0: physical bus=0 map[10]: type 1, range 32, base fc000000, size 20, enabled found-> vendor=0x1279, dev=0x0395, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x2200, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1279, dev=0x0396, revid=0x00 bus=0, slot=0, func=1 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1279, dev=0x0397, revid=0x00 bus=0, slot=0, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base fc100000, size 12, enabled pcib0: matched entry for 0.2.INTA (source \\_SB_.PCI0.EIO_.LNKU) pcib0: slot 2 INTA is routed to irq 11 found-> vendor=0x10b9, dev=0x5237, revid=0x03 bus=0, slot=2, func=0 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0017, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 00001000, size 8, port disabled map[14]: type 1, range 32, base fc101000, size 12, memory disabled pcib0: matched entry for 0.4.INTA (source \\_SB_.PCI0.EIO_.LNKH) pcib0: slot 4 INTA is routed to irq 9 found-> vendor=0x10b9, dev=0x5451, revid=0x01 bus=0, slot=4, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x18 (6000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x10b9, dev=0x7101, revid=0x00 bus=0, slot=6, func=0 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10b9, dev=0x1533, revid=0x00 bus=0, slot=7, func=0 class=06-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x000f, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 1 supports D0 D3 current D0 pcib0: matched entry for 0.12.INTA (source \\_SB_.PCI0.EIO_.LNKA) pcib0: slot 12 INTA is routed to irq 9 found-> vendor=0x104c, dev=0xac50, revid=0x01 bus=0, slot=12, func=0 class=06-07-00, hdrtype=0x02, mfdev=0 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=a, irq=9 powerspec 1 supports D0 D1 D2 D3 current D0 map[20]: type 4, range 32, base 00001400, size 4, enabled found-> vendor=0x10b9, dev=0x5229, revid=0xc3 bus=0, slot=15, func=0 class=01-01-fa, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns) intpin=a, irq=255 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 00008000, size 8, enabled map[14]: type 1, range 32, base fc102000, size 8, enabled pcib0: matched entry for 0.16.INTA (source \\_SB_.PCI0.EIO_.LNKB) pcib0: slot 16 INTA is routed to irq 9 found-> vendor=0x10ec, dev=0x8139, revid=0x10 bus=0, slot=16, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base fc102800, size 11, memory disabled map[14]: type 1, range 32, base fc104000, size 14, enabled pcib0: matched entry for 0.19.INTA (source \\_SB_.PCI0.EIO_.LNKC) pcib0: slot 19 INTA is routed to irq 9 found-> vendor=0x104c, dev=0x8026, revid=0x00 bus=0, slot=19, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0010, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base fd000000, size 24, enabled map[14]: type 4, range 32, base 00001800, size 8, enabled map[18]: type 1, range 32, base fc103000, size 12, enabled pcib0: matched entry for 0.20.INTA (source \\_SB_.PCI0.EIO_.LNKD) pcib0: slot 20 INTA is routed to irq 9 found-> vendor=0x1002, dev=0x4c52, revid=0x64 bus=0, slot=20, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns) intpin=a, irq=9 powerspec 1 supports D0 D1 D2 D3 current D0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 2.0 (no driver attached) pci0: at device 4.0 (no driver attached) pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 12.0 (no driver attached) atapci0: port 0x1400-0x140f at device 15.0 on pci0 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-slave: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-slave: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-slave: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-slave: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-slave: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-slave: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1 ata0: reset tp3 devices=0x1 ata0: at 0x1f0 irq 14 on atapci0 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1-master: stat=0xd0 err=0x00 lsb=0x12 msb=0x00 ata1-slave: stat=0xd0 err=0x04 lsb=0xff msb=0xff ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 mask=03 stat0=00 stat1=00 devices=0x4 ata1: reset tp3 devices=0x4 ata1: at 0x170 irq 15 on atapci0 rl0: port 0x8000-0x80ff mem 0xfc102000-0xfc1020ff irq 9 at device 16.0 on pci0 rl0: Ethernet address: 00:e0:00:ae:45:08 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: bpf attached pci0: at device 19.0 (no driver attached) pci0: at device 20.0 (no driver attached) acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 psmcpnp0 irq 12 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x54ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 acpi_ec0: port 0x66,0x62 on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: