Archive for November, 2010

FOSSology presentation at OW2 annual conference 2010

2010/11/26

It was just a quick travel from Grenoble to Paris the 25th of November to be at the 2010 OW2 annual conference, and in order to contrbute to the SQUAT track and deliver a FOSSology presentation (slides available here).

The FOSSology session went well. I had about 20 people attending (good due to the size of the room in La Cantine), and made some good contacts again, and had good questions as well.

The track was managed by Alexandre Lefebvre, France Telecom, and OW2 CTO.

Other talks I attended in the morning:

Antelink pres (Samuel Langlois):

BSTQC pres (Hao Kong):

Novaforge (Emmanuel Rias):

  • Novaforge is now an OW2 Project (Integrates Mantis, SVN, DokuWiki, Hudson, Sympa, TestLink, …)
  • Not pushing on new tool integration (done for some customers) but rather enrich the existing ecosystem
  • No Git atm e.g. or Salome (Quality Center competitor)
  • OW2 forge to migrate from Gforge to Novaforge
  • Migration tool is Talend (Usage of Web services)
  • Hopefully will be fully automated
  • Pilot (Novaforge !) in progress.
  • Others to follow after end of year.

QA @OW2 (Patrice Truong van Nga):

  • Creation of a new QA tool for OW2 projects + Label
  • 300 People at Ministery of Agriculture (few devs, experts) – 50+ Java J2EE projects
  • Process has been developed (and rules created/adapted/removed for the tools below => 470)
  • QA Tools have been introduced:
  • Rules violation detection (Pmd, Checkstyle for javadocs, Findbugs) – Java tools
  • Code coverage (Cobertura)
  • QA metrics, priorities and stats (Sonar)

Making Ubuntu 8.04 work with the HP Thin Client t574x

2010/11/10

The network chipset provided by this Thin Client is a BCM 57780 which is not supported by default by Ubuntu 8.04.

In order to change that you can download a more recent driver for the Tigon3 either from the Broadcom Web site (110g at time of writing) at http://www.broadcom.com/support/ethernet_nic/netlink_k57.php or previous versions as preserved on the HP site at ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p122860230/

To make compatible drivers for the Ubuntu kernel, the best approach is to create a chroot of Ubuntu 8.04 to have a clean install env.
You can use debootstrap for that. As the project Lead of project-builder.org, I used my rpmbootstrap command through pb which did that for me:

$ pb -p pb -m ubuntu-8.04-i386 newve
Project: pb
Action: newve
Creating the debootstrap VE for ubuntu-8.04 (i386)... OK
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Retrieving Packages
I: Validating Packages
I: Found packages in base already in required: gzip tar
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional base dependencies: libgdbm3 perl-modules
I: Checking component main on http://linuxcoe.corp.hp.com/LinuxCOE/Ubuntu...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
[...]
I: Retrieving zlib1g
I: Validating zlib1g
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
[...]
I: Extracting util-linux...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
[...]
I: Unpacking util-linux...
I: Unpacking zlib1g...
I: Configuring required packages...
I: Configuring sysv-rc...
[...]
I: Configuring system-services...
I: Configuring libc6...
I: Unpacking the base system...
I: Unpacking adduser...
I: Unpacking apt...
[...]
I: Unpacking wpasupplicant...
I: Unpacking xkb-data...
I: Configuring the base system...
I: Configuring sudo...
I: Configuring libsysfs2...
[...]
I: Base system installed successfully.

$ sudo cp /etc/hosts /home/rinse/ubuntu/8.04/i386/etc/hosts... OK
Fixing permissions... OK

Then you can go into the chroot to prepare it for being a good build environment (in particular copying in it the .config file coming from the Ubuntu 8.04 live CD under /boot/config-2.6.24-26-generic on a USB key):

$ cp /media/USBDISK/config-2.6.24-26-generic /home/rinse/ubuntu/8.04/i386/tmp/.config
$ sudo chroot /home/rinse/ubuntu/8.04/i386/ /bin/bash
# mount -t proc proc /proc
# apt-get install linux-headers-2.6.24-16-generic linux-source-2.6.24 libncurses5-dev gcc unzip
[...]
# cd /usr/src
# tar xfj linux-source-2.6.24.tar.bz2
# ln -sf linux-source-2.6.24 linux
# cd linux-source-2.6.24
# mv /tmp/.config .
# perl -pi -e 's/EXTRAVERSION = .3/EXTRAVERSION = -26-generic/' /usr/src/linux/Makefile
# make clean prepare scripts
[...]
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm-x86/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/lex.o
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
# cd /root
# wget http://www.broadcom.com/docs/driver_download/570x/linux-3.110g.zip
[...]
# unzip linux-3.110g.zip
[...]
# tar xfz Server/Linux/Driver/tg3-3.110g.tar.gz
# make clean
rm -f tg3.o tg3.ko tg3.mod.c tg3.mod.o tg3.4.gz tg3_flags.h .tg3* Module.symvers modules.order
rm -rf .tmp_versions Module.markers
# make KVER=2.6.24-26-generic
sh makeflags.sh /usr/src/linux > tg3_flags.h
make -C /usr/src/linux SUBDIRS=/root/tg3-3.110g modules
make[1]: Entering directory `/usr/src/linux-source-2.6.24'

WARNING: Symbol version dump /usr/src/linux-source-2.6.24/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/tg3-3.110g/tg3.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/tg3-3.110g/tg3.mod.o
LD [M] /root/tg3-3.110g/tg3.ko

Now you can use that tg3.ko module with insmod into your live CD and have network support !
Of course, that method is generic enough that you could use it for many other cases.


Follow

Get every new post delivered to your Inbox.

Join 100 other followers