Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help! cant get my drive to use fast dma modes
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
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Tue Jul 29, 2003 11:10 pm    Post subject: help! cant get my drive to use fast dma modes Reply with quote

I've got a decent harddrive (Western Digital 120Gb JB) it can do ata 100 however its currently stuck doing ata 33 because of a problem with my system. The thing is if i do "cat /proc/ide/via" I get the following

Code:

----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.35
South Bridge:                       VIA vt82c686b
Revision:                           ISA 0x40 IDE 0x6
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xc400
PCI clock:                          33.3MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:               no                  no
Post Write Buffer:             no                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   40w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       PIO       PIO      UDMA
Address Setup:       30ns     120ns     120ns      30ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns     330ns     330ns      90ns
Data Recovery:       30ns     270ns     270ns      30ns
Cycle Time:          60ns     600ns     600ns      60ns
Transfer Rate:   33.3MB/s   3.3MB/s   3.3MB/s  33.3MB/s


note that it thinks the cable used for the primary ide channel is a 40wire one when in fact it is one of the nice 80wire ones (verified that by a. looking at it and b. oputting it in my other box)

the output from "dmesg | grep hd" is odd as well

Code:

    ide0: BM-DMA at 0xc400-0xc407, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xc408-0xc40f, BIOS settings: hdc:pio, hdd:DMA
hda: WDC WD1200JB-00DUA0, ATA DISK drive
hdd: SAMSUNG DVD-ROM SD-612, ATAPI CD/DVD-ROM drive
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, UDMA(33)
hdd: ATAPI 32X DVD-ROM drive, 512kB Cache, UDMA(33)


the kernel seems to think its only able to do udma33 when it should be 100.

My motherboard is a Gigabyte (GA7-DXR) which supports ATA100 so that should be ok yes? I've looked in the bios and there isnt anything there that relates to ide speeds. all top performance options are turned on.

whats weird is my other pc has the same VIA ide chipset and works fine.. detects the cables and 80w and sets them to use the right transfer modes.

I've tried using hdparm to force it into udma5 mode but it doesnt have any effect.

Could the motherboard be faulty? oh yeah i'm currently running the gentoo-sources-2.4.20 kernel but i've also tried the 2.6.0-test1 kernel with the same results

output from "lspci"

Code:

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System Controller (rev 13)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
00:0c.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 05)
00:0d.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
00:0e.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
01:05.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
Back to top
View user's profile Send private message
juliancoccia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 91
Location: Opensource World

PostPosted: Tue Feb 10, 2004 5:04 am    Post subject: Reply with quote

Have you enabled the VIA82CXXX support on your kernel ? It is under "IDE chipset support / patches"
_________________
http://julian.coccia.com
http://www.linuxespanol.com
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