From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 6 22:57:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EA6816A41B for ; Sun, 6 Jan 2008 22:57:13 +0000 (UTC) (envelope-from stefan.aeschbacher@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 686D813C478 for ; Sun, 6 Jan 2008 22:57:13 +0000 (UTC) (envelope-from stefan.aeschbacher@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so1557435anc.13 for ; Sun, 06 Jan 2008 14:57:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=tyqfatro7+WJ2OxWaIHZuLHRYUIUQD1PkZDgJ7S3ogU=; b=NwzAaZz6wwaFHKF1Gy2/yqYHagtftRuqQaZ8Fcu5kUZGxnTtp+630FxiX4m9LU1RY+3o1U37gKdC9C2Xu6U3VwsVPrFf3L8Zvl7BBdSEXDvWt+IVeJhFirrmSxX1pNpoz6aJwPJ9IBnrkWDyfVg93kPoMg971Hlo1YaJa8wKc9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=sKJV2yZKT1JbsBND6yZZqhOjAtbNtWd9zVLAAdL2e/KylT0LN8CCOlxa3604+lgXNwD5cUUHey46qvqE7oH6yahxLkaPQP6lM+Pbs5vqeS6HH97jgtzPoumToot1agvjxIsALdNkI/OLifit8dAmwTezaH58asHeKzSOWKTY4HY= Received: by 10.100.34.16 with SMTP id h16mr41015963anh.114.1199658479040; Sun, 06 Jan 2008 14:27:59 -0800 (PST) Received: by 10.70.126.4 with HTTP; Sun, 6 Jan 2008 14:27:58 -0800 (PST) Message-ID: <207060770801061427o2dc99d76y7f85fa527c29125c@mail.gmail.com> Date: Sun, 6 Jan 2008 23:27:58 +0100 From: "Stefan Aeschbacher" Sender: stefan.aeschbacher@gmail.com To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 546dc5f1df6f5c3f Subject: SATA RAID Problems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 22:57:13 -0000 Hi I just bought a new Server (a Fujitsu Siemens PRIMERGY Econel 100) with 2 x 160GB disks (ad4 and ad6) and added a 1TB disk (ad8). Configuring the two 160GB disks ar a RAID1 in the LSI MegaRAID utility works without problems, but when I boot FreeBSD (FreeSBIE 2.0.1 or a bootable 7.0 RC1), the RAID consist of ad4 and ad8 (see dmesg below). I tried to delete the RAID configuration from the disks (I never configured the 1TB disk into the RAID in the first place) via LSI utility, atacontrol delte and dd'ing the head of the disk from /dev/zero but nothing worked. When I unplug ad8, the RAID is displayed as consisting of ad4 and ad6 as expected. When I change the SATA Controller from RAID to Native, atacontrol displays the correct drives (ad4 and ad6) to belong to ar0. Furthermore, the througput rate of the disks is very meager, ad4 and ad6 make around 5MB/s, ad8 only 0.5MB/s. any ideas? thanks Stefan dmesg from FreeSBIE with all 3 disks attached. Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #11: Wed Feb 7 16:52:42 UTC 2007 root@kaiser.sig11.org:/usr/obj.gmv-i386/usr/src/sys/FREESBIE ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3400.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf65 Stepping = 5 Features=0xbfebfbff Features2=0xe49d,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 1072562176 (1022 MB) avail memory = 1040560128 (992 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf008-0xf00b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 17 at device 28.0 on pci0 pci4: on pcib1 pcib2: irq 17 at device 28.4 on pci0 pci7: on pcib2 bge0: mem 0xfc100000-0xfc10ffff irq 16 at device 0.0 on pci7 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:19:99:1b:02:e7 pcib3: irq 16 at device 28.5 on pci0 pci8: on pcib3 uhci0: port 0x2000-0x201f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0x2400-0x241f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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 uhci2: port 0x2800-0x281f irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x2c00-0x2c1f irq 20 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfc000000-0xfc0003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib4: at device 30.0 on pci0 pci11: on pcib4 pci11: at device 3.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3420-0x342f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x3440-0x3447,0x3434-0x3437,0x3438-0x343f,0x3430-0x3433,0x3400-0x341f mem 0xfc000400-0xfc0007ff irq 19 at device 31.2 on pci0 atapci1: AHCI Version 01.10 controller with 4 ports detected ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: on atapci1 pci0: at device 31.3 (no driver attached) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] ppc0: port 0x378-0x37b irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc8fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Logitech USB Mouse, rev 1.10/29.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. umass0: LEXAR MEDIA JUMPDRIVE, rev 1.10/0.01, addr 3 Timecounter "TSC" frequency 3400145537 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited acd0: DVDROM at ata0-master UDMA33 ad4: 152627MB at ata2-master SATA300 ad6: 152627MB at ata3-master SATA300 ad8: 953869MB at ata4-master SATA150 GEOM_LABEL: Label for provider acd0 is iso9660/FreeSBIE. cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [343720 x 2048 byte records] ar0: 152520MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad8 at ata4-master