Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Příspěvky - project2501

Stran: 1 [2]
16
Vývoj / Re:Skript po startu nenaběhne
« kdy: 07. 04. 2014, 23:09:33 »
A kde by se take mel vytvorit? Co je v promenne HOME? Pridejte si tam echo $HOME>>/tmp/nejaky_soubor a pak si to prectete. BTW, nemuzete si to pustit z rc.local?
Tak jsem si tam dal ceastu natvrdo bez promenne $HOME, a skrip se mi tam nevytvoril. Nevim k cemu je rc.local a jaky je rozdil mezi tim co chci pouzit ja. Nicmene by me zajimalo proc mi to nefunguje...

17
Vývoj / Re:Skript po startu nenaběhne
« kdy: 07. 04. 2014, 21:09:15 »
Nikde se nevytvoril... runlevel 2.
Kód: [Vybrat]
root@CodeName:/home/project2501# runlevel
N 2
root@CodeName:/home/project2501# find / -iname 'bench_LOG.txt'
root@CodeName:/home/project2501#

Ale toto je zajimave, pri instalaci sw mi to zaclo hlasit zajimave veci:
Kód: [Vybrat]
root@CodeName:/home/project2501# aptitude install pulseaudio
Následující částečně nainstalované balíky budou zkonfigurovány:
  pulseaudio pulseaudio-module-x11
Žádné balíky se nebudou instalovat, aktualizovat nebo odstraňovat.
0 balíků aktualizováno, 0 nově instalováno, 0 k odstranění a 5 neaktualizováno.
Potřebuji stáhnout 0 B archivů. Po rozbalení bude použito 0 B.
Nastavuji balík pulseaudio (2.0-6.1) …     
insserv: warning: script 'S21bench_SCRIPT.sh' missing LSB tags and overrides
insserv: warning: script 'bench_SCRIPT.sh' missing LSB tags and overrides
insserv: There is a loop at service rc.local if started
insserv: There is a loop between service rc.local and mountnfs-bootclean if started
insserv:  loop involving service mountnfs-bootclean at depth 11
insserv:  loop involving service mountnfs at depth 10
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service nfs-common at depth 9
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rc.local and mountnfs if started
insserv: There is a loop between service rc.local and urandom if started
insserv:  loop involving service urandom at depth 6
insserv:  loop involving service mountall at depth 5
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service rsyslog at depth 12
insserv:  loop involving service networking at depth 8
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service mountall-bootclean at depth 7
insserv: There is a loop between service bench_SCRIPT.sh and mtab if started
insserv:  loop involving service mtab at depth 4
insserv:  loop involving service checkroot at depth 3
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rc.local and checkfs if started
insserv:  loop involving service checkfs at depth 6
insserv: There is a loop between service rc.local and mountdevsubfs if started
insserv:  loop involving service mountdevsubfs at depth 2
insserv:  loop involving service udev at depth 1
insserv: There is a loop at service bench_SCRIPT.sh if started
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service hwclock at depth 4
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service network-manager at depth 15
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: chyba při zpracovávání pulseaudio (--configure):
 podproces instalovaný post-installation skript vrátil chybový status 1
dpkg: nesplněné závislosti zamezily konfiguraci balíku pulseaudio-module-x11:
 pulseaudio-module-x11 závisí na pulseaudio; avšak:
  Balík pulseaudio zatím není zkonfigurován.

dpkg: chyba při zpracovávání pulseaudio-module-x11 (--configure):
 problém se závislostmi - nechávám nezkonfigurované
Při zpracování nastaly chyby:
 pulseaudio
 pulseaudio-module-x11
