LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Serial ATA (SATA) Linux Support (https://www.linuxquestions.org/questions/linux-hardware-18/serial-ata-sata-linux-support-51535/)

gromer 03-30-2004 12:52 AM

Watch out for kernel 2.6.5. This is taken from the Changelog of 2.6.5rc3

[PATCH] SATA: fix and enable sata-sil
sata_sil: it's a widely deployed chipset. Now that we've fixed it, let
users use it.

sata_via: Disk detection via SATA phy registers appear problematic.
Until that problem is identified and fixed, used the old PATA
detection code -- that was used in 2.6.4 -- instead.

Seems that there are a couple of further fixes sinxce 2.6.4 (see also Changelog prior to rc3).

vosa 04-06-2004 12:35 PM

SATA hard drive speed
 
Hi,

Is 56 MB/s throughput (hdparm -t) good enough for SATA drive ??
Can I improve this somehow?
What speeds do you have?

Just need to know if my configuration is OK.

thanx all,
vosa

BarryT 04-07-2004 09:02 AM

Hi,

I have just read through all 202 posts on this thread and I am still a little confused.

I have a Asus P4P800 Mobo that has the Intel ICH5R Chipset for SATA.
I have one 200GB Maxtor disk tha\t I want to install RH7.3 onto.

I have even tried to install RH9 but am getting no sucess. From what I have read I need to upgrade my Kernel to at least 2.4.22 but 2.6.4 would be better.

Can someone please tell me the best way of doing this as at the moment there is no OS on the SATA HDD.

As I see it my options are as follows.

Boot the machine from a Knoppix CD and install that to the HDD as Knoppix 3.3 seems to have SATA support. then upgrade the kernel and install RH (still not sure how to do this)

Install a second EIDE HDD and install RH7.3 onto that and then upgrade te kernel then copy the install (with kernel upgrade) to the SATA HDD and let the machine boot from this.

I have also read about changing my BIOS settings to Compatiable mode and installing RH9 then upgrading the kernel that changing the BIOS setting back.

Can someone please give me their views on the best way to sovle my problem. other wise I think I will be taking my last option which is throw the SATA HDD out of the window and install a EIDE HDD ;)

Thanks In Advance

Barry..

Kingkenny 04-11-2004 09:56 AM

Hello All..

I appear to have the same issue as user 'Debaucher' post No. 119 on this thread.

_________________________________________________________

Hello everyone, I am new to Linux, so please be gently and over-explain everything for me.
I read this entire thread (and others) but am still having trouble.
I am trying to install RedHat 9 on a Supermicro X5DAL-TG2 motherboard with dual SiI3112A SATA controllers.
I followed both the instructions on the Redhat linux drivers located here
ftp://ftp.supermicro.com/driver/SAT...e/Linux/Redhat/
and tried the drivers from SiI thmselves.
Neither work.
When I install do the
" linux dd hde=noprobe hdg=noprobe hdi=noprobe hdk=noprobe "
as per the instructions, but then once it gets to looking for drivers, it says none found, so I say look on floppy, and it searches it, but then says none found.
So I choose manual, choose the driver, but then it says no driver loaded...
I tried over and over, but the same result every time!!
I must be doing something wrong, just dont know what.

I even tried saying OK.. and going past no driver loaded, but then (of couse) no HD's are found.

Please, if someone could give me detailed (and I mean detailed) instructions on how to install RedHat9, I would be forever in your debt.
The HD's being used are 2SATA Maxtor 120GB, trying for a Striped Raid.

_________________________________________________________

OK I have a Abit NF7-S v2.0 running 2 maxtor 80g drives with Win XP loaded in Raid 0 striped using the Silicon Image SataRaid Sil3112 controller.

I initially left 10 gig free at the start for linux and used P/magic to format it as Linux ext2 - as later I planned to install Linux.

I now have R/Hat enterprise ES/AS v3. which I think is version 9.1 with a kernel on 2.4.21

I have also downloaded the linux driver from the S/Image site. Used the rawwrite on the initial 1st RH boot CD and created a disk via the sil.img.

Now I have read.....and read.... and read for the last 4 days loads of forums on this - and now I dont have a clue what I need to do?

The R/Hat info from S/image says it supports R/Hat 9 and above.

Before I did this it did find drives known as hde and hdg but it states - The partition table on device HDE was unreadable. Do you wanna initialize loosing all data on this drive. I say no and it says the same for hdg and then - An error has occured No valid devices found to create new filesystems.

Regardless of what I do - linux dd hde=no probe etc... it still cannot see the drives (as one...)

I can see what I think is the module as per from the floppy that I created. It shows as SIL IMAGE 6512 Sataraid Controller.....yet no drivers can be found for this.

Again...if I continue I do get the same above msg - but only for hdg? is linux now seeing both drives as one hence hdg and no hde?

If I choose YES - will it wipe the disk and loose my windows XP system?

I have even manged to get to the CLT ALT F2 and mount the floppy and run what its states in the Sil Image Red Hat FULL INSTALL notes 'sh redhat_9.0_update_boot_loaders.sh' etc......

But then it goes on to say that I need a boot disk? or use GRUB?

Gotta say - as a newbie... this stuff appears well complicated.

Can anybody advise on what I need to do. I have read millions of forums regarding Vanilla Kernels and Medley stuff.....but i cannot even get a driver to load let alone build a bloody new kernel! lol

Any advise.... help....instructions would be greatly appeciated. I was so looking forward to learning linux, but at the mo....not having much luck or understanding of this system.

Cheers,

Kingkenny

P.S The controller I have on my B/Board is the 3112. The above shows as
SIL IMAGE 6512 Sataraid Controller. Is that normal?

Stephen_Hoos 04-11-2004 04:30 PM

Okay I am ready to do a fresh install of Redhat 9x, I have the proper drivers for my Promise fasttrak 376/378 raid device. How do I get those drivers installed during the CD boot process so Linux will se my 320 gb raid?

Ready to drool. Dual 2.0 Xeons over clocked to 2.4 and two 160GB Seagate drives Raid 0. Now if I can only get all 4 OS up and running I'll be happy.

studpenguin 04-16-2004 07:28 PM

KIDSATACRUX
Newbie



Joined: Mar 13, 2004
Posts: 4
Location: in and out of Cowtown

Posted: Sun Mar 14, 2004 12:33 pm Post subject: the Serial ATA CRUX tackled
Thank you very much for hosting the Linux install fest.


Cooper,

To review the findings of my system, to the best of my understanding we discovered:

with this motherboard:

http://www.digital-daily.com/motherboard/msi-kt6-delta/

and this hard drive:

Model Number:ST380023AS
Capacity:80 GB
Speed:7200 rpm
Seek time:9 ms avg
Interface:Serial ATA


http://www.seagate.com/cda/products/...er/1,,,00.html

- kernel 2.6.x + is the only kernel that will support that VIA chipset 8237 of mine and the latest distribution package that has this:

is GENTOO? http://linuxiso.org/distro.php?distro=45
w / kernel 2.6.1 - r2

the latest greatest MANDRAKE & FEDORA, & just about every other major free distribution as of 3-13-4 is obsolete

it seems to take a little struggling to get the Gentoo install disk to load 2.6.1 instead of 2.4.x

- the dude with the hat a has the same mother board type & ethernet card as I do and wrote it down:

"Brodcom Gigabit ethernet:

use this - tg2 2.6.5 module - OR - BC 5700 from MSI (broadcom module)

AND a whole bunch of other discoveries advanced Linux user revelations which Cooper is very aware of. At this point I'd like to request that information be posted, reviewed, and described further by all those concerned.

Once again thanks for the support!!

sincerely,
- kidsatacrux

P.S.

An unlabeled disk was left in the CD-ROM with a bunch of files. Is it mine to keep?

Bear in mind there is still much needed work for an install. I had hoped to get a Dual-Boot system (yes, I've still got a Windows XP partition) and there just wasn't quite enough time.

Maybe I'd invite you or some of the other experienced users over for a free dinner sometime next weekend or spring break . . . with you and some other friends to help tweak this p.c. some more.

Until then see you in a month.

Last edited by KIDSATACRUX on Sun Mar 21, 2004 8:42 am; edited 1 time in total
Back to top


KIDSATACRUX
Newbie



Joined: Mar 13, 2004
Posts: 4
Location: in and out of Cowtown

Posted: Sun Mar 14, 2004 2:23 pm Post subject:
Here's some more information about that Chipset VIA 8237

http://www.viaarena.com/?PageID=297#ATA

JoSch 04-17-2004 07:49 AM

Hi.

I read this thread, but could find a solution to my problem.
I have installed a IDE drive to boot the system, which has root fs on a SCSI drive.
Everything boots up fine, but if I insmod siimage, the driver will install the SATA controller (SIL 3112A) to ide0 and ide1 and thus overriding the IDE drive.
The system doesn't actually crash, but spits out a host of error messages, if /dev/hda is accessed.

Any suggestions?


Jochen

Aussie 04-17-2004 09:40 AM

I'm testing kernel 2.6.6-rc1 on my laptop ATM, and under SCSI device support you'll find a Serial ATA (SATA) support option.

Lost Penguin 04-17-2004 09:35 PM

Re: Western Digital
 
Quote:

Originally posted by Village Idiot
Well I have the RAPTOR 37 GB drive set up with the Silicon Images card sent with the drive on an ASUS P4PE using Redhat 9.0. The result is YUCK! :mad: hdparm -t yielded 1.63 MB per sec. Will try setting the idebus manually but suspect that is not going to help. The Promise chipset on the P4PE does not play nicely with Redhat Linux. If anyone has an idea on getting the Raptor flying at something other than treetop level I would appreciate the feedback. :newbie:
# hdparm -tT /dev/sda

/dev/sda:
Timing buffer-cache reads: 2624 MB in 2.00 seconds = 1310.89 MB/sec
Timing buffered disk reads: 152 MB in 3.02 seconds = 50.32 MB/sec
# hdparm -tT /dev/sdb

/dev/sdb:
Timing buffer-cache reads: 2936 MB in 2.00 seconds = 1471.17 MB/sec
Timing buffered disk reads: 164 MB in 3.01 seconds = 54.57 MB/sec

Asus P4P800 Western Digital Raptor 36 Gig SATA.
Fedora core 2 Test 2 kernel 2.6.5-1.322smp
These are not in a RAID, the Asus bios is set to IDE Configuration > "Compatibility" and the SATA works in place of the secondary IDE.
I have not done a Host RAID on the Intel ICH5 chipset under linux, I wish I had the Adaptec 2410SA :)
I did do a Intel HostRAID under the evil empires Xtra Problem OS, but ......

Lost Penguin 04-17-2004 09:52 PM

Software RAID
 
Quote:

Originally posted by etegration
still nothing on ICH5R? i really hope to up my Raptors in RAID 1 on my P4P800 and run Redhat on it. :(
Why want a HostRAID (The HostRAID uses your CPU for XOR math)
Just give up and use a Linux software RAID, You will be VERY happy.
I use a boot partition on Cruzer Flash RAM and a RAID 0 with two Raptor 36Gig.
I started using the flash as an trial...... (not died yet)
You must have a boot partition to use software RAID.
Almost all the SATA so called RAID is really HostRAID.
Try this puppy,You wanted real RAID Here is a hardware based RAID

You get SMOR too!

Aussie 04-18-2004 12:08 AM

Quote:

Originally posted by etegration
still nothing on ICH5R? i really hope to up my Raptors in RAID 1 on my P4P800 and run Redhat on it. :(

There is in kernel 2.6.x, and there is a patch to add libsata to 2.4.xx kernels here.

Aussie 04-19-2004 08:15 AM

In a related news item, Marcello has anounced the addition of libata to the 2.4 series of kernels, you can expect to see it added during the 2.4.27-pre series.
http://kerneltrap.org/node/view/2926

monz 04-19-2004 04:28 PM

Quote:

Originally posted by Aussie
I'm testing kernel 2.6.6-rc1 on my laptop ATM, and under SCSI device support you'll find a Serial ATA (SATA) support option.
Yup, I noticed this already in 2.6.5.

It's been stated elsewhere (kerneltrap), that there are problems with the combination of Sil 3112a and Seagate 7200.7 sata disks. I'm running Slackware 9.1 on a Asus A7N8X Deluxe with 2x Seagate 7200.7 160GB in raid1. Slack installs fine, but while fstab says /dev/hde, fdisk -l says /dev/hde AND hdg.

I know Sil 3121a is a fakeraid, and elsewhere it's been suggested to do softwareraid, but still...

Tried 2.6.4 and 2.6.5, and just changed 2.6.5 to use libata, incl. a rescue job to change ID's to /dev/sda. Boots fine, but as with other setups/kernels, hdparm -t still locks the system solid.
Before changing to libata, I could sometimes do 5-9 hdparm's.

Anyone know how a workaround to the Seagate problem, if that's my real problem? IIUC, the libata stuff already limits sectorcount to 15.

I have little faith in the sata stuff right now. If problems are so many now ¾ year into sata, and furthermore the system can't see the raid1 as a single disk, I'm reluctant to spend too much more time on it now. What can I say? God bless scsi. Give it couple more days...

Aussie 04-19-2004 04:43 PM

I also have an Asus A7N8X Deluxe, but with one 200Gb WD and one 80Gb Seagate SATA, I'll be installing 2.6.6-rc1 in about two days time and I'll report back on what happens.

monz 04-19-2004 04:58 PM

Quote:

Originally posted by Aussie
I also have an Asus A7N8X Deluxe, but with one 200Gb WD and one 80Gb Seagate SATA, I'll be installing 2.6.6-rc1 in about two days time and I'll report back on what happens.
Maybe I should mention the noted problems also existed when breaking the mirror and using a single disk. Haven't tried breakin the mirror with libata, though. Yucks, will try it, takes immensly long time to rebuild the mirror, but what the H, it's still a dev. system until sata works :o:
Weird your Seagate works, but not mine. Yours also a 7200.7 thingy? Only diff should be the cache size... fail to see any influence here.
Which mobo bios version? I'm using 1007.

Aussie 04-19-2004 05:21 PM

I've had 3 out of 4 80Gb Seagate SATA drives fail in the last 6 months, which is why I now have a 200Gb Western Didital. The failed Seagates were all 7200.7s with a model number of ST380023AS, all the replacement drives are model number ST380013AS, as is the one original drive that didn't fail. I don't bother with raid - it's not much use unless you have a bank of fast scsi drives.

monz 04-21-2004 07:18 AM

Quote:

Originally posted by Aussie
I've had 3 out of 4 80Gb Seagate SATA drives fail in the last 6 months, which is why I now have a 200Gb Western Didital. The failed Seagates were all 7200.7s with a model number of ST380023AS, all the replacement drives are model number ST380013AS, as is the one original drive that didn't fail. I don't bother with raid - it's not much use unless you have a bank of fast scsi drives.
My Seagate's are ST3160023AS, firmware 3.05, S/N 3JN0N2AF and 3JS0E90Z.
Anyone had any luck with Samsung's Spinpoint sata's? Been googling a bit, saw one note that he got considerably lower performance with the Spinpoints that with IBM/Hitachi.

I'd swap the Seagate's for WD Caviar 10K, but they're only 36/74GB and expensive. I'll be running VMware on this system, so a single 74GB disk is a bit on the lower side.
Hense the Q about Samsung disks. They're pretty low noise/heat and affordable, but useless for me if performance is noton-par with others.

The wierd thing is that the system works just fine with the Seagate's, only seems to go down the drain doing large file I/O = me not having any trust in it.
Seriously considering trashing the whole thing and stick with scsi...

Aussie 04-21-2004 04:15 PM

The Western Digital 200GB that I have now is working fine, but I'm not using libata on it yet. The seagates started making clicking noises then gave heaps of disk I/O errors just before they failed, after the first one I went and the second one started making the clicking noises I went on an orgy of dvd burning to back up all my files, and kept updating the backups daily.

monz 04-22-2004 07:44 AM

Quote:

Originally posted by Aussie
The Western Digital 200GB that I have now is working fine, but I'm not using libata on it yet. The seagates started making clicking noises then gave heaps of disk I/O errors just before they failed, after the first one I went and the second one started making the clicking noises I went on an orgy of dvd burning to back up all my files, and kept updating the backups daily.
Mind doing a hdparm -t ? It's a 7200rpm Caviar, fluid bearing model, right?

Anyone care do do a hdparm -t on a pc with 32bit pci, ultra 160 scsi (Adaptec 29160..), a 10K disk, cpu min 1GHz (so it doesn't limit perf)? Bonnie results velcome too..

Same goes for a system with sata and a Raptor, 74 and 36GB models. Plz list the satachipset.
I need to make a quick decition about sticking with scsi, or buying a Caviar or Raptor.


Udma is another testimony that pigs, given enough thrust, can fly.
-- Alan Cox

Aussie 04-22-2004 08:00 AM

Here you go,
Code:

bern@beast:~$ su -c 'hdparm -tT /dev/hde'
Password:

/dev/hde:
 Timing buffer-cache reads:  128 MB in  0.28 seconds =457.14 MB/sec
 Timing buffered disk reads:  64 MB in  1.77 seconds = 36.16 MB/sec
bern@beast:~$

bern@beast:~$ su -c 'hdparm -i /dev/hde'
Password:

/dev/hde:

 Model=WDC WD2000JD-00FYB0, FwRev=02.05D02, SerialNo=WD-WMAEH1983222
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4 5 6

bern@beast:~$

I'm not using libata yet, I'm going to have a play around with it when it's merged into 2.4.27-pre.

monz 04-25-2004 07:06 AM

Quote:

Originally posted by Aussie
Here you go,
Code:

bern@beast:~$ su -c 'hdparm -tT /dev/hde'
Password:

/dev/hde:
 Timing buffer-cache reads:  128 MB in  0.28 seconds =457.14 MB/sec
 Timing buffered disk reads:  64 MB in  1.77 seconds = 36.16 MB/sec

I'm not using libata yet, I'm going to have a play around with it when it's merged into 2.4.27-pre.

Hmm, I get around 43/44MB/s with the Seagate - when it doesn't lock up 8-( About same result for 'old style' SATA as for libata, using 2.6.5 . Cpu is 2.2GHz.
EDIT: I got around 54MB/s..

I'd really like to see someone post hdparm -t for a Raptor SATA + mobo, chipset and cpu.

From our dk lug someone posted
/dev/sda2:
Timing buffered disk reads: 64 MB in 3.35 seconds = 19.10 MB/sec

on a 700 Mhz, 9GB 7.200 disk, Adaptec 29160N.
I get around 27MB/s on a 550MHz K6-2 using 29160 og Maxtor 10K disk, not too bad..
I'm still considering sticking with scsi, at least until SATA2 is out and has been on the market for a while. Used u160 disks is available at reasonable prices, only problem is noise.

That's why I'd like to see hdparm's for the Raptor.

"I'd feel worse if it was the first time. I'd feel better if it was the last."
-=- "(from some Larry Niven book, doubtless not original there)"

monz 05-02-2004 07:21 PM

Quote:

Originally posted by monz

It's been stated elsewhere (kerneltrap), that there are problems with the combination of Sil 3112a and Seagate 7200.7 sata disks...

I know Sil 3121a is a fakeraid, and elsewhere it's been suggested to do softwareraid, but still...

Tried 2.6.4 and 2.6.5, and just changed 2.6.5 to use libata, incl. a rescue job to change ID's to /dev/sda. Boots fine, but as with other setups/kernels, hdparm -t still locks the system solid.
Before changing to libata, I could sometimes do 5-9 hdparm's.

Anyone know how a workaround to the Seagate problem, if that's my real problem? IIUC, the libata stuff already limits sectorcount to 15.

Well, I have more faith now (no change in religion required):
On 2.6.5, using libata, I simply booted using 'PCI=noacpi noapic nolapic'. I can now do 20 loops with hdparm -t, no lockups!
Unbeliveable that the apic stuff is still broken. Well, unless I'm completely wrong, and the AMD XP Barton doesn't have a local apic...
The hdparm -t yields around 54MB/s BTW. Seems ok.

I've been working with Linux since '96; didn't occur to me trying without the apic stuff.

HW is still two Seagate 160GB 7200.7 ST3160023AS on an Asus A7N8x Deluxe rev2, Sil3121a rev02, bios 1007. Slackware 9.1, kernel 2.6.5, libata.

Anyone care to comment whether it works for them or not?


"Experience is a wonderful thing.
It enables you to recognize a mistake when you make it again."
-- Jason A. Richards

Lost Penguin 05-02-2004 08:33 PM

Flying HDD
 
Quote:

Originally posted by BarryT
Hi,

I have a Asus P4P800 Mobo that has the Intel ICH5R Chipset for SATA.
I have one 200GB Maxtor disk tha\t I want to install RH7.3 onto.

I have even tried to install RH9 but am getting no sucess. From what I have read I need to upgrade my Kernel to at least 2.4.22 but 2.6.4 would be better.

Can someone please tell me the best way of doing this as at the moment there is no OS on the SATA HDD.

As I see it my options are as follows.


Can someone please give me their views on the best way to sovle my problem. other wise I think I will be taking my last option which is throw the SATA HDD out of the window and install a EIDE HDD ;)

Thanks In Advance

Barry..

Don't throw the HDD (You might void the 5 year warrantee)
I run Fedora core two (Test 2) on my Asus P4P800.
I set the IDE support to "compatible" not "Enhanced"
I am using the primary IDE and the SATA "PATA + SATA" only
I have a 40 gig IDE Western Digital on the primary master
I have a NEC DVD everything under the sun burner as primary slave
Secondary IDE is off
SATA one and two are 36 Gig Western Digital Raptors

I have XP on the first drive (The 40 Gig IDE)
Grub is loaded to the MBR of the IDE.

The first SATA has a first partition of 100MB for /boot
(You must have a /boot partition for software RAID)
The first SATA has a second partition of 412MB for swap
The first SATA has the remaining space as software RAID partition

The second SATA has a first partition of 512MB for swap
The second SATA has the remaining space as software RAID partition

/dev/md0 is software RAID 0 for mount point / (root)

This rocks!
The intel HostRAID is no faster than a good software RAID.
I cannot boot the Fedora core test 3 CD! (So, I won't be installing test 3)

monz 05-03-2004 04:28 AM

Re: Flying HDD
 
Quote:

Originally posted by Lost Penguin

SATA one and two are 36 Gig Western Digital Raptors

I have XP on the first drive (The 40 Gig IDE)
Grub is loaded to the MBR of the IDE.

The first SATA has a first partition of 100MB for /boot
(You must have a /boot partition for software RAID)
The first SATA has a second partition of 412MB for swap
The first SATA has the remaining space as software RAID partition

The second SATA has a first partition of 512MB for swap
The second SATA has the remaining space as software RAID partition

/dev/md0 is software RAID 0 for mount point / (root)

This rocks!
The intel HostRAID is no faster than a good software RAID.
I cannot boot the Fedora core test 3 CD! (So, I won't be installing test 3)

Mind showing a hdparm -t for your software raid? Bonnie will be fine too..

Lost Penguin 05-03-2004 06:01 AM

Re: Re: Flying HDD
 
Quote:

Originally posted by monz
Mind showing a hdparm -t for your software raid? Bonnie will be fine too..
Hdparm for md0:

/dev/md0:
Timing buffer-cache reads: 3448 MB in 2.00 seconds = 1726.85 MB/sec
Timing buffered disk reads: 202 MB in 3.01 seconds = 67.19 MB/sec


Not THAT fast:

But heres sda:

/dev/sda:
Timing buffer-cache reads: 3160 MB in 2.00 seconds = 1581.82 MB/sec
Timing buffered disk reads: 164 MB in 3.02 seconds = 54.37 MB/sec

sdb:

/dev/sdb:
Timing buffer-cache reads: 3152 MB in 2.00 seconds = 1578.61 MB/sec
Timing buffered disk reads: 166 MB in 3.03 seconds = 54.79 MB/sec

Will post a Hardware RAID soon , under Redhat 9 though.....

monz 05-04-2004 04:12 PM

Quote:

Originally posted by Aussie

I'm not using libata yet, I'm going to have a play around with it when it's merged into 2.4.27-pre.

I tried blacklisting my Seagate drives in drivers/scsi/sata_sil.c, with lousy performance, of cause.
Removing the drives from sata_sil.c, and using pci=noacpi noapic nolapic, I could then do 20 loops of hdparm, no locks.

Then, on the nforcershq list, someone adviced that the real problem is not the disks, but the nForce2 APIC, and suggested I try pci=noacpi noapic nolapic . Yup, no lockups. But I need APIC, can't use PIC - too slow, too many shared interupts.

A thread on the gentoo list referred to a workarond to the nForce2 APIC problem:

http://www.kernel.org/pub/linux/kern...ct-quirk.patch

The patch doesn't install on 2.6.5, so I added it manually, no sweat.
Now it works with 2.6.5, apic and acpi enabled, no lockups. Great. No probs with the Seagate 7200.7 160GB disks, as far as SATA goes.

I'll produce a diff soon, just too tired now. Heading for the tele and some action stuff :-


Udma is another testimony that pigs, given enough thrust, can fly.
-- Alan Cox

studpenguin 05-19-2004 03:52 PM

KNOPPIX 3.4 --- 5-17-04 w/ 2.6.6 kernel no hassle recognition
 
KNOPPIX 3.4 --- 5-17-04 w/ 2.6.6 kernel has a no hassle immediate no dink around recognition of this SERIAL ATA hard drive!!!!! . . . though I still haven't bothered to install LInux on the blank partition yet, at least I can acces my Windows files from Linux.

Thank you Klaus Knopper. You are Santa Claus to me!!!!


Thank God I didn't waste too much time with Mandrake or the Fukdora Core 2 . . . . . . . !!!!!!

I mean don't get me wrong the Mandrake 9.2 installed great on the 4 year old standard IBM SCSI SCuzzi drive . . . and I got another slightly slower 733Mhz box with Fedora LTS12 I bought but . . . hey, for all those with Windows on a Serial ATA drive they'd like to play with and save files with to and from Linux for the first time!!!

You should be a bit free-er to do so with this version of Knoppix
!!!!!





Quote:

Originally posted by studpenguin
KIDSATACRUX
Newbie



Joined: Mar 13, 2004
Posts: 4
Location: in and out of Cowtown

Posted: Sun Mar 14, 2004 12:33 pm Post subject: the Serial ATA CRUX tackled
Thank you very much for hosting the Linux install fest.


Cooper,

To review the findings of my system, to the best of my understanding we discovered:

with this motherboard:

http://www.digital-daily.com/motherboard/msi-kt6-delta/

and this hard drive:

Model Number:ST380023AS
Capacity:80 GB
Speed:7200 rpm
Seek time:9 ms avg
Interface:Serial ATA


http://www.seagate.com/cda/products/...er/1,,,00.html

- kernel 2.6.x + is the only kernel that will support that VIA chipset 8237 of mine and the latest distribution package that has this:

is GENTOO? http://linuxiso.org/distro.php?distro=45
w / kernel 2.6.1 - r2

the latest greatest MANDRAKE & FEDORA, & just about every other major free distribution as of 3-13-4 is obsolete

it seems to take a little struggling to get the Gentoo install disk to load 2.6.1 instead of 2.4.x

- the dude with the hat a has the same mother board type & ethernet card as I do and wrote it down:

"Broadcom Gigabit ethernet:

use this - tg2 2.6.5 module - OR - BC 5700 from MSI (broadcom module)

AND a whole bunch of other discoveries advanced Linux user revelations which Cooper is very aware of. At this point I'd like to request that information be posted, reviewed, and described further by all those concerned.

Once again thanks for the support!!

sincerely,
- kidsatacrux

P.S.

An unlabeled disk was left in the CD-ROM with a bunch of files. Is it mine to keep?

Bear in mind there is still much needed work for an install. I had hoped to get a Dual-Boot system (yes, I've still got a Windows XP partition) and there just wasn't quite enough time.

Maybe I'd invite you or some of the other experienced users over for a free dinner sometime next weekend or spring break . . . with you and some other friends to help tweak this p.c. some more.

Until then see you in a month.

Last edited by KIDSATACRUX on Sun Mar 21, 2004 8:42 am; edited 1 time in total
Back to top


KIDSATACRUX
Newbie



Joined: Mar 13, 2004
Posts: 4
Location: in and out of Cowtown

Posted: Sun Mar 14, 2004 2:23 pm Post subject:
Here's some more information about that Chipset VIA 8237

http://www.viaarena.com/?PageID=297#ATA


baisa 06-02-2004 12:30 AM

Anyone know how I can disable some drives? I have a P4P800 using sata/raid for winxp, but separate hdc and hdd drives for Linux -- i get all kinds of issues in linux, with sda and sdb, and such -- i just want to disable them.
(but not in bios or anything like that -- still need to be able to boot windows)

gromer 06-02-2004 12:58 AM

Why ??? :confused: :scratch:
Others spent ages to get their SATA-drives runnning under Linux.
Anyhow, have a look at your /etc/fstab file. There you should see the sda and sdb drive-partitions. Just comment them out. (okay you can still mount them now as root, but disabling the driver requires that you provide which controller you have and/or to recompile your kernel).
Regards
Stephan

bonecrusher 06-07-2004 04:17 PM

sata boot disk for slackware
 
If anyone is in need I compiled a sata boot disk.
It is the 2.6.6 kernel and will boot any sata chipset supported thus far...

If in need let me know and see this post also...

Here!

or just go to my web site:

Four Elements - Linux SATA and RAID Resources

bc

Moey 07-01-2004 04:41 AM

I am a newbei who wants to install Linspire 4.5 on a SATA hardrive. The installation CD won't recognize my hardrive. Could someone please give me a easy step by step method of getting around this problem??

Aussie 07-01-2004 06:38 AM

You'll to make a boot floppy with an updated kernel on it. Or try Mandrake 10.

Moey 07-01-2004 06:51 AM

ohh ok thanks..
Wouldn't I also have to update the kernel when windows is installed too.
And could u please give me a link to where I can get the latest kernel.
I'm actually trying to solve my problem currently...I appreciate any help...
Thanks
I tried SUSE 9.1 before and that worked fine but really want to use Linspire

bonecrusher 07-01-2004 07:20 AM

Quote:

Originally posted by Moey
ohh ok thanks..
Wouldn't I also have to update the kernel when windows is installed too.

Well if you want to access the windows partitions - yes. You will have to compile in NTFS access if you use it with XP. You will still be able to add winxp to the lilo/grub boot menu even if you can't 'mount' those partitions when linux is active. So on one hand-no you don't need to compile win into linux but if you want to be able to read/write to partition when running linux - yes you do.


Quote:


And could u please give me a link to where I can get the latest kernel.

www.kernel.org

Quote:


I'm actually trying to solve my problem currently...I appreciate any help...
Thanks
I tried SUSE 9.1 before and that worked fine but really want to use Linspire


Moey 07-01-2004 08:34 AM

Thanks for your help...
Sorry for my stubborn brain...but I got the latest kernel patch but I dunno how to apply
it or put it on floppy...or even maybe this patch can't be used to make a boot disk!

bonecrusher 07-01-2004 09:47 AM

Quote:

Originally posted by Moey
Thanks for your help...
Sorry for my stubborn brain...but I got the latest kernel patch but I dunno how to apply
it or put it on floppy...or even maybe this patch can't be used to make a boot disk!

Ok thats easy:


(This example assumes you would have a 2.6.6 kernel installed already...)
go to /usr/src/linux
or wherever you have your source you are compiling and mv the patch file to there then:

Code:

/home/me/Downloads# mv patch-2.6.7.bz2 /usr/src/linux
/home/me/Downloads# cd /usr/src/linux
/usr/src/linux# bunzip2 patch-2.6.7.bz2
/usr/src/linux# patch -p1 < patch-2.6.7

(I used 2.6.7 in the above as an example... you will be moving (mv) a bzipped2 file-hence the bunzip2 command...) and upgrading a 2.6.6 kernel to 2.6.7

it will then proceed to patch up your kernel by going through the speciific directories you need patched.

Make sure you get all the patches you need and patch in order:

if your running 2.6.4 say and want to patch to 2.6.7
u need:

patches for 2.6.5 , 2.6.6 and 2.6.7
then patch up to 2.6.5 first then 2.6.6 then 7
ya dig?

anything more then that it is probably worth while to just go ahead and d/load a whole new source code..

edit:
ps: If you haven't installed linux yet, you will just wanna install the kernel that comes with it, and then maybe d/load a whole new kernel... or patch (depends on what revision of kernel you get to install.) Then once you have all that done, you will want to compile for your specific computer... The whole point of getting a kernel update is to re-compile so you have a compact kernel that is built for you specific computer componets...




-bc

Moey 07-01-2004 07:49 PM

OMG THIS IS TOO COMPLICATED FOR ME
Please let me first make my problem clear.
I already have XP installed on a 75GB partition and I have 40 GB space left to install Linux.
My problem is I have a SATA hardrive that isn't recognised by the Linspire installation CD which loads kernel version 2.4.2
I was told before to make a bootable disk with the latest kernel. But I still don't know how to do that.
Thank you..

enyawix 07-03-2004 10:11 AM

2.4.2 is too old
 
get newer kernel

jimmydetroit 11-01-2004 06:21 PM

SATA Harddrive support for Red Hat Enterprise Linux 3.0 AS ?
 
Hello LQ.org,

First off, I apologize for asking a question that may already have been asked and answered. Could you suggest a starting point to ask about SATA Hard drive support for Red Hat Enterprise Linux 3.0 AS installation?

I have two brand new 160 GB Hard drives, one is a Maxtor and the other is a Seagate. I am trying to install RHEL from CD ROM. Moments after the install beings, the install does not recognize the existence of any hard drives on my system. They are RAW. I have search a while for the drivers and I have not come up with any help so far.

Should I contact RH first for support or the hardware companies?

Thanks,
- Jimmy

bonecrusher 11-01-2004 08:39 PM

Re: SATA Harddrive support for Red Hat Enterprise Linux 3.0 AS ?
 
Quote:

Originally posted by jimmydetroit
Hello LQ.org,

First off, I apologize for asking a question that may already have been asked and answered. Could you suggest a starting point to ask about SATA Hard drive support for Red Hat Enterprise Linux 3.0 AS installation?

I have two brand new 160 GB Hard drives, one is a Maxtor and the other is a Seagate. I am trying to install RHEL from CD ROM. Moments after the install beings, the install does not recognize the existence of any hard drives on my system. They are RAW. I have search a while for the drivers and I have not come up with any help so far.

Should I contact RH first for support or the hardware companies?

Thanks,
- Jimmy


The type of hard drive hardly matters as much as the type of interface you are using...? Is it built into the motherboard, or do you have a seperate card that you plug the drives into?

So first off what interface type are you using? This is the platform you are plugging the drives into.

???? more info needed ????


bc

jimmydetroit 11-02-2004 09:11 AM

RHEL 3 AS support of Serial ATA Hard Drives
 
Hello Bonecrusher,

The Hard Drives are connected to a brand new motherboard x86 CPU, I do not know the specs of the motherboard off hand do you need to know them? I will look it up.

System Overview:
Pentium 3.0GHz
1024MB DDR2 SDRAM
2 separate CD Drives
2 separate 160GB Serial ATA Hard Drives (Raw devices)
Several USB ports…(6)

All connected devices and peripheral devices are recognized by anaconda install except the 2 SATA drives.
I am prompted to load additional drivers from a CD or Diskette in order for RHEL 3 to proceed to the next set up screens <- all of this happens prior to the real install.

This is the first development machine, once RHEL is installed and working properly it is going to be connected to other identical machines. Network of 10 development machines.

Thanks for helping,
- Jimmy

bonecrusher 11-02-2004 12:53 PM

Re: RHEL 3 AS support of Serial ATA Hard Drives
 
Quote:

Originally posted by jimmydetroit
Hello Bonecrusher,

The Hard Drives are connected to a brand new motherboard x86 CPU, I do not know the specs of the motherboard off hand do you need to know them? I will look it up.

System Overview:
Pentium 3.0GHz
1024MB DDR2 SDRAM
2 separate CD Drives
2 separate 160GB Serial ATA Hard Drives (Raw devices)
Several USB ports…(6)

All connected devices and peripheral devices are recognized by anaconda install except the 2 SATA drives.
I am prompted to load additional drivers from a CD or Diskette in order for RHEL 3 to proceed to the next set up screens <- all of this happens prior to the real install.

This is the first development machine, once RHEL is installed and working properly it is going to be connected to other identical machines. Network of 10 development machines.

Thanks for helping,
- Jimmy



Jimmy:

Yes! We need the MoBo info. Anything you can get a ahold of. I am not as familiar with Red Hat as I use Slackware, but as far as the kernel goes it is the same. (More or less). Anyway, get the info on your chipset (SATA) and we can proceed from there. (if you can't find that out, just get me NAME of the MoBo (Motherboard) and serial # and I will try and look it up for you...) It would seem the bad news is that you will probably have to recompile a kernel if RHEL isn't 'seeing' your drives (but you should do this anyway-keep reading...), the GOOD news is that once you do this you can dup it to all the other systems (Seeing as how they are the same boards...) so once we get you up and going on this system your work is done other then formatting/partitioning/copying.

These other computer have to be identical! As in same Ethernet cards/mice/etc /etc - if they are you will only need to compile one kernel). It is always a good idea to compile the kernel anyway as it will be finetuned (so to speak) for that particular system (or 9 other systems in your case). By fine tuning the kernel you make it smaller (faster sorta) and leave out all the crap you don't need. You may technically not need to do this with Red Hat, but believe me, it is a good idea. (And probably a necessatiy in your case i.e. SATA drives not being recognized...) You can also enable 'hotplugging' (something that loads the kernel as bit and pieces 'modules' and that way it can be used a modfular kernel .. (changes itself automatically and only loads what is needed by your system..) which is probably what RedHat already has the kernel built as...)

And one other thing... you keep mentioning 'RAW' drives. What do you mean by that??? Well get back to me.

bc

(EDIT...)
PS:
I was just looking at web site for RHEL and which one do you have? AS/ES? etc? And just wanted to point out that they do have a toll free phone # for help. (I am more then happy to help you, but RedHat is pretty good about tech support and they may very well have a patch for your particular system already..) but .. feel free to let me help if you still want to.. Either way let me know. And if you figure out something else from them, write it here so it may help others!!!
(EOE)

jimmydetroit 11-02-2004 10:33 PM

Red Hat Enterprise Linux 3 AS
 
Hello Bonecrusher,

Last week I bought a brand new set of "Red Hat Enterprise Linux 3 AS" CD ROMs from Red Hat on an academic subscription. I have not contacted their tech support yet because according to them I would have to purchase a Standard or Premium package and unfortunately I just don't the money.

If you know of any other forums or specific people I should ask for support please let me know because I am just starting out - and I thought this would be a lot easier.

I looked for specs on the MoBo (mother board) and the documentation that came with the PC states it is a mother board, Oh great that is really specific! The hard drives are raw, they are completely unformatted drives without any file system or block size specified. That's raw!

I loaded XP on another system to get more of an idea on the mother boards. They're Intel x86 based CPUs - ACPI Multiprocessor PCs, with a Intel 82801FB LPC Interface Controller 2640 and a Intel 82801FR SATA AHCI Controller. Does this give more of a picture?

Tonight I tried again, and when I watched anaconda begin the preliminary install I see it recognizing the 2 separate CD ROM drives and giving them hda and hdb drive settings. Could the additional CD drives be the problem??? If you were to count all the drives on the system it would look like this: A: Floppy C: Maxtor 160 GB SATA D: SEAGATE 160 GB SATA E: CD RW F: CD RW then after that the USB Ports take on more drive letters when they're used. This is a lot of drives for a mother board.

I appreciate your help,
- Jimmy

bonecrusher 11-04-2004 10:50 AM

Re: Red Hat Enterprise Linux 3 AS
 
Quote:

Originally posted by jimmydetroit
Hello Bonecrusher,

Last week I bought a brand new set of "Red Hat Enterprise Linux 3 AS" CD ROMs from Red Hat on an academic subscription. I have not contacted their tech support yet because according to them I would have to purchase a Standard or Premium package and unfortunately I just don't the money.

If you know of any other forums or specific people I should ask for support please let me know because I am just starting out - and I thought this would be a lot easier.

I looked for specs on the MoBo (mother board) and the documentation that came with the PC states it is a mother board, Oh great that is really specific! The hard drives are raw, they are completely unformatted drives without any file system or block size specified. That's raw!

I loaded XP on another system to get more of an idea on the mother boards. They're Intel x86 based CPUs - ACPI Multiprocessor PCs, with a Intel 82801FB LPC Interface Controller 2640 and a Intel 82801FR SATA AHCI Controller. Does this give more of a picture?

Tonight I tried again, and when I watched anaconda begin the preliminary install I see it recognizing the 2 separate CD ROM drives and giving them hda and hdb drive settings. Could the additional CD drives be the problem??? If you were to count all the drives on the system it would look like this: A: Floppy C: Maxtor 160 GB SATA D: SEAGATE 160 GB SATA E: CD RW F: CD RW then after that the USB Ports take on more drive letters when they're used. This is a lot of drives for a mother board.

I appreciate your help,
- Jimmy

Since your just starting out, and don't have any more money to throw at another linux distro, you may have to use a kernel that is compiled for your particular system(s).

I looked that chipset up in google. I knew just because it was Intel that it had to be of the ICH type.. turns out it is a newer chipset called "ICH6r" which definitely can be made to work with Linux. (Matter of fact it is similar to the kind I run here.) But as I mentioned since the version of RH you have doesn't like it, you will have to re-compile the kernel. There are plenty of tutorials out there on how to do this. You first need to get a new kernel (2.6.4 or newer) (If you don't have one as new as that already in your distribution)..

When you configure the kernel, you need to check (Under SCSI/Low Level Drivers) SATA / ICH5/ICH6 type. Also, before this you need to make sure that SATA is UNCHECKED under ATA Driver section (This is the old IDE type driver).
Then compile. this will introduce the LIBATA code into the kernel and get your drives up and going. Once you have a stable kernel you should be running smoothly.

* The problem you have is common enough, though. How do you install to SATA drives first if the distro isn't recognising them in the first place? You need an installation before you can compile a kernel..and you can't install linux without a new compile!
What came first the chicken or the egg? Ha.

You may want to ask over on the Red Hat distro area (On here), or RehHat forums on RH's site, and ask if anyone knows any easier way?
Sorry I can't be of more use!

( EDIT: )
Found this while I was poking around for you:
Compiling the Linux Kernel the Red Hat way.
( EOE )


bc

PS:

I do have a precompiled kernel here, but it was originally made for Slackware v10..(Read on my web site below).

By definition linux kernel should work on any distro, but of course red hat tends to like to be proprietary to some degree. (I am not sure about it.. ask around about this..) I am not putting Red Hat down, I personally think they have some very intelligent ppl working for them and have made great strides at making Linux a household name. But....if you think my kernel I compiled for SATA would work for you and help you somehow then be my guest and download it. I dunno if it would help you are not, but it does have every newer type of SATA compiled into it... (LIBATA code that is)....? Good Luck!!!

bonecrusher 11-04-2004 10:54 AM

Quote:

Tonight I tried again, and when I watched anaconda begin the preliminary install I see it recognizing the 2 separate CD ROM drives and giving them hda and hdb drive settings. Could the additional CD drives be the problem??? If you were to count all the drives on the system it would look like this: A: Floppy C: Maxtor 160 GB SATA D: SEAGATE 160 GB SATA E: CD RW F: CD RW then after that the USB Ports take on more drive letters when they're used. This is a lot of drives for a mother board.
No your ONLY problem is simply the kernel is made to recognise your type of SATA chipset. The cdroms/hard drives/ and anything else or just fine I'm sure.

Believe me when I say to you that isn't alot of drives. I have A:-W: on one of my systems! Plus a drive Z: as network drive under XP.

That is just how I partitioned 3 SATA plus 1 E-IDE drives. just under a terrabyte of data and about 20+ partitions. Works FINE!

:)


jimmydetroit 11-04-2004 12:47 PM

Install Fails - Red Hat Enterprise Linux 3 AS - Dell PC
 
Hey Bonecrusher,

I posted this issue on Red Hat's List redhat-list@redhat.com and also I sent an email to Dell Technical Support support@dell.com.

No word back from Red Hat List but Dell has replied with their standard excuse message stating my system was optimized for Windows XP and that they do not support any alterations to my system. The alteration obviously is the extra Hard Drive and attempt to install Red Hat Linux.

I replied back to Dell with "I would encourage Dell not to use their standard excuse why Dell does not offer help installing Red Hat Linux 3 on a brand new Dell system. Any other help, or links would be very much appreciated." After all there is such much hype recently by Dell saying they support RHEL 3.

Would you suggest next?

The idea of recompiling the kernel is daunting; I have not idea how to do this.
Also should I repost my issue on another message board?
How about other addresses to email my issue to?

Thanks,
- Jimmy

bonecrusher 11-08-2004 08:11 AM

Re: Install Fails - Red Hat Enterprise Linux 3 AS - Dell PC
 
Quote:

Originally posted by jimmydetroit
Hey Bonecrusher,

I posted this issue on Red Hat's List redhat-list@redhat.com and also I sent an email to Dell Technical Support support@dell.com.

No word back from Red Hat List but Dell has replied with their standard excuse message stating my system was optimized for Windows XP and that they do not support any alterations to my system. The alteration obviously is the extra Hard Drive and attempt to install Red Hat Linux.

I replied back to Dell with "I would encourage Dell not to use their standard excuse why Dell does not offer help installing Red Hat Linux 3 on a brand new Dell system. Any other help, or links would be very much appreciated." After all there is such much hype recently by Dell saying they support RHEL 3.

Would you suggest next?

The idea of recompiling the kernel is daunting; I have not idea how to do this.
Also should I repost my issue on another message board?
How about other addresses to email my issue to?

Thanks,
- Jimmy

My guess is they are going to tell you you need a new kernel (read - recompile). The only other forum I can suggest is the Red Hat one on LinuxQuestions here? Did you cross post to the red hat forum here?

jimmydetroit 11-08-2004 01:26 PM

Bonecrusher,

I have a dual boot Win XP / RHEL now installed and running. The factory settings on the BIOS prevented the RHEL installation from recognizing the Hard Drives. I plan on writing a How To for the Red Hat forum so that anyone else who encounters this can look it up. The last glitch to work out is the wireless keyboard and mouse that comes with the system. RHEL does not recognize it. Currently I am using a PS/2 Keyboard and Mouse I bought from Walmart but I would really like to eliminate having to plug in these devices every time I want to use linux. I am going to write to customer service at Red Hat and see if they could point me in the direction of drivers.

Thanks for your help; do you have any experience with getting wireless device drivers for linux?

I appreciate it,
- Jimmy

Kingkenny 11-15-2004 06:01 AM

Sata issues
 
Hello All,

Sorry - newbie here. Need some advise/help with trying to get RH to see my sata sil 3112 disks?

I have managed to get it installed on a separate IDE disk and it shows the kernel as Redhat linux Ent AS 2.4.21.4 EL and then after getting the updates it shows the kernel as 2.4.21.20 EL. During the updates if even picked up the sata hardware and added a driver but its NOT installed:

/usr/src/linux/2.4.21.20 EL/drivers/scsi/sata
/lib/modules/2.4.21.20 EL/kernel/drivers/sata

But I dunno what to do with em?

Is there anyway to create a driver disk - so that I can do a fresh install using the free disk space so that I can boot windows as well as RH on my disks using the Sil 3112 Raid controller?

I have read... and read... and read so many forums - that I dunno what to do anymore. Surely somebody out there was able to get Sata working on Linux using a Abit NF7 v2.0 nForce2 board?

So do I need to re-compile the kernel? how do I use it to run a fresh install and by using the current RHEL AS bootup CD? do I need to add this Medley or libata stuff?

There are RH linux drivers on the Silicon Image site - but they are for RH 7, 8 and 9.0. Reading the readme's it appears to have instuctions for adding it to a already-installed-system - but not one from scratch.... - although I have loaded the .img on to disk loaded the RH 9.0 driver - but I guess its not for the right system as it still cannot see my hardware. It also mentions using a bootable GRUB disk – which I now have…. But I am still confused as to what I need to do regarding a clean fresh install for Windows & Linux

If I get this working at some point - will it actually see the 2 disks as 1 large one? i.e. 1 x sda? Instead of the hde/hdg?

Can anybody help, and advise what I need to do, its so damn confusing.....

Any help, tips, suggestions - would be moat apprciated. I dont really wanna give up at such an early stage....

The documentation I have for the Silicon Image driver advises the following……

#######################################################################

# Silicon Image SiI SATA controller #

# RedHatLinux Driver #

#######################################################################



1. OVERVIEW

This driver disk adds support for SiI SATA controller that is otherwise

not supported by the RedHatLinux installation program.

Supported RedHatLinux versions:



* RedHatLinux 7.3/8.0/9.0



2. INSTALLATION



2.0 For detailed information about RedHat installation visit:

http://www.redhat.com/docs/manuals/l.../install-guide

(substitute 8.0 by the proper release version)



2.1 Preparing driver disk



A floppy disk is required to install into a brand new (or blank) disk drive.



Several Options:



. Extract the contents of the [distribution]_sii____rhdd.tgz file on to a formatted floppy disk.

(e.g. use tar xzf [distribution]_sii____rdhh.tgz)



. If running windows: use "rawrite.exe sii____.img A:"

(get rawrite from RedHat installation disk #1 \dosutils directory)

. If running linux: "dd if=redhat_sii6512.img of=/dev/fd0"



(actual file names may vary slightly. ____ identifies a valid chipset for the driver)

for example: suse_united_sii3112r.img, redhat_sii6512.img are valid names



2.1.1 IMPORTANT NOTE FOR OEM CUSTOMERS

ADD your PCI ID to the "pcitable" file if OEM VendorId is going to be different

from SiI 0x1095 IDs. (End Users should ignore this step)





2.2 Steps for first-time installation



Before you start make sure the BIOS sees your adapter card (if applicable) and

your disk drives.



If just adding Data Drives or upgrading go to sections 2.3 or 2.4

(non-bootable SATA drives are considered Data Drives)



Step1 Boot from the RedHatLinux CD 1 or a boot diskette that you have created.

(Refer to "The Official Red Hat Linux x86 Installation Guide" see 2.1)



*RedHatLinux9.x*

Step2 At the "Welcome to Red Hat Linux ..." installation screen, a

prompt labeled "boot:" will appear at the bottom of the screen.

For installation in graphical mode:

At the prompt type "linux dd hde=noprobe hdg=noprobe" and press the enter key.

For installation in text mode:

At the prompt type "linux dd hde=noprobe hdg=noprobe" or "dd text instead of dd"

or type "linux dd hde=noprobe hdg=noprobe hdi=noprobe hdk=noprobe" (4 drives )

and then enter key.



Typically SATA 1 has hde and hdg. If your system has more than one

Controller then SATA 2 will have hdi and hdk. There is no f,h,j

because all SATA drives behave like Master Drives



You can actually have SATA 1 drives using this drivers and SATA 2

using the Open Source Driver. It is probably not recommended for

normal use.



Note: BE CAREFUL typing the line since a typo will be ignored and

the kernel will enable the Open Source Driver creating a

conflict





RedHat 9.0 contains a generic Open Source Driver that must be disabled at

installation time. Typically hda hdb are on IDE0 and hdc hdd are on IDE1. Then

the SATA disk drives start at hde. SATA disk drives are all MASTERs so their

values are typically hde, hdg, hdi, hdk, etc. This driver will behave like a

SCSI device and will remap the SATA drives to sda, sdb, etc.



Sometimes mostly if you have are using drives that have partition information

the SATA driver may get confused and report errors at Installation time. After

you have installed the driver but before you format the disk(s) you may do the

following: (formatting starts when doing disk partitioning)

. get a console window by typing CTL-ALT-F2

. mke2fs /dev/sda (say 'y' to prompt)

. fsck /dev/sda

type '2'

type 'w'

This will repartition the disk drives



The Open Source Code understand the Metadata and sometimes it gets

confused





*RedHatLinux8.x*

Step2 At the "Welcome to Red Hat Linux ..." installation screen, a

prompt labeled "boot:" will appear at the bottom of the screen.

For installation in graphical mode:

At the prompt type "linux dd" or "expert" and press the enter key.

For installation in text mode:

At the prompt type "linux text dd" or "expert text" and press the

enter key.





Step3 Select "Yes" at the "Do you have a driver disk ?" .



Step4 When the screens prompts for "Insert your driver disk and press OK to

continue" insert the driver diskette in the floppy drive and select

"Ok".



Step5 The installation program will automatically load the SiI driver into

kernel. Continue installing your system.

Note, all ATA/ATAPI devices connected to SiI controller will be

presented as a SCSI devices.





*RedHat 9.0*

Step6



RedHat 9.0 requires to create a BOOTABLE floppy diskette when using GRUB. You must boot

with this diskette to continue with phase two of the installation.



When ready to reboot type the following:



boot: linux hde=noprobe hdg=noprobe



A Bootable diskette is not required for LILO but it is recommended.



You still need to Add "hde=nopobre hdg=noprobe" while rebooting the second

time.



Continue install.



Typically you should be able to get a console shell by typing CTL-ALT-F2

or by just login into your favorite window manager.



Become root and execute the following script that will modify the boot loaders to work properly



# sh "redhat_9.0_update_boot_loaders.sh"



This script determines which loader and loader configuration files must be

modified / upgraded



At this point you are done with the installation.





*RedHat 8.0*

Step6



. Clean Up (recommended but not necessary)



. # 'sh cleanup-8.0' or

'sh cleanup-9.0', etc.



It can run before or after rebooting



. At this point you are done with the installation



2.3 Adding a Data Drive



If your system is already up and running then you can use execute shell scripts to modify

the kernel or add loadable modules to access the SATA drives as follows:



. Modify the loaders to disable the Open Source Driver (no script yet)

(add hde=noprobe and hdg=noprobe)



. # mount /mnt/floppy

in case of DOS formatted floppy

. # mount -t vfat /dev/fd0 /mnt/floppy



. # 'sh /mnt/floppy/load-module-2.4.18-14' (DATA DRIVES)

(or use the the proper script depending on your kernel)



. insmod sii6512. You will need to add insmod to rc.init scripts



. At this point you are done with the installation



2.4 Upgrading the Kernel



If your system is already up and running then you can use execute shell scripts to modify

the kernel or add loadable modules to access the SATA drives as follows:



. # sh /mnt/floppy/kernel-upgrade-to-2.4.20-8 is an example to create a NEW KERNEL IMAGE

/etc/lilo.conf and /boot/grub/grub.conf will be saved by the setup

script. you may back them up as you wish. Visually inspect lilo.conf and

grub.conf to make sure the result is what you want.



3.0 Special Cases:



Mixing Drives.



if you are using LABELS to define partitions, it is recommended that NO drives have duplicate

labels. Linux gets confused when partitions have the same names. (check lilo or grub

configuration files)

change from => append="root=LABEL=/" to root=/dev/hda2 for example





The way Linux finds disk drives also affect the booting sequence.



At the prompt type

"linux ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0

ide5=0 ide6=0 ide7=0 ide8=0 ide9=0 expert "



At the "Boot Loader Configuration" installation screen specify following

kernel parameters:

"ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0

ide5=0 ide6=0 ide7=0 ide8=0 ide9=0"

(this may apply only to old releases)





4.0 Modifying Boot Loaders Manually (old techniques)



If using LILO boot loader:

a) Modify /etc/lilo.conf file similar to the example



EXAMPLE:



(before modification)

image=/boot/vmlinuz-2.4.7-10

label=linux

read-only

root=/dev/hda1



(after modification)

image=/boot/vmlinuz-2.4.7-10

label=Red Hat Linux SiIxxx

read-only

root=/dev/sda1

initrd=/boot/initrd-2.4.7-10.siixxx



b) Update new configuration of Lilo by the next command:

/sbin/lilo



If using GRUB boot loader:

Modify /boot/grub/grub.conf file similar to the example



EXAMPLE:



(before modification)

title Red Hat Linux (2.4.7-10)

root (hd0,1)

kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hda2



(after modification)

title Red Hat Linux SiIxxx

root (hd0,1)

kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/sda2

initrd=/boot/initrd-2.4.7-10.siixxx



Step2 Flush filesystem buffers

#sync

Step3 Reboot the system

#reboot



Step4 Select in boot loader menu item "Red Hat Linux SiI680"



Step5 If the system reports about swap failure, please,

modify /etc/fstab file similar to the example:



EXAMPLE



(before modification)

/dev/hda3 swap swap defaults 0 0



(after modification)

/dev/sda3 swap swap defaults 0 0



*RedHatLinux7.3* (old techniques)



Step1 Get driver "siixxx.o" from SiIxxx Driver Disk by issuing commands :

# mount /dev/fd0 /mnt/floppy

# /mnt/floppy/load-siixxx

The shell script "load-siixxx" will load driver in the system and

will create initrd image.



Step2

If using LILO boot loader:

a) Modify /etc/lilo.conf file similar to the example



EXAMPLE:



(before modification)

image=/boot/vmlinuz-2.4.18-3

label=linux

read-only

root=/dev/hda1



(after modification)

image=/boot/vmlinuz-2.4.18-3

label=Red Hat Linux SiIxxx

read-only

root=/dev/sda1

initrd=/boot/initrd-2.4.18-3.siixxx

append="ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0

ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0"



b) Update new configuration of Lilo by the next command:

/sbin/lilo



If using GRUB boot loader:

Modify /boot/grub/grub.conf file similar to the example



EXAMPLE:



(before modification)

title Red Hat Linux (2.4.18-3)

root (hd0,1)

kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda2



(after modification)

title Red Hat Linux SiIxxx

root (hd0,1)

kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/sda2 ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15

ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0

initrd=/boot/initrd-2.4.18-3.siixxx



Step3 Flush filesystem buffers

#sync



Step4 Reboot the system

#reboot

So… am stupid to think that the RH 9.0 driver may work on RHE AS? Is there away around this? Reading the above it looks like info for just a Linux install.. not a dual boot system for windows/linux.

If anybody can talk or help me thru this… Please do, I’d even call you on the Telephone to get assistance regardless of the cost!

Cheers for listening,

Kenny.


melamursu 01-04-2005 02:49 PM

Hi all!

Ok, here is my situation: I'm still unable to install Mandrake 10.1 to my Seagate 120gb SATA drive. The installation process freezes when detecting my ide devices. I've successfully installed Mandrake to my PATA drive when "compatibly mode" is enabled in BIOS (P4P800 motherboard). And after the install process has been successfully finished, I have tried to change "enhanced mode" setting on. And now begins the problems. First notice was that the system is loading very slowly. Booting to the login screen takes about 10 minutes. And the message "disabling irq 11" keeps showing. Even the mouse behaves strangely (mooving slowly etc). I took a look to the Mandrake control center and it shows a device "ich5 sata" or something (as it should show). But the system is not working properly.
Have you any idea how to get these SATA devices work? I didn't find the answer when I read through all these posts.
I saw that there was some persons who has managed to get these SATA Seagates to work with ICH5R.

Thanks!

:newbie:


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