From owner-freebsd-current@FreeBSD.ORG Thu Jul 22 09:02:09 2004 Return-Path: Delivered-To: freebsd-current@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2623216A4CE for ; Thu, 22 Jul 2004 09:02:09 +0000 (GMT) Received: from dbmail-mx8.orcon.net.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1886743D2D for ; Thu, 22 Jul 2004 09:02:08 +0000 (GMT) (envelope-from pmurray@nevada.net.nz) Received: from [10.58.2.16] (port-222-152-49-103.fastadsl.net.nz [222.152.49.103])i6M91kUF003739 for ; Thu, 22 Jul 2004 21:01:52 +1200 Message-ID: <40FF8283.1030102@nevada.net.nz> Date: Thu, 22 Jul 2004 21:01:55 +1200 From: Philip Murray User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@www.freebsd.org Content-Type: multipart/mixed; boundary="------------080305080505020800050204" X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72 on dbmail-mx8.orcon.net.nz X-Virus-Status: Clean X-Spam-Status: -4.9, tests=BAYES_00 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on dbmail-mx8.orcon.net.nz Subject: 3Ware 9500 and disklabel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 09:02:09 -0000 This is a multi-part message in MIME format. --------------080305080505020800050204 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm trying to test out -CURRENT (22/7/2004) on a dual Opteron (Tyan board) with a 3Ware 9500-8 raid controller and I'm having problems with disklabel. At the moment I have a RAID0 array totalling 600GB. I fdisk'd them to create a single partition using the entire volume, fdisk (from sysinstall) complained about the geometry, I wasn't sure what the correct geometry was, so I forged ahead anyway. Then I went to try and disklabel it. It seemed to work from sysinstall until I went to write the changes out and it complained "ERROR: Unable to write data to disk da0!'. So I tried disklabel on the command line, as so disklabel -e /dev/da0s1 Where it promptly hangs (won't respond to ^C), ps lists it as root 641 0.0 0.0 5600 940 p1 DL+ 8:48PM 0:00.01 disklabel -e /dev/da0s1 Is this something stupid I've done (geometry?) or a bug with the twa driver? I've attached my dmesg FWIW, any other information I can provide on request. Philip --------------080305080505020800050204 Content-Type: text/plain; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="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-CURRENT #2: Thu Jul 22 19:10:14 NZST 2004 root@wildfire.office.open2view.com:/usr/obj/usr/src/sys/WILDFIRE WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 244 (1791.80-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf58 Stepping = 8 Features=0x78bfbff AMD Features=0xe0500800 real memory = 2147418112 (2047 MB) avail memory = 2061725696 (1966 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: [GIANT-LOCKED] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci3: on pcib1 ohci0: mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: 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: mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: 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 atapci0: port 0xa800-0xa80f,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xbc00-0xbc07 mem 0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3 ata2: at 0xfeafec00 on atapci0 ata3: at 0xfeafec00 on atapci0 ata4: at 0xfeafec00 on atapci0 ata5: at 0xfeafec00 on atapci0 pci3: at device 6.0 (no driver attached) fxp0: port 0xa400-0xa43f mem 0xfeaa0000-0xfeabffff,0xfeafb000-0xfeafbfff irq 18 at device 8.0 on pci3 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:e0:81:29:b6:cf fxp0: [GIANT-LOCKED] isab0: at device 7.0 on pci0 isa0: on isab0 atapci1: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 amdpm0: port 0xe0-0xff,0xcc00-0xcc1f irq 19 at device 7.2 on pci0 amdpm0: could not map i/o space device_attach: amdpm0 attach returned 6 pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem 0xfc8b0000-0xfc8bffff,0xfc8c0000-0xfc8cffff irq 24 at device 9.0 on pci2 miibus1: on bge0 brgphy0: on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:e0:81:29:f0:14 bge0: [GIANT-LOCKED] bge1: mem 0xfc8e0000-0xfc8effff,0xfc8f0000-0xfc8fffff irq 25 at device 9.1 on pci2 miibus2: on bge1 brgphy1: on miibus2 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:e0:81:29:f0:15 bge1: [GIANT-LOCKED] pci0: at device 10.1 (no driver attached) pcib3: at device 11.0 on pci0 pci1: on pcib3 3ware device driver for 9000 series storage controllers, version: 2.50.00.000 twa0: <3ware 9000 series Storage Controller> port 0x9800-0x98ff mem 0xfb800000-0xfbffffff,0xfc7ffc00-0xfc7ffcff irq 28 at device 3.0 on pci1 twa0: [GIANT-LOCKED] twa0: 8 ports, Firmware FE9X 2.02.00.011, BIOS BE9X 2.02.01.037 pci0: at device 11.1 (no driver attached) acpi_button0: on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 orm0: at iomem 0xcc800-0xcdfff,0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 0.976 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad4: 157066MB [319120/16/63] at ata2-master SATA150 da0 at twa0 bus 0 target 0 lun 0 da0: <3ware Logical Disk 00 1.00> Fixed Direct Access SCSI-0 device da0: 100.000MB/s transfers da0: 610308MB (1249910784 512 byte sectors: 255H 63S/T 77803C) da1 at twa0 bus 0 target 1 lun 0 da1: <3ware Logical Disk 01 1.00> Fixed Direct Access SCSI-0 device da1: 100.000MB/s transfers da1: 610308MB (1249910784 512 byte sectors: 255H 63S/T 77803C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad4s1a --------------080305080505020800050204--