Upgrades in component based systems can disrupt other components. Being able to predict the possible consequence of an upgrade just by analysing inter-component dependencies can avoid errors and downtime. In this paper we precisely identify in a repository the components p whose upgrades force a large set of others components to be upgraded. We are also able to discriminate whether all the future versions of p have the same impact, or whether there are different classes of future versions that have different impacts. We perform our analysis on Debian, one of the largest FOSS distributions.
thttpd is a simple, small, portable, fast, and secure HTTP server which supports both IPv4 & IPv6.
However one noticable omission in the handling of requests for thttpd is support for the X-Forwarded-For header - which is even noted upo nthe thttpd wikipedia entry.
There is a simple patch floating around which claims to fix this; but as I belatedly noticed tonight it only works for IPv4.
If you look at libhttpd.h of the thttpd source you'll see this:
typedef union
struct sockaddr sa;
struct sockaddr_in sa_in;
#ifdef USE_IPV6
struct sockaddr_in6 sa_in6;
struct sockaddr_storage sa_stor;
#endif /* USE_IPV6 */
httpd_sockaddr;
As a quick hack I updated this structure to add the following member:
char real_ip[200];Now I could update that member when a client connects and later update it as a result of any X-Forwarded-For: headers which might be present in incoming requests. Finally I updated the logging to use this field rather than anything else and the job was complete. Without this work if you're running as a proxy and you receive an IPv6 connection you'll see it reported as 127.0.0.1. I'm sure my approach isn't as clean as it could be - due to the extra member- but it will suffice for now. ObQuote: "This gun you're holding belonged to your father; he could conduct a symphony orchestra with it. " - Wanted
Well, I still don t feel ready enough to go back to (real) work. So, once more, I had to get my fingers on something to hack and I picked the Buildd Status Pages once more. It s not my favorite project, but I decided to implement the few remaining ideas and get (temporarily) done with it. So, here we are with new features (and a few bug fixes):
It's incredible how many people are of the misguided belief that just
because I happen to run a company, I
am automatically interested in their newsletter about whatever it is
that they are doing, no matter how far it is removed from the kinds of
things my company actually does.
Are these people spammers? Yes, definitely, and I don't want to do
business with them. But there's a major difference between this kind of
mails and your common nigerian scammer or counterfeit blue pill
"salesperson". Unlike the latter, some newsletter spammers are
interested in forming a genuine business relationship with my company.
They're going about it the wrong way, but that doesn't necessarily mean
they're trying to trick me into doing something that would not be in my
best interest they're not just after my money.
Although their methods are wrong, that does not mean they're entirely
clueless. Some of these unwanted newsletters are sent with VERP-style
return paths, which suggests that if the mail bounces at SMTP time, I
would no longer receive their junk. So bouncing them is what I do. Exim makes this very easy:
acl_check_mail: deny message = Your domain has been blacklisted log_message = domain blacklisted condition = $ lookup $sender_address_domain wildlsearch /etc/exim4/blacklist-domains true false acceptWhat this does is use a wildlsearch lookup to verify whether the domain of the envelope sender (i.e., as specified in the MAIL FROM: SMTP command) exists in the /etc/exim4/blacklist-domains file. Since we use a wildlsearch, we can use the * as a wildcard
*grep.bewould mean 'grep.be, or any of its subdomains', whereas
*.grep.bewould mean 'any of the grep.be subdomains'. This is because at least one of the people I've blacklisted that way sends their newsletter through a distributed service, and the VERP-style header is based upon the server that actually communicates with my system; and others have a subdomain for the newsletter, but don't use it (or use a different one) for regular mail. If I'm not interested in their spam, I'm probably also not interested in their other mail, so therefore the wildcard (is this overkill? Maybe, but I don't care I don't do business with spammers). This ACL is then activated for the SMTP MAIL FROM: command (search for acl_smtp_mail variable in the exim specification). This makes it impossible for the spammer to reach postmaster@ from the same domain, too, but that doesn't matter; they can always use a different address. One might be wondering why I'm using this kind of domain-based blacklisting rather than a regular bayesian spamfilter, or anything of the sorts. The reason is fairly simple: because the general format of these newsletters is distinctly different from regular spam. For instance, some of these newsletter spammers are in fact competitors who didn't bother to check who they're sending mail to. As a result, their newsletters would contain key words that would appear in mails which I send to my regular customers, too; if I were to classify them as spam in my bayesian classifier, that would increase the chance of the classifier misclassifying a mail from an actual customer as spam. Most of these are very similar in format to newsletters that I did consciously subscribe to, and which are therefore not spam, etc. Finally, bouncing mail rather than blackholing it or filing it in a separate folder (as I have spamassassin do) has the added advantage of making it clear to a newsletter spammer that their junk is not wanted. Most (though certainly not all) will then remove me from their newsletter, saving me bandwith and processing power. And since we do this at MAIL FROM: time, rather than upon completion of the RCPT TO: or DATA commands, I'm not actually giving away any information that they don't have, either.
Madeleines / Magdalenas (http://en.wikipedia.org/wiki/Madeleine_%28cake%29), home made, and Jolly Roger themed!
Another pure maintenance release, this time of RcppClassic, the package
supporting the deprecated older classic
Rcpp API defined in
the earlier 2005 to 2006 releases, is now on
CRAN
It contains no new code, but smoothes one or two edges in the build process
and noticed by the newest versions of
R CMD check, just like
yesterday's RcppGSL release.
Courtesy of
CRANberries, here are
the changes to
the previous release.
Diff between RcppClassic versions 0.9.0 dated 2010-12-20 and 0.9.1 dated 2011-04-07 RcppClassic-0.9.0/RcppClassic/build only RcppClassic-0.9.0/RcppClassic/inst/lib only RcppClassic-0.9.1/RcppClassic/ChangeLog 17 ++++++ RcppClassic-0.9.1/RcppClassic/DESCRIPTION 8 +-- RcppClassic-0.9.1/RcppClassic/inst/doc/Makefile 25 ++++++---- RcppClassic-0.9.1/RcppClassic/inst/doc/RcppClassic-unitTests.pdf binary RcppClassic-0.9.1/RcppClassic/inst/doc/RcppClassic.pdf binary RcppClassic-0.9.1/RcppClassic/inst/doc/unitTests-results/RcppClassic-unitTests.html only RcppClassic-0.9.1/RcppClassic/inst/doc/unitTests-results/RcppClassic-unitTests.txt only RcppClassic-0.9.1/RcppClassic/inst/unitTests/runit.RcppDate.R 24 ++++----- 10 files changed, 49 insertions(+), 25 deletions(-)Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
Adam D. Barratt is a Debian developer since 2008, in just a few years he got heavily involved to the point of being now Release manager , a high responsibility role within the community. He worked hard with the other members of the release team to make Squeeze happen.
You could expect the release managers to have some rest after a big release, but it s not really the case. With the long freeze, loads of transitions have accumulated and they are now busy to get all those updated packages in the new testing (wheezy). Despite this Adam took some time to answer my questions.
He shares with us his impression on the Squeeze release, his opinion on time-based freezes (regular/predictable freeze) and much more. Read on. My questions are in bold, the rest is by Adam.
Who are you?
I m a 31 year old software developer and part-time sysadmin for a software and IT services company based in the south of England. I have no children, no pets and a long-suffering partner who puts up with me spending far too much time tinkering with things and people making fun of her Macbook during Debconf.
As well as being on the release team, I m a member of the maintainer teams for devscripts and lintian.
Can you describe your journey in Debian and in the release team?
I was introduced to Debian as part of an infrastructure upgrade at work, moving from a set of Red Hat and Solaris-based systems. As part of that, we submitted some bugs for issues we found during the upgrade and for small patches we included in some software to add extra functionality we wanted. From that starting point I became more interested in Debian in general and began following some of the mailing lists and IRC channels.
When Julian Gilbey asked for help with the maintenance of devscripts, I submitted some patches for some of the outstanding bug reports and was invited to join the team which was being created to handle maintenance for the package. One of the then Release Managers was also on the team and asked if I d be interested in working on a couple of updates they wanted to the scripts which generate the proposed-updates overview pages. I added the new functionality which was merged in to the live scripts and a little while later I was invited to join the team, shortly before Debconf 9.
As most readers will be aware, we unfortunately reached a point during last year where we didn t have anyone filling the Release Manager role. During that period, I became more active in handling transitions and requests for updates to stable and as time went on more people started to suggest that I should put myself forward for the position, or refer to me as already being RM. I procrastinated over the decision for some time but after discussions during Debconf 10 I came round to the idea that we should have the RM role filled again and agreed to take it on, together with Neil. The rest, as they say
How much time do you usually spend working for the release team ?
I ve been trying to work out how to usefully answer this question. My initial answer was approximately two hours each day , but the longer I thought about it the more I started debating exactly what I should include under the umbrella of release work; after some to-and-fro I ve decided to stick with my initial answer.
During periods when Debian is frozen and particularly in the lead up to the release that time commitment increases significantly, particularly over weekends. I m reliably informed that at that point the correct answer to the question is too much time . No comment Liked this article? Click here. My blog is Flattr-enabled.
I realized I never announced this on the blog, so without further ado.... Rcpp Workshop in Chicago on April 28, 2011 This year's R/Finance conference will be preceded by a full-day masterclass on Rcpp and related topics which will be held on Thursday, April 28, 2011, on the University of Illinois at Chicago campus. Join Dirk Eddelbuettel and Romain Francois for six hours of detailed and hands-on instructions and discussions around Rcpp, inline, RInside, RcppArmadillo and other packages---in an intimate small-group setting. The full-day format allows to combine a morning introductory session with a more advanced afternoon session while leaving room for sufficient breaks. There will be about six hours of instructions, a one-hour lunch break and two half-hour coffee breaks. Morning session: "A hands-on introduction to R and C++" The morning session will provide a practical introduction to the Rcpp package (and other related packages). The focus will be on simple and straightforward applications of Rcpp in order to extend R and/or to significantly accelerate the execution of simple functions. The tutorial will cover the inline package which permits embedding of self-contained C, C++ or Fortran code in R scripts. We will also discuss RInside to embed R code in C++ applications, as well as standard Rcpp extension packages such as RcppArmadillo for linear algebra and RcppGSL. Afternoon session: "Advanced R and C++ topics" This afternoon tutorial will provide a hands-on introduction to more advanced Rcpp features. It will cover topics such as writing packages that use Rcpp, how 'Rcpp modules' and the new R ReferenceClasses interact, and how 'Rcpp sugar' lets us write C++ code that is often as expressive as R code. Another possible topic, time permitting, may be writing glue code to extend Rcpp to other C++ projects. We also hope to leave some time to discuss problems brought by the class participants. Prerequisites Knowledge of R as well as general programming knowledge; C or C++ knowledge is helpful but not required. Users should bring a laptop set up so that R packages can be built. That means on Windows, Rtools needs to be present and working, and on OS X the Xcode package should be installed. Registration Registration is available via the R/Finance conference at
http://www.RinFinance.com/register/or directly at RegOnline
http://www.regonline.com/930153The cost is USD 500 for the whole day, and space will be limited. Questions Please contact us directly at RomainAndDirk@r-enthusiasts.com.
Last week, I had to put my daily (real) work off for a bit, to get some rest. I took this occasion to implement a few ideas I had for the Buildd Status Pages. Mainly, I wanted to get rid of my external dependencies which are:
A pure maintenance release of
RcppGSL---our
interface package between
R and the
GNU GSL using our
Rcpp package for
seamless R and C++ integration---is now on
CRAN
It contains no new code, but smoothes one or two edges in the build process
and noticed by the newest versions of
R CMD check. It also adds vignette from the unit tests as some
of our other packages do.
The short NEWS file extract follows below.
0.1.1 2011-04-05
o Unit tests produce a summary vignette as for some of the other packages
o The documentation Makefile now uses the $R_HOME environment variable
o The documentation Makefile no longer calls clean in the all target
And courtesy of
CRANberries, here are
the changes to
the previous release.
Diff between RcppGSL versions 0.1.0 dated 2010-12-01 and 0.1.1 dated 2011-04-06 ChangeLog 22 ++++++++++++++++++++ DESCRIPTION 8 +++---- inst/NEWS 8 +++++++ inst/doc/Makefile 28 ++++++++++++++++++++------ inst/doc/RcppGSL-unitTests.Rnw only inst/doc/RcppGSL-unitTests.pdf only inst/doc/RcppGSL-unitTests.tex only inst/doc/RcppGSL.pdf binary inst/doc/RcppGSL/RcppGSL.Rnw 43 ++++++++++++++++++----------------------- inst/doc/unitTests only src/Makevars.in 2 - 11 files changed, 75 insertions(+), 36 deletions(-)More information is on the RcppGSL page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
The Background
If you weren't online last Friday you probably have missed the big news announcement on the various community distribution websites. The main pages of them got replaced by a placeholder announcing the birth of The Canterbury Project. People started to wonder whether it is an April fool's prank or for real. This blog post is meant to shine a bit more light on it and address one comment received about it.
If you go to the news item on the Debian site you'll get your answer about that it indeed was an April fool's prank. The idea for doing something in coordination with other distributions came to me when I thought about last year's (or was it already two year's ago?) prank that the various web cartoon sites pulled: they replaced their main page with the page of another cartoonist. My original idea was actually along that lines. So I started to dig up website contacts from different distributions, I was aiming at the big names in the community distribution sector.
Given that my time is pretty limited these days with renovating the house we plan to live in soonish I knew I had to let in others in within Debian. I though didn't want to involve too many people, for several reasons: it should be a surprise to as many as possible, but more importantly, I didn't want to shy away other distributions by an overwhelming Debian involvement. That's also part of the reason why I didn't contact many Debian based distributions.
So first contacts where made, a dedicated IRC channel used for coordination, and people involved joined in. Then the thing happened which the Free Software community is so well known for: additional ideas came in, two people independently addressed me whether it wouldn't be better that instead of a circle replacement of the frontpage, why not display the same page on all of them. And one of them added that a corresponding news item might make sense.
So there we were, having to think about text to put into two things: the news item and the replacement page itself. At this stage Alexander threw in a project name with a background that was adopted. Francesca started with an idea for the news item, I started to put quotes in and asked for ones from the other involved people that fit their distribution well. Klaas came up with a template for the replacement page that we tweaked. Fortunately we ended up being five distributions and the colors of the banner did match the distribution ones rather well (except for one, we had to tweak the color of one banner).
The Credits
We were all set, and actually everything went fine. And it definitely caught the attention. This blog post goes out in thanks to the following people:
Collaboration Across Bordersactually is possible. And the background information put into the news section of the replacement site is real. Also, my personal quote in the news item was meant dead honest. I do believe that DEX has a limited point of view and only tackles part of the problem. Unfortunately, for such efforts to really come to life it takes people with a really long breath and dedication to it. Efforts like the VCS-PKG and the Freedesktop Games effort are more or less stalled. Even though a lot of people do believe in stronger collaboration to be a good thing, the basis is not working out too well. I'm in the fortunate position that for some of the packages I maintain there is exchange between packagers from different distributions to avoid common troubles. If it can't be done in the big it should at least be tried in the small. I want to specifically highlight again one part of the updates in the replacement page: the CrossDistro track at this year's FOSDEM. This one was more than fruitful, on several levels. From what I've heard a lot of discussion happened besides the talks too, and connections got established. It doesn't sound unlikely like this might be done again next year. So again, thanks for enjoying this April fool's prank, thanks to everyone who helped to deliver it, and especially a lot of thanks to the people who this might have got thinking of possibilities to improve on the collaboration front!
After todays or yesterdays daily package update (Sid) several kernel modules, namely thinkpad_acpi, snd-hda-intel and probably others are not loaded automatically anymore. So my Thinkpad T500 had no support for audio and several power management functions anymore. Once I found out that the missing kernel modules where the problem, the fix was easy: just add the corresponding module names to /etc/modules to enforce loading of the modules. But I wonder what caused the sudden change? Why are the modules not loaded automatically anymore? I usually update my Sid packages every morning so some package update from yesterday or today might have caused this. Looking at the packages which where updated, I found nothing suspicious. Has anyone an idea at which package I should look?
Update: Looks like the problem was related to the recent update of base-files to version 6.2 which introduced the new /run directory in combination with udev. Downgrading base-files to version 6.1 (via snapshot.debian.org) fixed the problem.
Looking at current state of some phpMyAdmin translations, I came to conclusion that some are not worth shipping, because they really do not translate reasonable amount of the interface. The problematic question is where to draw the line. For 3.4.0-rc1 I drew it at 50% of messages, what means that 25 languages currently pass. It might look too strict and the threshold will most likely change for final 3.4.0, but we need to start somewhere.
While discussing this topic on mailing list, Tyron Madlener came with idea to tell users of incomplete translations about it and point them to information how to contribute. I quickly implemented this idea and it is now in git and live on demo server. I deliberately decided not to remove incomplete translations on demo server, maybe they will attract new contributors thanks to new warning on main page.
Filed under: English Phpmyadmin 2 comments Flattr this!
A brand new and shiny 0.9.3 release of
Rcpp
is now on CRAN and
Debian.
This version contains an actual bug fix for Rcpp modules and a few build improvements, including for
both clang/llvm and
g++-4.6 (which,
being in Debian, is already used for
conformance checks on CRAN's incoming
directory) and g++-4.5.
We also updated the main introductory vignette
Rcpp-introduction
to the content of what should be a forthcoming paper in the
Journal of Statistical Software.
The complete NEWS entry is below; more details are in
the ChangeLog file in the package and on the
Rcpp Changelog page.
0.9.3 2011-04-05
o Fixed a bug in which modules code was not behaving when compiled
twice as can easily happen with inline'ed version
o Exceptions code includes exception_defines.h only when g++ is 4.5 or
younger as the file no longer exists with g++-4.6
o The documentation Makefile now uses the $R_HOME environment variable
o The documentation Makefile no longer calls clean in the all target
o C++ conformance issue found by clang/llvm addressed by re-ordering
declarations in grow.h as unqualified names must be declared before
they are used, even when used within templates
o The 'long long' typedef now depends on C++0x being enabled as this
was not a feature in C++98; this suppresses a new g++-4.5 warning
o The Rcpp-introduction vignette was updated to the forthcoming JSS paper
Thanks to
CRANberries, there is
also a
diff to the previous release 0.9.2:
Diff between Rcpp versions 0.9.2 dated 2011-02-24 and 0.9.3 dated 2011-04-05 ChangeLog 60 DESCRIPTION 8 R/00_classes.R 5 R/01_show.R 44 R/Module.R 1 cleanup 2 inst/NEWS 23 inst/doc/Makefile 74 inst/doc/Rcpp-FAQ.pdf binary inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw 2 inst/doc/Rcpp-extending.pdf binary inst/doc/Rcpp-introduction.Rnw 1355 +++++++------ inst/doc/Rcpp-introduction.pdf binary inst/doc/Rcpp-modules.pdf binary inst/doc/Rcpp-package.pdf binary inst/doc/Rcpp-quickref.pdf binary inst/doc/Rcpp-sugar.pdf binary inst/doc/Rcpp-unitTests.pdf binary inst/doc/Rcpp.bib 99 inst/doc/jss.bst only inst/doc/unitTests-results/Rcpp-unitTests.html 18 inst/doc/unitTests-results/Rcpp-unitTests.txt 46 inst/include/Rcpp/Module.h 40 inst/include/Rcpp/Vector.h 6 inst/include/Rcpp/config.h 2 inst/include/Rcpp/grow.h 91 inst/include/Rcpp/module/Module_generated_ctor_signature.h 18 inst/include/Rcpp/vector/RangeIndexer.h 5 inst/include/RcppCommon.h 6 inst/unitTests/runit.Module.R 19 inst/unitTests/testRcppModule/src/stdVector.cpp 7 src/exceptions.cpp 2 32 files changed, 1167 insertions(+), 766 deletions(-)As always, even fuller details are on the Rcpp Changelog page and the Rcpp page which also leads to the downloads, the browseable doxygen docs and zip files of doxygen output for the standard formats. A local directory has source and documentation too. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page
We're heading to release candidates for phpMyAdmin 3.4.0, so the translators have less time to make the translations better. The Italian translation got to 100% this week thanks to Rouslan Placella. So there are now 14 translations at 100%:
Filed under: English Phpmyadmin 0 comments Flattr this!
A build-fix release RQuantLib 0.3.7
is now on CRAN and
in Debian.
RQuantLib
combines (some of) the quantitative analytics of
QuantLib with the
R statistical computing environment and language.
Thanks to the help by Brian Ripley
(who compiled QuantLib for 64 bit Windows),
Josh Ulrich (who did the same for 32 bit Windows, and arranged the Windows builds) and
Uwe Ligges (who runs win-builder
for R) we once again have Windows binaries as well as the usual source distribution
(and Debian binaries).
The only other change was minor fix to the documentation files. We had found that the pdf reference manual build would break for Uwe and
Kurt (using A4 paper settings) but not myself (using letter). Uwe finally tracked that down: we had some arguments to \url
with over seventy characters, and that broke typesetting. I commented those out (as the entries were in doxygen-generated QuantLib page
which have volatile names anyway) and fully automated builds now resume as usual. Thanks again to Uwe for that too. No other changes were made.
Thanks to
CRANberries, there is
also a
diff to the previous release 0.3.6.
Full changelog details, examples and more details about this package are at
my RQuantLib page.
Today I made a couple of small tweaks to my systems. First of all I updated my email handling to allow further restrictions to be applied to incoming mail.
Generally the way I handle incoming mail is to first of all test the recipient, then apply spam checks. To allow mail for a new localpart to be received I'll run this:
cd /srv/example.com/users/valid touch localpartThe result of the file /srv/example.com/users/valid/localpart existing is that mail is accepted for localpart@example.com. As of today that still works - any file beneath users/valid allows the appropriate localpart to receive email. But now a directory indicates an ACL. So I can create:
rm /srv/example.com/users/valid/root mkdir /srv/example.com/users/valid/root/ touch /srv/example.com/users/valid/root/1.2.3.4 touch /srv/example.com/users/valid/root/2.3.4.5Now only the named IP addresses may mail root@example.com. Finally I updated the proxy which is handling incoming access to my websites, so that I actually take advantage of the regular expression support.
'(xen-hosting.net www.xen-hosting.net)':
'rules':
'^/': 'http://kvm-hosting.org/'
,
,
'(xen-hosting.org www.xen-hosting.org)':
'rules':
'^/': 'http://kvm-hosting.org/'
,
,
Using regular expressions meant that I didn't have seperate matches for xen-hosting.org and www.xen-hosting.org. (Obviously I could have combined all four hosts into one regexp, but it looks cleaner this way.)
ObQuote: "Nobody likes a perky goth" - Blood Ties.
sudo apt-get install emdebian-archive-keyringThen we add a
/etc/apt/sources.list.d/emdebian.list file with the following content:
deb http://ftp.uk.debian.org/emdebian/toolchains lenny main deb-src http://ftp.uk.debian.org/emdebian/toolchains lenny mainThe we update the package list to install the needed packages:
sudo apt-get update sudo apt-get install libc6-armel-cross libc6-dev-armel-cross libstdc++6-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabiThat s it ! We have now our cross-compilation toolchain installed from packages, so easy to update or remove. The kernel sources Samsung released it s modified 2.6.29.4 version. By cloning the kernel 2.6.29.y git branch, I could quickly see that their changes applied well to the 2.6.29.6 version (the last in the branch). In order to better sort the changes michel.s had splat them into several patches
series file allowing to apply those patches with quilt or better to import them to a git branch with git quiltimport. The order I choose allows to drop easily some patches (the last ones).
One particular point on those patches is that some include binary files:
fs/rfs/*.o a proprietary journaling layer over FAT. If you want my point ov vue, we don t need that. After all we have free journaling file systems available and linux is able to mount something else than FAT over USB drivers/usb/gadget/file_storage.o also the corresponding .c file was removed, the BSD/GPL license from the original code allows a binary distribution (however I didn t check if Alan Stern s name appears in the doc) but I d have liked that Samsung give that source code.mkimage utility from U-Boot. Here, Let s build the U-Boot released by Samsung, and let s just copy the tools/mkimage to a location in our PATH (that s the only install method I could find).
make smdkc100_config make CROSS_COMPILE=arm-linux-gnueabi- cp tools/mkimage ~/bin/Building linux For the config, one of the patches includes a
.config. That file is a copy of config_rfs so even without the previous patch, we can get Samsung s config.
Finally we can compile!
make CROSS_COMPILE=arm-linux-gnueabi- CFLAGS="-march=armv4t -mtune=cortex-a8" CXXFLAGS="-march=armv4t -mtune=cortex-a8" ARCH=arm uImageWe can then load our kernel by following The kernel testing howto from e60-open project. To load the kernel we will need the following command:
sudo dnw arch/arm/boot/uImageThat it, and it works ! Well almost, the kernel cannot find his modules. This will not be a big deal for the ones included in the sources (but the subject of a next post) but the
/lib/modules/max14540.ko and lib/modules/dhd.ko modules are not included in the sources while reporting a GPL license to the kernel.
Missing source code
The Samsung Open Source Release Center website has a contact form, but it does not seam to work (I even booted my netbook on windows to try with IE8 without success). After browsing the french e60 forum I found their email address and mailed them, no answer so far (not even automatic). Let s wait
Conclusion
We can compile a kernel for the e60 reader without using the cross tools from Samsung.Next.