I installed firefox, xterm and openssh-server on my Ubuntu 9.04. No
else.
I bet xterm brought in a package that conflicts with it.. I'll test
that tomorrow..
It should be pretty safe to force it.. "sudo dpkg -i --force-all"
Regards,
Hi Robert,
Yes that is correct. I can't seem to remember what happened with the
fbdev. I am sure it didn't work correctly (I would have cheered if it
did that!). I believe it failed with the display flickering.
Regards,
Neel
HI, Nelson:
omapfb works well in 9.10. Thanks!
On 9.04 I re-do my SD card and avoiding installing xterm. After "sudo
dpkg -i --force-all xserver-xorg-video-omap3_0.1.1-2_armel.deb" and
reboot, GDM is failed to be launched.
When I manually start GDM, I get those from shell
ubuntu@beagleboard:~$ gdm
gdm[2644]: WARNING: GDM file gdm-daemon-config.c: line 2042 (): Cannot
run seteu
id to 0: Operation not permitted
GDM file gdm-daemon-config.c: line 2042 (): Cannot run seteuid to 0:
Operation not permitted
I found following content from /var/log/Xorg.0.log
(II) LoadModule: "omapfb"
(II) Loading /usr/lib/xorg/modules/drivers//omapfb_drv.so
(II) Module omapfb: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 0.1.1
ABI class: X.Org Video Driver, version 2.0
(EE) module ABI major version (2) doesn't match the server's version
(5)
(II) UnloadModule: "omapfb"
(II) Unloading /usr/lib/xorg/modules/drivers//omapfb_drv.so
(EE) Failed to load module "omapfb" (module requirement mismatch, 0)
(EE) No drivers available.
I guess I should stay at 9.10
Anyway, Thank you!
Hi Samuel,
ubuntu@beagleboard:~$ gdm
gdm[2644]: WARNING: GDM file gdm-daemon-config.c: line 2042 (): Cannot
run seteu
id to 0: Operation not permitted
GDM file gdm-daemon-config.c: line 2042 (): Cannot run seteuid to 0:
Operation not permitted
xorg still needs to be root... (seteuid = 0)... sudo gdm...
I found following content from /var/log/Xorg.0.log
(II) LoadModule: "omapfb"
(II) Loading /usr/lib/xorg/modules/drivers//omapfb_drv.so
(II) Module omapfb: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 0.1.1
ABI class: X.Org Video Driver, version 2.0
(EE) module ABI major version (2) doesn't match the server's version
(5)
(II) UnloadModule: "omapfb"
(II) Unloading /usr/lib/xorg/modules/drivers//omapfb_drv.so
(EE) Failed to load module "omapfb" (module requirement mismatch, 0)
(EE) No drivers available.I guess I should stay at 9.10
Anyway, Thank you!
Looks good..
HI, Nelson:
omapfb works well in 9.10. Thanks!
On 9.04 I re-do my SD card and avoiding installing xterm. After "sudo
dpkg -i --force-all xserver-xorg-video-omap3_0.1.1-2_armel.deb" and
reboot, GDM is failed to be launched.
When I manually start GDM, I get those from shell
ubuntu@beagleboard:~$ gdm
gdm[2644]: WARNING: GDM file gdm-daemon-config.c: line 2042 (): Cannot
run seteu
id to 0: Operation not permitted
GDM file gdm-daemon-config.c: line 2042 (): Cannot run seteuid to 0:
Operation not permitted
I found following content from /var/log/Xorg.0.log
(II) LoadModule: "omapfb"
(II) Loading /usr/lib/xorg/modules/drivers//omapfb_drv.so
(II) Module omapfb: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 0.1.1
ABI class: X.Org Video Driver, version 2.0
(EE) module ABI major version (2) doesn't match the server's version
(5)
(II) UnloadModule: "omapfb"
(II) Unloading /usr/lib/xorg/modules/drivers//omapfb_drv.so
(EE) Failed to load module "omapfb" (module requirement mismatch, 0)
(EE) No drivers available.
I guess I should stay at 9.10
Anyway, Thank you!
sudo gdm is also tried, still get failure:
ubuntu@beagleboard:~$ sudo gdm
gdm[2471] GDM already running, Aborting!
GDM already running, Aborting!
Since this issue only on 9.04, I think I will switch to 9.10
Thanks for quick help!
Hi, Nelson:
I followed SGX Video Acceleration guide to install something in Ubuntu
9.10:
wget -c http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.6-x6.0/omaplfb.ko
wget -c http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.6-x6.0/pvrsrvkm.ko
sudo mkdir -p /lib/modules/2.6.31.6-x6.0/kernel/drivers/gpu/pvr/
sudo cp *.ko /lib/modules/2.6.31.6-x6.0/kernel/drivers/gpu/pvr/
sudo depmod -a omaplfb
(I didn't update my kernel since I assume my 2.6.31.6-x6.0 kernel is
up-to-date)
Everything is ok, while I didn't find any performance boost on GNOME.
I just curious about what's expected effect when SGX Video
Acceleration enabled? How to identify SGX Video Acceleration works?
Thanks!
Hi Samuel,
You won't see any boost in the current GNOME.
You can check by "dmesg | grep PVR" or by running the demo's in the SDK..
Regards,
Hi, Nelson:
I already get code from https://code.launchpad.net/~beagleboard-kernel/+junk/2.6-stable
via bzr.
I found following content from src folder:
build_deb.sh
build_kernel.sh
build_sgx_modules.sh
create_diff.sh
diffs (folder)
patches (folder)
patch.sh
readme.txt
sgx (folder)
sync_angstrom_patches.sh
system.sh.sample
version.sh
How can I build a kernel via menuconfig? I didn't find step guide from
readme.txt.
Need I manually download untouched kernel src and, manually patch and
execute some batch?
Any hint?
Thanks a lot!
BTW, I am doing on a X86 linux machine, anything special need I step
up for cross kernel compile beside rootstock?
Thanks!
run build_kernel.sh, it'll complain about missing things and tell you
what to do.. After those dependences are met, run it again and it'll
download kernel patches and patch accordingly and bring up menuconfig.
Regards,
Just a cross compiler... Read system.sh.sample...
Thanks Nelson for quick help!
I assume that: To setup tool-chain(OE), I only need following
angstrom step 1-2 of http://www.angstrom-distribution.org/building-angstrom
and copy system.sh.sample to system.sh
then execute build_kernel.sh
Thanks!
Actually all the way to Step 3 : "MACHINE=beagleboard bitbake
base-image" as we need a 'good' cross compiler... Otherwise you can
use CodeSoucery's Cross compiler, just download and extract it. Then
change the CC line in system.sh to where you built angstrom, or
extracted CodeSoucery...
Regards,
Thanks, I choose CodeSoucery's Cross compiler, build_kernel.sh and
build_sgx_modules.sh works fine, while I got error of build_deb.sh
......
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf arch/arm/Kconfig
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
./build_deb.sh: line 89: make_uImage: command not found
Any idea?
Thanks!
Yeah, i saw that when i merged 2.6.32.4 to stable... either do a bzr
pull (it's fixed), or remove that line and the one following it and
replace it with make_deb
Regards,
Hi, Nelson:
I followed you step, now my ./build_deb.sh looks like:
if [ -e ${DIR}/system.sh ]; then
. system.sh
dl_kernel
extract_kernel
patch_kernel
copy_defconfig
#make_menuconfig
#make_uImage
#make_modules
make_deb
I get another error :
...
CC kernel/bounds.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
kernel/bounds.c:1: error: bad value (armv5t) for -march= switch
kernel/bounds.c:1: error: bad value (armv5t) for -mtune= switch
make[3]: *** [kernel/bounds.s] Error 1
make[2]: *** [prepare0] Error 2
make[2]: Leaving directory `/home/user/beagleboard/kernel-src/2.6-
stable/KERNEL'
make[1]: *** [debian/stamp/conf/kernel-conf] Error 2
make[1]: Leaving directory `/home/user/beagleboard/kernel-src/2.6-
stable/KERNEL'
make: *** [debian/stamp/conf/minimal_debian] Error 2
Failed to create a ./debian directory: No such file or directory at /
usr/bin/make-kpkg line 971.
I guess I should set my arch to beagleboard in someplace, while I
don't know the equivalent of "MACHINE=beagleboard bitbake base-image"
of CodeSoucery's Cross compiler.
Any more guide?
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
kernel/bounds.c:1: error: bad value (armv5t) for -march= switch
kernel/bounds.c:1: error: bad value (armv5t) for -mtune= switch
Yeah, run it natively on an any arm based device...
Line 9 Warns: echo "This should be run natively on arm"
However you can make it work by changing line 74: change:
"--cross_compile -" to "--cross_compile=${CC}"
Or do a bzr pull, since make-kpkg is being replaced by deb-pkg and
with 2.6.32 i've converted it...
Regards,
Followed guide to change line 74 of cross_compile and get following
error after 2 hrs building:
Your system has issues, that is slow... The beagle can do it in 2-3
hours... build_kernel.sh usually takes me 2-3minutes MAX with ccache
enabled... I leave deb generation to my actual arm builders...
objcopy --add-gnu-debuglink=/home/user/beagleboard/kernel-src/2.6-
stable/KERNEL/debian/linux-image-2.6.31.11-x11.0-x11.0/usr/lib/debug/
lib/modules/2.6.31.11-x11.0-x11.0/kernel/crypto/ctr.ko /home/user/
beagleboard/kernel-src/2.6-stable/KERNEL/debian/linux-image-2.6.31.11-
x11.0-x11.0/lib/modules/2.6.31.11-x11.0-x11.0/kernel/crypto/ctr.ko
objcopy: Unable to recognise the format of the input file `/home/user/
beagleboard/kernel-src/2.6-stable/KERNEL/debian/linux-image-2.6.31.11-
x11.0-x11.0/lib/modules/2.6.31.11-x11.0-x11.0/kernel/crypto/ctr.ko'
make[1]: *** [debian/stamp/install/linux-image-2.6.31.11-x11.0-x11.0]
Error 1
make[1]: Leaving directory `/home/user/beagleboard/kernel-src/2.6-
stable/KERNEL'
make: *** [kernel_image] Error 2
Weird... Well it builds just fine on arm:
http://rcn-ee.homeip.net:81/dl/farm/log/archive/2.6.31.11-x11.0_1.0-jaunty.txt
In any case, I fixed this yesterday when i merged 2.6-dev into stable...
DEPMOD 2.6.32.4-x4.0
dpkg-deb: building package `linux-firmware-image' in
`../linux-firmware-image_1.0jaunty_all.deb'.
dpkg-deb: building package `linux-image-2.6.32.4-x4.0' in
`../linux-image-2.6.32.4-x4.0_1.0jaunty_armel.deb'.
Using Angstrom's Cross Compiler...
Update your bzr repo...
Regards,