dma problem at hardy



I need help on seeting up my DMA and PIO at my SATA drive.

I am using Hardy.

# dmesg | grep DMA
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 18.501321] ata1: SATA max UDMA/133 abar m2048@0x38404000 port
0x38404100 irq 219
[ 18.501325] ata2: SATA max UDMA/133 abar m2048@0x38404000 port
0x38404180 irq 219
[ 18.501328] ata3: SATA max UDMA/133 abar m2048@0x38404000 port
0x38404200 irq 219
[ 18.878170] ata1.00: ATA-7: WDC WD800BEVS-07RST0, 04.01G04, max UDMA/133
[ 18.879906] ata1.00: configured for UDMA/133
[ 18.979830] ata4: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x60e0 irq 14
[ 18.979833] ata5: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x60e8 irq 15
[ 19.313601] ata4.00: ATAPI: TSSTcorpCDW/DVD SN-M242D, SB00a, max UDMA/33
[ 19.516432] ata4.00: configured for UDMA/33

# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

#manuel
sd_mod
psmouse
mousedev
piix
ide-core
ide-cd
ide-disk
ide-generic
#manuel

fuse
lp
sbp2
uinput
acpi-cpufreq
cpufreq_conservative
cpufreq_ondemand
cpufreq_powersave
cpufreq_stats
cpufreq_userspace

lsmod: http://pastebin.com/f2367af13

# hdparm -i /dev/sda

/dev/sda:

Model=WDC WD800BEVS-07RST0 , FwRev=04.01G04, SerialNo= WD-WXC507001547
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7

* signifies the current active mode

# hdparm -X udma5 /dev/sda

/dev/sda:
setting xfermode to 69 (UltraDMA mode5)
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00
00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
HDIO_DRIVE_CMD(setxfermode) failed: Input/output error

So how can i fix it?

--
Oğuz Yarımtepe
www.loopbacking.info
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • [git patches] IDE updates
    ... enable DMA for all ATAPI devices ... it821x: PIO mode setup fixes ... * for a drive into the cmd646 chipset registers to active them. ... + * This routine selects drive's best PIO mode and writes into the chipset ...
    (Linux-Kernel)
  • Re: Dma mode has reverted to Pio mode..Please Help...:o)
    ... >I have googled the prob and found that the prob is Dma mode has reverted to ... I had an Asus K7M board, I had The Plextor 12/10/32a as primary on the ... so the Plextor wasDMA and the CD was PIO. ... I DO know that once Windows XP decides that the Plextor is only PIO ...
    (microsoft.public.windowsxp.general)
  • Re: Dma mode has reverted to Pio mode..Please Help...:o)
    ... >>I have googled the prob and found that the prob is Dma mode has reverted ... > I had an Asus K7M board, I had The Plextor 12/10/32a as primary on the ... so the Plextor wasDMA and the CD was PIO. ... > I DO know that once Windows XP decides that the Plextor is only PIO ...
    (microsoft.public.windowsxp.general)
  • Re: Dma mode has reverted to Pio mode..Please Help...:o)
    ... Many thanks for your Reply Nigel ive been through this workaround before i ... > enable DMA mode. ... so the Plextor wasDMA and the CD was PIO. ...
    (microsoft.public.windowsxp.general)
  • Re: 32M ATA Read command
    ... Have you talked with any HBA vendors or driver suppliers, ... And that's just the nature of PIO. ... Intermingled DMA and PIO is fine. ... It's just a SCSI bus filter, sitting on top of the pseudo-SCSI ATA port ...
    (microsoft.public.win32.programmer.kernel)