LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-09-2008, 07:33 PM   #1
mabbott
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Problem: SATA boot drive & RAID card -- Booting irregularity / clashing


Greetings!

I've just installed Slackware 12, compiled my new kernel and got it all going. I've compiled in support for my CPU, # of CPU's, RAID card, NIC, etc., and I'm running into an odd problem booting the kernel when the RAID card has the HDD's plugged in and the arrays present.

The boot drive is a 160GB Seagate SATA2 drive as /dev/sda
The RAID card is a Promise SuperTrak EX16350 PCI-e 16x 16port Card, with 2X2TB RAID 5 arrays defined.

The kernel, as I said before, has been compiled with this card present and it's detected fine. What happens is when I do NOT have any drives present on the card (the molex cables are disconnected from the card), the kernel boots properly. With the molex cables on and all drives present, the RAID card seems to 'push' the main boot drive (/dev/sda) down to /dev/sdc, and the defined arrays become /dev/sda and /dev/sdb respectively.

I wind up getting a kernel panic, obviously. I've been able to work-around this by modifying LILO from /dev/sda1 to /dev/sdc1, and altering /etc/fstab to reflect the similar values. It works OK this way, but obviously compiling a future new kernel is not going to work; and the crap I'd need to do to get everything all to work is tremendous.

Is there a way to change the expected /dev/sda of my primary boot drive permanently to /dev/sdc so that no matter what, at each boot, it's "expected" to be there? Or a way to tell Linux during boot that these arrays are elsewhere? Help!

Hardware specs:

GIGA-BYTE GA-MA790FX-DS5 MAINBOARD
AMD QUADCORE PHENOM 9750
8GB CORSAIR DOMINATOR RAM
PROMISE SUPERTRAK EX16350 PCI-E SATA2 RAID
 
Old 09-09-2008, 08:41 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by mabbott View Post
The kernel, as I said before, has been compiled with this card present and it's detected fine. What happens is when I do NOT have any drives present on the card (the molex cables are disconnected from the card), the kernel boots properly. With the molex cables on and all drives present, the RAID card seems to 'push' the main boot drive (/dev/sda) down to /dev/sdc, and the defined arrays become /dev/sda and /dev/sdb respectively.
This is normal and is a motherboard boot order issue. When you don't want to boot with the RAID attached, just go into the BIOS setup and switch the boot order.
 
Old 09-09-2008, 09:43 PM   #3
mabbott
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
LOL damn. Now I feel like an absolute turkey! More sleep is needed. Cheers!
 
Old 09-10-2008, 05:19 AM   #4
mabbott
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Alright, so I checked the mobo settings for the boot order, and the 160gb boot drive is where it's supposed to be -- first, and the promise raid arrays immediately follow it. Here's something I noticed:

The stock kernel (hugesmp.s) off the slackware 12 install cd, finds my raid card fine. The raid support compiled in has some issues (it sees 4x2tb arrays when i only have 2x2tb arrays..) which is neither here nor there; but it brings up ALL the disks in the proper order when the system loads. /dev/sda is my 160 boot, /dev/sdb1 and /dev/sdc1 (etc) for the raid.

when I boot from my COMPILED kernel, this all gets undone, and the raid arrays become first, bumping down the 160gb boot drive. I need to resolve this. Is there a commandline I need to issue during the build? something to add/remove in the kernel build?

Stumped!
 
  


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
boot sata drive via pci/sata card geoff3 Linux - Hardware 3 03-09-2008 08:28 AM
New SATA card caused no drive access...now new installs..various distros not booting. jagnth Linux - General 0 10-22-2007 06:29 PM
Get grub to boot from no raid SATA controller pci card sparkbot Linux - Software 6 11-17-2006 06:40 PM
SATA Drive for /boot & /root Misterfixit Linux - Hardware 5 06-23-2006 04:36 PM
boot problem from external drive & SD-card booting Nightfrost Linux - Newbie 1 07-12-2004 05:44 AM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration