Installing Ubuntu 10.04 on fitPC2 and fitPC2i

radioxid
Posts: 57
Joined: Sun Jan 10, 2010 11:17 am

Re: Installing Ubuntu 10.04 on fitPC2 and fitPC2i

Post by radioxid »

ok, thank You everyone much!
btw, I think you meant that fluxbox wasn't available from now on instead of lxde.. see: http://blog.linuxmint.com/?p=1661

I'll apply your How-To and keep a log for y'all as soon as I receive my minisd card.

Kyo_O
Posts: 8
Joined: Sat Dec 25, 2010 6:40 pm

Re: Installing Ubuntu 10.04 on fitPC2 and fitPC2i

Post by Kyo_O »

OK i didn't expect them to release any lxde distribs anymore because they said it took too much time and that was not a priority but well, that's a pretty good news even it's a RC.
Fit-PC2i 1GB RAM v.2.1
Thrust thinity Wireless Entertainment
NAS Synology DS 110j 1 TB
TV Phillips 42PFL7404H
Yamaha YSP-500 5.1

speleomike
Posts: 2
Joined: Thu Apr 21, 2011 12:12 pm

Re: Installing Ubuntu 10.04 on fitPC2 and fitPC2i

Post by speleomike »

Hi all

I am having probs like others here. I just did a dist upgrade of my fitPC2i from Ubuntu Karma to Lucid Lynx 10.04 and I have graphics problems.
The machine boots but whne trying to start X there are a few flashes and I get a black screen.

fitPC2i, Serial No. 100521-xxx so its a Rev 1.2 model.

My Options
=======

1. Persist with attempts to get psb drivers working.
2. Install Linux Mint

I'd prefer to try and get the drivers working, I don't need 3D acceleration or video. I'd prefer not to install Mint as that seems a last ditch option and I have a satellite connection.

Maybe I have missed something to try in here to try. There are quite a lot of suggestions.

Thanks
Mike


Details
=======

Here is what I have done, basically what is suggested in this thread from the start.

Following "Installing Ubuntu 10.4 LTS" procedure at the front of this thread:

1. Install Ubuntu 10.04
Done via the dist upgrade from Synaptic.

2. Install latest updates.

3. Add ppa:gma500 repository

~$ sudo add-apt-repository ppa:gma500/ppa
gpg: key 34BA7AE9: public key "Launchpad GMA500 PPA" imported
gpg: imported: 1 (RSA: 1)

4. Install patched poulsbo drivers

sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config

I actually installed in this order:
libdrm-poulsbo1
libdrm-poulsbo1-dbg
libdrm-poulsbo-dev

Then did the install of the drivers, see "Details of install poulsbo drivers" below.

Just a test before the reboot step.

# modprobe psb
FATAL: Error inserting psb (/lib/modules/2.6.31-34-fitpc2/updates/dkms/psb.ko): Cannot allocate memory

# lsmod | grep iegd
iegd_mod 47872 1
drm 158272 1 iegd_mod
agpgart 34764 2 iegd_mod,drm

# rmmod iegd_mod
ERROR: Module iegd_mod is in use

I don't know why the iegd modules are loaded - should the be?

5. Use Compulabs xorg.conf

wget -c http://fit-pc2.com/download/ubuntu/files/xorg.conf
sudo mv xorg.conf /etc/X11/xorg.conf

6. Reboot

Text comes up as kernel and things load, then at one point it flashes the screen 4 times and screen goes black.
Can't get a terminal via F2 F3 etc

Next I tried one of the suggestions here:
Added Option NoDCC On to xorg.conf

Still the same problem.
Screen black and can't load psb manually.

# modprobe psb
FATAL: Error inserting psb (/lib/modules/2.6.31-34-fitpc2/updates/dkms/psb.ko): Cannot allocate memory


--- Details of install poulsbo drivers -----------------------------------

