LINUX.ORG.RU
ФорумTalks

linux kernel 2.6.30.3


0

0
Исправление единственное и касается только GCC 4.2.x
и модуля fbmon

Linus Torvalds [Wed, 22 Jul 2009 15:49:22 +0000]
fbmon: work around compiler bug in gcc-4.2.4

commit 3730793d457fed79a6d49bae72996d458c8e4f2d upstream.
There's some odd bug in gcc-4.2 where it miscompiles a simple loop whent
he loop counter is of type 'unsigned char' and it should count to 128.

The compiler will incorrectly decide that a trivial loop like this:

unsigned char i, ...

for (i = 0; i < 128; i++) {
..

is endless, and will compile it to a single instruction that just
branches to itself.

This was triggered by the addition of '-fno-strict-overflow', and we
could play games with compiler versions and go back to '-fwrapv'
instead, but the trivial way to avoid it is to just make the loop
induction variable be an 'int' instead.
★★★★★
Они их штампуют что-ли...

Кстати, со звуком ничего не программировала с использованием gstreamer\xine-lib ?

f3ex ★★
()
Ответ на: комментарий от f3ex
> Qt use

Не прогуливай уроки английского языка в новом учебном году, договорились?

KDE4-ch
()
Вот я сейчас его компилю и думаю, зачем оно мне надо? =) Эхх наверное делать нечего. Вспомню старые времена =)
qsloqs ★★
()
>we could play games with compiler versions

ох надоест это Линусу, и восстанет он против батьки Столлмана, а потом напишет за пару дней свой компилер с Б&Ш...
k0l0b0k ★★
()
Ответ на: комментарий от qsloqs
наверное используете fbmon и собрали предыдущее ядро с GCC 4.2 ? )
нет ? наверное и правда делать нечего ))
Sylvia ★★★★★
() автор топика
Ответ на: комментарий от Sylvia
Неа я давно уже на дебиан и ничего не компилю, все что надо для работы решает apt =)
qsloqs ★★
()
Ответ на: комментарий от f3ex
> Qt use gstreamer in Linux. Продолжай троллить.

Qt uses phonon, which uses either gstreamer or xine engine. Хотя, xine там, вероятно, обрезанный. Amarok, по крайней мере, пока поддерживает ReplayGain только с GStreamer.
Ruth ★★
()
Ответ на: комментарий от Sylvia
> acpi-cpufreq и не ломали (C2D)

Почему у меня оно тогда не работает?

% cpufreq-info
cpufrequtils 004: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@lists.linux.org.uk, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU

% uname -a
Linux Sandbox 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux
a3
()
Ответ на: комментарий от a3
ну уж не знаю...


~ :$lsmod |grep cpufreq
acpi_cpufreq 8536 0
cpufreq_conservative 6524 0
cpufreq_stats 4140 0
cpufreq_powersave 1408 0
cpufreq_ondemand 6600 0
freq_table 4628 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
processor 34820 1 acpi_cpufreq
~ :$cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0
hardware limits: 2.00 GHz - 3.00 GHz
available frequency steps: 3.00 GHz, 2.67 GHz, 2.34 GHz, 2.00 GHz
available cpufreq governors: conservative, powersave, ondemand, userspace, performance
current policy: frequency should be within 2.00 GHz and 3.00 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 2.00 GHz.
cpufreq stats: 3.00 GHz:0.01%, 2.67 GHz:0.00%, 2.34 GHz:0.00%, 2.00 GHz:99.99% (11)
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 1
hardware limits: 2.00 GHz - 3.00 GHz
available frequency steps: 3.00 GHz, 2.67 GHz, 2.34 GHz, 2.00 GHz
available cpufreq governors: conservative, powersave, ondemand, userspace, performance
current policy: frequency should be within 2.00 GHz and 3.00 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 2.00 GHz.
cpufreq stats: 3.00 GHz:0.01%, 2.67 GHz:0.00%, 2.34 GHz:0.00%, 2.00 GHz:99.99% (5)
~ :$uname -pr
2.6.30.2-lu Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Sylvia ★★★★★
() автор топика
Ответ на: комментарий от a3
У меня тоже управление частотой прекрасно работает.

% uname -a
Linux ... 2.6.30-custom #2 SMP PREEMPT Sun Jul 19 17:28:00 MSD 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz GenuineIntel GNU/Linux
anonymous4
()
Ответ на: комментарий от anonymous4
> меня тоже управление частотой прекрасно работает.

