Promise PDC20319 RAID issues

Jason Lixfeld jason+lists.freebsd at lixfeld.ca
Thu Feb 26 11:34:11 PST 2004


I've got 5.2.1-RELEASE installed on an AccelerTech AT02161-A board  
running a single 1.4Ghz Opteron.  The board has the PDC20319 onboard.   
I've got a Seagate 120GB drive attached to both SATA channels 2 and 3.   
The raid 1 array was created in the Promise bios and the OS was  
installed on the array ar0.  The machine boots up, sees the disks, sees  
the controller and sees the array no problem.  Everything looks good  
until I try to test the array.  I yank out any of the two drives and  
the machine freezes after a few seconds.  No error messages, no  
nothing.

Is there in fact a problem or do I have unrealistic expectations of the  
raid's capabilities?

su-2.05b# uname -a
FreeBSD eshara.ebit.ca 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #21: Wed Feb  
25 14:52:21 EST 2004      
jlixfeld at spam.kill.er:/usr/obj/usr/src/sys/ESHARA  amd64
su-2.05b# cat /usr/src/sys/amd64/conf/ESHARA | grep ^[a-zA-Z0-9]
machine         amd64
cpu             HAMMER
ident           ESHARA
makeoptions     DEBUG=-g                # Build kernel with gdb(1)  
debug symbols
makeoptions     NO_MODULES=not_yet      # -jlixfeld: this will break  
the kernel
options         SCHED_ULE               # ULE scheduler
options         INET                    # InterNETworking
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates  
support
options         CD9660                  # ISO 9660 Filesystem
options         IA32                    # Compatible with i386 binaries
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time  
extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         INVARIANTS              # Enable calls of extra sanity  
checking
options         INVARIANT_SUPPORT       # Extra sanity checks of  
internal structures, required by INVARIANTS
device          atpic           # 8259A compatability
options         NO_MIXED_MODE   # Don't penalize working chipsets
device          isa
device          pci
device          ata
device          atadisk         # ATA disk drives
device          ataraid         # ATA RAID drives
device          atapicd         # ATAPI CDROM drives
options         ATA_STATIC_ID   # Static device numbering
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          vga             # VGA video card driver
device          splash          # Splash screen and screen saver support
device          sc
device          sio             # 8250, 16[45]50 based serial ports
device          miibus          # MII bus support
device          bge             # Broadcom BCM570xx Gigabit Ethernet
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          bpf             # Berkeley packet filter
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          umass           # Disks/Mass storage - Requires scbus  
and da
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP  
THIS!]
device          gre             # GRE & MOBILE Tunnel Support
options         SUIDDIR
options         HW_WDOG
options         WATCHDOG
options         PANIC_REBOOT_WAIT_TIME=16
options         RANDOM_IP_ID
options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN
options         MROUTING                # Multicast routing
options         PIM                     # Protocol Independent Multicast
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by  
default # TEMP
options         DUMMYNET
options         UFS_EXTATTR
options         UFS_EXTATTR_AUTOSTART
options         UFS_ACL
options         UFS_DIRHASH
device          random
options    IPSEC                   #IP security
options    IPSEC_ESP               #IP security (crypto; define w/  
IPSEC)
options    IPSEC_DEBUG             #debug for IP security
su-2.05b# dmesg
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.1-RELEASE #21: Wed Feb 25 14:52:21 EST 2004
     jlixfeld at spam.kill.er:/usr/obj/usr/src/sys/ESHARA
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80529000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 240 (1403.19-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0xf51  Stepping = 1
    
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
   AMD Features=0xe0500000<NX,MMX+,LM,3DNow!+,3DNow!>
real memory  = 536346624 (511 MB)
avail memory = 503156736 (479 MB)
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 6.0 on pci0
pci1: <PCI bus> on pcib1
ohci0: <OHCI (generic) USB controller> mem 0xfe000000-0xfe000fff irq 11  
at device 0.0 on pci1
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfe001000-0xfe001fff irq 11  
at device 0.1 on pci1
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci1: <display, VGA> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0x1020-0x102f at device 7.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 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcib2: <PCI-PCI bridge> at device 10.0 on pci0
pci2: <PCI bus> on pcib2
bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem  
0xfe100000-0xfe10ffff irq 11 at device 3.0 on pci2
bge0: Ethernet address: 00:50:45:5b:8f:18
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto
bge1: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem  
0xfe110000-0xfe11ffff irq 11 at device 4.0 on pci2
bge1: Ethernet address: 00:50:45:5b:8f:19
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto
atapci1: <Promise PDC20319 SATA150 controller> port  
0x3000-0x307f,0x30c0-0x30cf,0x3080-0x30bf mem  
0xfe120000-0xfe13ffff,0xfe140000-0xfe140fff irq 5 at device 5.0 on pci2
atapci1: [MPSAFE]
ata2: at 0xfe140000 on atapci1
ata2: [MPSAFE]
ata3: at 0xfe140000 on atapci1
ata3: [MPSAFE]
ata4: at 0xfe140000 on atapci1
ata4: [MPSAFE]
ata5: at 0xfe140000 on atapci1
ata5: [MPSAFE]
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver  
attached)
pcib3: <PCI-PCI bridge> at device 11.0 on pci0
pci3: <PCI bus> on pcib3
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver  
attached)
orm0: <Option ROMs> at iomem  
0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on  
isa0
Timecounter "TSC" frequency 1403188040 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled,  
default to accept, logging limited to 100 packets/entry by default
IPsec: Initialized Security Association Processing.
acd0: CDROM <SR244W> at ata1-master PIO4
GEOM: create disk ad4 dp=0xffffff0000fd2ca0
ad4: 114473MB <ST3120026AS> [232581/16/63] at ata2-master UDMA133
GEOM: create disk ad6 dp=0xffffff0000fd28a0
ad6: 114473MB <ST3120026AS> [232581/16/63] at ata3-master UDMA133
GEOM: create disk ar0 dp=0xffffff001e45d670
ar0: 114473MB <ATA RAID1 array> [14593/255/63] status: READY subdisks:
  disk0 READY on ad4 at ata2-master
  disk1 READY on ad6 at ata3-master
