Search Results: "rmh"

15 November 2010

Neil Williams: Documenting Emdebian - intro

Developers are not usually the right people to write documentation, but in an effort to encourage more Debian folk to consider Emdebian, I'm starting an intermittent series of blog posts to describe how Emdebian works and how it fits with Debian. Emdebian has a variety of ideas and experiments but the principle distribution, to be released alongside Debian Squeeze, is Emdebian Grip. This post, I'll cover the basic stuff. Feel free to let me know if there are particular issues you'd like covered. In particular, if the documentation on the Emdebian Grip website needs improving, let us know.
What's Emdebian Grip all about?
Simply a smaller Debian. Smaller packages, smaller downloads, smaller sets of packages, smaller installation sizes and smaller update sizes; yet always and completely binary compatible with Debian. Every backtrace from an Emdebian Grip device will match the backtrace on a Debian machine of the same architecture, package version etc. Packages can be mixed trivially (with some allowances for strict dependencies like -dbg packages). The name is a derivative of Squeeze - to make Debian smaller, we take a hold of it; Grip it.
Is it cross-building?
NO. Emdebian Grip is not recompiled (natively or cross), it is processed. Packages natively built in Debian are unpacked, files removed and repacked on the server before being included into the Emdebian repositories. dpkg and perl do all the work, not gcc.
What gets taken out?
Translations move out of the source packages and into TDebs (organised by locale) and compiled .mo files are then removed from the binary packages. Manpages and other documentation is lost entirely, copyright is compressed and changelogs are removed. None of the binary files are touched. The SHA256 sum of your /usr/bin/foo executable in Debian will be precisely the same in Emdebian, the same applies to libraries.
How is it done?
The emdebian-grip-server package in Debian processes the package and treats every architecture in the same way. (This allows Emdebian to carry unofficial ports like SH4, armhf etc.)
Why not filter stuff with dpkg?
The straight answer is that there usually isn't room to download the large package first in order to strip it on device. Also, filtering on device is slow. Stripping the package on the server means that the work is only done once. Every Emdebian device is saved the effort of filtering the files one machine at a time. Grip effectively does what dpkg filtering does, just it does it on the server, repacking the results into a new .deb. Instead of every device doing the task again and again, the server does it once.
Why is my pet package not included?
Emdebian restricts the number of packages which are included in the repositories (less than 10% of Debian packages will be included in Emdebian Grip 2.0 which is based on Debian 6.0 "squeeze") but provides tools which can be used (on device or on the desktop) to prepare any other package for installation on an Emdebian Grip device. There is no need for the machine preparing the package to be of the same architecture as the intended device because all processing is architecture-neutral.
Who decides which packages get included?
Me, basically. The merits of adding particular packages is usually discussed on the debian-embedded mailing list. Typical criteria (in rough order) include:
  1. Subjectively suitable for an embedded device (so OpenOffice.org does not qualify)

  2. most, if not all, dependencies already included in Grip

  3. already available in Debian testing

  4. not in a state of churn in Debian (rapid upload cycles, frequent library transitions etc.)
  5. not particularly buggy in Debian

Can I convert Debian to Emdebian Grip
Yes - simply add Emdebian to your apt sources list and watch as your next upgrade releases tens of megabytes of space.
What are these em1 version suffixes?
Emdebian modifies Debian packages, albeit in an architecture-independent manner, by removing files. The resulting packages are therefore different to the originals, albeit containing compatible binaries. Hence, the Emdebian processing adds the em1 version suffix to show which version is installed. Adding the suffix also means that every Emdebian package is considered to be an upgrade compared to the equivalent Debian package, if both exist in your apt sources.
How is Emdebian Grip installed?
It is possible to use Debian Installer (we provide pre-seeding files to help this process) or create a simple tarball using multistrap if that is more suitable for your device.
What about Recommends: ?
Debian defaults to installing all packages listed as Recommends in the package metadata. Emdebian simply drops the entire Recommends field when processing the package. Suggests is also omitted. This dramatically shortens dependency chains and gives developers full control over which packages are installed. It is important here to consider the embedded device user interface. Recommends exists to support those users who need the extra parts of the package, the bells and whistles. Embedded devices strictly control which parts of the package is actually exposed to the user - there is no need for a menu or a desktop. Users can only access the functionality exposed by the device, so no bells and whistles - just the base system and whatever you choose to expose as part of the interface. Rather than require all Emdebian devices to turn off Recommends individually, Emdebian simply drops Recommends at the server and allows the developer to cherry-pick which packages to add.

