Posts by cbredi.

Exactly what I wanted to see on a production server…

RHEL 6.1 / Scientific Linux 6.1 dmesg:

TECH PREVIEW: fscache may not be fully supported.
Please review provided documentation for limitations.
FS-Cache: Loaded
FS-Cache: Netfs 'nfs' registered for caching

Excerpt from RHEL 6.1 Technical Notes, Chapter 3. Technology Previews:

FS-Cache
FS-Cache is a new feature in Red Hat Enterprise Linux 6 that enables networked file systems (e.g. NFS) to have a persistent cache of data on the client machine.

… and nothing about the limitations or how to disable fscache.

Tried to add install fscache /bin/true to /etc/modprobe.d/fscache.conf with the following dmesg result (of course, no NFS filesystems mounted):

nfs: Unknown symbol __fscache_read_or_alloc_pages
nfs: Unknown symbol __fscache_relinquish_cookie
nfs: Unknown symbol __fscache_unregister_netfs
nfs: Unknown symbol __fscache_maybe_release_page
nfs: Unknown symbol __fscache_read_or_alloc_page
nfs: Unknown symbol __fscache_uncache_page
nfs: Unknown symbol __fscache_register_netfs
nfs: Unknown symbol __fscache_write_page
nfs: Unknown symbol __fscache_wait_on_page_write
nfs: Unknown symbol __fscache_acquire_cookie
nfs: Unknown symbol __fscache_read_or_alloc_pages
nfs: Unknown symbol __fscache_relinquish_cookie
nfs: Unknown symbol __fscache_unregister_netfs
nfs: Unknown symbol __fscache_maybe_release_page
nfs: Unknown symbol __fscache_read_or_alloc_page
nfs: Unknown symbol __fscache_uncache_page
nfs: Unknown symbol __fscache_register_netfs
nfs: Unknown symbol __fscache_write_page
nfs: Unknown symbol __fscache_wait_on_page_write
nfs: Unknown symbol __fscache_acquire_cookie

How to convert CentOS 6.0 to Scientific Linux 6.x

Install the Scientific Linux 6.x yum repositories:
rpm -ivh http://ftp.scientificlinux.org/linux/scientific/6x/i386/os/Packages/yum-conf-sl6x-1-1.noarch.rpm

Install the required GPG keys:
– for i386 arch:
rpm -ivh --force http://ftp.scientificlinux.org/linux/scientific/6x/i386/os/Packages/sl-release-6.1-2.i686.rpm

OR

– for x86_64 arch:
rpm -ivh --force http://ftp.scientificlinux.org/linux/scientific/6x/x86_64/os/Packages/sl-release-6.1-2.x86_64.rpm

Update from CentOS 6.0 to Scientific Linux 6.x using yum:
yum clean all
yum update

Remove some old packages:
rpm -e centos-release
rpm -e yum-plugin-fastestmirror

Reboot and enjoy!

iPad iOS 4.3 App Store Updates date bug

After iPad (first generation) iOS 4.3 update, the App Store displays wrong release dates for updated applications, as can be seen in the captured image:

Wrong date: 29 October 2009, although the application update was released on 16 March 2011.

The App Store shows correct update date on my iPhone also running iOS 4.3:

Update: The issue is still not fixed in iOS 4.3.1, at least on my iPad.

Update 2: Issue still present in iOS 4.3.2

Update 3: Issue still present in iOS 4.3.3

Update 4: Issue still present on my iPad 2 in iOS 4.3.4, appears to be fixed on iPhone 4 iOS 4.3.4

Update 5: Issue still present on my iPad 2 in iOS 4.3.5

Update 6: Issue still present on my iPad 2 in iOS 5.0

How to improve your website speed in four easy steps

It’s fairly easy to improve your AMP (Apache, MySQL, PHP) website speed:

1. Enable HTTP KeepAlives and persistent connections

2. Enable server-side output compression

3. Enable MySQL query caching

4. Install a PHP accelerator and optimizer

More… »

The first romanian Android tablet – AllDro

The romanian company Visual Fan through its AllView brand offers their first 3G dual SIM phone – the AllView Q1 GET. It comes with a 2.4″ screen, QWERTY keyboard, 3G / EDGE / GPRS (unlocked), Wi-Fi, Bluetooth, Push e-mail from Mobiquus and Bolt web browser. The price is about € 120 / $ 170.

The big news is they launched the first romanian Android tablet – the AllView AllDro which comes with a 7″ TFT display (800 x 480) , 2 or 4 GB memory (expandable up to 32 GB), 800 MHz processor, mini-USB port, Wi-Fi, HDMI output, 3400 mAh battery all for the price under € 170 / $ 240.

Good luck Nokia

After Nokia and Microsoft partnership was announced and Nokia dropping Symbian in favor of Windows Mobile, looking back at all Nokia phones I have owned in time and compiled this list:

Nokia 3210
Nokia 6210
Nokia 6310i
Nokia 6630
Nokia 6680
Nokia 6021
Nokia E70
Nokia E51
Nokia 3120 classic

Good luck Nokia!

ldd equivalent under Mac OS X

You can use the object file displaying tool – otool. The ldd equivalent otool parameter is -L:

-L print shared libraries used

Example:
$ otool -L ~/bin/wget
/Users/cbredi/bin/wget:
/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)

If you do not have the otool command, make sure Xcode is properly installed.