LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-22-2004, 01:11 PM   #1
Jazzmaster
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Unhappy SII 3512 and IDE together ??


My system currently has two IDE HD-drives which contains W2k an Slackware 9.1.
Latley I've bought a 80GB Maxtor Sata disk and it's no problem to use it in windows, but Linux is an other case.

I'm using kernel 2.6.4 and had to patch it to compile support for my Silicom Image 3512 Sata controler in it.
So for no problem since the system recognizes the SII3512 controler and tels me there is a 80GB drive on it ( /dev/hda).
It also tels me that /dev/hdb till /dev/hdd is reserved by this controler.

The problem is that Slackware is installed on the first IDE drive which was also called hda before Sata support was included in the kernel.
During startup there is no report of my other (IDE) drives.
the startup ends in a kernel panic.

I've tried to change the lilo.conf and fstab to tell the IDE drives to be hde and hdf but the system still hangs at startup with a kernle panic.


It seems that when I compile Sata support in the kernel there is no longer support for my IDE drives.

Is it possible to use both IDE and Sata?
I want the IDE drives to be the system disks (containing Linux and W2k) and the Sata disk to be a data disk.

System:
Gigabyte 7N400pro
Athlon 2500+
10GB IDE WD drive (containing W2k and Slackware)
20BG IDE Seagate drive (data)
80GB SATA Maxtor drive (data)
 
Old 06-02-2004, 01:31 PM   #2
thegnu
Member
 
Registered: May 2004
Location: St. Petersburg, FL USA
Distribution: Arch Linux, Fedora Core 3
Posts: 51

Rep: Reputation: 15
hda is the master hard drive connected to the primary ide channel. So if you make (for example):

IDE Channel1
Master: (empty) {hda}
Slave: CDROM (I'm assuming you have one) {hdb}
IDE Channel2
Master: WD 10GB {hdc}
Slave: Seagate 20GB {hdd}
SATA:
Maxtor 80GB

This should eliminate any conflicts. As for telling your linux install that all your system files are now on /dev/hdc, you're on your own. You could try transferring everything to the a partition on the maxtor and mounting your WD on /home/ or something like that. I don't know how you use your disk space.

Hope this helps some. Good luck!

Last edited by thegnu; 06-02-2004 at 02:07 PM.
 
Old 07-01-2004, 11:26 AM   #3
thegnu
Member
 
Registered: May 2004
Location: St. Petersburg, FL USA
Distribution: Arch Linux, Fedora Core 3
Posts: 51

Rep: Reputation: 15
I got mine working on a gigabyte 7n-400. What I did is patch the 2.6.6 kernel and compile it, and my sata hard drive shows up in /dev/pci/ide/host2/.... and is /dev/hde

I downloaded the 2.6.6 kernel from kernel.org, unpacked it to /usr/src/
Downloaded this patch and unpacked it to /usr/src
SII 3512 Patch

I then ran
Code:
patch -b -F=50 "file to patch" "patchfile"
NOTE: the F might be f instead, check patch --help and check the fuzz option.

If you use vi or nano to check the patch file, in the header for each section tells you which file to patch. I'm not at my linux box, or I'd give specific instructions.

Then when you run 'make menuconfig' (or gconfig, etc) you have to compile the SII SATA support (in ATA devices) into the kernel. Maybe you can do it as a module, but I don't see the point.

Hope this helps. If you have any more questions, ask, and I can be more specific later. For all I know, the newly release 2.6.7 kernel may have this already implemented.
 
  


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
silicon image 3512 and any distro everettf Linux - Hardware 3 01-13-2007 02:12 AM
Silicon Image (SiI 0680A) IDE controller blither Linux - Hardware 0 09-20-2005 03:29 PM
SiI 3112 Raid not working on Debian w/ kernel 2.6 dasdingonesin Linux - Hardware 2 01-09-2005 02:11 PM
SuSE 9.1 won't install because of Silicon Image 3512 SATA controller papa Strumpf Linux - Hardware 0 08-21-2004 03:14 PM
Debian Woody r1 Installer won't detect SATA RAID HDDs on SiI 3122A bluPSU Linux - Hardware 11 01-20-2004 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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