More to follow . . .

13 October 2010

Robert Millan: About ZFS in Squeeze

The bad news is that you won t be able to use ZFS as your root filesystem in Debian Squeeze with the official installer. The blocker is missing support in GNU Parted. Unfortunately the patch I sent in August wasn t integrated in time for the freeze (and still isn t, but there s no hurry now, it ll hopefully be there for Wheezy). The good news is that all fixes required for the installed system (including ZFS userland utilities and GRUB) made it and are already in Squeeze. As a result, the unofficial installer I built in September will (unless something weird happens) continue to work during Squeeze life cycle. Note that although the installer itself is modified, it installs a pristine Debian GNU/kFreeBSD system from official packages. Hope this is helpful to you if you plan on deploying ZFS in your organization and the other approaches don t fit well enough with your needs.

12 September 2010

Robert Millan: Graphical installer for Debian GNU/kFreeBSD

Now that Debian s graphical installer flavour has migrated to X11, porting it to GNU/kFreeBSD became a low hanging fruit, so I shamelessly picked it up and here comes a version of Debian GNU/kFreeBSD installer with graphical support. Oh, and a screenshot too: Enjoy.

6 September 2010

Robert Millan: Debian Installer with ZFS

Long time no see Not much hacking in the last few months. Not much ranting either (some of you I m sure will appreciate ;-). Anyway, I recently grew excited to learn that ZFS is coming to Debian. I decided to bite the bullet, patched the missing bits in GRUB and Parted, a few small changes in D-I and there s now a modified Debian Installer with ZFS support for you to play with. Enjoy! Note1: I didn t have time or interest in warping D-I into the N:1:M model used in ZFS. Instead, this installer assumes each zpool has exactly one device and exactly one filesystem. However, you can later add more devices ( zpool attach ) or create new filesystems in the same pool ( zfs create ). Note2: Don t ask for i386, it was intentionally left out. ZFS is designed with modern CPUs in mind. It can work on i386 with special tuning but I don t want to encourage users to do this unless they re well aware of what they re doing.

28 August 2010

Thorsten Glaser: mksh, encodings, MirBSD, BitTorrent, WinCE

mksh was merged into Android (both AOSP and Google s internal master tree) in the night 24/25th August, and is expected to be the one shell to rule them all, for Gingerbread. mksh(1) now also has a cat builtin, for here documents mostly. It calls the cat(1) command if it receives any options. The shell is nevertheless smaller than yesterday because of improved string pooling. There s another reason to use the MirOS OPTU-16 encoding instead of PEP 383, on which I already wrote: try passing a wide-char filename to a function such as MessageBoxW, or create a filename on a system using wide chars, such as FAT s LFN or ISO 9660 s Joliet, or one that only allows Unicode (canonically decomposed u out of all things) like HFS+. OPTU-8 at least maps to somewhat reserved codepoints (would, of course, be better to get an official 128 codepoint block, but the chance s small of getting that in the BMP). Still. Oh well, the torrents. I ve remade them all, using one DHT seed node and OpenBitTorrent as tracker and put them on a very rudimentary BT page that will be completely redone soonish. Please re-download them. I currently do not believe f.scarywater.net will return. Finally, I fell victim to a selling-out and may have just bought a Windows Mobile 6 based phone (Glofiish X650) and an SDHC card and an extra battery with double capacity. Well, at least it s said to run CacheWolf well. I still would like to have something like Interix, Cygwin, UWIN, coLinux, or maybe some qemu-for-WinCE variant that runs Android, Maemo, Debian/armhf (or armel or arm) at near-native speed (and is usable the device sadly doesn t have a hardware keyboard, but it comes with SiRFstar GPSr). It only has 64 MiB RAM, like the Zaurus SL-C3200 and the jesusPhone, though. Any chance to get MirWorldDomination onto that device as well?

20 August 2010

Riku Voipio: (unnofficial) Bits from ARM porters

Quite a few things have happened recently in the Debian/ARM land

ARM and Canonical have generously provided us with bunch of fast armel machines. Four of these are now as buildd's, bringing the total of armel buildd's to 7. In other words, armel should no longer lag behind other architectures when building unstable packages.

One of machines, abel.debian.org has been setup as a porter box. It is faster (around 3x) than the older porterbox (agricola). All Debian Developers have access to the porterboxes.

The new buildds have allowed us to enable more suites. Thanks to Philipp Kerns work, armel builds now experimental, lenny-volatile, lenny-backports as well as unstable/non-free. Especially if you are using stable Debian, access to backports and volatile should make life happier :)

Finally, the next big thing is Hardfloat ARM port, effort being lead by Konstantinos Margaritis. This doesn't mean that the armel port is going away. Majority of ARM cpus sold are still without FPU, so the softloaf port (armel) will still have a long life ahead. Meanwhile, the armhf port will provide a more optimal platform for people with bleeding edge ARM cores (ARMv7 + vfp). Some people have been unhappy with the new proposed new port, and various alternatives have been proposed. However, armhf is currently the only solution being actively worked on.

Update: thank canonical too

1 August 2010

Clint Adams: No time

Some things I intended to work on last week but did not:

29 January 2010

Robert Millan: Cooperative geolocation


I m about as much annoyed by geolocation as everyone else, but I think this controversial proposal for cooperative geolocation is a good thing. Up untill now, geolocation is being imposed on you by using an IP-to-location map. With cooperative geolocation, you re the one in control. You can disable it if it bothers you. Perhaps you can even pretend to be somewhere else (useful e.g. when traveling), assuming they didn t add any idiotic authority-based authentication to it (which I didn t check).

11 January 2010

Robert Millan: GRUB gets new face


My friend Jo Shields added the missing piece by writing the first theme that fit the basic requirements (uses only legal & free fonts and images with no external dependencies), and now GRUB gets a new face! This is just one of the ton of possibilities our new graphical menu framework was designed for. If you want to try it out, grub-pc 1.98~experimental.20100111.1-1 has just been uploaded to Debian/experimental. For non-Debian systems, Jo s blog post provides a standalone tarball which can be used with GRUB Experimental branch in Bazaar. Many thanks to everyone who made this possible, including Jo, Colin for developing the gfxmenu framework and Vladimir for his extensive work reviewing and polishing it. Now for the obvious question (before anyone asks): when is this reaching mainstream? Well, there s lots of code being added, and keep in mind GRUB is a bootloader and it must not compromise on its main feature (being able to boot!), so we need a pack of brave souls to try out the code, find bugs and report them. Once we re reasonably sure the new code is mature, it ll find its way to GRUB trunk and eventually GRUB 1.98. So you can help us out! Install it; spread the news; make your desktop a bit nicer and come to us if you find that something went terribly wrong ;-)

31 December 2009

Robert Millan: Gnote 0.7.0


I was very glad today to discover (yes, shame on me for not noticing earlier) that the Gnote project has come back to activity. A new maintainer, Debarshi Ray, has just released 0.7.0. I m very pleased to see that Gnote continues being maintained. It s even more important now, as Fedora ships it in its default GNOME desktop, and so does gNewSense (the 100% free GNU/Linux distribution). It s nice to see that the community doesn t let down those who, for one reason or another, committed to Gnote and put their weight on it. As for me, now that 0.6.2 has migrated to testing, I ll get back to rolling out package updates. Expect 0.7.0 to land in Debian sid soon!

25 December 2009

Robert Millan: Multiple GRUB terminals


To be found in Vladimir s multiple terminal branch, GRUB 2 displays in multiple terminals simultaneously, with a separate menu viewer for each one, resulting in menus with different metrics rendering the same content! In this screenshot, GRUB running in QEMU with a serial terminal attached to it in a separate window: Expect this to land in GRUB Experimental branch soon.

21 December 2009

Robert Millan: GRUB i18n


