LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-07-2007, 03:12 PM   #1
debian newbie
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Rep: Reputation: 0
Can't get SATA recognized


Hi,

I am setting up a new server, the mobo is ASUS P5LD2-VM, 1Gb RAM, two SATA 160Gb hard drives. I installed a cd-rom on the ide connection, but can only see one SATA drive in linux. I have installed debian 2.6.16.19. I wanted to setup a RAID with the two drives, but can only see one. I also want to take data from an old ide drive, but I cannot have the cd-rom connected. Is there any way that I can have the two SATA drives, one ide cd-rom and one ide hard drive all recognized by linux at one time?
I have set this up on a previous system, very similar server but I guess the motherboard has changed!?!?

Any help is very appreciated.
 
Old 03-07-2007, 03:52 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
What is the output from "lspci" and "ls /dev/sd*" and "ls /dev/hd*"? It's very strange that it would recognize one SATA drive but not both. Does the BIOS report both during startup? As to the IDE drives, are you sure one is master and the other slave? Or are they on two different IDE channels? Did you go into setup and refresh the setup? I've had the case where a mobo wouldn't recognize stuff unless you dropped into setup first.
 
Old 03-08-2007, 07:11 AM   #3
Teukka
LQ Newbie
 
Registered: Aug 2003
Location: Finland
Distribution: Debian, Fedora, FreeBSD, OpenBSD
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by debian newbie
Hi,

I am setting up a new server, the mobo is ASUS P5LD2-VM, 1Gb RAM, two SATA 160Gb hard drives. I installed a cd-rom on the ide connection, but can only see one SATA drive in linux. I have installed debian 2.6.16.19. I wanted to setup a RAID with the two drives, but can only see one. I also want to take data from an old ide drive, but I cannot have the cd-rom connected. Is there any way that I can have the two SATA drives, one ide cd-rom and one ide hard drive all recognized by linux at one time?
I have set this up on a previous system, very similar server but I guess the motherboard has changed!?!?

Any help is very appreciated.
What distro and what flavor of installer you are using? If Debian sarge, try Debian etch installer

Last edited by Teukka; 03-08-2007 at 07:14 AM.
 
Old 03-08-2007, 09:58 AM   #4
debian newbie
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Here is the print out of lspci and mount:: As for ls /dev/hd* & /sd* there are several. I am also not familiar with Debian etch??? I have tried make menuconfig and try to figure out what needs to added?? Both drives are found in BIOS if I use Enhanced > SATA & PATA but will not boot to linux then. I have it set to Compatible Mode with Primary SATA & PATA, but only see one drive in BIOS. I believe I am using SARGE distro, but how can I really check? I was thinking of trying 2.6.20?!?!?
Thanx


mount
/dev/hdc3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hdc1 on /boot type ext3 (rw)
/dev/hdc7 on /home type ext3 (rw)
/dev/hdc6 on /usr type ext3 (rw)
/dev/hdc5 on /var type ext3 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw)

lspci
0000:00:00.0 Host bridge: Intel Corp.: Unknown device 2770 (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp.: Unknown device 2772 (rev 02)
0000:00:1b.0 0403: Intel Corp.: Unknown device 27d8 (rev 01)
0000:00:1c.0 PCI bridge: Intel Corp.: Unknown device 27d0 (rev 01)
0000:00:1d.0 USB Controller: Intel Corp.: Unknown device 27c8 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp.: Unknown device 27c9 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp.: Unknown device 27ca (rev 01)
0000:00:1d.3 USB Controller: Intel Corp.: Unknown device 27cb (rev 01)
0000:00:1d.7 USB Controller: Intel Corp.: Unknown device 27cc (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev e1)
0000:00:1f.0 ISA bridge: Intel Corp.: Unknown device 27b8 (rev 01)
0000:00:1f.2 IDE interface: Intel Corp.: Unknown device 27c0 (rev 01)
0000:00:1f.3 SMBus: Intel Corp.: Unknown device 27da (rev 01)
0000:01:04.0 Unknown mass storage controller: Integrated Technology Express, Inc.: Unknown device 8211 (rev 11)
0000:01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 02)
 
Old 03-08-2007, 10:13 AM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You don't have to mess with the kernel to get your SATA recognized, you just need a more up to date Debian, which isn't Sarge. Even getting the newest kernel won't re-identify your mounts, which are certainly screwed up, unless you installed on an IDE drive. As said above, use Etch which will automatically detect your SATAs. The mount points you list above are all hdc, and SATA drives should be sda and sdb.

You can download a daily build of Etch from this page - http://www.debian.org/devel/debian-installer/

I suggest getting the netinst iso, which is the first thing on the page. Just select the correct architecture for your processor, which is likely to be i386 or amd64.

Peace,
JimBass
 
Old 03-08-2007, 12:23 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
It would be interesting to get you running, but probably wouldn't benefit anything but my curiosity. Install etch from the netinstall as Jim suggested, and if you still have problems, then repost and I'll do what I can to help. In any case, stay away from 2.6.20 for now. It's not bad in and of itself, but there are a few bits of software that are still incompatible with it.
 
Old 03-08-2007, 12:57 PM   #7
debian newbie
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanx Jim and Quakeboy02

I will download the etch from the link you sent, but one BIG question. Will installing this overwrite all my data??

Thanx
 
Old 03-08-2007, 01:02 PM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"Will installing this overwrite all my data??"

It depends. Do you have data on the partition you're going to install to? AND, are you competent enough to ensure that you don't whack your data partitions during the install? If the data is on a different disk, then just unplug it during the install. If you want to install onto the SATA drive, then unplug your IDE drive during the install. Let us know where the data it is, and maybe we can figure a way to make sure it doesn't get touched. If you can, make a DVD of it, anyway, just to be safe.
 
Old 03-08-2007, 02:03 PM   #9
SactoBob
Member
 
Registered: Jan 2007
Location: Sacramento
Distribution: Ubuntu 6.10
Posts: 63

Rep: Reputation: 15
I think that may be having a problem with ASUS's JMicron drivers, which is a pretty common problem with linux and the ASUS P5xxxx boards. The kernel does not support those drivers, or at least didn't for the distros that I tried at first on my P5Bs. However, a lot of the distros have built in their own support for the JMicron drivers, so you might check to see how your distro deals with them. Ubuntu Edgy and PCLinuxOS picked them up with no extra effort. For Suse 10.2, I had to preload the JMicron driver. Some older distros had no support.

Anyhow, I think that your problem has to do with lack of support for ASUS's JMicron drivers, and Googling the problem should lead to a solution. You aren't the first person to have experienced this problem at all.

Bob
 
Old 03-08-2007, 02:17 PM   #10
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Considering the mess that your first install is, I certainly would partition everything and erase your old data. Also given that your install is on some hdc drive and you're going to be installing to sda and/or sdb, it is best to assume everything will be lost.

You can export all your saved data to something else if it is worth keeping, but if you just installed, wipe it clean and do it over.

Peace,
JimBass
 
Old 03-08-2007, 02:25 PM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
DN,

From the posts above, it seems like there is some confusion about what exactly you have on what disk. It's my understanding that your /dev/hdc* is actually an IDE drive, and that you don't have any partitions on the one SATA drive that is actually recognized. Am I correct on this, or am I completely confused?

Could you tell us exactly what is what? Is all of hdc* the IDE drive? Are any of the hdc* partitions on the one SATA drive that works? Doe you have any sda* partitions but didn't bother telling us about them?
 
  


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
JMicron sata not recognized KleB Slackware 20 02-08-2007 01:58 PM
SATA II Drive not recognized nilvyn Linux - Hardware 1 06-04-2006 05:43 PM
SATA cdrom not recognized Riallin Linux - Newbie 2 12-06-2005 08:19 PM
SATA not recognized blanks Linux - Hardware 3 01-17-2005 09:06 AM
SATA on 2.6.8.1 recognized but not mounted Clojster Linux - Hardware 10 10-22-2004 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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