Subject: pchb PCI Bridge (82452KX/GX?) support
To: None <port-i386@netbsd.org>
From: MOCHIDA Shuji <mochid@netside.co.jp>
List: port-i386
Date: 06/13/2002 01:10:48
----Next_Part(Thu_Jun_13_01:10:48_2002_070)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


 I tried to install NetBSD/i386 1.5.2 into old Pentium 100MHz 
server that has two Adaptec aic7870 HBA equiped. But kernel did not 
find aic7870. So, I insert FreeBSD 4.6 RC4 's kern.flp and it's 
shows that ahc0 and ahc1 is on pci1.

| FreeBSD 4.6-RC4 #0: Wed Jun  5 04:03:04 GMT 2002
|   :
| pcib0: <Intel 824?? host to PCI bridge> on motherboard
| pci0: <PCI bus> on pcib0
|   :
| pcib1: <Intel 824?? host to PCI bridge> on motherboard
| pci1: <PCI bus> on pcib1
| ahc0: <Adaptec aic7870 SCSI adapter> port 0xfc00-0xfcff mem 0xff9ff000-0xff9fffff irq 11 at device 13.0 on pci1
|   :
| ahc1: <Adaptec aic7870 SCSI adapter> port 0xf800-0xf8ff mem 0xff9fe000-0xff9fefff irq 9 at device 14.0 on pci1
|   :


 With NetBSD, only one PCI bus (pci0) detected.

| NetBSD 1.5.2 (NOEISA) #0: Tue Jun 11 15:46:33 JST 2002
|   :
| mainbus0 (root)
| pci0 at mainbus0 bus 0: configuration mode 1
| pci0: i/o space, memory space enabled
| pchb0 at pci0 dev 0 function 0
| pchb0: Intel product 0x1225 (rev. 0x02)
|   :


 I found "pci* at pchb? bus ?" line in kernel configuration file, 
so I guess that pchb0 is PCI Bridge chip. No 0x1225 "^product" line in
dev/pci/pcidevs. Are pci1 and ahc[01] beyond pchb0?
Is there any hope to install NetBSD into it?

 I also found line below.

  http://members.hyperlink.net.au/~chart/download/pcidevs.txt

    D       1225    82452KX/GX Orion Extended Express Processor to PCI Bridge

-mochid

----Next_Part(Thu_Jun_13_01:10:48_2002_070)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: netbsd152-msgbuf.out
Content-Disposition: inline; filename="netbsd152-msgbuf.out"

NetBSD 1.5.2 (NOEISA) #0: Tm\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)ue Jun 11 15:46:33 JST 2002
    mochid@fomscvs:/var/ex/t/NetBSD-1.5.2/usr/src/sys/arch/i386/compile/NOEISA
cpu0: Intel Pentium (P54C) (586-class), 100.02 MHz
total memory = 127 MB
avail memory = 116 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfcbc0
PCI BIOS rev. 2.1 found at 0xfcbe1
PCI BIOS has 7 Interrupt Routing table entries
pci_intr_fixup: no compatible PCI ICU found
Warning: unable to fix up PCI interrupt routing
WARNING: can't reserve area for BIOS PROM.
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel product 0x1225 (rev. 0x02)
fxp0 at pci0 dev 12 function 0: Intel i82557 Ethernet, rev 2
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:a0:c9:cd:eb:92, 10/100 Mb/s
OUI 0x00aa00 model 0x0015 rev 0 at fxp0 phy 1 not configured
pceb0 at pci0 dev 14 function 0
pceb0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x05)
Intel product 0x0008 (undefined subclm\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)ass 0x00) at pci0 dev 15 function 0 not configured
eisa at pceb0 not configured
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
eisa at mainbus0 not configured
biomask fbed netmask ffed ttymask ffef
<3>stray interrupt 7
boot device: fd0
root on fd0a dumps on fd0b
Insert filesystem floppy and press return.
root file system type: ffs