Mounting root from ufs:/dev/ar0s1a
Accounting enabled
su-2.05b# pciconf -vl
pcib1 at pci0:6:0: class=0x060400 card=0x000000c0 chip=0x74601022 rev=0x07  
hdr=0x01
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 PCI Bridge'
     class    = bridge
     subclass = PCI-PCI
isab0 at pci0:7:0: class=0x060100 card=0x3016161f chip=0x74681022 rev=0x05  
hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 LPC Bridge'
     class    = bridge
     subclass = PCI-ISA
atapci0 at pci0:7:1:       class=0x01018a card=0x3016161f chip=0x74691022  
rev=0x03 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 UltraATA/133 Controller'
     class    = mass storage
     subclass = ATA
none0 at pci0:7:2: class=0x0c0500 card=0x3016161f chip=0x746a1022 rev=0x02  
hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 SMBus 2.0 Controller'
     class    = serial bus
     subclass = SMBus
none1 at pci0:7:3: class=0x068000 card=0x3016161f chip=0x746b1022 rev=0x05  
hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 ACPI System Management Controller'
     class    = bridge
     subclass = PCI-unknown
pcib2 at pci0:10:0:        class=0x060400 card=0x000000a0 chip=0x74501022  
rev=0x12 hdr=0x01
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8131 PCI-X Bridge'
     class    = bridge
     subclass = PCI-PCI
none2 at pci0:10:1:        class=0x080010 card=0x3016161f chip=0x74511022  
rev=0x01 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8131 PCI-X IOAPIC'
     class    = base peripheral
     subclass = interrupt controller
pcib3 at pci0:11:0:        class=0x060400 card=0x000000a0 chip=0x74501022  
rev=0x12 hdr=0x01
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8131 PCI-X Bridge'
     class    = bridge
     subclass = PCI-PCI
none3 at pci0:11:1:        class=0x080010 card=0x3016161f chip=0x74511022  
rev=0x01 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8131 PCI-X IOAPIC'
     class    = base peripheral
     subclass = interrupt controller
hostb0 at pci0:24:0:       class=0x060000 card=0x00000000 chip=0x11001022  
rev=0x00 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'Athlon 64 / Opteron HyperTransport Technology  
Configuration'
     class    = bridge
     subclass = HOST-PCI
hostb1 at pci0:24:1:       class=0x060000 card=0x00000000 chip=0x11011022  
rev=0x00 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'Athlon 64 / Opteron Address Map'
     class    = bridge
     subclass = HOST-PCI
hostb2 at pci0:24:2:       class=0x060000 card=0x00000000 chip=0x11021022  
rev=0x00 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'Athlon 64 / Opteron DRAM Controller'
     class    = bridge
     subclass = HOST-PCI
hostb3 at pci0:24:3:       class=0x060000 card=0x00000000 chip=0x11031022  
rev=0x00 hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'Athlon 64 / Opteron Miscellaneous Control'
     class    = bridge
     subclass = HOST-PCI
ohci0 at pci1:0:0: class=0x0c0310 card=0x3016161f chip=0x74641022 rev=0x0b  
hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 OpenHCD USB Host Controller'
     class    = serial bus
     subclass = USB
ohci1 at pci1:0:1: class=0x0c0310 card=0x3016161f chip=0x74641022 rev=0x0b  
hdr=0x00
     vendor   = 'Advanced Micro Devices (AMD)'
     device   = 'AMD-8111 OpenHCD USB Host Controller'
     class    = serial bus
     subclass = USB
none4 at pci1:6:0: class=0x030000 card=0x80081002 chip=0x47521002 rev=0x27  
hdr=0x00
     vendor   = 'ATI Technologies'
     device   = 'Rage XL PCI'
     class    = display
     subclass = VGA
bge0 at pci2:3:0:  class=0x020000 card=0x800914e4 chip=0x16a614e4 rev=0x02  
hdr=0x00
     vendor   = 'Broadcom Corporation'
     device   = 'BCM5702X NetXtreme Gigabit Ethernet'
     class    = network
     subclass = ethernet
bge1 at pci2:4:0:  class=0x020000 card=0x800914e4 chip=0x16a614e4 rev=0x02  
hdr=0x00
     vendor   = 'Broadcom Corporation'
     device   = 'BCM5702X NetXtreme Gigabit Ethernet'
     class    = network
     subclass = ethernet
atapci1 at pci2:5:0:       class=0x010400 card=0x6629105a chip=0x3319105a  
rev=0x02 hdr=0x00
     vendor   = 'Promise Technology Inc'
     device   = 'PDC20319(??) FastTrak SATA150 TX4 Controller'
     class    = mass storage
     subclass = RAID
su-2.05b# atacontrol list
ATA channel 0:
     Master:      no device present
     Slave:       no device present
ATA channel 1:
     Master: acd0 <SR244W/T01A> ATA/ATAPI rev 0
     Slave:       no device present
ATA channel 2:
     Master:  ad4 <ST3120026AS/3.05> ATA/ATAPI rev 6
     Slave:       no device present
ATA channel 3:
     Master:  ad6 <ST3120026AS/3.05> ATA/ATAPI rev 6
     Slave:       no device present
ATA channel 4:
     Master:      no device present
     Slave:       no device present
ATA channel 5:
     Master:      no device present
     Slave:       no device present



More information about the freebsd-questions mailing list