Subject: Re: PowerEdge 6650 ahc Problem
To: enami tsugutomo <enami@but-b.or.jp>
From: Ray Phillips <r.phillips@jkmrc.uq.edu.au>
List: port-i386
Date: 02/26/2004 15:50:44
>  > pchb5 at pci0 dev 16 function 0
>>  pchb5: vendor 0x1166 product 0x0010 (rev. 0x03)
>>  pci5 at pchb5 bus 3
>>  pci5: memory space enabled
>>  ahc2 at pci5 dev 1 function 0: Adaptec 3960D Ultra160 SCSI adapter
>>  : unable to map registers
>
>It looks like some serverworks brigde only report memory space is
>enabled, but actually io space is available also.  So, there is a code
>to tell the device so (look at pchbattach() in
>sys/arch/i386/pci/pchb.c).  But your bridge (vendor 0x1166 product
>0x0010, CIOB30) isn't listed there.  I'm note sure if your bridge
>really isn't the case, or just not listed.  I guess you can try it.
>
>enami.

Thanks very much Enami.  Inserting this line:

case PCI_PRODUCT_SERVERWORKS_CIOB30:

after this one (line 150):

case PCI_PRODUCT_SERVERWORKS_CIOBX2:

in sys/arch/i386/pci/pchb.c did the trick.  At least, the disk is 
accessible now--don't know if there are more subtle problems still 
existing.  dmesg for the full installation is appended to this email.

I'm looking forward to building NetBSD on it to see how it performs.  :)


Ray



NetBSD 1.6ZK (GENERIC.MP) #0: Wed Feb 25 23:58:05 EST 2004
         ray@:/usr/obj/sys/arch/i386/compile/GENERIC.MP
