v1
Specification
- motherboard: ASUS P5G41-M LE/CSM LGA 775 Intel G41 Micro ATX Intel Motherboard 65$ newegg (processeurs supportés)
- case: Antec Black Aluminum / Steel Fusion Remote Black Micro ATX Media Center / HTPC Case 150$ newegg, includes "GD01 MX LCD Display/IR Receiver"
- CPU: Intel Pentium Dual-Core E6500 Wolfdale 2.93GHz 2MB L2 Cache LGA 775 65W Dual-Core Processor 80$ newegg (Bonne explication des différents modèles de cores intel)
- Memory: 8GB ram (2x4GB DDR2 667MHz, 1.5ns)
- Network: AR8114 Gigabit ethernet
- Storage, internal:
- 500GB Samsung SSD 850
- 4TB Seagate HDD ST4000DM000-1F21 5900RPM 3.5"
- DVD reader/writer (A DH16A1P, broken)
- Storage, external:
- 3TB Western Digital "My Book" 1230 USB-3
- USB Bluetooth receiver
- cost: 350$CAD on 2011-02-26, not counting storage, BT and memory
Hardware maintenance
There's a nasty lcd here, see lcd for how to configure it.
See backup for backup and drive replacement procedures.
Screen lockup
Sometimes, Xorg would totally lockup with something like:
[drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
This seems to be a bug in the intel driver, reported in a few places:
- https://bugs.freedesktop.org/show_bug.cgi?id=82612
- http://askubuntu.com/questions/605259/lockups-in-x-session-sth-to-do-with-stuck-pageflips
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342
- https://bugs.launchpad.net/ubuntu/+source/linux-lts-utopic/+bug/1572869
- a lot more results: https://www.startpage.com/do/dsearch?query=%5Bdrm%3Aintel_pipe_set_base%5D+ERROR+pipe+is+still+busy+with+an+old+pageflip
I tried to upgrade the libdrm-intel1 package:
Start-Date: 2016-08-17 13:23:50
Commandline: apt install -t jessie-backports libdrm-intel1
Install: libdrm-amdgpu1:amd64 (2.4.70-1~bpo8+1, automatic)
Upgrade: libdrm-intel1:amd64 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm-intel1:i386 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm-dev:amd64 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm-radeon1:amd64 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm-radeon1:i386 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm-nouveau2:amd64 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm-nouveau2:i386 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm2:amd64 (2.4.58-2, 2.4.70-1~bpo8+1), libdrm2:i386 (2.4.58-2, 2.4.70-1~bpo8+1)
End-Date: 2016-08-17 13:24:01
It seems to stabilise things, but I'll wait for a while before claiming victory. In august 2015, there was a 94 days uptime. Since then uptime hasn't gone beyond 30-40 days. Once we cross that boundary, we can consider this issue fixed.
Update: in october 2016, the problem was still there. I tried
upgrading the xserver-xorg-video-intel
, we'll see how it goes.
Update: still deadlocks. december 2017, tried upgrading the kernel to backports.
Initial configuration
Software setup checklist
Those were the steps taken to migrate from the old server (marvin) to this new hardware.
Mon incarnation home-made du FreedomBox. This is DONE! I'm going to try to clarify the steps when I rebuild something like this for death church... -- TheAnarcat 2011-03-18T19:17:21-0400
Phase I: media center
- install debian squeeze (./)
- install required software (./) (made a tasksel for it in my ~/bin to fix this once and for all)
- backup enclosure (./)
- static IP (./)
- configure postfix outgoing mails (./)
- configure rtorrent - cp config, (./) separate user (./) fix port forwarding (./)
- configure mpd - cp config (./) random startup scripts (./) fix port forwarding (./)
- rsync enclosure (./)
- umount enclosure on marvin (./)
- let array sync (./)
remove array- configure xbmc - separate user (./)
cp config(this solves the "escape crash" bug) fix performance problems (./) . there's a problem with the "nouveau" driver + xbmc, which relies on 3D/OpenGL (it's slow as hell) . I tried with the nvidia driver (apt-get install nvidia-kernel-$(uname -r) nvidia-glx) but then that guy can't do 1440x900, let alone dual screen . seems like I hate nvidia and i will kill it, see those instructions/status:- http://wiki.debian.org/NvidiaGraphicsDrivers
- http://nouveau.freedesktop.org/wiki/
- http://nouveau.freedesktop.org/wiki/FeatureMatrix
- http://nouveau.freedesktop.org/wiki/CodeNames#NV10
- https://bugzilla.redhat.com/show_bug.cgi?id=586748
- (!) we're going to go with Intel hardware instead, this is taking too long and I expect the other hardware to be better compatible with free software
- revert port forwarding (./)
- stop that freaking noise - turning off the onboard fan makes the board go way too hot - got new hardware (./) turned off that damn box
- get the hardware (./)
- rsync enclosure (
rsync -tvlr anarcat@192.168.0.5:/enclosure/ ./
) (./) - port forwarding and start services (torrents, mpd, icecast) (./)
- stop and disable services on marvin (rtorrent, mpd, icecast) (./)
- git clone home (./)
Phase II: web
- configure web server (./)
- anarcat.ath.cx (./)
- orangeseeds.org (./)
- setup aegir.orangeseeds.org / aegir.anarcat.ath.cx (./) <!> missing public DNS, but whatever
-
setup wiki.orangeseeds.org? -
find myself a real domain for a change?maybe, one day... - port forwarding (./)
- turn off apache on marvin (./) (
apt-get remove *apache2*
)
Phase III: mails
- migrate mails to media station (./)
- config procmail + antispam (bogofilter segfaults, giving up ... spamc?) (./) setup spampd (see SpamAssassinConfiguration), local copy below
- enable procmail in postfix (./)
- rsync mail (./) done and redone
- configure imap (
apt-get install dovecot-imapd
) (./) - test delivery (./)
- sync mail (./)
- flip port forward (./)
- DON'T SYNC MAIL ANYMORE! (./)
- change DNS (@.anarcat.ath.cx to point to marcos) (./)
- test delivery from outside (./)
Phase IV: shell
- migrate pictures (./)
- migrate f-spot configs and DB (./)
- migrate remaining $HOME files (./)
test shotwell? seems cool and simple, but doesn't support galleryfuck it then- password manager (./)
Phase V: final
- BACKUPS!!! (./) done:
backup_rsync_luks.sh
- configure DNS on router (./)
- asterisk on router (./) now that was easy: install the package and copy the config!
- fix ATA to talk to router (./)
- turn off marvin (./)
Phase VI: the return of the jedi
Other stuff I could do later:
- wiki.orangeseeds.org, anarcat.orangeseeds.org, or a new domain? what do i want to host in there anyways? (see domain switch below)
- IPv6? (./)
- automated backups - hook up with udev and fire up the backup automagically
Phase 666: remote control and LCD screen working
See lcd
Hardware setup
Besoins
- silencieux - pas de fan du tout ou vraiment silencieuses
- 2 sorties vidéos probablement avec des résolutions différentes (une écran "télé", l'autre écran de travail)
- peut jouer des vidéos HD
- 1.5TB stockage min
- pour le case:
- pas besoin de télécommande (mon salon est petit)
- pas besoin de LCD (ça sert à rien)
- pas besoin de boutons (quoique play/pause/volume serait pratique, si ça marche dans linux :P)
À acheter
- motherboard: ASUS P5G41-M LE/CSM LGA 775 Intel G41 Micro ATX Intel Motherboard 70$ newegg
- processeurs supportés
- pas sûr du chipset intel, semble y avoir du trouble dans xorg, mais en même temps d'autres rapports que ça marche #2 #3 (mieux dans debian que juste xorg?)
- case: Antec Black Aluminum / Steel Fusion Remote Black Micro ATX Media Center / HTPC Case 150$ newegg
- CPU: Intel Pentium Dual-Core E6500 Wolfdale 2.93GHz 2MB L2 Cache LGA 775 65W Dual-Core Processor 80$ newegg . Bonne explication des différents modèles de cores intel
power supply: (!) SeaSonic S12II 380B 380W ATX12V v2.3 80 PLUS BRONZE Certified Active PFC Power Supply? 53$ neweggon va essayer de prendre ceux qu'on aheat sink: Scythe "BIG SHURIKEN" 34$- seems compatible with the board, but hard to install
- rated the best heatsink in silentpcreview.com
- there is a fan shipped with the CPU... and it seems to compare well with the high end fan (listen!) not worth it
remplacement des fans du case?! Scythe GentleTyphoon D1225C12B1AP-11 120mm case fan * 2: 30$- Total: ~338.87$CAD (shipping inclus)
Commande
1 x ($64.99) MB ASUS|P5G41-M LE/CSMC $64.99
1 x ($79.99) CPU INTEL|PDC E6500 2.93G 2M RT $79.99
1 x ($149.49) HTPC CASE ANTEC|FUSION REMOTE BLACK $149.49
1 x ($9.99) ADAPTER SYBA|SD-HMM-DVF % - OEM $9.99
Shipping: $32.38
GST/HST: $16.84
PST: $0.00
Total Amount: $353.68
Chez newegg.ca - 1-2 jours packaging, 2-7 jours shipping, fait aujourdhui. -- TheAnarcat <<DateTime(2011-02-26T19:21:33-0400)>>
Pièces existantes
= 2GB ram j'ai de la DDR et DDR2
- 1.5TB stockage SATA
- enclosure 1.5TB externe pour backups
- crypto
- 2x outputs vidéo j'ai 3 cartes graphiques, tant PCI-E qu'AGP (ou onboard?)
- TV tuner PCI
- carte de son: onboard
- network: onboard
Questions
- pourquoi ne pas reprendre les processeurs AMD que j'ai déjà? Particulièrement le AMD athlon 64 X2 dual core... . ils prennent 20W de power de plus que les intel (bof?) . ils ont besoin d'un Socket 939, qui est plus rare et difficile à trouver
- on pourrait économiser sur le motherboard en ayant pas de vidéo onboard? j'ai des cartes vidéo en masse . on pourrait sauver 10$... . ... et anyways les nvidia, c'est des drivers de marde toujours le combat
- les power supplies, c'est standard? le box #4 en a un qui semble bon (e.g. silencieux) ici... . on va guesser que oui
- quel heatsink je prend? ça vient avec le CPU? . est-ce que le heatsink sur un Athlon X2 64 est compatible avec ce CPU? '''probablement pas'''
Inventaire
Inventory of old parts moved to junk.
Other
- 3x1.5TB disks
- plenty of enclosures
Missing
- Proper fanless, small case (no LCD required, but would be fun)
- Motherboard that fits?
- CPU for the MB? - there are pretty noiseless fans and heatsinks for the other CPUs
Todo list
- ✓ plan incremental backups, see https://wiki.koumbit.net/BackupService/SoftwareComparison - will test bup for now, written a Python wrapper for it already
- ✓ plan git annex drives distribution
- ✓ move mp3 annex backup to small external drive
- ✓ figure out a place for the video annex?
- ✓ plan internal hard drive configuration
- ✓ cleanup 1.5TB "green" SATA drive (one big video drive)
- ✓ get a
500GB backup2TB drive for/home
and system/srv
- ✓ turn
espresso
in a git annex as well - ✓ move git-annexes from
calyx
togreen
(in progress, missing a few) - ✓ configure automated git-annex backups of all repos through assistant (missing remotes, but autostarted)
- ✓ configure main backups on
calyx
(runs through "cron.daily") - ✓ figure out what to do with the remaining unclassified data (see below)