• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[Gelöst]SUSE PCI Latenz:

revealed

Guru
Hallo :)

gelöst: Die Installation gibts nicht mehr bei mir /gelöst

edit; Es geht um SUSE 10.2 64 bit auf meinem ASUS P5B also ICH-8 und Jmicron. /edit

Habe mal gerade wieder mein SUSE gestartet und ab und an hängt es beim Hochfahren einige Sekunden fest. Das passiert nicht immer jedoch versuche ich der Sache auf den Grund zu kommen.

Also der Computer reagiert in dem Fall (hängend) für mich so.:

Meine Maus (Razer Copperhead) bekommt dann keinen Saft. Und beim booten hängt das OS einige Sekunden an dieser Stelle; Bei der IDE Erkennung meines Plextor CD Brenners.
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Wenn ich dann den Powerknopf kurz drücke und mit "ESC" und "STRG+ALT+ENTF" nachhelfe dann bootet es weiter jedoch funktioniert die Maus für diesen Bootvorgang dann immer nicht.

Jetzt denke ich mir in meinem BIOS steht der PCI Latency Timer auf "64" und ich würde das gern global überprüfen, ob das auch so angewendet wird. Weil ich vermute, es könnte damit zu tun haben?

Kann mir jemand die Zauberworte sagen oder mich an die entsprechende Dokumentation weiterleiten?

ich hab schon ein bisschen gesucht aber der Link von dem ich mir etwas erhoffe:
http://wiki.tuxbox.org/IDE-Interface
Ist nicht erreichbar.

Hilfe - Danke im Vorraus

und viele Grüsse

R

edit: http://www.linux-club.de/ftopic75708.html /edit
Legacy USB? Das mach ich mal wegend er Maus. Aber mit den Latenzen währe trotzdem wichtig wenn jemand irgendetwas vorzuschlagen hätte? /edit
 

oc2pus

Ultimate Guru
http://www.akjmusic.com/linuxaudio.html

/sbin/setpci -d *:* latency_timer=20

The 2nd line is the one I want to point out because I just learned this trick....this will lower the priority of some of the other PCI cards which might be hogging bus resources, in particular PCI bus controllers, or video cards. If you can, boost the setting of your audio card by finding it using 'lspci -v', and using 'setpci -s xx:xx.x latency_timer=f8', where xx:xx.x is your audio card's pci address given by 'lspci -v'.
 
OP
revealed

revealed

Guru
cool!

Aber mein Problem:

Die latencys bei lspci -v stehen alle auf "0" ?
Außer der Latency der TV Karte...

Hier mal 2 Ausgaben:

# lspci -v
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 81ea
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00007000-00009fff
Memory behind bridge: ff700000-ff7fffff
Prefetchable memory behind bridge: 00000000b7e00000-00000000d7dfffff
Capabilities: [88] Subsystem: Intel Corporation Unknown device 0000
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at dc00

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 50
I/O ports at e000

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 233
Memory at ffaffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, fast devsel, latency 0, IRQ 225
Memory at ffaf8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Prefetchable memory behind bridge: 00000000d7e00000-00000000d7efffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Capabilities: [a0] Power Management version 2

00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: ff900000-ff9fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Capabilities: [a0] Power Management version 2

00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: ff800000-ff8fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 58
I/O ports at d480

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at d800

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 233
I/O ports at d880

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0, IRQ 58
Memory at ffaff800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
Prefetchable memory behind bridge: 00000000d7f00000-00000000dfefffff
Capabilities: [50] Subsystem: ASUSTeK Computer Inc. Unknown device 81ec

00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 177
I/O ports at ec00
I/O ports at e880
I/O ports at e800
I/O ports at e480
I/O ports at e400
I/O ports at e080
Capabilities: [70] Power Management version 3

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: medium devsel, IRQ 233
Memory at 88000000 (32-bit, non-prefetchable)
I/O ports at 0400

00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Unknown device 81ec
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 177
I/O ports at d400
I/O ports at d080
I/O ports at d000
I/O ports at cc00
I/O ports at c880
I/O ports at c800
Capabilities: [70] Power Management version 3

01:00.0 VGA compatible controller: ATI Technologies Inc R580 [Radeon X1900] (prog-if 00 [VGA])
Subsystem: ASUSTeK Computer Inc. Unknown device 0188
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at ff7f0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at 9000
Expansion ROM at ff7c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

