LinuxQuestions.org
Register a domain and help support LQ
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 06-09-2006, 04:27 PM   #1
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Rep: Reputation: 15
SATA disks during install not recognized


Well i finally got my server and all happy tried to install Debian and it failed. Very unhappy right now

Was googling for an hour for solution but can't find anything!

Server info:
PRIMERGY Econel 100
P4 3.0
2xSATA wd 160GB disks

More info here: http://facts.fujitsu-siemens.com/ind...&lid=26&page=1

Turned on PC, booted debian with 'linux26', bla bla, languages, detecting dvdrom,... network... and then when it comes to disks it failed. Partition not available cause no drives detected or something along those lines.

I didn't touch a thing in bios and have not played with cd's that came with server. If i go on PC start into raid setup, i have two entries listed there under View Configuration.. so i left that alone..

Any of you guys know what on earth should i do? I have never done stuff with SATA before so that's probably why i'm all lost...

Help wanted!
 
Old 06-09-2006, 05:12 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Many newer SATA controller drivers are not available on the stock debian 2.6.8 kernel. You can download the Etch or Sid installer instead. I think Etch is using 2.6.15 right now...

Another option is to try to change the bios to treat the SATA drives as PATA, although not all motherboards have this option. Then you might be able to get it running with the 2.6.8 kernel and recompile a newer kernel from kernel.org.

Just my
 
Old 06-09-2006, 05:29 PM   #3
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
OK, so i need newer kernel that will recognize my disks..

I just set in bios from RAID setup to normal or something similar, can't remember heh and now the installation works as HDA not SDA but hey..

Don't think that compiling kernel is an easy job so i'll try tommorow with Etch or Sid installer..
 
Old 06-09-2006, 05:58 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
That is one of the options one can do if the bios supports it. Making the sata channel look like a pata or legacy IDE. Most do it one way or another. Then once the distro is installed return the sata channel to its default channel and bootup. Many precompiled kernels from distros have sata support in them enbaled. It is just that the installer which uses a more smaller kernel to install with does not have everything enabled. Usually just enough to get installed.

Brian1
 
Old 06-09-2006, 06:37 PM   #5
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
TheRudy,

compiling actually is pretty easy. But it takes me a while to go through all the config options. There's a lot of hardware you can just cut out. If in doubt, leave it out is my motto.

Here's a good read to how to compile a kernel the Debian way. It really isn't too bad and on my old laptop, it only took 35 minutes of actual compile time.

Oh, here's the one I use more often...
 
Old 06-10-2006, 02:59 AM   #6
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Brian1, i actually tried that! Installed it, rebooted with raid in bios, kernel panic. Then i changed back to compatible in bios, booted the system and changed hda to sda in fstab, rebooted again, changed to raid in bios and kernel panic again.

pljvaldez, thanks for those links!!

Will try to do some stuff, i have all weekend plus a few more days to make it run Thanks for help so far!
 
Old 06-10-2006, 09:13 AM   #7
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Well since i have some time to play around, i just tested my server with new ubuntu installation and it works perfectly! Everything recognized, no problems up and running... So that's a good sign since ubuntu in based on debian.. New kernel and off we go
 
Old 06-10-2006, 09:19 AM   #8
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
First i'll try now with testing debian version to see if that works but...

Can i do this? Install stable debian using 'compatible' mode instead of 'raid' mode in bios. Install it on 1 hda, recompile newer version of kernel, change fstab from hda to sda, reboot to bios, change from 'compatible' to 'raid' and reboot debian? Is it worth of a try or even better, does this make any sense?

Erm, forgot to press edit... sorry about that...
 
Old 06-10-2006, 10:59 AM   #9
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Try booting with one of the Live CD like Knoppix, Ubuntu, Kubuntu, Centos or any number of others and see if the drives are visible using the sata channel set as default. If it does work then check things like the modules loaded ' lsmod ' and look in /etc/modprobe.conf and see if anything is in there. If it does work then you may need to rebuild the kernel to enable that module.

Brian1
 
Old 06-10-2006, 01:03 PM   #10
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Yes, it does work, Ubuntu 6.06 live cd works.. Sata are viewable, also the installation works!

I got the list from ubuntu by 'lsmod' command and currently i'm compiling the latest kernel version.. Will report back if it works!

The thing i currently don't understand is how to 'load' sata with new kernel.. Currently i have debian with his 2.6 kernel version running and 'compatible' mode in bios is set. Now i'm compiling new version on the same PC. If everything goes ok, and the boot is successfull with new version of kernel, how do i then install sata disk? Can i just change hda to sda and in bios to 'raid' instead of 'compatible'?? Installing it all over can't be done i guess since the debian linux26 kernel will be used again and mine will be formated

PS: this is a great learning experience! Thanks for helping me! Much appriciated!
 
Old 06-10-2006, 04:21 PM   #11
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Well after MUCH googling, trying lots of custom kernels and compiling i finally got 1 custom kernel that detects my sata drives in installation!

It's from: http://kmuto.jp/b.cgi/debian/d-i-2615.htm
This is a 2.6.15 but i got 2.6.14

Now, anyone knows if i can use this kernel or will i have to rebuild new one after the installation is finished? So far, it's updating itself so the base is already installed and it works..
 
Old 06-10-2006, 04:45 PM   #12
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
You can download the newest kernel from www.kernel.org. Last check something like 2.6.16.20. One thing you need to do if using iptables is to goto the netfilter section and enable all the items needed or similiar to your current options.

Brian1
 
Old 06-10-2006, 05:01 PM   #13
TheRudy
Member
 
Registered: Jul 2004
Posts: 40

Original Poster
Rep: Reputation: 15
I actually already compiled that kernel
It failed to boot before but i'll give it another try now using the new install with sata drives working!

Even if i don't success with newest kernel after some tries, i can still use this one..

Now that the biggest problem is solved, i'll play around for a day or two with my own kernel.. If not for real use, at least i'll learn something new about linux..

Thanks guys, you've been a lot of help!

Anyway, i hope this will be of some use for other people who have problems with debian and SATA drives. Use this custom kernel http://kmuto.jp/b.cgi/debian/d-i-2615.htm and you are good to go!
 
  


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
Debian 3.1 on SATA Disks alirioperez Linux - Hardware 1 05-15-2006 01:14 PM
Disks in h/w RAID not recognized by multiple Linux installers deltwalrus Linux - Hardware 7 07-27-2005 08:35 AM
Installation Disks not recognized as official disks when booting with floppy coal-fire-ice Mandriva 13 12-09-2004 05:29 PM
How to speed up SATA disks Boudewijn Linux - Hardware 5 08-13-2004 11:41 AM
hard disks on ide controller SiI680 not recognized elbe3321 Linux - Hardware 17 02-18-2004 02:19 AM


All times are GMT -5. The time now is 10:36 AM.

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