zen-sources-2.6.31-r2 with tuxonice

Today I patched the  brand new zen-sources-2.6.31-r2 with tuxonice. Again it required the modified tuxonice patch of my last ebuild.

Suspend to RAM works at least on my Dell Precison M65 as well as suspend to disk does.

Download the zen-sources 2.6.31-zen2 patch here: zen-sources.org. Then apply the patch to vanilla kernel sources. Afterwards download my modified tuxonice patch from here: [download#29]. Then apply it.

For Gentoo users there is a more easy way: Download my modified overlay (including the patches) from [download#33] 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.

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#34]

All Information regarding the iwl3945 driver, the aha152x pcmcia scsi card and cpu undervolting in my last post on zen-sources-toi still apply to this version.

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.31-r1 with tuxonice

Today I patched the  new zen-sources-2.6.31-r1 with tuxonice. This time it was a bit more complicated since the two patches are conflicting. So I modified the tuxonice patch to apply cleanly over the zen-kernel.

Suspend to RAM works at least on my Dell Precison M65 as well as suspend to disk does.

Download the zen-sources 2.6.31-zen1 patch here: zen-sources.org. Then apply the patch to vanilla kernel sources. Afterwards download my modified tuxonice patch from here: [download#29]. Then apply it.

For Gentoo users there is a more easy way: Download my modified overlay (including the patches) from [download#30] 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 occuring with 2.6.30 kernels, discussed at gentoo forums, I had to upgrade to nvidia-drivers-190.18. Most probably this problem persists with 2.6.31. Strangely the issue did only occur on my Precision M65 with a Quadro FX350M. It did 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#31]

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 also own of those old 16 Bit Adaptec pcmcia scsi cards using the aha152x_cs module you might want to enable it also for 64 Bit kernels. It was masked for 64 Bit kernels somewhere before 2.6.13. I was unable to find out the reason for this so I tried to compile the module. When I insert the card, the module loads properly. Since the drive I could test it with, is currently attached to another box and in use, I can´t try it out for the moment. Once I tried I´ll keep you updated.

To enable the driver remove the line

depends on !64BIT

in the config PCMCIA_AHA152X section in /usr/src/linux/drivers/scsi/pcmcia/Kconfig and select the module in menuconfig.

Addon: I tried a SCSI cdrom with this and it works perfectly. I just filed a bug on this on bugzilla.kernel.org and hope for the driver being unmasked for future  64 Bit kernels.

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.

Sadly the iptables mirror target I published here does not work anymore with the 2.6.31 kernel. A newer version will be available soon on mygnu.de.

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-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...

java3d ebuild for gentoo

The java3d ebuilds in the gentoo portage tree are very outdated, and didn’t even work for me anymore. So I wanted to install a newer version of java3d. This resulted in the updated ebuild you can download from here:

[download#22]

I tried the ebuild together with sun-jdk-1.6.0.13 on x86_64 gentoo linux, but it schould also work on i586.

To use it just create the directory structure

mkdir -p /usr/local/portage/dev-java/sun-java3d-bin/

and copy the new ebuild to that directory. Then run

ebuild /usr/local/portage/dev-java/sun-java3d-bin/sun-java3d-bin-1.5.2.ebuild digest

Be sure to include the following line in your /etc/make.conf:

PORTDIR_OVERLAY=”/usr/local/portage”

Then just emerge sun-java3d.

emerge /usr/local/portage/dev-java/sun-java3d-bin/sun-java3d-bin-1.5.2.ebuild

The ebuild creates some symlinks in your VM’s directory, so if you switch the browser plugin or the entire VM you have to reemerge sun-java3d-bin. To have the library ready to use you also have to add the following lines to your /etc/profile:

if [ “$CLASSPATH” = “” ] ; then
CLASSPATH=”/usr/share/sun-java3d-bin/lib/vecmath.jar:/usr/share/sun-java3d-bin/lib/j3dutils.jar:/usr/share/sun-java3d-bin/lib/j3dcore.jar”
else
CLASSPATH=”${CLASSPATH}:/usr/share/sun-java3d-bin/lib/vecmath.jar:/usr/share/sun-java3d-bin/lib/j3dutils.jar:/usr/share/sun-java3d-bin/lib/j3dcore.jar”
fi
export CLASSPATH

if [ “$LD_LIBRARY_PATH” = “” ] ; then
LD_LIBRARY_PATH=”/usr/lib/sun-java3d-bin/”
else
LD_LIBRARY_PATH=”${LD_LIBRARY_PATH}:/usr/lib/sun-java3d-bin/”
fi
export LD_LIBRARY_PATH

To have the changes in effect logout and login again.

If you want to have java3d useable in firefox you have to modify the line:

export LD_LIBRARY_PATH=”/usr/lib64/mozilla-firefox”

in your /usr/bin/firefox to:

export LD_LIBRARY_PATH=”/usr/lib64/mozilla-firefox”:$LD_LIBRARY_PATH

Otherwise you will end up getting unstatisfied link errors since the j3d library cannot be loaded.

Finally you can test if your java3d works on Testseite für Java und Java3D – VS-C. If you are working in a multiheaded environment, this java3d version may only work on the first display. So, if you experience problems just place your browser on the first head.

Have Fun

Jürgen

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

osgocean ebuild for gentoo

I just recognized the osgocean release on the osg mailing-list. Osgocean is a library that one can use to render water effects in a very realistic way. It was used to generate the above and below water effects in the VENUS project. For more information on the osgocean project see: osgocean You can see how realistic it looks if you watch the youtube video below.

It looked very interesting, so I decided to try it out. To do so I wrote two ebuilds, one for osgocean and one for  fftss, the fast fourier transformation library it depends on. Both are available in following archive: [download#21]

Extract the archive to your portage overlay.

# mkdir /usr/local/portage/
# cd /usr/local/portage/
# unzip osgocean_overlay.zip

Be sure that PORTDIR_OVERLAY=”/usr/local/portage” is included in your /etc/make.conf, then you can emerge it:

#emerge osgocean

For this you need to have the OpenSceneGraph library installed. Detailed Instructions on how to build OpenSceneGraph on gentoo can be found on PlopByte.

Since openscenegraph is now in the main portage tree I have updated the ebuild dependencies today (31/08/2009) to either media-gfx/openscenegraph or dev-games/openscenegraph.

Updated ebuild is now available here: [download#42] Just copy it to /usr/local/portage/media-gfx/osgocean/ after extractingosgocean_overlay.zip like described before and run:

ebuild /usr/local/portage/media-gfx/osgocean/osgocean-1.0.1.ebuild digest

Best regards

Jürgen

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

nvidia-drivers-180.60 is working !!!

After I have tested the nvidia-drivers-185.18.08 beta I searched the web for a new one and I found it yesterday on nvnews.net. This version seems to run well on my Dell M4300. For all using Gentoo I  made an ebuild:[download#20]

# mkdir /usr/local/portage/
# cd /usr/local/portage/
# tar -xpvf nv-portage.tar

Be sure that PORTDIR_OVERLAY=”/usr/local/portage” is in your /etc/make.conf, then you can emerge it:
# ACCEPT_KEYWORDS=”~amd64″ emerge =nvidia-drivers-180.60 -1

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

siteinfo

Translator