Archivio

Archive for the ‘Ubuntu’ Category

ATI Linux Proprietary Driver – Catalyst 9.8 RELEASED

agosto 24, 2009 Lascia un commento

It is available for download here (64 bit platform).

Updated instructions for Ubuntu installation  are as always here.

((enjoy))

Ubuntu Jaunty on HP EliteBook 8530p – All Issues Solved!

giugno 17, 2009 Lascia un commento

All the issues described in my previous post about Ubuntu Jaunty (64 bit) upgrade have been solved! Yeppa!

  1. ATI Video CardWORKS. The ATI Catalyst driver 9.6 and 9.5 work fine. You can read more about it here. Download the source of the driver from the ATI site  and follow the instructions for building the Debian packages. With the 9.5 driver it was mandatory to use “aticonfig –acpi-services=off” (read about it here). While waiting the release of the new ATI driver I’ve successfully configured the radeonhd driver 1.2.5 from this PPA and following the instructions from x.org here. You will have to rebuild the drm module for the current kernel (beware of kernel updates). Unfortunately the OpenSource driver does not support 3D acceleration yet.
  2. Garbaged Printing with some black squares. It seems an issue of foomatic-db-engine. I think that there isn’t an official fix for this, currenty there is only a workaround here (see comment #84 from Till Kamppeter). Download the pdftops filter and replace your current /usr/lib/cups/filter/pdftops from the cups packaage.
  3. Battery duration. Now the uptime on battery is back to more than 3 hours like on 8.10. The problem is that the radeonhd driver is not able to optimize the ATI card for battery duration like the fglrx does. With the radeonhd driver there the Thermal Zone 2 always between 55 and 62 degrees (look at it with “acpi -t”), while with the fglrx driver it stays at 44-45. The strange thing is that even without X running the video card is heating, I suppose a BIOS issue.

So now I can enjoy all the Jaunty wonders! 🙂 New notifications, faster boot and shutdown, a reliable suspend/resume.

((enjoy))

Upgrading from Ubuntu 8.10 to 9.04 on my HP EliteBook 8530p

maggio 6, 2009 1 commento

Here is a report of my upgrade from Ubuntu 8.10 to 9.04 on my HP EliteBook 8530p (model number FU617AW).

The upgrade process went smooth in almost 1 hour of time. There were about 1200 packages to upgrade for about 900MB of download.

Here is a quick report about problems encountered after reboot:

  1. ATI Video Card NOT WORKING. The laptop has an ATI HD 3650 (R600 chipset). The fglrx ATI driver is not working with the latest x.org version 1.6 provided by Jaunty. At this time this is not yet resolved, I’ve filed a but on the ATI site. The bad thing is that the fglrx driver makes my machine crash, I get a black screen of death when X fires up. I’m sure that there is a Kernel Panic but I was not able to catch any info (I’ve no console on serial…).The only work around for now is to use the free ATI driver provided by xorg, even if with this type of video card 3D acceleration is not working. So the performance compared to 8.10 are really worse for the moment.
  2. Trackerd Corrupted Index. After logging in, I got several pop-up message from tracker about “Tracker Index Corrupted”. This is a know bug (see Bug #346912 for example) and the only workaround is to remove the contents of ~/.cache/tracker and of ~./.local/share/tracker/data and to restart trackerd. It will re-build all the indexes and will work fine.
  3. Garbaged Printing with some black squares. There is some problem in ghostscript or foomatiq filtering which leads to have some letters substituted with black squares. This is a known problem (see Bug #361772) and I did not get a solution yet.
  4. Reduced Battery life. I’ve the impression that the battery duration is significantly less compared to 8.10. When switching to battery (from fully charged), the estimated duration dropped to about 2 hours from 3 hours with 8.10. I still have to investigate the reason.

So, if you are in doubt about upgrading or not, be warned of these problems. I will try to update this post whenever I’ll get the solutions.

((enjoy))

SVN LDAP Authentication on Apache

aprile 14, 2009 Lascia un commento

Thanks to this link I’ve successfully implemented the LDAP Authentication against a Microsoft Active Directory LDAP for Subversion Access via Apache2.

Thanks to the power and flexibility of Apache the configuration is really straightforward.

Install and configure Apache to serve the URL of the repository you want, for example https://svn.mydomain.com/ (SSL is preferable to clear text http).

Enable the DAV modules and the authnz_ldap extension.

Create an account in your AD to get access to the Directory (in this example ldap.svn). Create a Group in your AD (in this example SVNAllowed) where place the SVN-enabled users.

Add to the configuration of the Virtual Host this block:

<Location "/">
LDAP Auth
AuthBasicProvider ldap
AuthType Basic
AuthzLDAPAuthoritative off
AuthName "My SVN Repository"
AuthLDAPURL "ldap://dc.mycompany.com:389/DC=mycompany,DC=com?sAMAccountName?sub?(objectClass=*)" NONE
AuthLDAPBindDN "ldap.svn@mycompany.com"
AuthLDAPBindPassword XXXXXXXXXXXXXXXXXX
require valid-user
</Location>


<Location /svn>
DAV svn
SVNParentPath /svn
SVNListParentPath On


# Check if the user is in this LDAP Group:
require ldap-group CN=SVNAllowed,CN=Users,DC=mycompany,DC=com
</Location>

And you are done!

Now every access to https://svn.mycompany.com/ will be authenticated against the AD backend. Access to https://svn.mycompany.com/svn/YourProject will be accessible only by the users in the group SVNAllowed.

You can also define fine-grained access to some repository (not included in this example).

Beware that Apache’ mod_ldap will cache the user credentials for a default value of 600 seconds. See the manual page of the module for more options.

((enjoy))

Ubuntu 8.10 on HP EliteBook 8530p

febbraio 24, 2009 2 commenti

Back to posting some useful stuff with my new PC, an HP EliteBook 8530p (model number FU617AW).

Ubuntu 8.10 64 bit is working like a charm on it.

My configuration is the following:

  1. Intel(R) Core(TM)2 Duo CPU     T9400  @ 2.53GHz
  2. 4 GB of DDR2 RAM
  3. 250GB SATA HDD at 7200 RPM (the model from hdparm -i is ST9250421AS)
  4. Screen 15.4” WXGA & WSXGA+ Widescreen
  5. ATI Mobility Radeon HD 3650
  6. Ethernet, 802.11abgn. Bluetooth

The only small quirks are the following:

– in the BIOS you *MUST*  switch off “Fan Always on while on AC Power”, otherwise the kernel will not boot. Upgrade to the latest firmware version F.06.

– to make work Skype I followed this excellent guide. The configuration of the Sound Device is: Sound in=HDA Intel, Sound Out=pulse,Ringing=pulse

– VMware Workstation 6.5 64 bit works very fine, be sure to invoke “vmware-modconfig –console –install-all” if you upgrade the kernel. Besides, put this line “xkeymap.nokeycodeMap = true” in your ~/.vmware/config file to make work the keyboard inside the VM in Windows XP.

– if you experience annoying Video flickering while playing videos with Totem or VLC, run “gstreamer-properties” from a shell, and in the Video Tab select  ‘X Window System (No Xv)’ for the Default Output Plugin, click Test and all should be well.

I’ll update this post for any relevant news.

((enjoy))

VMware Tools and Linux Kernel 2.6.24

giugno 20, 2008 Lascia un commento

It seems that from Linux Kernel version 2.6.24 the standard VMware Tools shipped with VMware ESX 3.5 (at least) do not compile.

It is necessary to download the Open Virtual Machine Tools and to make the following trick:

# tar -xzf open-vm-tools-*/modules/linux
#  cd open-vm-tools-*/modules/linux
#  modsrc="/usr/lib/vmware-tools/modules/source"
#  for x in `ls -d v*`
#  do
>     mv $x ${x}-only
>     tar -cf $x.tar ${x}-only
>     mv ${x}-only $x
>     mv $modsrc/$x.tar $modsrc/$x.tar.orig
>     mv $x.tar $modsrc
>  done

# vmware-config-tools.pl

Running vmware-config-tools.pl should compile all the modules without any warning.
It works fine at least with ESX 3.5.1 update1 (build 82663).
I’ve tested it with Ubuntu Server 8.04, kernel 2.6.24-19-server.

Original source is: http://www.astroarch.com/wiki/index.php/VMware_Tools

Enjoy!