$ sudo aptitude install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following NEW packages will be installed:
autotools-dev{a} dkms{a} libltdl-dev{a} libtool{a} poulsbo-config
poulsbo-driver-2d poulsbo-driver-3d psb-firmware{a} psb-kernel-source{a}
xpsb-glx{a} xserver-xorg-video-psb{a}
0 packages upgraded, 11 newly installed, 0 to remove and 23 not upgraded.
Need to get 3,336kB of archives. After unpacking 10.5MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information...
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main autotools-dev 20090611.1 [64.1kB]
Get:2 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main poulsbo-config 0.1.2~1004um2 [4,558B]
Get:3 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main psb-kernel-source 4.42.0-0ubuntu2~1004um3.2 [398kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/main dkms 2.1.1.2-2fakesync1 [70.1kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/main libltdl-dev 2.2.6b-2ubuntu1 [193kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid/main libtool 2.2.6b-2ubuntu1 [524kB]
Get:7 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main xserver-xorg-video-psb 0.36.0-0ubuntu3~1004un1.2 [877kB]
Get:8 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main poulsbo-driver-2d 1.1-0ubuntu1~1004um1 [1,798B]
Get:9 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main xpsb-glx 0.18-0ubuntu1netbook2~1004um1ubuntu1 [1,193kB]
Get:10 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main psb-firmware 0.30-0ubuntu1netbook1ubuntu1 [9,898B]
Get:11 http://ppa.launchpad.net/gma500/ppa/ubuntu/ lucid/main poulsbo-driver-3d 1.1-0ubuntu1~1004um1 [1,812B]
Fetched 3,336kB in 1min 57s (28.3kB/s)
Selecting previously deselected package poulsbo-config.
(Reading database ...
Unpacking poulsbo-config (from .../poulsbo-config_0.1.2~1004um2_all.deb) ...
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20090611.1_all.deb) ...
Selecting previously deselected package dkms.
Unpacking dkms (from .../dkms_2.1.1.2-2fakesync1_all.deb) ...
Selecting previously deselected package libltdl-dev.
Unpacking libltdl-dev (from .../libltdl-dev_2.2.6b-2ubuntu1_i386.deb) ...
Selecting previously deselected package libtool.
Unpacking libtool (from .../libtool_2.2.6b-2ubuntu1_i386.deb) ...
Selecting previously deselected package psb-kernel-source.
Unpacking psb-kernel-source (from .../psb-kernel-source_4.42.0-0ubuntu2~1004um3.2_all.deb) ...
Selecting previously deselected package xserver-xorg-video-psb.
Unpacking xserver-xorg-video-psb (from .../xserver-xorg-video-psb_0.36.0-0ubuntu3~1004un1.2_i386.deb) ...
Selecting previously deselected package poulsbo-driver-2d.
Unpacking poulsbo-driver-2d (from .../poulsbo-driver-2d_1.1-0ubuntu1~1004um1_all.deb) ...
Selecting previously deselected package xpsb-glx.
Unpacking xpsb-glx (from .../xpsb-glx_0.18-0ubuntu1netbook2~1004um1ubuntu1_i386.deb) ...
Selecting previously deselected package psb-firmware.
Unpacking psb-firmware (from .../psb-firmware_0.30-0ubuntu1netbook1ubuntu1_i386.deb) ...
Selecting previously deselected package poulsbo-driver-3d.
Unpacking poulsbo-driver-3d (from .../poulsbo-driver-3d_1.1-0ubuntu1~1004um1_all.deb) ...
Processing triggers for man-db ...
Setting up poulsbo-config (0.1.2~1004um2) ...
Modifying xorg.conf through X-Kit...
Done

Setting up autotools-dev (20090611.1) ...
Setting up dkms (2.1.1.2-2fakesync1) ...

Setting up libltdl-dev (2.2.6b-2ubuntu1) ...
Setting up libtool (2.2.6b-2ubuntu1) ...
Setting up psb-kernel-source (4.42.0-0ubuntu2~1004um3.2) ...
Loading new psb-kernel-source-4.42.0 DKMS files...

Creating symlink /var/lib/dkms/psb-kernel-source/4.42.0/source ->
/usr/src/psb-kernel-source-4.42.0

DKMS: add Completed.
Installing prebuilt kernel module binaries (if any)
Building module...

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.31-34-fitpc2 LINUXDIR=/lib/modules/2.6.31-34-fitpc2/build DRM_MODULES=psb......................................
cleaning build area....

DKMS: build Completed.
Installing module...

psb.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.31-34-fitpc2/updates/dkms/

drm-psb.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.31-34-fitpc2/updates/dkms/

depmod.....

DKMS: install Completed.
update-initramfs: deferring update (trigger activated)

Setting up xserver-xorg-video-psb (0.36.0-0ubuntu3~1004un1.2) ...
Setting up poulsbo-driver-2d (1.1-0ubuntu1~1004um1) ...
Setting up xpsb-glx (0.18-0ubuntu1netbook2~1004um1ubuntu1) ...
Setting up psb-firmware (0.30-0ubuntu1netbook1ubuntu1) ...
Setting up poulsbo-driver-3d (1.1-0ubuntu1~1004um1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-30-generic
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
$
--- end Details of install poulsbo drivers -------------------------------------------------

Thanks
Mike

speleomike
Posts: 2
Joined: Thu Apr 21, 2011 12:12 pm

Re: Installing Ubuntu 10.04 on fitPC2 and fitPC2i

Post by speleomike »

Hi all

Fixed :-)
speleomike wrote:Hi all
I am having probs like others here. I just did a dist upgrade of my fitPC2i from Ubuntu Karma to Lucid Lynx 10.04 and I have graphics problems.
The machine boots but whne trying to start X there are a few flashes and I get a black screen.
I added to /etc/modprobe.d/poulsbo.conf the line "blacklist iegd_mod"
then instead of a black screen I get the puple screen of the Ubuntu 10.04 but it was just the purple screen - nothing else.

However if I booted into recovery and command line then I can now do a modprobe psb and I get a screen change to smaller font with:
"Initialized psb 4.41.1 20090416 on minor 0"
If I su to a normal user and "startx" it works.

Hence I have added to /etc/rc.local the line "mobprobe psb".

Now it boots into Ubuntu 10.04 and works at 1280x1024 on my Dell 19" monitor.

Hope this info will be of use to people.

Mike

Post Reply

Return to “Ubuntu 10.04”