LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-03-2011, 03:41 PM   #1
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
Question More Raid issues


I'm trying to get a Sans Digital raid set up for Slackware. It uses Highpoint Rocketraid control card. I downloaded and built the module for the driver and finally got it to work with an initrd. The raid is set up and mounts to /media/disk1. The drive seems to be working fine. The problem I'm having is I can't get the control software to work. Neither CLI or WebGui. Has anyone made this work with Slackware?

Thanks for any help.

Slackware 13.1 Fresh install
 
Old 01-07-2011, 10:45 AM   #2
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Original Poster
Rep: Reputation: 38
Ok, I finally got the raid built properly and have the modules built. I need to issue (as root) modprobe rr62 x and hptsvr to make everything mount and work. If I wait until the system is booted issuing the modprobe command starts the module and auto mounts the raid to /media/disk. I tried putting the modprobe command in rc.local but when I do that, the module loads but does not automount the array. Where should the command go so the array gets automounted. I know I can make an initrd to issue the command, but then I have to have an entry in fstab to mount the device. There is nothing wrong with that and I know how to do it, but I would prefer not to do it that way.

I'm still learning hopefully as I go along.

Thanks
Dan
 
Old 01-07-2011, 10:52 AM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I think the alternative is to recompile the kernel with support built in. I'd stick with the initrd and modules, personally.
 
Old 01-07-2011, 01:08 PM   #4
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Original Poster
Rep: Reputation: 38
I tried that, but during boot up it it rr62x and froze. I tried recompiling three times and could never make it work.
 
Old 01-11-2011, 07:09 AM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by interndan View Post
Ok, I finally got the raid built properly and have the modules built. I need to issue (as root) modprobe rr62 x and hptsvr to make everything mount and work. If I wait until the system is booted issuing the modprobe command starts the module and auto mounts the raid to /media/disk. I tried putting the modprobe command in rc.local but when I do that, the module loads but does not automount the array. Where should the command go so the array gets automounted. I know I can make an initrd to issue the command, but then I have to have an entry in fstab to mount the device. There is nothing wrong with that and I know how to do it, but I would prefer not to do it that way.

I'm still learning hopefully as I go along.

Thanks
Dan
Try this as a test in rc.local (in the order you launch it manually):
modprobe rr62x
sleep 5
modprobe hptsvr

Last edited by Linux.tar.gz; 01-12-2011 at 02:08 AM.
 
Old 01-11-2011, 03:48 PM   #6
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Original Poster
Rep: Reputation: 38
I should have been more clear. The rr62x module is the driver module for the rocketraid control card. Hptsvr is a binary file that starts the webgui interface. The real issue I am having is with the driver module. the problems are as stated in earlier post. I don't understand why issuing the modprobe rr62x command from a terminal will automount the raid array, but pacing it in rc.local will not.The only issue (which really is no problem) the driver module has to be started first and the array mounted.
 
Old 01-12-2011, 02:11 AM   #7
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
This is indeed pretty strange.

A dirty workaround :
Create a script with all needed inside, make it sudo-able, and launch it from .xinitrc
 
Old 01-13-2011, 03:10 PM   #8
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Original Poster
Rep: Reputation: 38
That would work,however I already settled on using an initrd and an entry in fstab for the driver and mounting the raid. Then an rc.local command to start the web gui.

I think I'll mark this as solved, even though I still haven't an answer for the original question. Just some work aroounds that do the job.

Thanks
Dan
 
  


Reply



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
RAID issues wesley.bruwer Linux - Newbie 7 06-26-2009 10:07 AM
Linux Raid issues Cr0n_J0b Linux - Hardware 2 01-18-2008 07:34 PM
RAID Issues gsoft Ubuntu 0 09-11-2007 03:11 AM
RAID Card Issues brokenpromises Linux - Hardware 1 08-17-2007 03:26 PM
Raid issues Sigh Linux - Newbie 1 03-20-2005 09:32 PM

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

All times are GMT -5. The time now is 06:07 PM.

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
Open Source Consulting | Domain Registration