Fixing Seagate/Maxtor HDDs with a Raspberry Pi: 0 LBA, BSY and CC erros

Just imagine this scenario: one day you turn off your pc and you try to turn it on the following day. And it doesn’t or, more precisely, your trustworthy Maxtor/Seagate HDD (Model No. STM3320614AS) is no longer detected during the boot or shows a size of 0GB. You get mad, you get angry. Then you try to figure out how to get your data back. It appears that, due to a firmware bug, some particular Maxtor and Seagate HDDs lock up their SATA port (BSY bug) or corrupt show as 0 sized (0 LBA)....

June 1, 2014 · 3 min · Alessio Placitelli

Visual Studio project generation for Mozilla Firefox

Recently, the Mozilla Firefox build interface, aka mach, was enhanced with a great feature for Windows developers: the ability to generate Visual Studio project files. Such project files are not maintained in mozilla-central, hence the need for a way to generate them. Thanks to the awesome work done by Gregory Szorc, generating project files using mach is as simple as issuing the following command: [bash] ./mach build-backend backend=VisualStudio [/bash] The solution file will be available in your object directory, under the msvc folder (i....

March 22, 2014 · 1 min · Alessio Placitelli

Mercurial and patch queues for dummies

Lately I’ve started contributing to Mozilla Firefox with some patches (yay! It’s an awesome project… consider contributing 😉 ). It was a good excuse to practice with Mercurial, the distributed revision control software used by Mozilla. I’m mainly a Git user and I have to admit I was a little puzzled at first and had to adapt to the new workflow. In this article I will try to answer some of the questions I had during my learning phase....

February 9, 2014 · 1 min · Alessio Placitelli

Spinethica: giovani, lavoro, alienazione? Meglio la rivoluzione!

E’ nato Spinethica.it, un progetto giornalistico per raccontare storie tra alienazione e rivoluzione. Ma cosa vuol dire e di cosa parlano? Questo è un estratto dalla loro pagina “Chi Siamo“: Cos’è Spinethica Spinethica è una realtà giornalistica che racconta le storie di una generazione liquida, in costante ed inevitabile adattamento alle forme della società. Realizza un giornalismo multimediale localizzato a Roma e dintorni: cronaca, politica, cultura, innovazione, tecnologia e scienza....

April 18, 2013 · 1 min · Alessio Placitelli

Cross-compilation in cygwin for the Raspberry-Pi: ./configure and CMake

I’m having a lot of fun these days with my Raspberry-pi! Since I’ve already built my own tool chain to cross-compile from my Windows plus Cygwin machine and setup my IDE to compile and debug my software using it, I finally started to compile some projects. Unfortunately I had to face a couple of problems: how to make the ./configure script use my tool chain to generate Raspberry-Pi binaries in cygwin?...

August 9, 2012 · 2 min · Alessio Placitelli