Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two IDE disc and DMA problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
themacboy
n00b
n00b


Joined: 24 Apr 2005
Posts: 6

PostPosted: Fri Apr 29, 2005 5:14 pm    Post subject: Two IDE disc and DMA problem Reply with quote

Hi i read alot about DMA activation in the forum but my problem is other problem, i think.

Lood this hdparm results:

In /dev/hda:

Quote:

Model=Maxtor 6Y080P0, FwRev=YAR41VW0, SerialNo=Y30HEDTE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=160084415
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
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):


In /dev/hdc:

Quote:

Model=ST380011A, FwRev=3.06, SerialNo=5JV600YW
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
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 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2:


U see the diferences? Hda is a newer ata 133 drive of 80gb but kernel dont find him as a udma 6 drive and it not confroms nothig ... sry im really noob i dont know how to explian this.

But know look that dmesg :

Quote:

VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 6Y080P0, ATA DISK drive
hdb: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: ST380011A, ATA DISK drive
hdd: PHILIPS DVDR1640P, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: Host Protected Area detected.
current capacity is 160084415 sectors (81963 MB)
native capacity is 160086528 sectors (81964 MB)
hda: Host Protected Area disabled.
hda: 160086528 sectors (81964 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
hda: hda1 hda3 < hda5 hda6 hda7 hda8 >
hdc: max request size: 1024KiB
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hdc: cache flushes supported
hdc: hdc1 hdc2 < hdc5 hdc6 > hdc3
hdb: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
libata version 1.10 loaded.


Here u can see all looks right. Then the question is:

Why when i work in drive /dev/hda my cpu use up to 100%

Thanks in advance.
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Fri Apr 29, 2005 5:55 pm    Post subject: Reply with quote

putting the CD/DVD drives on the same channel, and the HD's on the other solved a similar problem for me. I know performance will be less than optimal when using a slave drive - the best would be to have a seperate channel for each HD, but it should work a lot better than what you got now. (assuming your problem is similar to what I had)

/kiksen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum