LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-08-2004, 06:07 AM   #1
trouby
Member
 
Registered: Sep 2003
Posts: 59

Rep: Reputation: 15
ATA RAID with Slack.


Hey,

I have an Intel MB with Promise fasttrak ATA RAId controller built in,
After few days playing with it with unsuccessful results to support the controller via Kernel 2.4.23 (dmesg showed messages like "no array was detected"). I managed to find some source code of the driver from Promise, I compiled the source code, and it looked like the drive works just fine(only the old version, the new version of the driver stucked linux at the moment the driver was loaded), I've set an initrd image, and could work with the HDs connected to the RAID just fine,

Well, after few days of working, Slackware(9.1) just stucked, I rebooted the system, kernel loaded and stucked while trying to verify the block devices,

I booted from Slack cd, loaded the RAID driver and the controller was recognized just fine, unfortunately at the second I tried to mount the ROOT partition the whole OS stucked again(when I say stuck that means nothing could be done, even ctrl-alt-del didn't work, exactly after executing the 'mount' command)

In my experience, I never had such a thing, that the whole system stuck while trying to mount a partition (other partitions could be mounted just fine, only the ROOT partition did the problem),

When I disconnected one of the HDs everything just worked fine

The question is what happend, syslog didn't show any errors, also, this driver seems to be sucks, the new release of the driver just stuck when loading it and kernel dumps weird errors, only the old version works, it seems like Promise doesn't really want to fully support Linux and although Kernel should support these controllers, it doesn't ("No array was detected")

Did I go wrong? should I disconnect both HDS, connect them to the regular IDE channels and use SOFTWARE RAID? should I buy new HARDWARE RAID controller? if so? which is fully supported by the Kernel?

I'm a little desperate, I'm scared to work with that RAID controller old driver again and I must have some RAID solution for that system.

Thanks in advanced,

Trouby.
 
Old 01-20-2004, 11:14 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
I see no replies.

Have you 'googled'?

http://www.google.com/linux?hl=en&lr...=Google+Search
 
Old 01-21-2004, 06:49 AM   #3
nesware
Member
 
Registered: Jan 2004
Location: belgium
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
Re: ATA RAID with Slack.

Quote:
Originally posted by trouby
In my experience, I never had such a thing, that the whole system stuck while trying to mount a partition (other partitions could be mounted just fine, only the ROOT partition did the problem),
[/B]
are the other systems also raid partitions?
what does your /etc/raidtab look like?
 
Old 01-29-2004, 03:23 PM   #4
bryantm
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
i had the same problem, i googled and found this hack for the kernel, good luck

--- drivers/ide/setup-pci.c.orig 2003-08-25 13:44:41.000000000 +0200
+++ drivers/ide/setup-pci.c 2003-10-26 20:35:49.000000000 +0100
@@ -577,7 +577,7 @@
ata_index_t index;
u8 tmp = 0;
ide_hwif_t *hwif, *mate = NULL;
- static int secondpdc = 0;
+/* MiB static int secondpdc = 0; */

index.all = 0xf0f0;

@@ -637,10 +637,10 @@
* by the bios for raid purposes.
* Skip the normal "is it enabled" test for those.
*/
- if (((d->vendor == PCI_VENDOR_ID_PROMISE) &&
+ if ((d->vendor == PCI_VENDOR_ID_PROMISE) &&
((d->device == PCI_DEVICE_ID_PROMISE_20262) ||
- (d->device == PCI_DEVICE_ID_PROMISE_20265))) &&
- (secondpdc++==1) && (port==1))
+ (d->device == PCI_DEVICE_ID_PROMISE_20265) ||
+ (d->device == PCI_DEVICE_ID_PROMISE_20276)))
goto controller_ok;

if (e->reg && (pci_read_config_byte(dev, e->reg, &tmp) ||
 
Old 01-30-2004, 09:45 PM   #5
trouby
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
Well, it seems that Promise doesn't want to fully support Linux at all, they release new versions of their kernel modules that cause kernel panic (old versions work much better than the new releases), also I read in many forums a lot of people that complain about the same, so I just moved to software raid for now.

next time, for a production server, I will for sure purchase some classic SCSI controller such as Adaptec instead of that ATA RAID controller.


see ya
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sata Raid & Ata Raid Marinmo Linux - Hardware 6 08-13-2004 02:19 AM
serial ata raid iluvatar Linux - Hardware 2 03-11-2004 02:47 AM
Move from ATA RAID to native RAID Nalfeshnee Linux - Hardware 1 02-16-2004 07:46 AM
Looking for ATA RAID GAVollink Linux - Hardware 9 07-30-2003 05:56 PM
Serial ATA RAID glyph Linux - Hardware 4 06-15-2003 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration