Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2006 07:05:07 -0800 (PST)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-stable@freebsd.org, Cristiano Deana <cristiano.deana@gmail.com>
Subject:   Re: New 'amr' driver and linux MegaMGR
Message-ID:  <200603021505.k22F57iI098940@ambrisko.com>
In-Reply-To: <E1FEidA-000OXz-H9@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Danny Braniss writes:
| > Cristiano Deana writes:
| > | 2006/3/1, Paul Saab <ps@freebsd.org>:
| > | > works fine
| > | 
| > | I got:
| > |  Failed to open driver node /dev/megadev0
| > 
| > Make sure you have amr_linux.  kldload amr_linux.ko.  Then you should
| > get a /dev/megadev0.  It also works in a static kernel.  You might
| > want to do an ls -l of /dev/megadev0.  This is only available
| > in FreeBSD 6.1 and -current it is not in FreeBSD 6.0.  The changes
| > will drop into FreeBSD 6.0 though.
| 
| i'm getting:
| 
| Copyright (c) 1992-2006 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 6.1-PRERELEASE #3: Mon Feb 27 10:23:29 IST 2006
| ...
| module_register_init: MOD_LOAD (amr_linux, 0xffffffff805f1b00, 0) error 6
| ad4: 286168MB <WDC WD3000JD-00KLB0 08.05J08> at ata2-master SATA150
| ad6: 286168MB <WDC WD3000JD-00KLB0 08.05J08> at ata3-master SATA150
| ar0: 572072MB <LSILogic v3 MegaRAID RAID0 (stripe 16 KB)> status: READY
| ar0: disk0 READY using ad4 at ata2-master
| ar0: disk1 READY using ad6 at ata3-master
| 
| and no /dev/megadev0
| 
| maybe because:
| atapci1@pci0:31:2:      class=0x01048f card=0x34518086 chip=0x25b08086 rev=0x02 hdr=0x00
|     vendor   = 'Intel Corporation'
|     device   = '6300ESB Serial ATA Controller (RAID mode)'
|     class    = mass storage
|     subclass = RAID

You don't have an LSI RAID controller.  Those are the built in Intel
SATA ports in RAID mode which is software RAID.  It is being detected
as ata disks and using ata-raid.  So you can't use the LSI RAID tools.
If it was detected via the amr(4) driver then you could use the LSI RAID
tools.

Now it is using the LSI RAID meta-data.  "atacontrol" will manage this
assuming Soren has the meta-data write support for their format.

Doug A.



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