ring0 » blog

Writing Wireshark Plugins

tags: n900, debian, wireshark, lua, phonet, isi 2010-08-26 01:10 by sre

In the last days I finally got some bits out of the Nokia N900’s modem on Debian without any properitary tools. For now it’s just the following information:

manufacturer: "Nokia"
model: "Nokia N900"
revision: "V ICPR82_10w08 25-02-10 RX-51 (c) Nokia"

But the most difficult part is probably done. My next plan was to get the modem connect to a mobile network, which requires an unlocked SIM card. Unfortunately ofono does not yet support SIM cards with PINs. Thus I had to find another way to get out how to perform this task.

Another Debian on N900 Update

tags: n900, debian, enlightenment 2010-08-15 17:47 by sre

First of all the Debian on N900 page moved to https://elektranox.org/n900. Now about the recent changes:

Highpoint rr272x driver on a cutting-edge system

tags: highpoint, rr272x, debian, linux, kernel, udev 2010-07-25 14:34 by sre

I had lots of fun with my server the last days. Apart from broken memory, a mainboard with weird behaviour and defect SATA cables I tried to use my RocketRaid 2720. There is currently no support for this piece of hardware in the mainline kernel (PCI device ID: [1103:2720]), even though there is an ‘mvsas’ driver, which is supposed to support the chip used by the rr272x series.

But one can download an ‘Open Source’ driver from Highpoint’s webpage and precompiled kernel modules for Debian’s 2.6.26 kernel. FYI even using their precompiled module with Debian stable and 2.6.26 kernel I got lots of problems, which are inherited to the updated system. I will talk about these in another blog entry.

After trying the precompiled kernel module I tried their ‘Open Source’ driver. First of all: it’s not Open Source. There is some sourcecode, which builds some code using their *.o precompiled blob. This is the same as the NVIDIA driver and definitively not Open Source. Next I tried to use the compiled kernel module under Debian squeeze with 2.6.32 and the result was a nice kernel crash once a disk is connected. After hours of testing I figured out, that it’s not a problem of the updated kernel, but a problem of the updated udev.

One can use the driver running even 2.6.34 as long as one uses the udev from Debian stable (125). There is one drawback though: /proc/scsi/rr272x_1x is not created by the driver then (so the CLI is not working).

The problem is: new software (e.g. cryptsetup from testing) depends on libudev0, which does not exist in Debian stable. The libudev0 from Debian squeeze depends on udev 158, so one can’t install it from there either. I ended up using udev from Debian stable and libudev0 from Debian unstable. The remaining system is a normal Debian testing (squeeze). I suggest to add a Pin for udev to apt’s preferences:

$ cat /etc/apt/preferences

Package: udev
Pin: release a=stable
Pin-Priority: 1000

I reported this to HighPoint using their WebSupport as #4659. So far I got told, that there are more users with the problems (what a coincidence…) and that they notified their engineering team.

Update: Debian on N900

tags: debian, n900, fso 2010-06-05 22:38 by sre

As I promised in my last post I improved Debian support. The changes since initial Debian support are:

In short: All kernel related stuff is solved. Remaining issues are

Debian on N900

tags: debian, n900 2010-05-22 00:27 by sre

I just managed to install Debian on my Nokia N900. I documented my steps on my Website. I plan to improve Debian support for Nokia’s N900 in the future, so stay tuned.