Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 14:25:47 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        David Gilbert <dgilbert@velocet.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: AMI MEGARAID problems. 
Message-ID:  <199912152225.OAA01511@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 15 Dec 1999 13:49:34 EST." <14423.58046.169405.384150@trooper.velocet.net> 

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

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: <AMI MegaRAID> irq 10 at device 11.1 on pci0
> amr0: firmware GH89 bios 1.41  16MB memory
> amrd0: <MegaRAID logical drive> 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:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> 
> [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




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