А, так у вас у обоих 30 уже. А у меня 28. Значит починили, наверное.

a3
()
Ответ на: комментарий от f3ex
> Не, не надо путать KDE phonon и Qt Phonon. Первый Xine, второй GStreamer.

нынче фонон можно собрать в qt, а можно отдельно и тот, и другой могут использовать xine и gstreamer в качестве бэкендов, ещё есть экспериментальный бэкенд с мплаером
overmind88 ★★★★★
()
Ответ на: комментарий от Ruth
> Хотя, xine там, вероятно, обрезанный. Amarok, по крайней мере, пока поддерживает ReplayGain только с GStreamer.

xine там системный, а replaygain это чисто амароковская проблема
overmind88 ★★★★★
()
Ответ на: комментарий от Sylvia
>cpufreq stats: 3.00 GHz:0.01%, 2.67 GHz:0.00%, 2.34 GHz:0.00%, 2.00 GHz:99.99% (5)

Сильви, а что у тебя за версия cpufrequtils, что она такую статистику выдает? В моей 005-2 такого нет.

anonymous4
()
Ответ на: комментарий от overmind88
Ссылкой не поделишься, где рассказано как собрать Qt/phonon с поддержкой xine (из сырцов, без КДЕ), буду премного благодарен.
f3ex ★★
()
А почему у меня cpufrqutils останавливает процессор (Athlon 2800+, Debian Sid x86_64, kernel 2.6.30)?
emperor
()
Ответ на: комментарий от enileeb
вот собственно

uname -a 

Linux green 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux


cpufreq-info
.....
current policy: frequency should be within 1.20 GHz and 1.60 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.20 GHz.
  cpufreq stats: 1.60 GHz:0,00%, 1.20 GHz:0,00%

только оно статистику странно показывает
enileeb
()
Ответ на: комментарий от f3ex
> Ссылкой не поделишься, где рассказано как собрать Qt/phonon с поддержкой xine (из сырцов, без КДЕ), буду премного благодарен.

например в арче сейчас qt собран с -no-phonon, а phonon с отключенным гстримером и зависит только от qt и libxine, можешь посмотреть на пкгбилды, по которым они собираются
overmind88 ★★★★★
()
Ответ на: комментарий от overmind88
В кубунте у меня тоже в КДЕ phonon используется xine.

Я тут почитал phonon.kde.org. В общем, о чем ты говоришь - phonon с xine, VLC, MPlayer - это всё есть, ftp://ftp.fh-dortmund.de/pub/mirrors/kde/stable/phonon/ . Тут же при сборке выбираются опции. Согласен.

Но это чисто kde-шная тема. Т.е. этот phonon - пакет КДЕ, и в следствие чего - ломает кроссплатформенность Qt. Да, я маленько ошибся, но итог такой, надо различать Qt-phonon (only GStream) и KDE-Phonon (который может использовать, как я уже сказал, и GST, и Xine, и VLC)

Кстати да, надо будет его покапать, как КДЕшный фонон работает с RSTP.
f3ex ★★
()
Ответ на: комментарий от a3
denis@laptop:~$ cpufreq-info
cpufrequtils 004: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@lists.linux.org.uk, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.27 GHz
  available frequency steps: 2.27 GHz, 2.27 GHz, 1.60 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 2.27 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 2.27 GHz:1.44%, 2.27 GHz:0.24%, 1.60 GHz:0.51%, 800 MHz:97.80%  (24512)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 800 MHz - 2.27 GHz
  available frequency steps: 2.27 GHz, 2.27 GHz, 1.60 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 2.27 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 2.27 GHz:1.21%, 2.27 GHz:0.19%, 1.60 GHz:0.45%, 800 MHz:98.15%  (20039)
denis@laptop:~$ uname -a
Linux laptop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux
isden ★★★★★
()
Ответ на: комментарий от anonymous4
стандартная из дебиана

~ :$cpufreq-info --version
cpufreq-info: unrecognized option '--version'
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Sylvia ★★★★★
() автор топика
Ответ на: комментарий от k0l0b0k
Что, ОПЯТЬ? Было же... EGCS, PGCC...

И ничего страшного не случилось, ну путались чуток, чего чем собирать... И это было. И это суета...

kdf16rc
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.