total memory = 3839 MB
avail memory = 3750 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 010A     )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium 4 (686-class), 2791.19 MHz, id 0xf25
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: calibrating local timer
cpu0: apic clock running at 99 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 6 (application processor)
cpu1: starting
cpu1: Intel Pentium 4 (686-class), 2790.95 MHz, id 0xf25
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu1: L2 cache 512 KB 64b/line 8-way
cpu1: ITLB 4K/4M: 64 entries
cpu1: DTLB 4K/4M: 64 entries
cpu2 at mainbus0: apid 2 (application processor)
cpu2: starting
cpu2: Intel Pentium 4 (686-class), 2790.95 MHz, id 0xf25
cpu2: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu2: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu2: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu2: L2 cache 512 KB 64b/line 8-way
cpu2: ITLB 4K/4M: 64 entries
cpu2: DTLB 4K/4M: 64 entries
cpu3 at mainbus0: apid 4 (application processor)
cpu3: starting
cpu3: Intel Pentium 4 (686-class), 2790.95 MHz, id 0xf25
cpu3: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu3: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu3: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu3: L2 cache 512 KB 64b/line 8-way
cpu3: ITLB 4K/4M: 64 entries
cpu3: DTLB 4K/4M: 64 entries
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type PCI
mpbios: bus 7 is type PCI
mpbios: bus 8 is type PCI
mpbios: bus 9 is type PCI
mpbios: bus 10 is type PCI
mpbios: bus 11 is type PCI
mpbios: bus 12 is type PCI
mpbios: bus 13 is type PCI
mpbios: bus 14 is type PCI
mpbios: bus 15 is type PCI
mpbios: bus 16 is type PCI
mpbios: bus 17 is type PCI
mpbios: bus 18 is type PCI
mpbios: bus 19 is type PCI
mpbios: bus 20 is type PCI
mpbios: bus 21 is type PCI
mpbios: bus 22 is type PCI
mpbios: bus 23 is type PCI
mpbios: bus 24 is type PCI
mpbios: bus 25 is type PCI
mpbios: bus 26 is type PCI
mpbios: bus 27 is type PCI
mpbios: bus 28 is type PCI
mpbios: bus 29 is type ISA
ioapic0 at mainbus0 apid 8 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 8
ioapic1 at mainbus0 apid 9 (I/O APIC)
ioapic1: pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0
ioapic1: remapped to apic 9
ioapic2 at mainbus0 apid 10 (I/O APIC)
ioapic2: pa 0xfec02000, version 11, 16 pins
ioapic2: misconfigured as apic 0
ioapic2: remapped to apic 10
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ServerWorks CMIC_HE Host (rev. 0x22)
pchb1 at pci0 dev 0 function 1
pchb1: ServerWorks CMIC_HE Host (rev. 0x00)
pci1 at pchb1 bus 3
pci1: no spaces enabled!
pchb2 at pci0 dev 0 function 2
pchb2: ServerWorks CMIC_HE Host (rev. 0x00)
pci2 at pchb2 bus 9
pci2: no spaces enabled!
pchb3 at pci0 dev 0 function 3
pchb3: ServerWorks CMIC_HE Host (rev. 0x00)
pci3 at pchb3 bus 19
pci3: no spaces enabled!
ahc1 at pci0 dev 3 function 0: Adaptec aic7892 Ultra160 SCSI adapter
ahc1: interrupting at ioapic1 pin 0 (irq 11)
ahc1: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
vga1 at pci0 dev 4 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pchb4 at pci0 dev 15 function 0
pchb4: ServerWorks CSB5 SouthBridge (rev. 0x93)
pci4 at pchb4 bus 7
pci4: i/o space, memory space enabled
rccide0 at pci0 dev 15 function 1
rccide0: ServerWorks CSB5 IDE Controller (rev. 0x93)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at rccide0 channel 0
rccide0: secondary channel wired to compatibility mode
rccide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at rccide0 channel 1
ohci0 at pci0 dev 15 function 2: ServerWorks OSB4/CSB5 USB Host 
Controller (rev. 0x05)
ohci0: interrupting at ioapic0 pin 10 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib0 at pci0 dev 15 function 3
pcib0: ServerWorks product 0x0225 (rev. 0x00)
pchb5 at pci0 dev 16 function 0
pchb5: ServerWorks CIOB30 (rev. 0x03)
pci5 at pchb5 bus 3
pci5: i/o space, memory space enabled
ahc2 at pci5 dev 1 function 0: Adaptec 3960D Ultra160 SCSI adapter
ahc2: interrupting at ioapic1 pin 5 (irq 7)
ahc2: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
ahc3 at pci5 dev 1 function 1: Adaptec 3960D Ultra160 SCSI adapter
ahc3: interrupting at ioapic2 pin 0 (irq 5)
ahc3: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus2 at ahc3: 16 targets, 8 luns per target
pchb6 at pci0 dev 16 function 2
pchb6: ServerWorks CIOB30 (rev. 0x03)
pci6 at pchb6 bus 8
pci6: i/o space, memory space enabled
bge0 at pci6 dev 1 function 0: Broadcom BCM5700 Gigabit Ethernet
bge0: interrupting at ioapic1 pin 1 (irq 3)
bge0: ASIC BCM5700 Altima (0x7104), Ethernet address 00:0d:56:b9:51:3d
brgphy0 at bge0 phy 1: BCM5411 1000BASE-T media interface, rev. 1
brgphy0: using BCM5411 DSP patch
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge1 at pci6 dev 2 function 0: Broadcom BCM5700 Gigabit Ethernet
bge1: interrupting at ioapic1 pin 2 (irq 11)
bge1: ASIC BCM5700 Altima (0x7104), Ethernet address 00:0d:56:b9:51:3e
brgphy1 at bge1 phy 1: BCM5411 1000BASE-T media interface, rev. 1
brgphy1: using BCM5411 DSP patch
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pchb7 at pci0 dev 17 function 0
pchb7: ServerWorks CIOB30 (rev. 0x03)
pci7 at pchb7 bus 9
pci7: i/o space, memory space enabled
pchb8 at pci0 dev 17 function 2
pchb8: ServerWorks CIOB30 (rev. 0x03)
pci8 at pchb8 bus 14
pci8: i/o space, memory space enabled
pchb9 at pci0 dev 18 function 0
pchb9: ServerWorks CIOB30 (rev. 0x03)
pci9 at pchb9 bus 19
pci9: i/o space, memory space enabled
pchb10 at pci0 dev 18 function 2
pchb10: ServerWorks CIOB30 (rev. 0x03)
pci10 at pchb10 bus 24
pci10: i/o space, memory space enabled
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
ioapic2: enabling
ioapic1: enabling
ioapic0: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <TEAC CD-ROM CD-224E, , K.9A> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 
(Ultra/33) (using DMA data transfers)
sd0 at scsibus1 target 0 lun 0: <SEAGATE, ST336607LC, 0005> disk fixed
sd0: 35003 MB, 49855 cyl, 2 head, 718 sec, 512 bytes/sect x 71687372 sectors
sd0: sync (12.50ns offset 63), 16-bit (160.000MB/s) transfers, tagged queueing
ses0 at scsibus1 target 6 lun 0: <PE/PV, 1x5 SCSI BP, 1.1> processor fixed
ses0: SAF-TE Compliant Device
ses0: async, 8-bit transfers
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
cpu2: CPU 2 running
cpu3: CPU 4 running
cpu1: CPU 6 running
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)