SR1500 + 5000PAL + SAS backplane - no RAID support
Johannes.Kruger at nokia.com
Johannes.Kruger at nokia.com
Mon Oct 23 14:05:30 PDT 2006
Hmmm, maybe you have the same problem I have with the LSI-1064E .
I was able to see a disk though, even though the RAID did not come up.
I had to enable the port otherwise the IOC page 2 did not indicate max
disks of non-zero, and also not valid RAID info.
It also did not help when I executed (enabled the port) afterwards ...
strange, you might ask Matthew's opinion on this , I just recently
ported his driver to FreeBSD 2.2.X (including required CAM code) for a
project I am working on, I did not develop it.
In the file mpt.c (location /usr/src/sys/dev/mpt/mpt.c) I had to make a
change to enable the port, otherwise the RAID will not get probed
because the pages do not contain valid info.
Go to function mpt_enable_ioc.
Scroll down until you see this snippet:
------------------------- snippet
----------------------------------------
/*
* Enable the port if asked. This is only done if we're
resetting
* the IOC after initial startup.
*/
//if (portenable) {
if (1) {
/*
* Enable asynchronous event reporting
*/
//jjk moved it down a bit ?
//mpt_send_event_request(mpt, 1);
if (mpt_send_port_enable(mpt, 0) != MPT_OK) {
printf("failed to enable port 0\n");
return (ENXIO);
}
mpt_send_event_request(mpt, 1); //jjkhack
}
return (MPT_OK);
-------------------------- snippet
---------------------------------------
Change from:
if (portenable) {
change to:
if (1) {
You will se I moved down the mpt_send_event_request, but you do not need
to do that.
Johan
.
-----Original Message-----
From: ext supportsobaka at mail.ru [mailto:supportsobaka at mail.ru]
Sent: Monday, October 23, 2006 12:53 PM
To: Kruger Johannes (Nokia-ES/Boston)
Cc: freebsd-scsi at freebsd.org
Subject: Re[2]: SR1500 + 5000PAL + SAS backplane - no RAID support
JKnc> You have to setup the RAID-1 volume in the LSI BIOS.
JKnc> The normal motherboard BIOS is supposed to execute the bootrom in
the
JKnc> LSI card, which will allow you to enter the LSI BIOS.
JKnc> If I remember correctly it's "control-C" on bootup, instead of
"DEL".
JKnc> Then you select new IM volume (Integrated mirroring)
JKnc> You can migrate your main disk to the volume, and your second disk
will
JKnc> then be synchronized to look like the first disk.
I described in my first message, that RAID was setup in BIOS, but
FreeBSD can't see it's raid. It is main problem! ...not "event 0x16"
problem
Once again:
---
In system BIOS I set
Mass storage controllers menu
SAS controller - Enable
SAS configure as SW RAID - Enable
RAID was build in controller's BIOS (CTRL+E during boot).
---
We talking about Intel 5000PAL + SAS backplane
There is LSISAS1054E chip and 3 SAS Ports 1U Active Backplane and Intel
Embedded Server Raid
Technology II for RAID setup (CTRL+E during boot)
FreeBSD can't see raid
JKnc> Johan
JKnc> -----Original Message-----
JKnc> From: owner-freebsd-scsi at freebsd.org
JKnc> [mailto:owner-freebsd-scsi at freebsd.org]
JKnc> Sent: Monday, October 23, 2006 10:12 AM
JKnc> To: freebsd-scsi at freebsd.org
JKnc> Subject: SR1500 + 5000PAL + SAS backplane - no RAID support
JKnc> -----Original Message-----
JKnc> #define MPI_EVENT_SAS_PHY_LINK_STATUS (0x00000012)
JKnc> #define MPI_EVENT_SAS_DISCOVERY_ERROR (0x00000013)
JKnc> #define MPI_EVENT_IR_RESYNC_UPDATE (0x00000014)
JKnc> #define MPI_EVENT_IR2 (0x00000015)
JKnc> #define MPI_EVENT_SAS_DISCOVERY (0x00000016)
JKnc> Event 0x16 just means that the card is probing for devices
attached to
JKnc> the PHY's
JKnc> In your case 0x12 means a device have been seen on a PHY
JKnc> P.S. If you get time and want to do me a favor, configure 2 drives
on
JKnc> the controller in a RAID-1 configuration.
JKnc> Then do a disk test on the RAID-1 volume, say with iozone or any
other
JKnc> method, and tell me your performance.
JKnc> I get slow RAID-1 performance, still cannot figure this out, ~5
JKnc> Mbytse/sec instead of ~ 30 Mbytes/sec with no volume.
JKnc> With NCQ enabled it goes up to 15, but it' still not 30.
JKnc> I can get faster RAID-1 performance by implementing this in
software
JKnc> doing parallel writes.
JKnc> Johan
JKnc> -----Original Message-----
JKnc> How I can test it...
JKnc> First of all FreeBSD should see RAID, but it only see separated
HDD
JKnc> (da*)
JKnc> This is the problem that I described
JKnc> _______________________________________________
JKnc> freebsd-scsi at freebsd.org mailing list
JKnc> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
JKnc> To unsubscribe, send any mail to
JKnc> "freebsd-scsi-unsubscribe at freebsd.org"
More information about the freebsd-scsi
mailing list