Ubuntu Jaunty: ATI Radeon HD 2400 XT working in dual head with compiz! (Catalyst 9.7)

1 – Compile and install driver:
Source: http://wiki.cchtml.com/

sudo aptitude install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms

sh ati-driver-installer-9-7-x86.x86_64.run --buildpkg Ubuntu/jaunty

sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source_*.deb fglrx-amdcccle_*.deb

2 – Generate base xorg.conf:

sudo aticonfig --initial=dual-head

sudo aticonfig --dtop=horizontal

Note: you can do “dpkg-reconfigure xserver-xorg” to reset you xorg.conf to default values.

3 – Log out and log in to use the new xorg.conf

4 – Activate multi-screen & compiz:

Source: http://www.uluga.ubuntuforums.org/showthread.php?p=7552538

Start ATI Catalyst Control Center as root:

sudo amdcccle

Now, go in Display Manager -> Multi-Display -> Big Desktop right fo display 1

Then start compiz: System -> Preferences -> Appearence -> Visual Effects

FreeBSD: lighttpd + php5 + fastcgi

mkdir /var/log/lighttpd.access.log
mkdir /var/log/lighttpd.error.log
chown www:www /var/log/lighttpd.access.log
chown www:www /var/log/lighttpd.error.log

http://redmine.lighttpd.net/boards/2/topics/144

mkdir /var/run/lighttpd/
and chown it to the user you configured in lighttpd

My FreeNAS/FreeBSD configuration on D945GCLF2 / Atom 330 VS “panic spin lock held too long”

UPDATE 2010-05-20
I am now running 0.7.1 Shere (revision 5127) since 1 month with Hyperthreading enabled and I had no issue. It seems to be fixed.

UPDATE 2009-09-03
Still running without any issues 🙂

UPDATE 2009-08-01

Re-installed FreeNAS this weekend and the problem didn’t come back!
Disabling Hyperthreading fixed it!

UPDATE 2009-07-26

Disabling Hyperthreading in the Bios seems to do the trick, I haven’t yet got the error again, I am crossing my fingers.

UPDATE 2009-07-21

Now I am trying to disable Hyperthreading to see if my problem will go away, stay tuned.

ORIGINAL POST

I had some “panic spin lock held too long” problem, my FreeNAS box was freezing without any reasons.

Here’s what I did:

  1. Resetted the Bios to default settings (I had turned OFF many things before)
  2. Installed using full install amd64 (I was using an embedded install before)
  3. System -> Advanced -> activated Power Daemon
  4. Network -> LAN -> activated Device Polling
  5. Network -> LAN -> Type 1000baseTX / Full-Duplex

And since then no more “panic spin lock held too long”.

Unfortunately, the problem came back 🙁 It seems to be related to when I leave mounted shares on my Ubuntu dektop for a long period without activity. I re-installed my NAS directly with FreeBSD/Samba and the same problem happened again.

Interesting feed: http://lists.freebsd.org/pipermail/freebsd-stable/2009-July/thread.html#51019

Ubuntu Jaunty: ATI Radeon HD 2400 XT working in dual head (Catalyst 9.6)

1 – Compile and install driver:
Source: http://wiki.cchtml.com/

sudo aptitude install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms

sh ati-driver-installer-9-6-x86.x86_64.run --buildpkg Ubuntu/jaunty

# i386
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source_*.deb fglrx-amdcccle_*.deb

# AMD64
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source_*.deb fglrx-amdcccle_*.deb

2 – Generate xorg.conf:

sudo aticonfig --initial=dual-head --screen-layout=right

sudo aticonfig --dtop=horizontal --overlay-on=1

sudo aticonfig --xinerama=on

Note: you can do “dpkg-reconfigure xserver-xorg” to reset you xorg.conf to default values.

3 – Bug workaround:
Source: http://jen3ral.wordpress.com/

  1. Login to a tty (ctrl+alt F1) and type sudo killall gdm.
  2. Type sudo nano (or gedit, whichever you prefer) /etc/ati/amdpcsdb to edit the file. Go to the [AMDPCSROOT/SYSTEM/DDX] section and add:
    EnableRandR12=Sfalse.
  3. Type this into a terminal, sudo nano (or gedit) /etc/X11/xorg.conf, to open the xorg.conf file.
  4. Under the “Device” section add these options on separate lines:
    Option "EnableRandR12" "false"
    Option "DesktopSetup" "horizontal"
  5. Now just restart your computer and it should be good to go.

Compiz still not working…

Linux delete/reset old eth0 network card

rules

When you add a new network card in your linux box and remove the old one, the new card will be named eth1. If you want to change it back to eth0, you can edit the file “70-persistent-net.rules” to remove the old eth0 card line and also remove the new eth1 line:

vi /etc/udev/rules.d/70-persistent-net.rules

Then you just need to reboot and the file will be updated with the new network card as eth0.

Windows Backup using rsync and DeltaCopy

newrsynclogo

Use DeltaCopy (as rsync server) on the Windows box:

http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

You’ll need to open port TCT/873 in your windows firewall.

Note: To fix the accentuated characters issue in the filenames, you can replace the “Cygwin1.dll” in the DeltaCopy directory by a UTF-8 compliant Cygwin dll (http://www.okisoft.co.jp/esc/utf8-cygwin/). Then restart the service or reboot.

And here’s my bash script running on my Linux box (all the files are in a “backup-tools” directory):

[bash]#!/bin/bash

passwdfile=~ACCOUNT/backup-tools/passwd
excludefile=~ACCOUNT/backup-tools/exclude
options="–delete-after –recursive –exclude-from=$excludefile –human-readable –stats –times"

# This gives a bored user something to watch
if [ "$1" = "–progress" ];
then
options="$options –progress"
fi

echo "–starting–"

rsync OPTIONNALUSERNAME@SEVERADDRESS::DELTACOPYMODULENAME /WHERETOBACKUP –password-file=$passwdfile $options

echo "–done–"[/bash]

Then I run it daily in the crontab (command “crontab -e”):

@daily ~ACCOUNT/backup-tools/rsync.sh | mail ACCOUNT -s "daily rsync result"

Ref: http://dailycupoftech.com/windows-backup-with-rsync-and-freenas/