merc
April 24th, 2005, 12:01 PM
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:
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:
/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:
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":
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.
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:
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:
/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:
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":
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.