Re: Question regarding Intel ICH7 motherboard and integrated RAID

2007-09-16 Thread Karl Denninger
I have the BIOS set to IDE mode; I found the other problem "the hard way"
and the workaround...

Here's the dump from the BTX death - leading zeros omitted, and hand-copied
(hope I didn't screw it up!)

INT = 00d err = 0 efl = 30086 eip = 14db
eax = 8 ebx = 1970 ecx = c350 edx = 8148
esi = 3684 edi = 0 ebp = 364 esp = 349
cs = cf000 ds = 9b00 es = 14000 fs = 

cs:eip = 2e 0f 01 16 8d 07 0f 20 ...

ss:esp = 08 00 00 00 c0 9a 40 81 00 00 50

Hope this helps.

- 
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://genesis3.blogspot.comMusings Of A Sentient Mind


On Sun, Sep 16, 2007 at 03:46:31PM -0400, Howard Goldstein wrote:
> Karl Denninger wrote:
> > Hi folks;
> > 
> > I have a new Intel ICH7 board here that has Quad-core support.
> > 
> > It works well EXCEPT
> > 
> > It has an on-board RAID controller with some internal buffer memory.
> 
> There's a known issue with an interrupt storm when the ICH7R is
> configured for AHCI or RAID, and a pr was filed back in July(don't have
> the number, search for interrupt storm on atapci1+).  The suspicion was
> that some peripheral no one has identified yet is hammering the apic and
> we can't mask it.
> 
> The workaround is to set the BIOS for IDE mode.  It's a bit of a drag
> because SATA-II mode isn't reached when in IDE mode, only in AHCI (and
> RAID?) mode.  If you don't panic when you set it for IDE mode then
> you've probably run into the same problem.
> 
> On the plus side FreeBSD on the Q6600 *rocks* and our geom stuff does
> the RAIDdy stuff nicely for a software solution.  I sympathize with you
> as I spent most of the day yesterday trying to work this same problem.
> 
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> %SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok


%SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question regarding Intel ICH7 motherboard and integrated RAID

2007-09-16 Thread Howard Goldstein
Maxim Khitrov wrote:
> On 9/16/07, Howard Goldstein <[EMAIL PROTECTED]> wrote:
>> There's a known issue with an interrupt storm when the ICH7R is
>> configured for AHCI or RAID, and a pr was filed back in July(don't have
>> the number, search for interrupt storm on atapci1+).  The suspicion was
>> that some peripheral no one has identified yet is hammering the apic and
>> we can't mask it.
...

> 
> Does this issue affect ICH9R as well? I'm about to get Gigabyte's
> GA-P35-DQ6 motherboard (also with Q6600) and was planning on
> configuring RAID10 array using the on-board ICH9R chipset. Are you
> saying that this doesn't current work (on 7-CURRENT), or that there
> are performance issues with such setup?

I don't know if it also affects the ICH9R or CURRENT or even on the
Gigabyte.  It definitely is a problem with the ICH7R and 6.2-STABLE on
an ASUS P5W DH.

Note that it actually does work but the performance hit is unbearable.
Whatever it is about AHCI mode causes about 37,000 interrupts per second
per vmstat -i, knocking the entire system performance down by about 50%
on a Q6600 pushed slightly (eg., 16 minutes to -j20 buildworld vs. 11
minutes to -j20 buildworld with IDE "compatibility" mode).

I don't believe you'll have any trouble with a geom managed RAID array
if your Gigabyte can support the IDE "compatibility" mode for the ICH9,
I'm using a variety of geom providers here simultaneously through the
ICH7R without any problem whatsoever in that mode.  The hit may not even
be noticeable since compatibility mode takes the interface down to
150MB/S SATA-I and common 7200RPM drives don't seem to be able to
sustain more than about 70 or 80MB/S.

> 
> I need to be able to dual-boot Win XP on the machine, so my plan was
> to get 4 320GB drives (later expanded to 6), put them into RAID10
> array and that way get good redundancy and performance in both
> operating systems. Would you suggest I go about doing this some other
> way?

I'd recommend two drives to the XP and your old motherboard, two to your
new system with the Q6600, resulting in an XP gaming and media system up
24/7 while you're getting your serious work and internet stuff done on
the CURRENT machine, but that's just me

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question regarding Intel ICH7 motherboard and integrated RAID

2007-09-16 Thread Maxim Khitrov
On 9/16/07, Howard Goldstein <[EMAIL PROTECTED]> wrote:
> Karl Denninger wrote:
> > Hi folks;
> >
> > I have a new Intel ICH7 board here that has Quad-core support.
> >
> > It works well EXCEPT
> >
> > It has an on-board RAID controller with some internal buffer memory.
>
> There's a known issue with an interrupt storm when the ICH7R is
> configured for AHCI or RAID, and a pr was filed back in July(don't have
> the number, search for interrupt storm on atapci1+).  The suspicion was
> that some peripheral no one has identified yet is hammering the apic and
> we can't mask it.
>
> The workaround is to set the BIOS for IDE mode.  It's a bit of a drag
> because SATA-II mode isn't reached when in IDE mode, only in AHCI (and
> RAID?) mode.  If you don't panic when you set it for IDE mode then
> you've probably run into the same problem.
>
> On the plus side FreeBSD on the Q6600 *rocks* and our geom stuff does
> the RAIDdy stuff nicely for a software solution.  I sympathize with you
> as I spent most of the day yesterday trying to work this same problem.

