LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-24-2014, 12:01 PM   #1
LonngJohn
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
Force IDE mode for "CompatibilityMode" SATA controller on 3.10.39?


We have a number of systems running custom-built 2.6.24 kernels on Dell GX280s. This motherboard has a SATA controller and we had the BIOS set for "compatibility mode" instead of "native" so that it could talk to downlevel OSes. The drive itself is a SATA drive. The 2.6.24 kernel detects it as IDE and presents the drive as /dev/hda.

We are now looking at upgrading the kernel to 3.10.39 and we are observing that the drive is now being detected as SATA and presented as /dev/sda.

For historical reasons, we are using "/dev/xxx" references and not UUID references for the drives. So, the new kernel panics when it cannot mount the root on /dev/hda3.

We understand that we can change the bootloader parms and /etc/fstab and/or use UUIDs, but we would like to see if there is another way.

We investigated kernel boot options like "combined_mode" but they do not seem to be applicable. We do not readily see a setting for this in the config file for the kernel build.

What we would like to do is have the default for a SATA/IDE capable controller to be IDE instead of SATA, for these legacy systems.

Is there a way to accomplish this, or can someone point us to the general area of the source code where this decision is made?

Thanks.
 
Old 07-24-2014, 02:46 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi

What about symlinks and/or udev-rules?
Have a look at e.g. this.
 
Old 07-25-2014, 10:51 AM   #3
LonngJohn
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for that info.

I was hoping to avoid UUIDs, etc. and force the kernel to continue to default to the IDE driver for this controller.

Does anyone know approximately where in the kernel code the decision is made to bind to a controller with the SATA driver versus the IDE driver, when the controller reports that it is compatible with both?
 
  


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
What are the options "Nosuid" "mode" "size" in /etc/fstab? tuxfiles.org does not help pstein Linux - Newbie 1 11-16-2012 12:58 AM
"TRUSTED RECEIVE" command fails on the 631xESB/632xESB SATA AHCI Controller sergnk Linux - Security 1 09-06-2012 09:37 AM
"TRUSTED RECEIVE" command failed on 631xESB/632xESB SATA AHCI Controller sergnk Linux - Hardware 0 08-31-2012 10:24 AM
Bios config: "ahci" or "standard ide" for a sata drive ? Danodare Slackware 1 11-05-2006 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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