LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-11-2007, 07:10 AM   #1
greglow
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
ata66 on new kernel 2.6.22.9 on HPT370


Hello
First of all sorry for my very bad englisch. I hope someone understand me and I will understand answers
And it is the problem:
i have abit raid bx-133 with hpt370 (ata100) and 2 same disk maxtor 40gb
At the start of system, my old kernel 2.6.17.13 find out the disks are ata100 (hdparm -i says: udma5).
I' ve installed new kernel 2.6.22.9 and at the start i have ata66...
(hdparm says udma4). Even hdparm -xdma 5 /dev/my_disk don't help.
Why?
 
Old 11-12-2007, 08:23 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Use hdparm -d 1 -X 69 /dev/hde. It will set to UDMA-5. You need to check the IDE cable to find out if the ribbon is 40-pin/80 wire. Normal IDE cable is 40-pin/40 wire.

Hard drives will never reach 66 MiB per second. They hover around 5 MiB to 30 MiB per second.

It depends what options you selected in the kernel. Compare your old kernel options to the new kernel options. To make sure the new kernel options are similar to the old kernel options do make oldconfig in the new kernel source directory. Then double check the new kernel options by doing make menuconfig.
 
Old 11-13-2007, 01:14 AM   #3
greglow
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Original Poster
Rep: Reputation: 0
[root@localhost gl]# hdparm -d 1 -X 69 /dev/hde

/dev/hde:
setting using_dma to 1 (on)
setting xfermode to 69 (UltraDMA mode5)
using_dma = 1 (on)

[root@localhost gl]# hdparm -i /dev/hde

/dev/hde:

Model=Maxtor 6E040L0, FwRev=NAR61EA0, SerialNo=E1R1BJAE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=80293248
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 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0: ATA/ATAPI-1,2,3,4,5,6,7

* signifies the current active mode

This didn't work. No error but also no udma5. I wrote that in kernel-2.6.17.13 udma5 work fine without problems.
The kernels 2.6.17.13 and 2.6.22.9 i have installed as it was (without changing any option and
without recompile). I tought if it worked in old kernel it shuld be fine also in new kernel.

Other thing: this 2 kernel are not similar: some elements in old kernel are available as permanent/module and the same element in new kernel is only availabe as module.

Normally i use mandriva 2008. I tried use Mandriva One with new kernel (1CD like knoppix) and i had the same ata66. It must be some other driver or something like this...

Last edited by greglow; 11-13-2007 at 01:27 AM.
 
Old 11-13-2007, 11:27 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Probably the kernel developers have placed your Maxtor model in a blacklist, so going above UDMA-4 may give you problems.

I use an HPT370 and HPT370/372. The hard drives that I use is either IBM/Hitachi or Western Digital. I have not upgraded the kernel yet. I might upgrade the kernel next, but upgrading software when the present software works fine is pointless unless the new software has features that you require.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
HPT370 RAID 0 and kernel upgrade brianweber4 Linux - Newbie 2 09-09-2004 08:32 PM
Upgrading kernel using HPT370 RAID 0 controller brianweber4 Linux - Hardware 0 08-23-2004 07:43 AM
HPT370 & Kernel 2.6 klawczys Linux - Hardware 3 08-21-2004 07:09 PM
IDE Raid 0 HPT370 on Kernel 2.6 blish_blash Linux - Hardware 0 08-11-2004 07:59 AM
HPT370 raid0 Kernel? Kage Linux - Distributions 3 02-01-2002 11:48 PM

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

All times are GMT -5. The time now is 04:14 PM.

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