From owner-freebsd-acpi@FreeBSD.ORG Tue May 10 07:00:30 2005 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A75F16A4EF for ; Tue, 10 May 2005 07:00:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2A3E43D5D for ; Tue, 10 May 2005 07:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4A70Tsa090789 for ; Tue, 10 May 2005 07:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4A70TaD090647; Tue, 10 May 2005 07:00:29 GMT (envelope-from gnats) Date: Tue, 10 May 2005 07:00:29 GMT Message-Id: <200505100700.j4A70TaD090647@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Eugene Grosbein Subject: Re: kern/80815 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 07:00:30 -0000 The following reply was made to PR kern/80815; it has been noted by GNATS. From: Eugene Grosbein To: John Baldwin Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: kern/80815 Date: Tue, 10 May 2005 14:50:38 +0800 > Are any of the IRQs different when you do use the pci_link code compared to > the dmesg when you have pci_link disabled? Additional information corcerning IRQs here. This machine has Award Modular BIOS 4.51PG of Dec.12.2000 for BD100Plus/31311A. BIOS ID string is 12/12/2000-i440BX-W977EF-2A69KI3IC-00 Machine is triple-boot: Windows 98SE, FreeBSD 4.11 and FreeBSD 5.4 Some BIOS Setup settings: PNP OS Installed: YES Resources Controlled by: Manual Assign IRQ for VGA: yes # required for DRM/OpenGL in RELENG_4 Assign USB for USB: yes # required for USB support in RELENG_4 IRQ5 is assigned to 'Legacy ISA' (ISA PnP sound card), IRQ9 is assigned to 'Slot 2' (here is fxp0), IRQ10 is assigned to 'Slot 3' (here is Promise Ultra100 TX2 ATA controller). IRQ 5 and IRQ9 are fixed for FreeBSD 4.11, otherwise it assigns IRQ5 for fxp0 and sound doesn't work. IRQ10 is fixed for 4.11 too, otherwise it assignes IRQ11 to ATA controller and radeon(4) fails later. Here comes diff for verbose dmesg.boot with and without pci_link enabled. --- dmesg_full_verbose Tue May 10 14:22:48 2005 +++ dmesg_no_pci_link_verbose Tue May 10 14:24:16 2005 @@ -1,3 +1,44 @@ +Copyright (c) 1992-2005 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.4-STABLE #2: Mon May 9 23:12:18 KRAST 2005 + root@grosbein.pp.ru:/mnt/old/home/obj/usr/local/src/sys/DADV +Preloaded elf kernel "/boot/kernel/kernel" at 0xc0822000. +Preloaded elf module "/boot/modules/acpi.ko" at 0xc08221f4. +Calibrating clock(s) ... i8254 clock: 1193163 Hz +Timecounter "i8254" frequency 1193163 Hz quality 0 +Calibrating TSC clock ... TSC clock: 902035418 Hz +CPU: Intel Celeron (902.04-MHz 686-class CPU) + Origin = "GenuineIntel" Id = 0x68a Stepping = 10 + Features=0x383f9ff +real memory = 603914240 (575 MB) +Physical memory chunk(s): +0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) +0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) +0x0000000000c25000 - 0x000000002359ffff, 580366336 bytes (141691 pages) +avail memory = 581259264 (554 MB) +bios32: Found BIOS32 Service Directory header at 0xc00faef0 +bios32: Entry = 0xfb370 (c00fb370) Rev = 0 Len = 1 +pcibios: PCI BIOS entry at 0xf0000+0xb3a0 +pnpbios: Found PnP BIOS data at 0xc00fbfc0 +pnpbios: Entry = f0000:bfe8 Rev = 1.0 +Other BIOS signatures found: +io: +mem: +Pentium Pro MTRR support enabled +VESA: information block +56 45 53 41 00 02 00 01 00 01 01 00 00 00 22 00 +00 01 00 04 00 01 10 01 00 01 26 01 00 01 2b 01 +00 01 6a 00 02 01 04 01 82 01 0d 01 0e 01 0f 01 +20 01 92 01 93 01 94 01 95 01 96 01 a2 01 a3 01 +VESA: 56 mode(s) found +VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc073bbe2 (1000022) +VESA: ATI RADEON 9200 +VESA: ATI Technologies Inc. V280 01.00 +null: +random: +npx0: [FAST] +npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [MPSAFE] @@ -43,7 +84,7 @@ acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi0: Power Button (fixed) -ACPI timer: 0/16777185 0/4 0/4 0/4 0/4 0/4 0/4 0/3 0/16777186 0/16777209 -> 0 +ACPI timer: 0/3 0/3 0/3 0/3 0/3 0/3 0/3 0/3 0/16777213 0/3 -> 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 @@ -51,31 +92,6 @@ acpi_throttle0: P_CNT from P_BLK 0x4010 acpi_button0: on acpi0 pcib0: port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0 -ACPI PCI link initial configuration: -\\_SB_.PCI0.ISA_.LNKA irq 0: [ 3 4 5 6 7 10 11 12 14 15] 11+ low,level,sharable 0.15.0 -\\_SB_.PCI0.ISA_.LNKB irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.15.1 -\\_SB_.PCI0.ISA_.LNKC irq 0: [ 3 4 5 6 7 10 11 12 14 15] 10+ low,level,sharable 0.15.2 -\\_SB_.PCI0.ISA_.LNKD irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.15.3 -\\_SB_.PCI0.ISA_.LNKB irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.16.0 -\\_SB_.PCI0.ISA_.LNKC irq 0: [ 3 4 5 6 7 10 11 12 14 15] 10+ low,level,sharable 0.16.1 -\\_SB_.PCI0.ISA_.LNKD irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.16.2 -\\_SB_.PCI0.ISA_.LNKA irq 0: [ 3 4 5 6 7 10 11 12 14 15] 11+ low,level,sharable 0.16.3 -\\_SB_.PCI0.ISA_.LNKC irq 0: [ 3 4 5 6 7 10 11 12 14 15] 10+ low,level,sharable 0.18.0 -\\_SB_.PCI0.ISA_.LNKD irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.18.1 -\\_SB_.PCI0.ISA_.LNKA irq 0: [ 3 4 5 6 7 10 11 12 14 15] 11+ low,level,sharable 0.18.2 -\\_SB_.PCI0.ISA_.LNKB irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.18.3 -\\_SB_.PCI0.ISA_.LNKD irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.19.0 -\\_SB_.PCI0.ISA_.LNKA irq 0: [ 3 4 5 6 7 10 11 12 14 15] 11+ low,level,sharable 0.19.1 -\\_SB_.PCI0.ISA_.LNKB irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.19.2 -\\_SB_.PCI0.ISA_.LNKC irq 0: [ 3 4 5 6 7 10 11 12 14 15] 10+ low,level,sharable 0.19.3 -\\_SB_.PCI0.ISA_.LNKA irq 0: [ 3 4 5 6 7 10 11 12 14 15] 11+ low,level,sharable 0.7.0 -\\_SB_.PCI0.ISA_.LNKB irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.7.1 -\\_SB_.PCI0.ISA_.LNKC irq 0: [ 3 4 5 6 7 10 11 12 14 15] 10+ low,level,sharable 0.7.2 -\\_SB_.PCI0.ISA_.LNKD irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.7.3 -\\_SB_.PCI0.ISA_.LNKA irq 0: [ 3 4 5 6 7 10 11 12 14 15] 11+ low,level,sharable 0.1.0 -\\_SB_.PCI0.ISA_.LNKB irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.1.1 -\\_SB_.PCI0.ISA_.LNKC irq 0: [ 3 4 5 6 7 10 11 12 14 15] 10+ low,level,sharable 0.1.2 -\\_SB_.PCI0.ISA_.LNKD irq 0: [ 3 4 5 6 7 10 11 12 14 15] 9+ low,level,sharable 0.1.3 pci0: on pcib0 pci0: physical bus=0 map[10]: type 3, range 32, base e8000000, size 26, enabled @@ -101,22 +117,7 @@ cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000d000, size 5, enabled -pcib0: matched entry for 0.7.INTD (src \\_SB_.PCI0.ISA_.LNKD) -pcib0: possible interrupts: 3 4 5 6 7 10 11 12 14 15 -ACPI PCI link arbitrated settings: -\\_SB_.PCI0.ISA_.LNKA (references 6, priority 76470): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 240 240 290 5240 5240 5240 5240 5240 50240 50240 -\\_SB_.PCI0.ISA_.LNKB (references 6, priority 76470): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 240 240 290 5240 5240 5240 5240 5240 50240 50240 -\\_SB_.PCI0.ISA_.LNKC (references 6, priority 76470): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 240 240 290 5240 5240 5240 5240 5240 50240 50240 -\\_SB_.PCI0.ISA_.LNKD (references 6, priority 76470): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 240 240 290 5240 5240 5240 5240 5240 50240 50240 -pcib0: slot 7 INTD routed to irq 9 via \\_SB_.PCI0.ISA_.LNKD +pcib0: no PRT entry for 0.7.INTD found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 @@ -132,19 +133,7 @@ map[10]: type 3, range 32, base f0104000, size 12, enabled map[14]: type 4, range 32, base 0000d400, size 5, enabled map[18]: type 1, range 32, base f0000000, size 20, enabled -pcib0: matched entry for 0.16.INTA (src \\_SB_.PCI0.ISA_.LNKB) -pcib0: possible interrupts: 3 4 5 6 7 10 11 12 14 15 -ACPI PCI link arbitrated settings: -\\_SB_.PCI0.ISA_.LNKA (references 6, priority 77910): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 480 480 530 5480 5480 5480 5480 5480 50480 50480 -\\_SB_.PCI0.ISA_.LNKB (references 6, priority 77910): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 480 480 530 5480 5480 5480 5480 5480 50480 50480 -\\_SB_.PCI0.ISA_.LNKC (references 6, priority 77910): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 480 480 530 5480 5480 5480 5480 5480 50480 50480 -pcib0: slot 16 INTA routed to irq 9 via \\_SB_.PCI0.ISA_.LNKB +pcib0: no PRT entry for 0.16.INTA found-> vendor=0x8086, dev=0x1229, revid=0x02 bus=0, slot=16, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 @@ -157,16 +146,7 @@ map[1c]: type 4, range 32, base 0000e400, size 2, enabled map[20]: type 4, range 32, base 0000e800, size 4, enabled map[24]: type 1, range 32, base f0100000, size 14, enabled -pcib0: matched entry for 0.18.INTA (src \\_SB_.PCI0.ISA_.LNKC) -pcib0: possible interrupts: 3 4 5 6 7 10 11 12 14 15 -ACPI PCI link arbitrated settings: -\\_SB_.PCI0.ISA_.LNKA (references 6, priority 79350): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 720 720 770 5720 5720 5720 5720 5720 50720 50720 -\\_SB_.PCI0.ISA_.LNKC (references 6, priority 79350): - interrupts: 11 10 5 12 7 6 4 3 15 14 - penalty: 720 720 770 5720 5720 5720 5720 5720 50720 50720 -pcib0: slot 18 INTA routed to irq 10 via \\_SB_.PCI0.ISA_.LNKC +pcib0: no PRT entry for 0.18.INTA found-> vendor=0x105a, dev=0x4d68, revid=0x02 bus=0, slot=18, func=0 class=01-80-85, hdrtype=0x00, mfdev=0 @@ -191,14 +171,7 @@ pcib1: device (null) requested decoded I/O range 0xc000-0xc0ff map[18]: type 1, range 32, base ed000000, size 16, enabled pcib1: device (null) requested decoded memory range 0xed000000-0xed00ffff -pcib0: matched entry for 0.1.INTA (src \\_SB_.PCI0.ISA_.LNKA) -pcib0: possible interrupts: 3 4 5 6 7 10 11 12 14 15 -ACPI PCI link arbitrated settings: -\\_SB_.PCI0.ISA_.LNKA (references 6, priority 80826): - interrupts: 11 5 10 12 7 6 4 3 15 14 - penalty: 960 1010 1020 5960 5960 5960 5960 5960 50960 50960 -pcib0: slot 1 INTA routed to irq 11 via \\_SB_.PCI0.ISA_.LNKA -pcib1: slot 0 INTA is routed to irq 11 +pcib0: no PRT entry for 0.1.INTA found-> vendor=0x1002, dev=0x5961, revid=0x01 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=1 @@ -392,7 +365,7 @@ uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 2, iclass 3/0 uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 3 Device configuration finished. -Timecounter "TSC" frequency 902037119 Hz quality 800 +Timecounter "TSC" frequency 902035418 Hz quality 800 Timecounters tick every 10.000 msec lo0: bpf attached DUMMYNET initialized (011031) @@ -429,14 +402,18 @@ ad6: ATA-5 disk at ata3-master ad6: 39266MB (80418239 sectors), 79779 C, 16 H, 63 S, 512 B ad6: 16 secs/int, 1 depth queue, UDMA100 -(probe1:ata0:0:1:0): error 22 -(probe1:ata0:0:1:0): Unretryable Error -(probe3:ata1:0:1:0): error 22 -(probe3:ata1:0:1:0): Unretryable Error (probe4:ata2:0:0:0): error 22 (probe4:ata2:0:0:0): Unretryable Error (probe5:ata2:0:1:0): error 22 (probe5:ata2:0:1:0): Unretryable Error +(probe4:ata2:0:0:0): error 22 +(probe4:ata2:0:0:0): Unretryable Error +(probe5:ata2:0:1:0): error 22 +(probe5:ata2:0:1:0): Unretryable Error +(probe1:ata0:0:1:0): error 22 +(probe1:ata0:0:1:0): Unretryable Error +(probe3:ata1:0:1:0): error 22 +(probe3:ata1:0:1:0): Unretryable Error (probe6:ata3:0:0:0): error 22 (probe6:ata3:0:0:0): Unretryable Error (probe7:ata3:0:1:0): error 22 @@ -445,10 +422,6 @@ (probe1:ata0:0:1:0): Unretryable Error (probe3:ata1:0:1:0): error 22 (probe3:ata1:0:1:0): Unretryable Error -(probe4:ata2:0:0:0): error 22 -(probe4:ata2:0:0:0): Unretryable Error -(probe5:ata2:0:1:0): error 22 -(probe5:ata2:0:1:0): Unretryable Error (probe6:ata3:0:0:0): error 22 (probe6:ata3:0:0:0): Unretryable Error (probe7:ata3:0:1:0): error 22 Eugene Grosbein