Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 23:00:44 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
Cc:        jhb@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: PCI problems with today's current
Message-ID:  <20021005230043.A19273@panzer.kdm.org>
In-Reply-To: <20021005.120947.58431680.iwasaki@jp.FreeBSD.org>; from iwasaki@jp.FreeBSD.org on Sat, Oct 05, 2002 at 12:09:47PM %2B0900
References:  <20021004202649.A8624@panzer.kdm.org> <20021005.113918.32714284.iwasaki@jp.FreeBSD.org> <20021004204606.A8882@panzer.kdm.org> <20021005.120947.58431680.iwasaki@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Oct 05, 2002 at 12:09:47 +0900, Mitsuru IWASAKI wrote:
> Hi,
> 
> > > > Will the patches you just checked in possibly fix the problem?  If so, I'll
> > > > cvsup and try them out.
> > > 
> > > 99.999%, Yes.
> > 
> > Cool!  I'll cvsup and try it out.
> 
> If still NG, please try the attached patch against SupermicroP3TDE6.asl.
> # _BBN is bridge bus number, my guess is 0x3.  You can try to change it
> # if failed.
> Then please generate DSDT file and orverride DSDT at kernel boot.
> You can find detail procedures in acpi(4) 'OVERRIDING YOUR BIOS BYTECODE'.

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.

acpidump doesn't appear to have a way to turn ASL files into DSDT files,
either.

In any case, when I run iasl (with the C source option) on the .asl file
with your patch, I get a number of errors, although I still get an output
file.

Can you shed some light on this?

Ken
-- 
Kenneth Merry
ken@kdm.org

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.nobus2.20021005"

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: Sat Oct  5 22:07:54 MDT 2002
    ken@nargothrond.kdm.org:/usr/home/ken/perforce/FreeBSD-ken/src/sys/i386/compile/gondolin
Preloaded elf kernel "/boot/kernel/kernel" at 0xc056a000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc056a0a8.
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2684289024 (2621376K bytes)
avail memory = 2602590208 (2541592K 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: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <RCC    RCCNILE > 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
acpi_cpu3: <CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> 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: <ACPI PCI bus> on pcib0
IOAPIC #1 intpin 10 -> irq 2
IOAPIC #1 intpin 11 -> irq 5
IOAPIC #1 intpin 15 -> irq 9
pcib1: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> on pcib1
IOAPIC #1 intpin 14 -> irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 15.1 (no driver attached)
pci0: <serial bus, USB> at device 15.2 (no driver attached)
pcib2: <ACPI Host-PCI bridge> on acpi0
acpi0: couldn't attach pci busdevice_probe_and_attach: pcib2 attach returned 6
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> 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: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pcib2: <ACPI Host-PCI bridge> 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: <Option ROMs> at iomem 0xd1800-0xd27ff,0xc0000-0xcbfff on isa0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
pmtimer0 on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
Timecounters tick every 10.000 msec
Waiting 2 seconds for SCSI devices to settle
acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318406LW 0108> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST318406LW 0108> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <IBM DDYS-T36950N S93E> Fixed Direct Access SCSI-3 device 
da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <IBM DDYS-T36950N S93E> Fixed Direct Access SCSI-3 device 
da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da3: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da1s1a
cd0 at ahc1 bus 0 target 4 lun 0
cd0: <PLEXTOR CD-ROM PX-8XCS 1.00> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
ohci0: <OHCI (generic) USB controller> mem 0xfeafe000-0xfeafefff irq 10 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="acpi.output"


Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20020829 [Oct  5 2002]
Copyright (C) 2000 - 2002 Intel Corporation
Supports ACPI Specification Revision 2.0a

SupermicroP3TDE6.new.asl    56: Scope(DEB_) {
Error    1077 -                          ^ Existing object has invalid type for Scope operator (DEB_, Integer)

SupermicroP3TDE6.new.asl    75: Scope(MLIB) {
Error    1077 -                          ^ Existing object has invalid type for Scope operator (MLIB, Integer)

SupermicroP3TDE6.new.asl   237: Scope(IO__) {
Error    1077 -                          ^ Existing object has invalid type for Scope operator (IO__, Integer)

SupermicroP3TDE6.new.asl   285: Scope(DATA) {
Error    1077 -                          ^ Existing object has invalid type for Scope operator (DATA, String)

SupermicroP3TDE6.new.asl   287:     Scope(SIO_) {
Error    1077 -                              ^ Existing object has invalid type for Scope operator (SIO_, String)

SupermicroP3TDE6.new.asl   292:     Scope(SB__) {
Error    1077 -                              ^ Existing object has invalid type for Scope operator (SB__, String)

SupermicroP3TDE6.new.asl   294:         Scope(PM__) {
Error    1077 -                                  ^ Existing object has invalid type for Scope operator (PM__, String)

SupermicroP3TDE6.new.asl   299:         Scope(ICNT) {
Error    1077 -                                  ^ Existing object has invalid type for Scope operator (ICNT, String)

SupermicroP3TDE6.new.asl   305:     Scope(ACPI) {
Error    1077 -                              ^ Existing object has invalid type for Scope operator (ACPI, String)

SupermicroP3TDE6.new.asl   320: Scope(OSB4) {
Error    1077 -                          ^ Existing object has invalid type for Scope operator (OSB4, String)

SupermicroP3TDE6.new.asl   322:     Scope(PM__) {
Error    1077 -                              ^ Existing object has invalid type for Scope operator (PM__, String)

SupermicroP3TDE6.new.asl   414: Scope(BIOS) {
Error    1077 -                          ^ Existing object has invalid type for Scope operator (BIOS, Integer)

SupermicroP3TDE6.new.asl   417:     Scope(CMOS) {
Error    1077 -                              ^ Existing object has invalid type for Scope operator (CMOS, Integer)

SupermicroP3TDE6.new.asl   707: Method(_WAK, 1) {
Warning  2026 -                           ^ Reserved method must return a value (_WAK)

ASL Input:  SupermicroP3TDE6.new.asl - 3446 lines, 112250 bytes, 1950 keywords
Compilation complete. 13 Errors, 1 Warnings, 0 Remarks, 373 Optimizations

--0OAP2g/MAC+5xKAE--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021005230043.A19273>