Pages: Prev 1 2 3 4 5 6 7 8 9 10 Next
CPU vs GPU. MythBuster's approach.

Adam Savage and Jamie Hyneman used their MythBuster's approach to demonstrate the difference between CPU and GPU at Nvision 08.

[read more...]



SqueezeCenter again. Testing v7.3

SqueezeCenter 7.2 is officially out and not interesting anymore ;-) Let's have a look at version 7.3 which has a new streaming service. In this test I downloaded SqueezeCenter-7.3-22975.ZIP from here.

The first attempt to start the server (after unpacking and "chmod"-ding) gave me this error:

# ./slimserver.pl
The following modules failed to load: YAML::Syck

To download and compile them, please run: /usr/local/SqueezeCenter-7.3-22975/Bin/build-perl-modules.pl YAML::Syck

Exiting..

The "built-in" build-perl-modules.pl failed to install the CPAN module:

# /usr/local/SqueezeCenter-7.3-22975/Bin/build-perl-modules.pl YAML::Syck
Welcome to the Slim Devices perl module installer.

These packages are needed for SqueezeCenter to function.
You will need a C compiler (gcc), make, and perl installed.

You will need development libraries for MySQL. eg: libmysqlclient

You will need development libraries for expat. eg: libexpat1-dev

*** Ignore any warnings about AppConfig. ***

Please enter a perl binary to use (defaults to /usr/bin/perl)
This must be the same perl binary that you ran this program with –>
Please enter a directory to download files to –>
Downloads will use lwp to fetch tarballs.

Downloading YAML-Syck-0.64.tar.gz to: /usr/local/SqueezeCenter-7.3-22975
Something looks wrong – I couldn't read /usr/local/SqueezeCenter-7.3-22975/YAML-Syck-0.64.tar.gz, which I just downloaded.
Uncompressing..
sh: YAML-Syck-0.64.tar.gz: cannot open
tar: blocksize = 0
Couldn't change to YAML-Syck-0.64 : No such file or directory at /usr/local/SqueezeCenter-7.3-22975/Bin/build-perl-modules.pl line 226, line 2.

So, I decided to go the old way and get rid of the supplied with SqueezeCenter CPAN directory.

# mv CPAN CPAN-orig

… update YAML::Syck just in case…

# perl -MCPAN -e shell
. . .
cpan[1]> install YAML::Syck
YAML::Syck is up to date (1.05).
#

… and start the server again …

# ./slimserver.pl
Can't locate Encode/Detect/Detector.pm in @INC (@INC contains: /usr/local/SqueezeCenter-7.3-22975/CPAN/arch/5.8/i86pc-solaris-64int /opt/csw/SqueezeCenter-7.3-22975/CPAN/arch/5.8/i86pc-solaris-64int/auto /usr/local/SqueezeCenter-7.3-22975/CPAN/arch/5.8.4/i86pc-solaris-64int /usr/local/SqueezeCenter-7.3-22975/CPAN/arch/5.8.4/i86pc-solaris-64int/auto /usr/local/SqueezeCenter-7.3-22975/CPAN/arch/5.8/i86pc-solaris-64int /usr/local/SqueezeCenter-7.3-22975/CPAN/arch/5.8/i86pc-solaris-64int/auto /usr/local/SqueezeCenter-7.3-22975/CPAN/arch/i86pc-solaris-64int /usr/local/SqueezeCenter-7.3-22975/lib /usr/local/SqueezeCenter-7.3-22975/CPAN /usr/local/SqueezeCenter-7.3-22975 /usr/local/SqueezeCenter-7.3-22975 /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at /usr/local/SqueezeCenter-7.3-22975/Slim/Utils/Unicode.pm line 40.
BEGIN failed–compilation aborted at /usr/local/SqueezeCenter-7.3-22975/Slim/Utils/Unicode.pm line 40.
Compilation failed in require at /usr/local/SqueezeCenter-7.3-22975/Slim/Utils/Prefs/Namespace.pm line 30.
BEGIN failed–compilation aborted at /usr/local/SqueezeCenter-7.3-22975/Slim/Utils/Prefs/Namespace.pm line 30.
Compilation failed in require at /usr/local/SqueezeCenter-7.3-22975/Slim/Utils/Prefs.pm line 81.
BEGIN failed–compilation aborted at /usr/local/SqueezeCenter-7.3-22975/Slim/Utils/Prefs.pm line 81.
Compilation failed in require at /usr/local/slimserver/slimserver.pl line 146.
BEGIN failed–compilation aborted at /usr/local/slimserver/slimserver.pl line 146.

This error looks familiar. And after commenting line 40 in SqueezeCenter-7.3-22975/Slim/Utils/Unicode.pm (#use Encode::Detect::Detector; ) the server came alive and immediately updated the firmware of the Transporter to version 62.



Software HDCD decoder

http://www.srcf.ucam.org/~cjk32/hdcd/

According to the discussion  (here) the following command should work:

hdcd.exe < 16bit.wav > 24bit.wav
or
flac -d -c hdcd_orig_16bit.flac | hdcd | flac -5 -f – -o decoded_24bit.flac


Solaris, Wine and Xorg extensions

Wine 1.1.3 is out! Let's see hot it compiles on Solaris snv_95 (Solaris 11 build 95).
[read more...]



IOAT fatal failures

See I/OAT description here.

Solaris (at least snv_93 and and snv_95) panics if large amount of traffic is sent across the interface dedicated to a zone with exclusive TCP/IP stack. For example, start Firefox and forward the X traffic to the global zone.
[read more...]



Intel I/O Acceleration Technology

http://www.intel.com/technology/ioacceleration/

Intel® I/O Acceleration Technology (Intel® I/OAT) accelerates TCP/IP processing and reduces CPU  overhead. It scales up to eight GbE and 10 10GbE ports and supported on dual- or quad-core Xeon architecture.

[read more...]



Troubleshooting SmartMenus

If SmartMenus submenus are not shown and the error console shows you the following error:

o is undefined line 16
in /smartmenus/c_smartmenus.js

Most likely the slash is missing in a closing tag (e.g. in </li> ) in the menu file.



WordPress upgrade

WordPress has been successfully upgraded to the latest version – 2.6



"Completing post install setup"

If after entering username/password you see a small window (with a going back and forth blue "slider") saying:

"Completing post install setup"

most likely svc:/system/postrun/default service is not running.

Check the status:

# svcs -vx postrun

and enable it if it's disabled (for example, after a system upgrade)

# svcadm enable postrun

Related system packages:

# pkginfo | fgrep postrun
GNOME2 SUNWpostrun Delayed execution environment for procedural package scripts
GNOME2 SUNWpostrun-root Delayed execution environment for procedural package scripts – / filesystem


Solaris and ATA and SCSI errors

After upgrading from snv_88 to snv_92 (Solaris 11 or Nevada b92) my home server started spewing the following errors:

[read more...]



Pages: Prev 1 2 3 4 5 6 7 8 9 10 Next