LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   IDE, SATA and 2.4.22 problem (https://www.linuxquestions.org/questions/linux-hardware-18/ide-sata-and-2-4-22-problem-102544/)

eiffel 10-10-2003 02:50 PM

IDE, SATA and 2.4.22 problem
 
I went through some of the threads related to my problem but could not figure out the solution.

I have an Optiplex GX270 which has onboard IDE and SATA

Red Hat 9 has been installed on the IDE disk (hda) then the kernel upgraded to 2.4.22 (with the selection of ext3 and Ramdisk). The 2 SATA ports support 2 120GB maxstor HD.

At boot time the Maxtors seems to be detected as hde and hdg but the boot freeze after mounting the IDE root disk hda.
The last message one screen is
hde: attached ide-disk driver


I would appreciate any help
Thanks
Eric

finegan 10-12-2003 01:37 PM

The Sata support for the Intel ICH5 bridge seems to have worked in rh9's default 2.4.20, but is broken in 2.4.22. In the -ac tree it seems to work quite well, but its emulated to scsi. The 2.6 tree seems to be the same as the 2.4 stock tree right now... For the time being I would go to the -ac tree and just change fstab to deal with scsi emulation.

Cheers,

Finegan

eiffel 10-13-2003 10:13 AM

Thanks Finegan,

I don't know if I am getting the proper speed for the SATA but I was successul in getting the 2.4.22 to recognize my harddrives.
I had to compile the kernel with RAMDISK and RAID 0,1 support. Apparently the RAID 0,1 support seems to be essential in getting the SATA to be recognized. Speedwise .... I don't know. I am a newbie on Linux.

I am getting now a totally different problem. While the default Redhat install was recognizing my ethernet card (which is the onboard Gigabyte ethernet on my Optiplex GX270), the new kernel 2.4.22 can not properly start the eth0 connection. I guess a special module has to be installed but I have not found the appropriate one when looking into the make menuconfig of the kernel. The device is recognized as etherexpress/1000.

Would have any idea where the specific driver can be found?

Thanks

Eric

finegan 10-14-2003 02:59 PM

the module is called, if it was compiled as a module e1000.o Its under:

Network device support --->

Ethernet (1000 Mbit) --->

< > Intel(R) PRO/1000 Gigabit Ethernet support (NEW)

Now, the speed check:

hdparm -i /dev/hdX

Where X is the device letter of the drive. There will be a * next to its current ATA setting. For instance:

Code:

root@diane:~# hdparm -i /dev/hda
 
/dev/hda:
 
 Model=ST38410A, FwRev=3.03, SerialNo=3CS03AQ3
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=512kB, MaxMultSect=32, MultSect=32
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=16841664
 IORDY=on/off, tPIO={min:240,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
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4 5

udma4 is ATA66, you should have yours set to... goodness, udma7, I think... that's even if hdparm is able to recognize that high up there, if it says 6, that's fine.

Speed test it:

hdparm -Tt /dev/hdX

You should get a Timing Buffered Disk Read of about... goodness, 80MB/sec thereabouts, anything under 50 and there's something set wrong.

Cheers,

Finegan

eiffel 10-14-2003 04:00 PM

Thanks Finegan,


I have already specified the compilation of the e1000 modules but for some reason when I try to activate the ethernet device I get an error message ("don't remember which one. As I do not have the machine available for the time being, I will recheck and post the message on this thread. Most likely you will be able to tell me what's wrong with the ethernet connection. I will also check the HD speed at the same time.

Thanks

Eric


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