Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DMA ich gebe bald auf :(
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ices
n00b
n00b


Joined: 21 Jun 2003
Posts: 19

PostPosted: Tue Jul 15, 2003 9:14 am    Post subject: DMA ich gebe bald auf :( Reply with quote

Ich verstehe es nicht mehr, ich bekomme bei jedem Boot die Meldung, dass ich kein DMA aktiviert habe :(

meine /etc/conf.d/hdpram sieht wie folgt aus:
Code:
disc0_args="-c1 -d1 -X 69 -m 16"
disc1_args="-c1 -d1 -m 16"
cdrom0_args="-c1 -d1 -m 16"
und
Code:
rc-update add hdparm default
habe ich auch net vergessen!

WAS MACHE ICH FALSCH?

Ich bin fertig mit meinem Latein ... :(
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Tue Jul 15, 2003 9:33 am    Post subject: Reply with quote

Hi,
die Meldung hatte ich auch mal... hab sie aber irgendwie wegbekommen hmm.
Aber was wirklich zählt: Das ganze IST aktiv. Mach doch mal hdparm /dev/hda und schaus dir selbst an.

Ach ja: Du solltest überall noch -k1 miteinfügen, denn ansonsten wird nach einem IDE Reset (wird im laufenden Betrieb gemacht) alles wieder auf den langsamen Standardwert gesetzt.

Dim

PS: Die Option Enable DMA at boot (oder so ähnlich) hast schon im Kernel drin oder?
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
-leliel-
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 294
Location: Germany

PostPosted: Tue Jul 15, 2003 10:21 am    Post subject: Reply with quote

bei mir erscheint die meldung auch die ganze zeit (weiss net, ob sie seit meinem letzten kernelupdate auf 2.5.75mm1 noch da ist, achte da nemmer drauf) ...

wenn du dir allerdings mal den init verlauf anschaust, wirst du feststellen, dass die meldung aufgrund von fsck angezeigt wird. ein paar eintraege spaeter steht dann der eintrag fuer hdparm. insofern ist es schon aktiv, nur noch nicht bei fsck.

so long
Back to top
View user's profile Send private message
Aldo
Guru
Guru


Joined: 15 Jan 2003
Posts: 440
Location: Cologne, Germany

PostPosted: Tue Jul 15, 2003 1:47 pm    Post subject: hdparm in /etc/conf.d/local.start Reply with quote

Mal eine dumme Frage: Ich rufe hdparm für meine Laufwerke mittels hdparm in /etc/conf.d/local.start auf.
Ist das falsch oder kann ich das da lassen?
Funktioniert nämlich fehlerfrei...
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Tue Jul 15, 2003 1:53 pm    Post subject: Reply with quote

Hi,
es gibt eigentlich ein eigenes init script dafür:
rc-update add hdparm default
Konfiguriert wird das ganze über /etc/conf.d/hdparm

Dim
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
bernd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2002
Posts: 126
Location: Wilhelmshaven/Germany

PostPosted: Tue Jul 15, 2003 2:41 pm    Post subject: Re: hdparm in /etc/conf.d/local.start Reply with quote

Aldo wrote:
Mal eine dumme Frage: Ich rufe hdparm für meine Laufwerke mittels hdparm in /etc/conf.d/local.start auf.
Ist das falsch oder kann ich das da lassen?
Funktioniert nämlich fehlerfrei...


Kommt darauf an. Unterstützt der Kernel deinen Chipsatz?? Falls ja, brauchst du hdparm meistens nicht, da der Kernel den DMA-Modus beim boote setzt.

Bei mir funktioniert es. Ich habe einen Via8233a (in der Kernelconfig
-->Via82Cxx) Chipsatz und bei mir funktioniert alles einwandfrei.

Kernelconfig:
ATA/ATAPi/MFM/RLL support --> IDE, ATA, ATAPI Block devices

Gruß,
Bernd


Last edited by bernd on Wed Jul 16, 2003 6:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Coogee
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 184
Location: E.U.

PostPosted: Tue Jul 15, 2003 7:17 pm    Post subject: Reply with quote

Wenn Du noch einen 2.4.20er Kernel benutzt, kann das auch ein harmloser Falschmeldung-Bug sein:
Quote:
Summary of changes from v2.4.21-pre4 to v2.4.21-pre5
============================================

...

Alan Cox <alan@lxorguk.ukuu.org.uk>:
...

o fix confusing extra DMA off messages

...

Probier mal einen 2.4.21er...
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 1:09 am    Post subject: Reply with quote

@Ices:

Wenn die Meldung vom reiserfs fsck kommt dann kannst du das getrost ignorieren.

Wenn Gentoo gebooted hat mach mal 'hdparm -t /dev/hda'.
Wenn das Resultat >=20MB ist dann ist DMA an wenn das Resultat <=5MB ist dann ist DMA aus ;)

Das Problem wieso da steht dass DMA aus wäre ist weil der Kernel DMA nicht einschaltet sondern erst hdparm - und Programme die vor hdparm im INIT Script starten noch kein DMA vorfinden....

Wenn du möchtest dass DMA vom Kernel eingeschaltet wird musst du im Kernel den speziellen Treiber für deinen IDE Controller eincompilen.
Auch wenn dieser Treiber eincompiled ist kann es sein, dass der Kernel DMA nicht automatisch anmacht - das liegt dann an einer eigenheit des jeweiligen IDE Drivers oder einem veralteten Bios.
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
romulus
n00b
n00b


Joined: 17 Jun 2003
Posts: 4

PostPosted: Fri Jul 18, 2003 8:25 am    Post subject: Reply with quote

hachre wrote:
@Ices:

Wenn Gentoo gebooted hat mach mal 'hdparm -t /dev/hda'.
Wenn das Resultat >=20MB ist dann ist DMA an wenn das Resultat <=5MB ist dann ist DMA aus ;)


Geht auch einfach mit "hdparm -d /dev/hda". Dann wird dir direkt angezeigt ob es aus oder an ist :)
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 12:29 pm    Post subject: Reply with quote

@romulus: Ja das stimmt schon, aber er kann sich da auch irren und meinen es ist an und in Wirklichkeit ist es nich - der Geschwindigkeitstest mit -t auf jeden Fall der Zuverlässigste.
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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