Strato-Rootie und der DMA-Modus

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
ffl
Userprojekt
Userprojekt
Posts: 269
Joined: 2002-10-23 08:28
Location: Karlsruhe
 

Strato-Rootie und der DMA-Modus

Post by ffl »

Hi,

hab zum Testen seit einigen Tagen einen Rootie bei Strato. Habe auch schon brav Debian installiert :) aber habe noch ein Problem:

Code: Select all

[root@mars:~]$ hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.56 seconds =228.57 MB/sec
 Timing buffered disk reads:  64 MB in 21.96 seconds =  2.91 MB/sec
Da kommt Freude auf! Im Gegensatz zu den knapp 50 MB bei 1&1 ist das ein schlechter Witz. Reden wir gar nicht über den Performance-Einbruch wenn Plattenzugriffe sind!

Ok:

Code: Select all

[root@mars:~]$ hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
Kernel ist der 2.4.24-grsec, der auf meinem 1&1-Roote problemlos mit DMA funktioniert.

Die Daten der Festplatte:

Code: Select all

[root@mars:~]$ hdparm -i /dev/hda

/dev/hda:

 Model=ExcelStor Technology J360, FwRev=V22OA63A, SerialNo=VNVB01E20DK53A
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
 BuffType=DualPortCache, BuffSize=1821kB, MaxMultSect=16, MultSect=16
 CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=120103200
 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 udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive Supports : Reserved : Reserved : Reserved : ATA/ATAPI-6 T13 1410D revision 1 : Reserved : Reserved : Reserved : ATA-2 ATA-3 ATA-4 ATA-5 ATA-6
Sollte es doch eigentlich können oder?

Code: Select all

[root@mars:~]$ cat /etc/lilo.conf | grep append
append ="console=tty0 console=ttyS0,57600 ide0=dma idebus=66"
Bringt auch nix!

lspci sagt folgendes:

Code: Select all

00:1f.1 IDE interface: Intel Corp. 82820 820 (Camino 2) Chipset IDE U100 (rev 05) (prog-if 80 [Master])
        Subsystem: Super Micro Computer Inc: Unknown device 3280
        Flags: bus master, medium devsel, latency 0
        I/O ports at f000 [size=16]
Wie bring ich nun den DMA-Modus inkl. Ultra-DMA etc. zum Laufen? Habe schon mehrere Dinge probiert, komme aber nicht wirklich weiter.
Hat vielleicht noch jemand dasselbe Problem?

Danke im Voraus!

ffl
flolein
Posts: 113
Joined: 2003-12-11 14:47
 

Re: Strato-Rootie und der DMA-Modus

Post by flolein »

kernel mit unterstützung für dma und piix sollte eigentlich reichen.
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ExcelStor Technology J360, ATA DISK drive
blk: queue c02b52c0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 120103200 sectors (61493 MB) w/1821KiB Cache, CHS=7476/255/63, UDMA(100)
debianator
Posts: 46
Joined: 2003-09-16 15:23
 

Re: Strato-Rootie und der DMA-Modus

Post by debianator »

Hi

probier mal

Code: Select all

hdparm -c1 -d1 /dev/hda
bei mir siehts so aus:

Code: Select all

~# hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.54 seconds =237.04 MB/sec
 Timing buffered disk reads:  64 MB in  1.42 seconds = 45.07 MB/sec
Ich verwende Kernel 2.4.20-3-386.

Gruß,
D.
ffl
Userprojekt
Userprojekt
Posts: 269
Joined: 2002-10-23 08:28
Location: Karlsruhe
 

Re: Strato-Rootie und der DMA-Modus

Post by ffl »

Hm, nüx.

Code: Select all

[root@mars:~]$ hdparm -c1 -d1 /dev/hda

/dev/hda:
 setting 32-bit I/O support flag to 1
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 I/O support  =  1 (32-bit)
 using_dma    =  0 (off)
[root@mars:~]$
Any other ideas? :)
ffl
Userprojekt
Userprojekt
Posts: 269
Joined: 2002-10-23 08:28
Location: Karlsruhe
 

Re: Strato-Rootie und der DMA-Modus

Post by ffl »

flolein wrote:kernel mit unterstützung für dma und piix sollte eigentlich reichen.
Wie krieg ich das raus?
flolein
Posts: 113
Joined: 2003-12-11 14:47
 

Re: Strato-Rootie und der DMA-Modus

Post by flolein »

dmesg
ffl
Userprojekt
Userprojekt
Posts: 269
Joined: 2002-10-23 08:28
Location: Karlsruhe
 

Re: Strato-Rootie und der DMA-Modus

Post by ffl »

Tja, wie schon gesagt, DER Rootforum 2.4.24-grsec mag anscheinend auf Strato-Rooties kein DMA:

Code: Select all

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 66MHz system bus speed for PIO modes
hda: ExcelStor Technology J360, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 120103200 sectors (61493 MB) w/1821KiB Cache, CHS=7476/255/63

CaptainCrunch?

Was nu?
flolein
Posts: 113
Joined: 2003-12-11 14:47
 

Re: Strato-Rootie und der DMA-Modus

Post by flolein »

entweder passendes modul laden, oder kernel mit piix-support selber kompilieren.
ffl
Userprojekt
Userprojekt
Posts: 269
Joined: 2002-10-23 08:28
Location: Karlsruhe
 

Re: Strato-Rootie und der DMA-Modus

Post by ffl »

Dann gib mir mal nen Tipp wie ich das 'passende' Modul lade. Hab mich noch nicht wirklich damit beschäftigt, bis jetzt hats immer so gepasst wie benötigt.

Danke :)

Ich mach dann auch ein HOWTO :)