From owner-freebsd-current Mon Oct 14 14:36:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E5E37B401; Mon, 14 Oct 2002 14:36:20 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id E905843EAC; Mon, 14 Oct 2002 14:36:18 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g9ELaIKD080379; Mon, 14 Oct 2002 15:36:18 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g9ELaHxZ080378; Mon, 14 Oct 2002 15:36:17 -0600 (MDT) (envelope-from ken) Date: Mon, 14 Oct 2002 15:36:17 -0600 From: "Kenneth D. Merry" To: Mitsuru IWASAKI Cc: jhb@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: PCI problems with today's current Message-ID: <20021014153617.A80354@panzer.kdm.org> References: <20021004204606.A8882@panzer.kdm.org> <20021005.120947.58431680.iwasaki@jp.FreeBSD.org> <20021005230043.A19273@panzer.kdm.org> <20021006.142541.67030894.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021006.142541.67030894.iwasaki@jp.FreeBSD.org>; from iwasaki@jp.FreeBSD.org on Sun, Oct 06, 2002 at 02:25:41PM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Oct 06, 2002 at 14:25:41 +0900, Mitsuru IWASAKI wrote: > Hi, > > > I tried the patches you checked in, and PCI bus 2 on my machine still isn't > > probed. See the attached dmesg. > > > > I'm a bit confused about just what sort of file the ACPI code expects to > > load on boot. > > > > I installed the acpicatools port, so I've got iasl(1), but it appears to > > have 4 output modes (C or assembly source, C or assembly hex table), at > > least for AML output (which acpi(4) says is what you need to load), and > > no output modes for DSDT files. > > Ok, you got errors from iasl, like; > SupermicroP3TDE6.new.asl 56: Scope(DEB_) { > Error 1077 - ^ Existing object has invalid type for Scope operator (DEB_, Integer) > > This is invalid, so ACPI CA interpreter in our kernel complains; > ACPI-0623: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) > > But never mind, you can force to compile the ASL and generate DSDT; > # iasl -i SupermicroP3TDE6.new.asl > then copy generated acpi_dsdt.aml to /boot/. > # cp acpi_dsdt.aml /boot/ Okay, I did that, and then typed the following at the boot prompt: set acpi_dsdt_load="YES" set acpi_dsdt_name="/boot/acpi_dsdt.aml" Things still don't seem to be working properly. I've attached dmesg output. Ken -- Kenneth Merry ken@kdm.org --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.nobus2.20021014" Copyright (c) 1992-2002 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.0-CURRENT #0: Sun Oct 13 23:10:47 MDT 2002 ken@nargothrond.kdm.org:/usr/home/ken/perforce/FreeBSD-ken/src/sys/i386/compile/gondolin Preloaded elf kernel "/boot/kernel.test32/kernel" at 0xc0569000. Preloaded elf module "/boot/kernel.test32/acpi.ko" at 0xc05690b0. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1266.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 2684289024 (2621376K bytes) avail memory = 2602561536 (2541564K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 Pentium Pro MTRR support enabled ACPI-0623: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [IO__] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [OSB4] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0623: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz Using $PIR table, 10 entries at 0xc00f52e0 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu2: on acpi0 acpi_cpu3: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- pci0: on pcib0 IOAPIC #1 intpin 10 -> irq 2 IOAPIC #1 intpin 11 -> irq 5 IOAPIC #1 intpin 15 -> irq 9 pcib1: at device 0.1 on pci0 ---- initial configuration ------------------------ ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- pci1: on pcib1 IOAPIC #1 intpin 14 -> irq 11 pci1: at device 0.0 (no driver attached) ahc0: port 0xd000-0xd0ff mem 0xfeafc000-0xfeafcfff irq 2 at device 5.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 5 at device 5.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs fxp0: port 0xd400-0xd43f mem 0xfe900000-0xfe9fffff,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on pci0 fxp0: Ethernet address 00:30:48:21:bb:74 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: port 0x580-0x58f at device 15.0 on pci0 isa0: on isab0 pci0: at device 15.1 (no driver attached) pci0: at device 15.2 (no driver attached) pcib2: on acpi0 acpi0: couldn't attach pci busdevice_probe_and_attach: pcib2 attach returned 6 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppi0: on ppbus0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port pcib2: on acpi0 acpi0: couldn't attach pci busdevice_probe_and_attach: pcib2 attach returned 6 fdc0: cmd 3 failed at out byte 1 of 3 orm0: