From owner-freebsd-current Wed Dec 15 14:22:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id D8E61155D4 for ; Wed, 15 Dec 1999 14:22:39 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id OAA01511; Wed, 15 Dec 1999 14:25:47 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912152225.OAA01511@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: David Gilbert Cc: freebsd-current@freebsd.org Subject: Re: AMI MEGARAID problems. In-reply-to: Your message of "Wed, 15 Dec 1999 13:49:34 EST." <14423.58046.169405.384150@trooper.velocet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Dec 1999 14:25:47 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dd if=/dev/zero of=/dev/amrd0 count=16 disklabel -rw amrd0 auto newfs amrd0c Don't bother slicing the array in this case; it's not worth the effort. (The probable cause of your trouble is garbage at the beginning of the slice you've created). > I'm having trouble convincing -CURRENT to disklabel or newfs an AMI > MEGARAID adapter. > > amr0: irq 10 at device 11.1 on pci0 > amr0: firmware GH89 bios 1.41 16MB memory > amrd0: on amr0 > amrd0: 122647MB (251181056 sectors) RAID 5 (optimal) > > [1:22:322]root@raid1:~> fdisk amrd0 > ******* Working on device /dev/ramrd0 ******* > parameters extracted from in-core disklabel are: > cylinders=15635 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=15635 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 63, size 251176212 (122644 Meg), flag 80 (active) > beg: cyl 0/ sector 1/ head 1; > end: cyl 274/ sector 63/ head 254 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > > [1:29:329]root@raid1:~> disklabel -w -r amrd0s1 auto > disklabel: ioctl DIOCGDINFO: Invalid argument > disklabel: auto: unknown disk type > > Dav.e > > -- > ============================================================================ > |David Gilbert, Velocet Communications. | Two things can only be | > |Mail: dgilbert@velocet.net | equal if and only if they | > |http://www.velocet.net/~dgilbert | are precisely opposite. | > =========================================================GLO================ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message