Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2004 19:32:10 +0300
From:      Anton Korotin <korotin@aha.ru>
To:        freebsd-scsi@freebsd.org
Subject:   HostRAID not detected on -current
Message-ID:  <20040224163210.GC794@sigma.ripn.net>

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

Hello,

I've got a server box based on Intel SE7501WV2 board, SR2300 chassis.

When I tried to install 5.2.1-RC2 on it SCSI was detected
only with HostRAID disabled. 

When I enabled HostRAID SCSI i got:

pci4: <mass storage, RAID> at device 7.0 (no driver attached)
pci4: <mass storage, RAID> at device 7.1 (no driver attached)

I've updated to -current on 19th of February and now what I can see 
with HostRAID enabled and situatiuon changed as follows.

Looks like system "knows" that pci4:7:0 is a 'subclass = RAID' device 
but incorrectly shows ahd device with four physical drives available 
while two of them are formatted as raid-1 array by HostRAID.

Copyright (c) 1992-2004 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.2-CURRENT #0: Thu Feb 19 17:41:58 GMT 2004
    root@aaa:/usr/obj/usr/src/sys/DELTA-2
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09d4000.
Preloaded elf module "/boot/modules/acpi.ko" at 0xc09d426c.
ACPI APIC Table: <INTEL  SWV25   >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.29-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073676288 (1023 MB)
avail memory = 1041129472 (992 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
    ACPI-0671: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [GPEN] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [GPST] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [SBID] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0671: *** Warning: Type override - [SWCE] had invalid type (String) for Scope operator, changed to (Scope)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
lapic0: Forcing LINT1 to edge trigger
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL SWV25> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 19 entries at 0xc00f3630
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P5 - AE_NOT_FOUND
pci2: <ACPI PCI bus> on pcib1
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci2
pci4: <ACPI PCI bus> on pcib2
ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x4000-0x40ff,0x3800-0x38ff mem 0xfe9e0000-0xfe9e1fff irq 50 at device 7.0 on pci4
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x3400-0x34ff,0x3000-0x30ff mem 0xfe9f0000-0xfe9f1fff irq 49 at device 7.1 on pci4
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci3: <ACPI PCI bus> on pcib3
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0x2040-0x207f mem 0xfe6c0000-0xfe6dffff irq 30 at device 7.0 on pci3
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0x2000-0x203f mem 0xfe6e0000-0xfe6fffff irq 31 at device 7.1 on pci3
em1:  Speed:N/A  Duplex:N/A
pci0: <unknown> at device 3.1 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x5020-0x503f irq 16 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x5000-0x501f irq 19 at device 29.1 on pci0
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib4
pci1: <display, VGA> at device 12.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
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
acpi_ec0: <Embedded Controller: GPE 0x8> port 0xca7,0xca6 on acpi0
fdc0: I/O to control range incorrect
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
fdc0: I/O to control range incorrect
orm0: <Option ROMs> at iomem 0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 38166MB <WDC WD400JB-00ENA0> [77545/16/63] at ata0-master UDMA33
acd0: CDROM <SAMSUNG CD-ROM SN-124> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
ses0 at ahd1 bus 0 target 6 lun 0
ses0: <ESG-SHV SCA HSBP M16 0.05> Fixed Processor SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
da0 at ahd1 bus 0 target 0 lun 0
da0: <QUANTUM ATLAS10K3_73_SCA 020W> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 70149MB (143666192 512 byte sectors: 255H 63S/T 8942C)
da1 at ahd1 bus 0 target 1 lun 0
da1: <QUANTUM ATLAS10K3_73_SCA 020W> Fixed Direct Access SCSI-3 device
da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da1: 70149MB (143666192 512 byte sectors: 255H 63S/T 8942C)
da2 at ahd1 bus 0 target 3 lun 0
da2: <QUANTUM ATLAS10K3_73_SCA 020W> Fixed Direct Access SCSI-3 device
da2: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da2: 70149MB (143666192 512 byte sectors: 255H 63S/T 8942C)
da3 at ahd1 bus 0 target 4 lun 0
da3: <QUANTUM ATLAS10K3_73_SCA 020W> Fixed Direct Access SCSI-3 device
da3: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da3: 70149MB (143666192 512 byte sectors: 255H 63S/T 8942C)
lapic1: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a

# pciconf -lv
hostb0@pci0:0:0:        class=0x060000 card=0x341a8086 chip=0x254c8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7501 Host Controller'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:0:1: class=0xff0000 card=0x341a8086 chip=0x25418086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7500 System Controller (MCH, Hub Interface A) Error Reporter'
pcib1@pci0:3:0: class=0x060400 card=0x00000000 chip=0x25458086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'E7500/E7501 HI_C Virtual PCI-to-PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
none1@pci0:3:1: class=0xff0000 card=0x341a8086 chip=0x25468086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7500/E7501 HI_C PCI-to-PCI Bridge Error Reporting'
uhci0@pci0:29:0:        class=0x0c0300 card=0x341a8086 chip=0x24828086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #1'
    class    = serial bus
    subclass = USB
uhci1@pci0:29:1:        class=0x0c0300 card=0x341a8086 chip=0x24848086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #2'
    class    = serial bus
    subclass = USB
pcib4@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x42 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BA/CA/DB/EB/ER (ICH2/3/4/5/5R) Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24808086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) LPC Interface'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:      class=0x01018a card=0x341a8086 chip=0x248b8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA (ICH3) UltraATA/100 EIDE Controller'
    class    = mass storage
    subclass = ATA
none2@pci0:31:3:        class=0x0c0500 card=0x341a8086 chip=0x24838086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) SMBus Controller'
    class    = serial bus
    subclass = SMBus
none3@pci2:28:0:        class=0x080020 card=0x341a8086 chip=0x14618086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'P64H2 I/O Advanced Programmable Interrupt Controller'
    class    = base peripheral
    subclass = interrupt controller
pcib2@pci2:29:0:        class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82870P2 P64H2 PCI/PCI-X Hub Controller'
    class    = bridge
    subclass = PCI-PCI
none4@pci2:30:0:        class=0x080020 card=0x341a8086 chip=0x14618086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'P64H2 I/O Advanced Programmable Interrupt Controller'
    class    = base peripheral
    subclass = interrupt controller
pcib3@pci2:31:0:        class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82870P2 P64H2 PCI/PCI-X Hub Controller'
    class    = bridge
    subclass = PCI-PCI
ahd0@pci4:7:0:  class=0x010400 card=0x341a8086 chip=0x809f9005 rev=0x03 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AIC-7902 HostRAID SCSI Controller'
    class    = mass storage
    subclass = RAID
ahd1@pci4:7:1:  class=0x010400 card=0x341a8086 chip=0x809f9005 rev=0x03 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AIC-7902 HostRAID SCSI Controller'
    class    = mass storage
    subclass = RAID
em0@pci3:7:0:   class=0x020000 card=0x341a8086 chip=0x10108086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
em1@pci3:7:1:   class=0x020000 card=0x341a8086 chip=0x10108086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
none5@pci1:12:0:        class=0x030000 card=0x341a8086 chip=0x47521002 rev=0x27 hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA
#


-- 
Anton



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