Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154923 - sys-apps/pciutils-2.2.0-r1 - setpci does not change pci latency
Summary: sys-apps/pciutils-2.2.0-r1 - setpci does not change pci latency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 12:25 UTC by Daniel
Modified: 2006-12-29 16:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from lspci before setpci (before.txt,18.60 KB, text/plain)
2006-11-13 03:09 UTC, Daniel
Details
Output from lspci after executing setpci (after.txt,18.60 KB, text/plain)
2006-11-13 03:12 UTC, Daniel
Details
Output from cat /proc/cpuinfo (cpuinfo.txt,560 bytes, text/plain)
2006-11-13 03:12 UTC, Daniel
Details
Output from emerge --info (emerge-info.txt,4.47 KB, text/plain)
2006-11-13 03:13 UTC, Daniel
Details
Output from lspci, sys-apps/pciutils-2.2.3-r1 (1.txt,18.63 KB, text/plain)
2006-11-26 15:43 UTC, Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2006-11-12 12:25:26 UTC
Reproducing the bug:

localhost test # setpci -d *:*  latency_timer=32
localhost test # lspci -vvv > before.txt
localhost test # setpci -d *:*  latency_timer=ff
localhost test # lspci -vvv > after.txt
localhost test # diff after.txt before.txt
localhost test # md5sum *
b85685ec803bbdca3e934b11dd72cc57  after.txt
b85685ec803bbdca3e934b11dd72cc57  before.txt

==========

Information:

localhost test # uname -a
Linux localhost 2.6.17-gentoo-r8 #4 PREEMPT Sat Nov 4 18:07:39 EET 2006 x86_64 AMD Sempron(tm) Processor 3300+ AuthenticAMD GNU/Linux

localhost test # qfile setpci
sys-apps/pciutils (/usr/sbin/setpci)

localhost test # emerge -pv sys-apps/pciutils
--snip--
[binary   R   ] sys-apps/pciutils-2.2.0-r1

=========
Mainboard: ASROCK, K8NF4G-SATA2, URL: http://www.asrock.com/product/K8NF4G-SATA2.htm
=========

The two lspci output files can be found at URLs http://ilievnet.com/bugs/before.txt and http://ilievnet.com/bugs/after.txt

"cat /proc/cpuinfo" output can be found at URL http://ilievnet.com/bugs/cpuinfo.txt

"emerge --info" output file can be found at URL http://ilievnet.com/bugs/emerge-info.txt

Best regards,
Daniel
Comment 1 SpanKY gentoo-dev 2006-11-12 20:39:36 UTC
do not post URL's to files, post them straight into the bug or as attachments
Comment 2 Daniel 2006-11-13 03:09:15 UTC
Created attachment 101816 [details]
Output from lspci before setpci
Comment 3 Daniel 2006-11-13 03:12:00 UTC
Created attachment 101817 [details]
Output from lspci after executing setpci

It is the same as the output before executing setpci (before.txt) which is the problem actually
Comment 4 Daniel 2006-11-13 03:12:54 UTC
Created attachment 101818 [details]
Output from cat /proc/cpuinfo
Comment 5 Daniel 2006-11-13 03:13:41 UTC
Created attachment 101819 [details]
Output from emerge --info
Comment 6 Daniel 2006-11-13 03:26:31 UTC
Sorry, I didn't find the link for attaching files when I opened the report. I hope it is OK now.

Best regards,
Daniel
Comment 7 SpanKY gentoo-dev 2006-11-26 14:58:15 UTC
you could also try pciutils-2.2.3-r1
Comment 8 Daniel 2006-11-26 15:43:51 UTC
Created attachment 102808 [details]
Output from lspci, sys-apps/pciutils-2.2.3-r1
Comment 9 Daniel 2006-11-26 15:52:25 UTC
(In reply to comment #8)
> Created an attachment (id=102808) [edit]
> Output from lspci, sys-apps/pciutils-2.2.3-r1
> 


Upgraded to sys-apps/pciutils-2.2.3-r1 by unkeywording. No change.
localhost ~ # setpci -d *:*  latency_timer=32
localhost ~ # lspci -vvv >1.txt
localhost ~ # setpci -d *:*  latency_timer=ff
localhost ~ # lspci -vvv >2.txt
localhost ~ # md5sum 1.txt 2.txt
e719f52041b51fba9d6078b2f99373b4  1.txt
e719f52041b51fba9d6078b2f99373b4  2.txt
localhost ~ #
Comment 10 SpanKY gentoo-dev 2006-12-29 16:55:45 UTC
please read the setpci manpage:
DESCRIPTION
       setpci is a utility for querying and configuring PCI devices.

       All numbers are entered in hexadecimal notation.