OverKill / Oh my god

Last night, while listenning a web-radio.. I heard a old (really old) song. Hum heavy metal. I don’t usually listen to this stuff .. But i know this one, i spent part of the night to find what is this song ..

And i found it ! Motorhead / OverKill . Oh my god ! Why i’m listening to this craps ? Perhaps i want to get it back to me !! :)

Sagem Fast 800 on Linux (Debian)

This is quite easy, but the doc is too old.. so:

  • Download latest eagle-usb
  • Untar
  • make
  • make install
  • eagleconfig (to enter your config..)
  • rm /etc/init.d/eagle-usb (this doesn’t work on debian ..)
  • eaglectl -w (to load kernel modules and so on..)
  • startadsl

A Pie for perl coders

Ok after the parrot challenge, perl coders loose.. so they receive the pie. 2 in fact :)

Grub install on Debian Howto

By default Debian install Lilo on i386 arch. I really like lilo, but after a couple of broken config file and severall other hitch. I decided to install grub. Grub is a bit hard if you never install it before. But mainly because the apt-get install grub doesn’t install a default file. So

apt-get install grub
grub-install /dev/hdXX #where to put the bootloader

Now you can reboot. But to have a nice menu edit a file /boot/grub/menu.lst like that:

default=0
timeout=5
boot=/dev/hda

title Linux-2.6.7
root (hd0,1)
kernel /boot/vmlinuz-2.6.7 root=/dev/hda2 vga=791 ro

title Debian-2.4
root (hd0,1)
kernel /boot/vmlinuz-2.4.26-1-686-smp ro root=/dev/hda2
initrd=/boot/initrd.img-2.4.26-1-686-smp

title Memtest
root (hd0,1)
kernel /boot/memtest86+.bin

Note: My boot is hda2 (hd0,1) second partition of the first disk

Blog post / Mutt IMAP Cache Vs Courier-Cone ?

The thing every blogger likes: Comments ? No ? Really ?

Anyways, i just added a RSS comment Feed to this blog. (No I won’t put the url somewhere since NewsAggregators eat a bunch of bandwith only to see nobody post, i will only give it to friends .. :)

But, this is not the main stuff, while browsing this RSS feed i discover one interesting comment about Mutt and IMAP cache. I now use courier-cone (no-url-yet) and it pretty cool and happy w/ IMAP. I like the IMAP Adressbook system which is really pleasant to use. Anyway check out this post if you want to test the new imap cache for mutt, and thanks Glanzmann for the post :)

For lazy readers the patch is here

2 computers for 1 mouse and 1 keyboard

While building a custom host for the current project, i need to play with 2 computers, but my desk is to small (or full) to have 2 keyboards etc etc. I remember that i ever see this kind of stuff on gcu-squad.org. After a little search, i get it. The name is synergy. It works really fine on X11, but should work on Win32 too.
This is really a great tool, if you have a bunch of screen laying around

Dumb domain Name (IraqBlog.com) at google ads

While browsing for a old post on this blog, i discover that google put a funky ads on the page ‘IraqBlog.com domain for sale’. This sound strange no ? Is there any blogger around how want to buy this ?

– Wait a bit i guess Google will put this ads on this page too :) That’s incontext-advertising

Twisted in EndUserLand

As nobody notice that, the new apt-proxy use python (not perl as the old one). This is really a good news because i love Python and the new apt-proxy has some better performance than the oldest perlish one. The key value here is the Twisted Matrix framework, now apt-proxy can download multiple .deb at the time without a bunch of process or other weakness. This is a great new for debian users but specially for twisted developper because i think it’s the first end-user app that use twisted (not speaking about webserver of other developpers geeky stuffs).

– Nobody for a twisted bittorrent server ? This would save a bunch of CPU cycles too !

Nautilus / disable spatial mode

Latest version of Gnome Nautilus come by defaut with the "spatial mode", this is really kool, but i hate the fact it open another window for every click. After a quick search, i don’t find anything .. but today i discover this, and the scoop is to disable nautilus spatial: use gconf-editor and set /apps/nautilus/preferences/always_use_browser to true.

Shuttle ST62K Zen Install Howto for Linux

Hardware

The Shuttle STK62K is a small XPC that use:

  • ATI IGP9100 video board
  • ATI IXP150 AC’97 Audio Controller
  • OHCI based USB 2
  • Realtek network card

As i run into different issue with that box, i decided to write a little howto. Look here for more infos

0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev 02)
0000:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5838
0000:00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01)
0000:00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01)
0000:00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01)
0000:00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 17)
0000:00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349
0000:00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c
0000:00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342
0000:00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller
0000:01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5834
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)

Issues

Caution, i run into weird issues at the first boot.. a lot of segfaults and other weird things. I spend a part of the night to discover that the main trouble isn’t Linux based, but a hardware issue. The ST62K seems to have a lot problems with cheap memory. My current install use two Elixir (CAS=3) 512Mo stick in dual channel. After a little test with memtest+ i discover that the memory should be downsized to 266MHz FSB (instead of the common 400FSB). I found severall other users with the same issue. So don’t expect to use a DDR400 at full speed on this box with cheap memory, or buy Corsair (CAS=2.5 not the CAS=3!).

