Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old April 24th, 2005   #1
merc
5 Cups of Ubuntu
 
Join Date: Jan 2005
Location: Virginia, USA
Beans: 26
Enable DMA on SATA drive?

I just installed Hoary64 on my AMD64 machine. Here are the specs:

AMD Athlon64 3000+
K8T800 Motherboard with 8237 southbridge (native SATA)

My drives are setup as follows:

IDE Channel 0: DVD
IDE Channel 1: 10gb Seagate PATA drive
SATA Channel 0: 80gb Seagate SATA drive

The problem is that I can't enable DMA on the SATA drive. It mounts under /dev/sda, and here's where the weirdness begins:

Code:
merc@blackbox:~$ sudo hdparm -i /dev/sda

/dev/sda:

 Model=ST380013AS      3.18, FwRev=3.18, SerialNo=
 Config={ }
 RawCHS=9729/255/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=9729/255/63, CurSects=0, LBA=no
 IORDY=no
 PIO modes:  pio0
 AdvancedPM=no

 * signifies the current active mode
And by contrast, this is what I get for the IDE drive:
Code:
/dev/hda:

 Model=ST310014A, FwRev=3.09, SerialNo=5JREKJA7
 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=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=20005650
 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: device does not report version:

 * signifies the current active mode
When I try to enable DMA on the SATA drive, this happens:

Code:
merc@blackbox:~$ sudo hdparm -d1 /dev/sda

/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
Here's an "lsmod | grep via":

Code:
merc@blackbox:~$ lsmod | grep via
via_rhine              22788  0
mii                     5504  1 via_rhine
i2c_viapro              8716  0
i2c_core               23960  1 i2c_viapro
sata_via                9476  0
libata                 52488  1 sata_via
via82cxxx              14128  1
ide_core              143748  4 ide_cd,ide_generic,via82cxxx,ide_disk
I have tried removing the via82cxxx modules (I read somewhere that it conflicts with the sata_via module), but even if i deleted the module (the .ko file), it would still showup in the lsmod output.

The weird thing is that I think the SATA drive worked fine with DMA before I added the PATA drive to the computer.



Any help would be greatly appretiated.
merc is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 07:50 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry