Asus Eee 1101HA hangs

I have just bought an Asus Eee 1101HA and (after compiling a custom kernel with the correct drivers) it is working almost perfectly. Sometimes the whole system just hung and after a keypress the hung had gone and it was OK for a while until the next hang…

This had been happening in console and under [...]

Posted in: Uncategorized by kakaopor No Comments , , , ,

ORA-19502, ORA-27072 during RMAN restore (Oracle)

I was trying to load database from an RMAN backup (duplicate database until …), and the restore process died after some time, and gave me the following error messages (I have tried it several times, with different backups, these repeated randomly):

ORA-19502: write error on file “/path/to/datafile.dbf”, blockno 1669073 (blocksize=8192)
ORA-27072: File I/O error
Linux Error: 2: No [...]

Posted in: Uncategorized by kakaopor No Comments , ,

Bootsplash patch for Linux kernel 2.6.32

Although the Bootsplash has been superseded by Splashy many of us liked Bootsplash. I was unable to find a patch for 2.6.32, so I made one from the patch for 2.6.30.

http://dev.kakaopor.hu/stuffs/bootsplash-3.1.6a-2.6.32.diff

Posted in: Uncategorized by kakaopor 3 Comments , , ,

I have forgot the password of MySQL’s admin user – how to recover?

If you have accidentaly locked out yourself, or just forgot your password for the admin (root) user of the MySQL, here is a quick-and-dirty solution.

First you have to shut down the MySQL server, next you need to start it in safe mode with no priviliges table loaded, update the password to a new one, and [...]

Posted in: Uncategorized by kakaopor No Comments , , ,

early-ssh updated to v0.2 (for Debian as well:)

I have updated the early-ssh to version 0.2. This includes just a few bugfixes and new features, including scp support.

You can download the new version from http://dev.kakaopor.hu/early-ssh/

Posted in: Uncategorized by kakaopor No Comments , ,

How to unlock crypto root partition in Debian Linux over SSH (and more)

Early-ssh is a simple initramfs-tools hook script which provides an SSH server at boottime (in the initramfs) before the root filesystem gets mounted, so you will be able to do a numerous things, such as:

unlocking crypto devices – even your root can be an encrypted filesystem
assembling/altering mdadm RAID arrays
checking the root filesystem in read-write mode, [...]

Posted in: Uncategorized by kakaopor 3 Comments , ,

Minimal things needed for SSH login on Debian Linux

I was unable to find a place where all these things are collected, so I have decided I will write it down here.

So I am currently working on a little project where I need to have SSH access during the boot (on the initrd system). The following things are needed to create a working – [...]

Posted in: Uncategorized by kakaopor 1 Comment , ,

How to repair an SQLite database

Today I have faced with a crashed SQLite database. Actually, I am not totally sure it was crashed, but the sqlite process had not shut down properly, and (after this) to select anything from it has taken more than an hour, anyway it was damn slow, and has eaten a lot of CPU time, and [...]

Posted in: Uncategorized by kakaopor 1 Comment , ,

Busybox fdisk segmentation fault error

Today I have run into an error with fdisk under busybox. I am currently building a really small system with basic stuffs, and I need to run fdisk in the initramfs. Unfortunately when I try to run fdisk interactively, I get the following error:

fdisk[...]: segfault at 8117dc4 ip 080ff478 sp bffee994 error 7 in fdisk[8048000+df000]
Segmentation [...]

Posted in: Uncategorized by kakaopor No Comments ,

Captchaz – a free captcha generator php class

I have “released” the first version of my own Captcha generator for PHP.

You can download it (for free of course) on these links:

http://dev.kakaopor.hu/captchaz/
http://sourceforge.net/projects/captchaz/

If you have any comments, questions or anything contact me by commenting to this post, or by filling the contact form on the captchaz page.

Have fun with it!

Posted in: Uncategorized by kakaopor No Comments , ,
i
north-supercharged