Linux

I tried several kernels: 2.4.26 and 2.6.7 debian stock kernel, but i run into trouble with this meanly because the APM is set by default in .. so to run it i need to build kernel 2.6.7 from scrash.

Processor

My box run on a Intel 3.0C running at 3.2Ghz as this box support overclocking form +0 to +15 FSB, so (200 + 10) * 15 = 3.2 Ghz, i managed to overclock it to 3.3 without any trouble. In the kernel i set:

[*]   Symmetric multi-processing support
[*]   SMT (Hyperthreading) scheduler support

SMT is the new scheduler that support the HT processors

ACPI / APM

The main reason why i start with ACPI, is that the box do some really strange things if you have APM set. So you need to disable the APM, and set the ACPI in you kernel.

[*] ACPI Support
[*]   Sleep States (EXPERIMENTAL)
<M>   AC Adapter
<M>   Battery
<M>   Button
<M>   Fan
<M>   Processor
<M>   Thermal Zone

The Thermal Zone is the only import here.

Network

The ST62K use a Realtek nic, so just use the 8139too driver.

Hardrive / DMA

Recent kernel as support for ATI IXP chipset so ..

Device Driver > ATA/ATAPI/MFM/RLL support
<*>       Generic PCI IDE Chipset Support
[*]       Generic PCI bus-master DMA support
[*]         Use PCI DMA by default when available
<*>        ATI IXP chipset IDE support

Video

The embeded video card is IGP 9100. To have support for X you have 3 options:

  • use the ‘ati’ driver wich come with XFree. It’s works fine (without acceleration)
  • use the ‘radeon’ one, but this require a some kernel tweak
  • the ATI made drivers doesn’t seems to support the IGP card right now.

I now run the radeon on. To do this you have 2 options:
- use the stock kernel one
- use the DRI based one

stock kernel

Devices Drivers > Graphics support
<*>   ATI Radeon display support

Don’t use module if you want to have framebuffer support. You need to enable AGPGart too (i’m not really sure)

Section "Device"
#Driver      "ati"
Driver       "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "Unknown Board"
BusID       "PCI:1:5:0"
EndSection

DRI

First you need to download the latest XFree86 binary (which is 4.3.99) and put this in the place of XFree binary. Next download the Radeon driver from the DRI website. Simply untar and install it. (You need to set the kernel drivers as module not built-in for that)

Which One ?

Right now, this doesn’t really change anything because the kernel base kernel doesn’t support DRI. And the DRI one, disable the DRI because it doesn’t find it as a AGP card, so disable the direct rendering. So don’t expect good openGL performance :( But the radeon driver is really punchy on X .. so as i don’t play game, this isn’t a issue. I think this gonna change soon anyway.

update: TV Output

For the TVout put, there is currently no options. The only way to have it works, is to configure the X server to use a vesa driver (instead of radeon) and 800×600 screen size. After that, plug the TV set and reboot to enable it. (Done thought the bios post), and enjoy. Thanks Per for the tips.

Sound

Again only recent kernel support this :)

Device Drivers> Sound > Alsa PCI devices
<M> ATI IXP 150/200/250/300

After simply load the ‘snd_atiixp’ module

Sensors

I read a couple of post saying that the sensors doesn’t work, but i managed to use it without any trouble, as it use a it87 isa based sensors.

I2C > Hardware Sensors Chip support
<M> ITE IT87xx and compatibles

Don’t forget to set i2c-dev Results:

it87-isa-0228
Adapter: ISA adapter
VCore 1:   +1.45 V  (min =  +1.42 V, max =  +1.56 V)
VCore 2:   +1.53 V  (min =  +2.40 V, max =  +2.60 V)   ALARM
+3.3V:     +6.40 V  (min =  +3.12 V, max =  +3.44 V)   ALARM
+5V:       +4.97 V  (min =  +4.72 V, max =  +5.24 V)
+12V:     +11.68 V  (min = +11.36 V, max = +12.60 V)
-12V:     -19.77 V  (min = -12.63 V, max = -11.41 V)   ALARM
-5V:       -2.38 V  (min =  -5.28 V, max =  -4.81 V)   ALARM
Stdby:     +5.02 V  (min =  +4.72 V, max =  +5.24 V)
VBat:      +3.16 V
fan1:     1795 RPM  (min =    0 RPM, div = 16)
fan2:        0 RPM  (min =  332 RPM, div = 16)
fan3:        0 RPM  (min =  664 RPM, div = 8)
M/B Temp:    +60°C  (low  =   +15°C, high =   +40°C)   sensor = diode
CPU Temp:    +44°C  (low  =   +15°C, high =   +45°C)   sensor = diode
Temp3:       +41°C  (low  =   +15°C, high =   +45°C)   sensor = thermistor

Some voltages seems wrong .. but not important. Yes this box have only one fan and the CPU temp is 44°. The 60° correspond to the RS300 chip but this seems to be broken (the bios show me the same values..). When overclocked and building the kernel, i managed to have 59° and a fan at 2300 RPM. (I tweaked the bios to start the fan at 55° instead of 65° default)

Additionnal

You can download my kernel config. I think this setting can be used on S62G4 too ..