E: Sub-process /usr/bin/dpkg returned an error code (1)
Instalace balíku selhala. Zkouším obnovit:
Nastavuji balík pulseaudio (2.0-6.1) …
insserv: warning: script 'S21bench_SCRIPT.sh' missing LSB tags and overrides
insserv: warning: script 'bench_SCRIPT.sh' missing LSB tags and overrides
insserv: There is a loop at service rc.local if started
insserv: There is a loop between service rc.local and mountnfs-bootclean if started
insserv:  loop involving service mountnfs-bootclean at depth 11
insserv:  loop involving service mountnfs at depth 10
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service nfs-common at depth 9
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rc.local and mountnfs if started
insserv: There is a loop between service rc.local and urandom if started
insserv:  loop involving service urandom at depth 6
insserv:  loop involving service mountall at depth 5
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service rsyslog at depth 12
insserv:  loop involving service networking at depth 8
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service mountall-bootclean at depth 7
insserv: There is a loop between service bench_SCRIPT.sh and mtab if started
insserv:  loop involving service mtab at depth 4
insserv:  loop involving service checkroot at depth 3
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rc.local and checkfs if started
insserv:  loop involving service checkfs at depth 6
insserv: There is a loop between service rc.local and mountdevsubfs if started
insserv:  loop involving service mountdevsubfs at depth 2
insserv:  loop involving service udev at depth 1
insserv: There is a loop at service bench_SCRIPT.sh if started
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service hwclock at depth 4
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service network-manager at depth 15
insserv: Starting bench_SCRIPT.sh depends on rc.local and therefore on system facility `$all' which can not be true!

insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: chyba při zpracovávání pulseaudio (--configure):
 podproces instalovaný post-installation skript vrátil chybový status 1
dpkg: nesplněné závislosti zamezily konfiguraci balíku pulseaudio-module-x11:
 pulseaudio-module-x11 závisí na pulseaudio; avšak:
  Balík pulseaudio zatím není zkonfigurován.

dpkg: chyba při zpracovávání pulseaudio-module-x11 (--configure):
 problém se závislostmi - nechávám nezkonfigurované
Při zpracování nastaly chyby:
 pulseaudio
 pulseaudio-module-x11
                                     
root@CodeName:/home/project2501#

18
Distribuce / Re:Mikrofon na Debianu nefunguje
« kdy: 07. 04. 2014, 20:36:16 »
kazdopadne diky vsem za nasmerovani :]

19
Distribuce / Re:Mikrofon na Debianu nefunguje
« kdy: 07. 04. 2014, 20:35:31 »
Nainstaloval jsem pulseaudio a pavucontrol a rozbehlo se to, ani poradne nevim vcem byl problem. Asi v tom ze jsem nemel pulseaudio... docetl jsem se ze je to jakysi sound-server... zajimave:]

20
Vývoj / Skript po startu nenaběhne
« kdy: 06. 04. 2014, 23:50:20 »
Ahoj, snazim se rozbehnout script po startu a nedari se :(

Kód: [Vybrat]
root@CodeName:/etc/rc2.d# ln -s /etc/init.d/bench_SCRIPT.sh S21bench_SCRIPT

Link se mi vytvori spravne.v Inittab mam defaultni runlevel 2 takze to davam  do rc2.d. Po restartu se ale nic nestane. Skript se nespust, ve skriptu mam logovani vysledu benchmarku

Kód: [Vybrat]
#!/bin/bash

{
echo -n "kernel version: "; uname -r
echo -n "memory used(MB): "; free -m | cut -c26-29 | head -2 | tail -1
echo "------------------------------------------------------------------------------"
openssl speed md5 | tail -2
echo "------------------------------------------------------------------------------"
} >> $HOME/bench_LOG.txt


21
Distribuce / Re:Mikrofon na Debianu nefunguje
« kdy: 06. 04. 2014, 22:13:39 »
Neumim uz ani vlozit obrazek, nebo zeditovat odeslany prispevek... nebo to tu nejde grrr.... a udelat printscreen v LXDE Debianu je taky počin... zacčinam uz šílet :( :D
http://uloz.to/xE6dBdVn/alsa-png
http://uloz.to/xE6dBdVn/alsa-png

22
Distribuce / Re:Mikrofon na Debianu nefunguje
« kdy: 06. 04. 2014, 22:10:14 »
Pustte di nejaky mixer (treba Gnome Alsa Mixer) a mrknete, jestli tam u Capture je zaskrtnuto Rec.
Zkusil jsem to takto, kdyz mluvim tak se slysim ve sluchatkach... Ve Skajpu ale neslysim nic :(

23
Distribuce / Mikrofon na Debianu nefunguje
« kdy: 02. 04. 2014, 20:43:23 »
Ahoj, potreboval bych poradit s testem mikrofonu. Nefunguje mi. Vystup jde, hudbu prehraju. Zkousel jsem alsamixer a dat vsechno vic nahlas, nezabralo. Mam Debian Wheeze 7.4.0

Kód: [Vybrat]
sudo lshw | grep -i -A9 audio

             description: Audio device
             product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 05
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:52 memory:fe700000-fe703fff

Stran: 1 [2]