Better late than never. We promised internationalization and here comes GRUB with gettext support. Many thanks to Carles Pina for bringing GRUB a bit closer to end users. Here s GRUB menu in Catalan: GRUB menu And here s the Catalan version of GRUB command-line interface: GRUB command-line Help is much welcome from translators who want to add their own languages! Like many other GNU projects, translation support for GRUB is coordinated by the Translation Project. If you re excited by the idea that your strings will be the very first localized message that is displayed on every user s box, or simply want to bring our cause for computer freedom further, get in touch with your language team.

12 December 2009

Robert Millan: GRUB on Yeeloong reaching maturity


From preliminar/experimental port to almost-complete in 48 days. Nice work, Vladimir.
GRUB gfxterm on Yeeloong

18 November 2009

Robert Millan: GRUB news


This is being a busy month for GRUB. Quick catch-up of GRUB news:

26 October 2009

Robert Millan: fake DSNs


Dear lazyweb, this morning I got bitten by fake Delivery Status Notifications. You ve probably seen this a thousand times:
  • Spammer sends mail to non-existant user in existant domain.
  • Idiotic mail service accepts mail, even though:
    • My domain s SPF record is telling them not to.
    • Destination address doesn t even exist.
  • Another component of idiotic mail service (hurray for qmail modularity!) realizes this address is invalid, and generates a DSN for the mail sender, even though they don t really know who that is.
  • I receive a gazillon of bounces informing me that some mail I didn t send couldn t be delivered.
  • Do you know of any blacklist containing all hosts and/or domains that do this? Alternatively, I think a blacklist containing all qmail domains would probably cover most of it.

25 October 2009

Robert Millan: GRUB 1.97 released


GNU GRUB 1.97 has just been released. This release of GRUB is a significant breakthrough compared to GRUB 1.96. Among a long list of improvements, GRUB 1.97 includes support for booting the kernels of FreeBSD, OpenBSD
and NetBSD, it detects the Ext4 filesystem which is commonly used with the kernel Linux, and it implements a robust mechanism for booting from GPT drives, by embedding itself in the BIOS Boot partition.

Robert Millan: GRUB on Lemote Yeeloong


I read that Vladimir Serbinenko s effort to bring GRUB to the Lemote Yeeloong laptop has reached a milestone: It is now able to initialize and draw text in the display: This is quite significant for GNU GRUB as it s the first time it s ported to a mipsel platform. In addition, it is planned to support the Yeeloong both as a disk bootloader (i.e. the way it is normally used on x86/PC) and as a firmware bootloader , thereby offering a more flexible alternative to PMON2000 (the preinstalled firmware). The Lemote Yeeloong is a legacy-free, mipsel-based laptop that runs using entirely free software, including the firmware and its initialization routines.

24 October 2009

Robert Millan: Experimental branch of GRUB


We ve recently made available an experimental branch of GRUB, using GNU Bazaar. Although it is currently identical to SVN trunk (the codebase that will lead to GRUB 1.97), we plan to use it as staging area for different kinds of experimental work, which would benefit from user testing so that it becomes more mature before it is merged into our main tree. My appreciation goes to Vladimir who kindly volunteered to be the person in charge of this branch, and I m confident he will do a great job.

16 October 2009

Robert Millan: The Pirate Bay and Youtube


Like many other people, it used to bother me that The Pirate Bay was being sued for distributing hashes of copyright-restricted material whereas Youtube could distribute the material itself without fear of punishment. Like many other people, it used to bother me that there was no way to download music from The Pirate Bay (which in the Spanish kingdom is a legal activity) directly into a music player without the hassle of manually browsing the website, launching a bittorrent client, etc. Then I found rhythmbox-youtube.

13 September 2009

Robert Millan: Torvalds on EFI


Insightful quote of the day:
Not that I d ever claim that the BIOS is wonderful either, but at least everybody knows that the BIOS is just a bootloader, and doesn t try to make it anything else.
Linus Torvalds (in reference to EFI)
I couldn t agree more. Notice that GRUB is a bootloader too, and argueably a better one than BIOS. If we re looking for a replacement to old legacy BIOS, why not use something modern and flexible instead? EFI is just the repetition of the same design mistakes, which the industry already rejected, using a less obsolete instruction set. Today s legacy i8086 realmode is tomorrow s legacy ia32/amd64. Are we going to fall for it?

Next.

Previous.