seahorse-2.22.3 segfaults

After updating my gentoo-linux boxes I recognized enigmail asking for the password multiple times when decrypting a single mail. Some days later, when I rebooted the system gnome did not start anymore.

A quick look into my/var/log/messages showed:

Oct  2 10:50:43 hostname seahorse-agent[419]: segfault at 0 ip 0000000000432fb8 sp 00007fff01ceb150 error 4 in seahorse-agent[400000+50000]
Oct  2 10:50:43 hostname seahorse-agent[419]: init_gpgme: assertion `GPG_IS_OK (err)’ failed
Oct  2 10:50:43 hostname seahorse-agent[419]: seahorse_pgp_source_init: assertion `GPG_IS_OK (err)’ failed
Oct  2 10:50:43 hostname seahorse-agent[419]: unsupported key server uri scheme: ldap

So I suspected seahorse to be responsible for this missbehaviour. When searching the net for the problem I found the corresponding bug entry on bugs.gentoo.org. The problem was caused by some changes in gpgme-1.2.0.  The patch from there solved the problem for me. After reemerging seahorse and rebooting the system gnome did start again and enigmail worked properly.

You may download the ebuild I used from here: [download#28]

Extract the archive in /usr/local/portage. Be sure to include the following line in your /etc/make.conf:

PORTDIR_OVERLAY=”/usr/local/portage”

Then emerge seahorse again and reboot.

regards

Jürgen

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Linux-Kernel 2.6.31 released

From Linus:

Ok, there’s just a few final commits since -rc9 to fix a couple of last regressions and problems, and now the final 2.6.31 is out there. The small diffstat and shortlog is below, the full log and diff from 2.6.30 are being uploaded to kernel.org (and then mirrored out) as I write this. In general, the full set of 2.6.30->31 changes are too numerous to list, but as usual, you’ll find some high-level overviews on kernelnewbies.org. read more

We will inform you if zen-sources are avaiable and running.

LG xexplorer

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

zen-sources-2.6.30-r4 with tuxonice

Today I patched the brand new zen-sources-2.6.30-r4 with tuxonice. This was necessary since I need tuxonice on my notebook for suspend modes and tuxonice has been removed permanently from zen-sources. Suspend to RAM works at least on my Dell Precison M65 as well as suspend to disk does.

I recommend using this version over using the r3-version, because it fixes the root exploit vulnerability mentioned on www.linux-magazine.com.

Download the zen-sources 2.6.30-zen4 patch here: zen-sources.org Then apply the patch to vanilla kernel sources. Afterwards download the tuxonice patch from http://www.tuxonice.net/downloads/all/current-tuxonice-for-2.6.30.patch-20090620-v1.bz2 and apply it.

For Gentoo users there is a more easy way:

Download my modified overlay (including the patches) from [download#26] and extract it in /usr/local/portage. Be sure to include the following line in your /etc/make.conf:

PORTDIR_OVERLAY="/usr/local/portage"

Then emerge zen-sources-toi and buld the kernel as you wish.

To work around the black screen problem with some nvidia-drivers versions, discussed at gentoo forums, I had to upgrade to nvidia-drivers-190.18. Strangely the issue does only occur on my Precision M65 with a Quadro FX350M. It does not occur with the Quadro FX3400 in my Desktop PC, Nvidia-drivers-185.18.31 are running there without any problems.

Tuxonice is not officially supported in zen-sources. So If you’re using the files above, don’t report any bugs to zen-sources.org. You are on your own.

For my Precision M65 I used the following kernel config: [download#27]

If you want to use all channels with the iwl3945 driver change the line

static char *ieee80211_regdom = “US”;

to

static char *ieee80211_regdom = “JP”;

in the file net/wireless/reg.c.

If you are using this kernel on a notebook with i.e. a Core2 CPU you might be interesting to undervolt your CPU to save power and to produce less heat (keeps the fan off longer).  This works like a charm on my M65. Information on this topic can be found here: aldeby.org. The linux-pch patch mentioned there is already included in zen-sources, thus you only have to perform the userspace part begnning at (3).

For image compression in tuxonice include

Compressor lzo

in your suspend2.conf file.

For more information on the zen-sources patchset see www.zen-sources.org.

best regards

Jürgen

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

zen-sources-2.6.30-r3 with tuxonice

Today I managed to patch the brand new zen-sources-2.6.30-r3 with tuxonice. This was necessary since I need tuxonice on my notebook for suspend modes and tuxonice has been removed permanently from zen-sources. Suspend to RAM works at least on my Dell Precison M65 as well as suspend to disk does.

Download the zen-sources 2.6.30-zen3 patch here: zen-sources.org Then apply the patch to the vanilla kernel sources available from kernel.org. Afterwards download the tuxonice patch from http://www.tuxonice.net/downloads/all/current-tuxonice-for-2.6.30.patch-20090620-v1.bz2 and apply it to the kernel sources with the zen patchset already applied.

For Gentoo users there is a more easy way:

Download my modified overlay  (including the patches) from [download#24] and extract it in /usr/local/portage. Be sure to include the following line in your /etc/make.conf:

PORTDIR_OVERLAY="/usr/local/portage"

Then emerge zen-sources-toi and continue with building the kernel as you wish.

To work around the black screen problem with some nvidia-drivers versions, discussed at gentoo forums, I had to upgrade to nvidia-drivers-190.18. Strangely the issue does only occur on my Precision M65 with a Quadro FX350M. It does not occur with the Quadro FX3400 in my Desktop PC, Nvidia-drivers-185.18.31 are running there without any problems.

Tuxonice is not officially supported in zen-sources. So If you’re using the files above, don’t report any bugs to zen-sources.org. You are on your own.

For my Precision M65 I used the following kernel config: [download#25]

If you want to use all channels with the iwl3945 driver change the line

static char *ieee80211_regdom = “US”;

to

static char *ieee80211_regdom = “JP”;

in the file net/wireless/reg.c.

For more information on the zen-sources patchset see www.zen-sources.org.

best regards

Jürgen

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

ImportError: No module named layman.config

Today, when I tried to sync the portage overlays on my gentoo linux boxes, I got the error:

ImportError: No module named layman.config

The recent update from python-2.5 to python-2.6 has broken several applications. This issue was solved by running python-updater, which re-emerges all broken python packages. Besides from layman not working, the python upgrade may cause several other problems in portage and in the whole system. Thus just be sure to run python-updater after the python-upgrade.

Jürgen

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Java encoding

For one of our projects I had to write a simple program, for importing items into our online store (watercoolshop.de). When I finished the coding everything seemed to run smooth, but only on Windows. Afterwards I tested the program on my linux box and it did not work.

After checking all files I found out that the encoding of the files was wrong for importing into our shop. With the help of google and some other sites the problem was solved. I had to use ISO-8859-1 for all files, because the core data is 8859.

To read a file I use the following code now:

BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream(),”ISO-8859-1″));

and to write:

Writer bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fileName), “ISO-8859-1”));

I hope this will help someone who has a similar problem.

Thorsten

References:

java.ittoolbox.com

www.schoenitzer.de

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

util-vserver-0.30.216_pre2841 vserver startup fails

A while ago during regular upgrades my gentoo box serving as test environment for vservers updated to util-vserver-0.30.216_pre2841. Some weeks later, when I restarted the box I recognized that it could not start any vserver:

# vserver ubuntu start
vcontext: pivot_root(): Invalid argument

An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
(/etc/init.d/rc 3) failed.

Common causes are:
* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the ‘apt-rpm’ build
method knows how to deal with this, but on existing installations,
appending ‘true’ to this file will help.

The box is running vserver-sources kernel 2.6.28-vs2.3.0.36.4-gentoo #2 SMP.

Since I did not find any useful information regarding his error in the web I tried downgrading to util-vserver-0.30.215-r3. For gentoo users this is accomplished by including

>sys-cluster/util-vserver-0.30.215-r3

in /etc/portage/package.mask. Afterwards everything reverted to normality.

If you also experience the “pivot_root(): Invalid argument” error, try downgrading util-vserver and hope for the best 😉

regards

Jürgen

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

siteinfo

Translator