LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 07-24-2006, 08:04 AM   #1
cthu
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
[RH AS 4.0] Sata & Ich7


Hi everyone,

I'm trying to have a working RH AS 4.0 installation on a Lenovo 8212-1QG and Iím having trouble with the SATA ICH7 controller.

I first did a good working install on the Lenovo after what i realized with hdparm that DMA couldn't be enabled on it, and data transfers were very slow.

A good clue for me to find would have been to realize during the installation process that the sata drive was handle as /dev/hda by the dev file system .

I tried with some other livecd (gentoo 2006.0) to check, if it wasnít a red hat issue and after some looking, I found I should have enabled some option in the computer bios.

Enabling that option will make the drive fully functional with gentoo(dma enabled, 50MB/S read rate) but now the drive is invisible for the red hat installer, i tried to load manually the kernel modules working under gentoo (libata/piixata), but still, it cant find my drive.

I than tried to install RH 4.2/4.3, getting a kernel panic on installation boot, "solved" by disabling Hyperthreading in bios. And so is finally well recognize my drive o.o"

Anyway, my problem is, Iím able to make it working under 4.2/4.3 environment, I need to install 4.0 on that pc, only supported environment to host the Websphere Application Server 6.0.

I can't reach the red hat web support, and I was wondering, having already running servers on that station, is there a way to patch it to make it work, or maybe upgrading the kernel package without losing data, or any other idea?
 
Old 07-24-2006, 08:03 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Going to be a bit of a problem as the kernel that comes with RHEL 4.0 does not have support for the SATA ICH7 controller as it is somewhat newer then when the kernel was built.

Two possible solutions, one is to check with the manufacturer and see if they have drivers for RHEL-4 available. The other is to install the updated from RHN and leave the currently installed kernel in place.

Test the server after the kernel update (reboot) and if good then your golden, if not then just re-boot to the older kernel.

To install the newer kernel (assuming you have it and have 'cd' to the location) type something like;rpm -ivh <the_name_of_the_kernel_filename(s)_here>

To figure out which kernel(s) you need type;

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'kernel*' | sort
 
Old 07-25-2006, 02:24 AM   #3
cthu
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
all right, thanks for your answer, im trying this in the morning
 
Old 07-26-2006, 03:23 AM   #4
cthu
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
so, here's some little feedback, i managed to upgrade my kernel package, using up2date, and booting the newer kernel will make my system unable to find the lvm device at all, im currently checking if the drive cannot be found because of a dev file name change from /dev/hda to /dev/sda or if it is not there anymore.

I was kind of hoping that the lvm drive could be mounted even with the drive dev filename changed as i'm able to mount it under gentoo livecd, even when recognized as /dev/sda, by launching a lvm drive scan.

At the same time, im building last stable kernel release from scratch (kernels.org) using my rh kernel config file, even if im prettye sure it wont work.

Any comment is welcome .... To be continued
 
Old 07-26-2006, 07:18 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
The RH config file is not one to one compatible with the vanilla source so using the RH config file will only get you part of the way to get a working kernel. If possible (the preped RH kernel source required) use the RH config along side the vanilla config.

Many, many differences between the two, one of the biggest is netfilter. Please check everything during the configuration part before starting the building of the kernel and modules.

FYI: building a kernel for RH is a little bit different then the kernel rebuild guide the basic steps are;

make mrproper
make menuconfig (or gconfig or xconfig)
make
make module_install
make install

Which does work for me;

$ uname -a
Linux Aspire5000 2.6.17.7 #1 Tue Jul 25 11:26:01 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
 
Old 07-26-2006, 08:50 AM   #6
cthu
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Right, there i was just looking on configuring the Vanilla without loading RH config file, now it's working just fine, 60MB/S.

Big thanks for your help my friend
 
  


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
Suse 10.1 Intel Ich7 82801g Rev.2 Sound Card Problem locque Linux - Hardware 14 12-21-2006 12:45 AM
Which kernel can support ICH7? dexterwy Linux - Hardware 1 12-01-2005 01:16 PM
SATA 1 & SATA 2 support varun_saa Mandriva 1 09-28-2005 04:35 AM
Athlon & Sempron / Sata & IDE Mega Man X Linux - Hardware 8 03-21-2005 06:40 AM
Some SCSI info && SATA proposition C.Loko Linux - Hardware 1 12-12-2003 02:42 PM


All times are GMT -5. The time now is 11:37 PM.

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