LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-08-2005, 04:01 PM   #1
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Rep: Reputation: 15
Reverse SCSI devices


I've installed Debian on a SATA drive in /dev/sda2 (sda1 is NTFS dual boot). The SATA controller is on board. But when I connect my SCSI drives to my Adaptec SCSI host adapter. I'm getting a kernel panic with standard Debian linux-image. Debian boots up without problems if I disconnect the drives.

In short: Linux gives, during bootup, priority to my SCSI drives instead of my SATA drives. If Linux boots up it has my 3 SCSI drives labeled as sda, sdb and sdc and my 2 SATA drives as sdd en sde. While it should be the other way around. I want my 2 SATA drives to be sda and sdb and my 3 SCSI drives sdc, sdd and sde.

Apparently Debian gives priority to real SCSI devices and then mounts the "fake" ones.

The 1 million dollar question is now: How to solve this?

P.S. adding ide=reverse or scsihosts in Grub doesn't work.

Last edited by element; 11-08-2005 at 04:04 PM.
 
Old 11-08-2005, 06:28 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I believe it's the System BIOS that is switching the priority not debian..
I run in to the same issues with Windows servers and multiple SCSI Interfaces / drives..

You may be able to prevent the loading of the SCSI controller drivers until the system is up to force the devices to load in the order you want..
 
Old 11-09-2005, 06:16 AM   #3
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Original Poster
Rep: Reputation: 15
Hmmm... any idea where to change that in BIOS? I've already tried to set the boot order different, but it didn't help.
 
Old 11-09-2005, 04:39 PM   #4
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Original Poster
Rep: Reputation: 15
I don't see anything in the BIOS that could help. Isn't it possible to change the devicenames in Linux/Debian?
 
Old 11-09-2005, 07:12 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
You cannot change it in the BIOS..

You should however be able to load the SCSI controller driver as a module, and force it to load After the other controller driver. which would give yu the result you are looking for. unfortunately I don't know how to make that happen, but I have seen threads on it in the past..
 
  


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
scanning for new scsi devices hodgsonjk Linux - Hardware 2 05-13-2005 06:01 PM
Mounting various SCSI devices KePSuX Linux - Hardware 2 10-08-2004 04:05 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 11:36 AM
Can't Mount my SCSI devices! ewto Linux - Newbie 9 09-10-2003 12:44 AM
Mounting SCSI devices MasterC Linux - Hardware 12 09-25-2002 02:06 AM

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

All times are GMT -5. The time now is 02:55 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