01:00.1 Display controller: ATI Technologies Inc Unknown device 7260
Subsystem: ASUSTeK Computer Inc. Unknown device 0189
Flags: bus master, fast devsel, latency 0
Memory at ff7e0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint IRQ 0

02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Unknown device 81e4
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at ff8fe000 (32-bit, non-prefetchable) [size=8K]
Expansion ROM at ff8e0000 [disabled] [size=64K]
Capabilities: [68] Power Management version 2
Capabilities: [50] Express Legacy Endpoint IRQ 1

02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Unknown device 81e4
Flags: bus master, fast devsel, latency 0, IRQ 50
I/O ports at ac00
I/O ports at a880
I/O ports at a800
I/O ports at a480
I/O ports at a400
Capabilities: [68] Power Management version 2

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: ASUSTeK Computer Inc. Unknown device 8168
Flags: bus master, fast devsel, latency 0, IRQ 177
I/O ports at b800
Memory at ff9ff000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at ff9c0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information

05:02.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 150
Flags: bus master, medium devsel, latency 64, IRQ 58
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2

wild-thing:~ # lspci -v |grep latency
Flags: bus master, fast devsel, latency 0
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Flags: bus master, medium devsel, latency 0, IRQ 169
Flags: bus master, medium devsel, latency 0, IRQ 50
Flags: bus master, medium devsel, latency 0, IRQ 233
Flags: bus master, fast devsel, latency 0, IRQ 225
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Flags: bus master, medium devsel, latency 0, IRQ 58
Flags: bus master, medium devsel, latency 0, IRQ 177
Flags: bus master, medium devsel, latency 0, IRQ 233
Flags: bus master, medium devsel, latency 0, IRQ 58
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
Flags: bus master, medium devsel, latency 0
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 177
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 177
Flags: bus master, fast devsel, latency 0, IRQ 169
Flags: bus master, fast devsel, latency 0
Flags: bus master, fast devsel, latency 0, IRQ 169
Flags: bus master, fast devsel, latency 0, IRQ 50
Flags: bus master, fast devsel, latency 0, IRQ 177
Flags: bus master, medium devsel, latency 64, IRQ 58


Sollte ich da besser die Finger weglassen?

Alle die auf "0" stehen, scheinen (Onboard) zu sein? "ASUS P5B"

Danke nochmal so weit :)

edit:
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
^^ Das wird der Haken sein oder?

Gruss

R
 
OP
revealed

revealed

Guru
dann müsste ich das so machen?:
setpci -s 00:1e.0 latency_timer=64
(ich trau mich nich :p; will das aber versuchen nur nicht das ich was total falsches mach jetz. ;) )

edit: effekt ist, wenn ich das Kommando ausführe - das sich der Wert nicht ändert.... hmm.. un nu? /edit

Gruss

R
 

oc2pus

Ultimate Guru
Vorsicht: die Werte sind Hex-Werte
`setpci -d *:* latency_timer=40' sets the latency timer to 64 (40 hexadecimal).

und du musst diesen Befehl als root eingeben.

ansonsten man setpci lesen, dort wird die Syntax genau beschrieben.
 
OP
revealed

revealed

Guru
ah ok aber ich hab noch etwas ganz anderes gefunden..

bei mir geht beispielsweise die UDMA Konfiguration im Yast2 nicht.

Und in var/log/ steht das drin:
# cat |grep latency /var/log/boot.msg
<7>PCI: Setting latency timer of device 0000:00:01.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1c.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1c.3 to 64
<7>PCI: Setting latency timer of device 0000:00:1c.4 to 64
<7>PCI: Setting latency timer of device 0000:00:1e.0 to 64
<7>PCI: Setting latency timer of device 0000:00:01.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1c.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1c.3 to 64
<7>PCI: Setting latency timer of device 0000:00:1c.4 to 64
<7>PCI: Setting latency timer of device 0000:02:00.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1f.2 to 64
<7>PCI: Setting latency timer of device 0000:00:1f.5 to 64
<7>PCI: Setting latency timer of device 0000:00:1b.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1a.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1a.1 to 64
<7>PCI: Setting latency timer of device 0000:00:1d.0 to 64
<7>PCI: Setting latency timer of device 0000:00:1d.1 to 64
<7>PCI: Setting latency timer of device 0000:00:1d.2 to 64
<7>PCI: Setting latency timer of device 0000:03:00.0 to 64
<7>PCI: Setting latency timer of device 0000:02:00.1 to 64
<7>PCI: Setting latency timer of device 0000:00:1a.7 to 64
<7>PCI: Setting latency timer of device 0000:00:1d.7 to 64
Und zu UDMA:
# cat |grep UDMA /var/log/boot.msg
<6>ata1: SATA max UDMA/133 cmd 0xFFFFC20000034100 ctl 0x0 bmdma 0x0 irq 169
<6>ata2: SATA max UDMA/133 cmd 0xFFFFC20000034180 ctl 0x0 bmdma 0x0 irq 169
<6>ata3: SATA max UDMA/133 cmd 0xEC00 ctl 0xE882 bmdma 0xE400 irq 177
<6>ata4: SATA max UDMA/133 cmd 0xE800 ctl 0xE482 bmdma 0xE408 irq 177
<6>ata3.00: ATA-7, max UDMA/133, 156301488 sectors: LBA48 NCQ (depth 0/32)
<6>ata3.00: configured for UDMA/133
<6>ata4.00: ATA-7, max UDMA/133, 156301488 sectors: LBA48 NCQ (depth 0/32)
<6>ata4.00: configured for UDMA/133
<6>ata5: SATA max UDMA/133 cmd 0xD400 ctl 0xD082 bmdma 0xC880 irq 177
<6>ata6: SATA max UDMA/133 cmd 0xD000 ctl 0xCC02 bmdma 0xC888 irq 177
<6>ata7: PATA max UDMA/100 cmd 0xAC00 ctl 0xA882 bmdma 0xA400 irq 50
<6>ata8: PATA max UDMA/100 cmd 0xA800 ctl 0xA482 bmdma 0xA408 irq 50
<6>ata7.00: ATAPI, max UDMA/33
<6>ata7.01: ATAPI, max UDMA/33
<6>ata7.00: configured for UDMA/33
<6>ata7.01: configured for UDMA/33
Also UDMA müsste ja prinzipiell passen so.

Ganz komisch ist beispielsweise wenn ich einen
Code:
# hdparm /dev/sdb

/dev/sdb:
 IO_support   =  0 (default 16-bit)
 HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 9729/255/63, sectors = 156301488, start = 0
Absetze kommt wieder dieser komische ioctl Fehler, der mich schonmal von meiner TV Karte abgehalten hat.

Ich weiss ja nicht, aber da muss doch irgendwas sein... wenn ich nur wüsste was das ist.

Und zu Legacy USB steht keine Fehlermeldung in /var/log.

Das muss dann an irgend etwas anderem liegen.

64 in hexadecimal wäre "3634"? Und ich hatte das als "systemverwaltungsmodus" abgesetzt. *Müsste so gehen oder? Aber die Latenzen passen ja sowieso wie es aussieht.

Gruss

R
 

oc2pus

Ultimate Guru
ähm schau dir mal an für welche Pattentypen hdparm gedacht ist ...

und /dev/sdb ist was anderes als /dev/hdb .... (SCSI, SATA, IDE, EIDE ...)

d.h. es gibt ein verschiedene "hdparm-Programme".
 
OP
revealed

revealed

Guru
achso danke ! Mir geht grad ein Licht auf.

Das ist ja eine SATA.

dann hab ich gerade "sdparm /dev/sr1" abgefragt und dort erkennt er auch meine IDE CD-rom.

-Mann is der Crossraid IDE-SATA Controller mix aus Intel und Jmicron verwirrend.

bleistift:
# sdparm /dev/sr1
/dev/sr1: PLEXTOR CD-R PX-W4824A 1.04 [cd/dvd]
Read write error recovery mode page:
AWRE 0 [cha: n, def: 0]
ARRE 0 [cha: n, def: 0]
PER 0 [cha: y, def: 0]
Write parameters (MMC) mode page:
BUFE 0 [cha: y, def: 0]
WR_T 1 [cha: y, def: 1]
MULTI_S 3 [cha: y, def: 3]
FP 0 [cha: y, def: 0]
TRACK_M 4 [cha: y, def: 4]

Danke.

Dann is ja alles ok bis auf das mein Rechner ab und an beim Kaltstart mit SUSE 10.2 sich aufhängt und die Maus nicht geht.

Ich kanns leider nicht 100 % reproduzieren. Ich find das total verwirrend.

Gruss

R
 
Oben