Does this issue affect ICH9R as well? I'm about to get Gigabyte's
GA-P35-DQ6 motherboard (also with Q6600) and was planning on
configuring RAID10 array using the on-board ICH9R chipset. Are you
saying that this doesn't current work (on 7-CURRENT), or that there
are performance issues with such setup?

I need to be able to dual-boot Win XP on the machine, so my plan was
to get 4 320GB drives (later expanded to 6), put them into RAID10
array and that way get good redundancy and performance in both
operating systems. Would you suggest I go about doing this some other
way?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question regarding Intel ICH7 motherboard and integrated RAID

2007-09-16 Thread Howard Goldstein
Karl Denninger wrote:
> Hi folks;
> 
> I have a new Intel ICH7 board here that has Quad-core support.
> 
> It works well EXCEPT
> 
> It has an on-board RAID controller with some internal buffer memory.

There's a known issue with an interrupt storm when the ICH7R is
configured for AHCI or RAID, and a pr was filed back in July(don't have
the number, search for interrupt storm on atapci1+).  The suspicion was
that some peripheral no one has identified yet is hammering the apic and
we can't mask it.

The workaround is to set the BIOS for IDE mode.  It's a bit of a drag
because SATA-II mode isn't reached when in IDE mode, only in AHCI (and
RAID?) mode.  If you don't panic when you set it for IDE mode then
you've probably run into the same problem.

On the plus side FreeBSD on the Q6600 *rocks* and our geom stuff does
the RAIDdy stuff nicely for a software solution.  I sympathize with you
as I spent most of the day yesterday trying to work this same problem.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question regarding Intel ICH7 motherboard and integrated RAID controller

2007-09-16 Thread Bruce M. Simpson

Karl Denninger wrote:

Is there something that I can do (e.g. what registers/info would help if I
wrote them down?) since it would have to literally be transcribed
manually.
  


More of the same. Most likely your RAID BIOS wants to enter protected mode.
BTX normlly runs in vm86 mode.

Please do transcribe and post here so others may help to debug.
kib has real mode BTX code which hasn't gone in to the tree yet.

BMS
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question regarding Intel ICH7 motherboard and integrated RAID controller

2007-09-15 Thread Karl Denninger
On Sat, Sep 15, 2007 at 08:19:28PM -0400, Mike Tancsa wrote:
> At 06:36 PM 9/15/2007, Karl Denninger wrote:
> 
> >I'm not all that interested in using it as a RAID adapter.  I am, however,
> >interested in using it as a disk adapter, as a way to both spread load AND
> >benefit from its cache memory.
> 
> Can you not turn off the RAID feature in the BIOS so that the SATA 
> ports work just as SATA disks ?
> 
> ---Mike 

It is off.

On the BIOS probe it just shows up as a disk; I tried it as a "JBOD" single
disk and also with the RAID feature shut off entirely, so its just a disk
adapter according to the BIOS.

If there's a disk plugged into it, with all the fancy-schmancy RAID stuff
turned off, it blows up BTX instantly when I hit "F1" to boot from the 
first disk.  It is, in that configuration, the FIFTH disk (and has no
partitions on it - so its not a matter of it trying to boot Winblows or
something like that)

I can't get a dump easily since of course it happens right from the boot
process, so there's nowhere for it to dump TO.

Is there something that I can do (e.g. what registers/info would help if I
wrote them down?) since it would have to literally be transcribed
manually.

--
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://genesis3.blogspot.comMusings Of A Sentient Mind


%SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question regarding Intel ICH7 motherboard and integrated RAID controller

2007-09-15 Thread Daniel O'Connor
On Sun, 16 Sep 2007, Karl Denninger wrote:
> It has an on-board RAID controller with some internal buffer memory.
>
> I'm not all that interested in using it as a RAID adapter.  I am,
> however, interested in using it as a disk adapter, as a way to both
> spread load AND benefit from its cache memory.
>
> Unfortunately, BTX panics if I attach a disk to it!  I have no idea
> if FreeBSD would see the disks as just "normal" "ad" disks, as I
> can't get anywhere near that far to find out...
>
> Any ideas?  Why would BTX throw a hissy fit?

Possibly a bug in BTX.. without the dump info it can't be debugged 
though..

Could be a buggy BIOS too.

Also if you aren't using it as RAID I doubt it will use the cache memory 
at all..

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Question regarding Intel ICH7 motherboard and integrated RAID controller

2007-09-15 Thread Mike Tancsa

At 06:36 PM 9/15/2007, Karl Denninger wrote:


I'm not all that interested in using it as a RAID adapter.  I am, however,
interested in using it as a disk adapter, as a way to both spread load AND
benefit from its cache memory.


Can you not turn off the RAID feature in the BIOS so that the SATA 
ports work just as SATA disks ?


---Mike 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Question regarding Intel ICH7 motherboard and integrated RAID controller

2007-09-15 Thread Karl Denninger
Hi folks;

I have a new Intel ICH7 board here that has Quad-core support.

It works well EXCEPT

It has an on-board RAID controller with some internal buffer memory.

I'm not all that interested in using it as a RAID adapter.  I am, however,
interested in using it as a disk adapter, as a way to both spread load AND
benefit from its cache memory.

Unfortunately, BTX panics if I attach a disk to it!  I have no idea if
FreeBSD would see the disks as just "normal" "ad" disks, as I can't get
anywhere near that far to find out...

Any ideas?  Why would BTX throw a hissy fit?

--
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://genesis3.blogspot.comMusings Of A Sentient Mind


%SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"