LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 07-05-2003, 04:44 PM   #1
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Intel ICH5 Sata controller


A friend of mine brought over a P4 machine built on the Asus P4P800 Delux motherboard with the Intel ich5 controller. According to the changelog in 2.4.21 the controller is supported, but only in legacy mode which means about a 5Mb/Sec hdparm. I coulnt' even get the thing to not hang. It was a Slackware install, here's what I did:

made a scsi2.s bootdisk and removed the kernel from it.

Compiled a 2.4.21-ac4 which has support for native mode ich5 serial ATA. It'll be under the SCSI low level drivers and will register the card as a scsi card. I stripped out nearly everything to get the bzImage down to 1.25Mb, leaving in all of the flavors of the DOS filesystems for floppy and compiling in xfs and ext2/3, reiser... and vfs, then block drivers, loopback, ramdisk support, etc...

I still couldn't figure out what I was missing that would let the machine be able to mount the next floppy, install.1 and unpack its initrd... so I cheated, copied the initrd onto another, IDE, harddrive, used my 2.4.21-ac4 to boot to that, added my floppy kernel to lilo, and aimed it at the initrd from the install CDrom. Kludgey, but I'm typing this from phoenix so it worked... and well.

Cheers,

Finegan
 
Old 08-17-2003, 02:28 AM   #2
xin
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Hi
Sorry to bring this back to the top.
Im looking at doing exactly what you have done here. But mabye with another distro, who knows, but Im having problems mounting my root filesystem.
Do you have a copy of your .config file for your 2.4.21-ac4 kernel with s-ata support?
Everything as far as I can see in my kernel config below should work in theory, but in practice it doesn't.

Kernel Config: http://homepages.paradise.net.nz/targett/kernconf.txt

Any help would be greatly appreciated. Thanks
 
Old 08-17-2003, 03:20 AM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
I've found that this isn't exactly necessary, with the new Dells shipping it still is as they have mickey mouse BIOSes, but with a normal board you can force the IDE channel into "legacy" mode, which means a pio (2-5Mb/sec on the drive instead of 60-ish) transfer rate and the kernel should handle the drive normally. It'll be one slow install and then a very slow kernel compile after the install, but then it should work, although it'll go from being a /dev/hdX to an sdX, I also haven't checked the new Cox patches or any advances on the 2.4.22 tree past -pre4 so it may have been incorporated.

The machine I did this for wasn't mine, and isn't accessible remotely right now, I could get the .config, but it may take a day or two.

Cheers,

Finegan
 
Old 08-17-2003, 11:47 PM   #4
xin
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Well. Im not using a dell system, and im using the Vanilla P4P800, No delux or VM edition.
The debian bf2.4 kernel can successfully access the device in legacy mode on both /dev/hdc and /dev/ataraid/d0 . but when using a custom kernel the device doesn't mount, even when copying the config file straight accross, strange eh?
So ive decided to get the thing going full throttle, none of this "Legacy" stuff that they throw in.

So far, ive been taking stabs in the dark.
Ive tried turning IDE devices into a module, other device points (/dev/ataraid/dX , /dev/sdX , /dev/mdX (friend's suggestion?)) Yet no success.

Thanks
 
Old 08-18-2003, 07:08 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
If you use the Alan Cox patch, the device is going to be under the scsi low-level drivers. Then it should just appear as /dev/sda

Cheers,

Finegan
 
Old 08-18-2003, 03:18 PM   #6
xin
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Hrum.
Thaught so.
Ill take a look at it tonight.

Thanks
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound problems: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) firedance Linux - Hardware 18 11-18-2021 01:54 PM
slack 10.1 and intel sata controller blewon Slackware - Installation 8 03-07-2006 09:32 PM
mandriva2006 cannot partition Sata HD w. Intel controller erwan.chauty Mandriva 17 02-23-2006 05:38 PM
Intel SATA ICH5. BIOS Tip! sausagejohnson Linux - Hardware 4 07-12-2005 01:43 AM
Intel ICH5R sata raid controller with Suse Linux 8.2 dani111 Linux - Newbie 2 09-07-2003 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 12:11 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
Open Source Consulting | Domain Registration