----Next_Part(Thu_Jun_13_01:10:48_2002_070)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: freebsd46rc4-dmesg.out
Content-Disposition: inline; filename="freebsd46rc4-dmesg.out"

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 Cam\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)lifornia. All rights reserved.
FreeBSD 4.6-RC4 #0: Wed Jun  5 04:03:04 GMT 2002
    murray@builder.freebsdmall.com:/usr/src/sys/compile/BOOTMFS
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 96002155 Hz
CPU: Pentium/P54C (96.00-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 134217728 (131072K bytes)
config> intro
\^[[m\^[[H\^[[J\^[[3;26H\^[[m\^[[1m\^[[m\^[[6;11H\^[[m\^[[7m\^[[m\^[[7;11H\^[[m\^[[8;11H\^[[m\^[[11;3H\^[[m\^[[12;3H\^[[m\^[[13;3H\^[[m\^[[15;3H\^[[m\^[[16;3H\^[[m\^[[18;3H\^[[m\^[[19;3H\^[[m\^[[21;3H\^[[m\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)
Preloaded elf kernel "kernel" at 0xc081c000.
Preloaded mfs_root "/mfsroot" at 0xc081c084.
Intel Pentium detected, installing workaround for F00F bug
md0: Preloaded image </mfsroot> 4423680 bytes at 0xc03e20b4
md1: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 intem\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)rface
pcib0: <Intel 824?? host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xef80-0xef9f mem 0xffe00000-0xffefffff,0xfff7f000-0xfff7ffff irq 10 at device 12.0 on pci0
fxp0: Ethernet address 00:a0:c9:cd:eb:92
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82375EB PCI-EISA bridge> at device 14.0 on pci0
eisa0: <EISA bus> on isab0
mainboard0: <INT3190 (System Board)> on eisa0 slot 0
isa0: <ISA bus> on isab0
chip1: <> mem 0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfff7ec00-0xfff7efff at device 15.0 on pci0
pcib1: <Intel 824?? host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7870 SCSI adapter> port 0xfc00-0xfcff mem 0xff9ff000-0xff9fffff irq 11 at device 13.0 on pci1
ahc0: Using left over BIOS settings
aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs
ahc1: <Adaptec aicm\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)7870 SCSI adapter> port 0xf800-0xf8ff mem 0xff9fe000-0xff9fefff irq 9 at device 14.0 on pci1
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xcb800-0xcbfff,0xea000-0xebfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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
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=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1m\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes): configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
Waiting 15 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <ARCHIVE Python 28388-XXX 4.BU> Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
da3 at ahc1 bus 0 target 4 lun 0
da3: <SEAGATE ST31250W 0003> Fixed Direct Access SCSI-2 device 
da3: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da3: 973MB (1994037 512 byte sectors: 64H 32S/T 973C)
da4 at ahc1 bus 0 target 5 lun 0
da4: <SEAGATE ST31250W 0003> Fixed Direct Access SCSI-2 device 
da4: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da4: 973MB (1994037 512 byte sectors: 64H 32S/T 973C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST31250W 0003> Fixed Direct Access SCSI-m\^[[7m\^[[m\^[[22;3H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 122339328 (119472K bytes)2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 973MB (1994037 512 byte sectors: 64H 32S/T 973C)
da2 at ahc0 bus 0 target 3 lun 0
da2: <SEAGATE ST31250W 9203> Fixed Direct Access SCSI-2 device 
da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da2: 973MB (1994037 512 byte sectors: 64H 32S/T 973C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST31250W 0003> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 973MB (1994037 512 byte sectors: 64H 32S/T 973C)
Mounting root from ufs:/dev/md0c
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <MATSHITA CD-ROM CR-503 1.0f> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, 
sio1: configured irq 3 not in bitmap of probed irqs 0

----Next_Part(Thu_Jun_13_01:10:48_2002_070)----