...making Linux just a little more fun!
Smile Maker [britto_can at yahoo.com]
Folks ,
I have got centos 5 on my box and i went through the default installation which creates LVM and mounts in /.
When i just rebooted linux thrown error :
"System lookup error: mount:undefined symbol:blkid_get_cache"Any advice.
Thanks & regards, Britto
Amit Kumar Saha [amitsaha.in at gmail.com]
Hi all
I finally installed Xen using Synaptic on a fresh installed version of
Ubuntu 7.04 (32-bit). For some reason the earlier efforts did not
succeed
However now I can boot to my custom Xen enabled 2.6.19
kernel.
Is there a problem with the amd-64 version of XEN? Can some one confirm this?
Cheers,
-- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com
Jimmy Kaifiti [dgeemee03 at hotmail.com]
Hi , my name is Jimmy,can anyone help me fix the time on my PC. I change the Battery so many time ,I mean the new CMOS Battery ,but my time is still not read correct
René Pfeiffer [lynx at luchs.at]
Hello!
So, here's my question about that index problem I mentioned in the answer to Ben's question about backups.
Imagine you have two backups servers. Server A keeps a rather recent copy of live servers. Server B tries to archive stuff from server A in order to keep recent backups recent and to save space on server A. Of course this means that server B keeps accumulating files and directories. In order to avoid this one could think of a strategy of deleting files according to a mathematical distribution. There's a tool called fileprune which does just that (http://www.spinellis.gr/sw/unix/fileprune/). I found it by browsing through an old issue of ;login:. fileprune deletes data by using a Gaussian, exponential oder Fibonacci distribution. The problem is that fileprune needs to read the metadata of the entire tree into memory before it can decide which files to delete. Backup storage may have millions of files and directories.
I'd like to ask the filesystem directly "which files have an access time of older than X" and get an answer. In the database world you have indices for that. (Most) filesystems don't have such things (at least not exported to userspace), so you would have to maintain one for yourself. This could be done by the Linux kernel's Inotify API which tells you what changes were done in a specific filesystem tree. I tried it, it works, but I have no idea if I catch every modification when rsync or other tools come along (I am going to test this with higher load as soon as my load is lower).
Another way is to see whether existing filesystems have similar functionality. I believe Reiser4 went into this direction. Yet another way is to parse the filesystem tree seperately in order to maintain a metadata index.
Do you have some more ideas besides writing a new filesystem?
Just being curious, René.
Stelian Iancu [stelu at siancu.net]
Hello all,
I have recently received a Linksys WRT54GS wireless router from a friend of mine who had it laying around and didn't need it anymore. He told me he changed the firmware of the device several times, when he originally bought it and now he doesn't remember which firmware is installed.
So how can I figure out which one it is? I tried to connect with Firefox to the specific IP administrative addresses of DD-WRT and OpenWRT but there's no response.
Any help is more than appreciated!
With regards, Stelian Iancu
Kapil Hari Paranjape [kapil at imsc.res.in]
Hello,
Well one of the things at least! http://sam.zoy.org/zzuf/ (Also available in Debian testing of course!) Quite a neat toy!
Regards,
Kapil. --
[ Thread continues here (3 messages/3.00kB) ]
Amit Kumar Saha [amitsaha.in at gmail.com]
Hey all,
Suggest me a good, complete LATEX system - editors, typesetting system - preferably for Ubuntu (if thats important).
Cheers,
-- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com
[ Thread continues here (13 messages/12.67kB) ]
Ben Okopnik [ben at linuxgazette.net]
As sometimes happens, shortly - or not so shortly - after we finish a discussion in TAG, more info about the problem pops up out of nowhere, usually as a result of a completely unrelated Google search. I swear, if we were to have a discussion about Martian blood-drinking weasels, next week I'd run into a "The Vampire Mustelids of Ares: A Personal Interview" while searching for soap-scum removal info...
Anyway, Karl-Heinz: while I was fiddling about trying to come up with a "max-spread" sorting algorithm [1], I ran across a reference to Parallel::ForkManager on 'http://perlmonks.org'. Doing a quick lookup on CPAN came back with this (snipped from the documentation):
This module is intended for use in operations that can be done in parallel where the number of processes to be forked off should be limited. Typical use is a downloader which will be retrieving hundreds/thousands of files. The code for a downloader would look something like this: [...]This sounds like exactly the kind of thing you were describing. It allows nicely fine-grained individual control of the child processes, etc. - take a look!
http://search.cpan.org/author/DLUX/Parallel-ForkManager-0.7.5/ForkManager.pm
There's also Parallel::ForkControl -
http://search.cpan.org/author/BLHOTSKY/Parallel-ForkControl-0.04/lib/Parallel/ForkControl.pm
[1] For the mathematicians among us, you might find this to be fun. See my next post.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (2 messages/3.46kB) ]
axel.stevens [axel.stevens at webcreator.be]
Martin, Ben
There are still .sit.bin files to be found.
I located 2 files - mix68k.sit.bin and mixppc.sit.bin both 1,8 MB
best of luck
axel stevens
support engineer - Macintosh, Linux, Windows
Belgium
[ Thread continues here (2 messages/0.99kB) ]
Neil Youngman [ny at youngman.org.uk]
I was asked to look at a system that had a consistent load average around 5.3 to 5.5. Now I know very little about how to track down load average issues, so I haven't been able to find much. The CPU usage is about 90% idle, so it's not CPU bound.
I googled for "load average", "high load average" and "diagnose load average" and I found very little of use. the one thing I found was that if it's processes stuck waiting on I/O "ps ax" should show processes in state "D". There are none visible on this box.
Do the gang know of any good resources for diagnosing load average issues or have any useful tips?
Neil Youngman
[ Thread continues here (12 messages/18.50kB) ]
Ben Okopnik [ben at linuxgazette.net]
----- Forwarded message from Scott Rainey <scott.rainey@thelinuxfund.org> -----
Date: Wed, 27 Jun 2007 14:19:54 -0700 From: Scott Rainey <scott.rainey@thelinuxfund.org> Reply-To: scott.rainey@thelinuxfund.org To: editor@linuxgazette.net Subject: TUX ImagesHi,
I'm looking for a large format vector-based digital versions of Tux, both color and monochrome. I'm even willing to pay for a really good one in monochrome suitable for sand-blasting on glass.
Do you know whom I should contact?
All the best,
Scott
----- End forwarded message -----
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (2 messages/2.44kB) ]
Ben Okopnik [ben at linuxgazette.net]
On Tue, Jul 10, 2007 at 12:34:05PM +0530, Nayanam,Sarsij wrote:
> I am writing a shell script to run on MC/SG cluster , and I am facing an > issue as mentioned below: > > if we have a package with a dash in the name say sgpkg-cust : > > # PKGsgpkg-cust=hello > sh: PKGsgpkg-cust=hello: not found. > # PKGsgpkg=hello > # echo $PKGsgpkg-cust > hello-cust
This is not surprising; a dash is not a valid character in a variable for Bourne-derived shells.
> I have a function get_package_fqdn which starts as below:
>
> 37 get_package_fqdn()
> 38 {
> 39 eval var=$`echo PKG$1`
> 40 if [[ -z $var ]]; then
> [...]
> 64 fi
> 65 }
>
> we will notice that if $1=sgpkg-cust, var will be equal to "-cust" and the
> rest of the funcion "if[[ -z $var ]];" will not be used and nothing will
> be introduced in the PKG$packagename variable.
This isn't shell-specific, but an excellent Perl programmer named Mark-Jason Dominus has a writeup called "Why it's stupid to use a variable as a variable name" (http://perl.plover.com/varvarname.html). The above problem is explicitly cited. In short: since variable names are restricted to a specific set of characters, and the set of characters that could be contained in your '$1' is essentially arbitrary, you're creating a problem when you do that. So don't do that.
In Perl, the answer is "use a hash". In Bash, well, you need to rethink what it is that you're trying to do and use different functionality. As a general approach, you could try "flattening" that arbitrary character set - be sure to do do in both populating and reading the strings:
package_name=$(echo -n "PKG$1"|tr -c 'a-zA-Z0-9_' '_')
ben@Tyr:~$ var=$(echo -n "xyzabc@$%^&*()_++sadbjkfjdf" | tr -c 'a-zA-Z0-9_' '_') ben@Tyr:~$ echo $var xyzabc____________sadbjkfjdfDo note that this will still break if a "special" Bash character (e.g., '!') appears in the string. Overall, you just need to rethink your approach to this problem. MJD is right: it's a bad idea to use a variable as a variable name.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
Ben Okopnik [ben at linuxgazette.net]
On Wed, Jun 20, 2007 at 01:20:31PM +0200, Peter Holm wrote:
> I have searched the net (google, newsgroups ...) to find an answer to > this question .- but without success. > > In KDE (for example) you can get individual desktops backgrounds for > each virtual desktop. > Well - i am used to a utility for M$-Windows called Xdesk that also > can set the the desktops to have individual icons / folders. > > I know that in the windows world they change a regkey that tells where > the desktop belongs for each switch so such a 'true virtual desktop' > > I have also in M$-Windows created bathc-files to use with less > intelligence window-managers, theese batch-files separately update the > regkey to get my own way to create 'true virtual desktops' > > Is there any program that i can get to have different desktops-folders > or is there any way to trick either kde / gnomw / idesk to have > different desktops?
I have very little experience with it myself, but based on what I do know, FVWM can probably accomodate you. You would, however, need to learn to write config files for it. I have no doubt that it has some kind of a "DetectDesktopSwitch" function, as well as either the capability of hiding the icons or allowing you to script such a function.
Here's an example of a very complicated (but still readable) FVWM config file:
http://www.cl.cam.ac.uk/~pz215/fvwm-scripts/config
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (5 messages/13.80kB) ]
Chiew May Cheong [chiew_may at hotmail.com]
I have got a bash script called del_level0.sh that runs every Friday that looks like this:
#!/bin/bash cd /u1/database/prod/level0 rm *There's a cron entry for this script that runs every Friday:
linux:/usr/local/bin # crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.XXXXvi5yHq installed on Tue Jun 26 14:13:04 2007) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) 0 15 * * 5 /usr/local/bin/del_level0.sh > /dev/null 2>&1Can you help me so that the script runs at 3pm every 2nd and 4th Friday of the month?
Thanks.
Regards,
Chiew May
[ Thread continues here (6 messages/5.55kB) ]
René Pfeiffer [lynx at luchs.at]
Hello, TAG!
Every once in a while I am looking for a good vacation mailer that can read emails as good as I can while I am as far away from my mailbox as possible. I already tried
- vacation from Sendmail, - the Sieve vacation mailer that can be enabled in Cyrus and - a Perl script I wrote which is buried under the rubble of the company I worked for many years ago.What are your favourite vacation mailers that cause the least trouble with auto-generated emails? Do you have any preferences or experiences?
Best wishes, René.
[ Thread continues here (8 messages/10.67kB) ]
Jim Jackson [jj at franjam.org.uk]
I was interested to see the discussion in this article on passive ethernet "hubs" etc. Other maybe interested in this passive 3 port ethernet hub design...
http://www.zen22142.zen.co.uk/Circuits/Interface/pethhub.htm
I've not actually built it yet, but plan to do so soon.
Jim
[ Thread continues here (2 messages/2.56kB) ]
Thomas Adam [thomas.adam22 at gmail.com]
Hey all,
As I am sure many of you know, I don't get on with hardware.
Thanks to Ben's suggestion I now have a USB Sun keyboard though, and
despite people's horrific claims, I at least like it. So thanks,
Ben.
My next question concerns a possibe replacement for my workstation. I've had my current PC for about three years now, kindly donated by a friend of mine. It's a nice system, but it needs replacing. I've had enough of the CPU being at 70C plus, despite cooling attempts.
So I was looking at buying a Shuttle PC. Specifically the SD39P2 which would be a bare-bones system [1]. What I'm curious to know is whether any of you have used one, and how they stack up against a regular PC? My reading suggests they can act as a pretty good desktop replacements. Whilst the model I'm looking at only has two PCI slots, I only really need to add a wireless PCI card and an NVidia graphics card, so that's perfect.
Does the model I'm listing [1] suggest any problems with running Linux
on it? I can't see how it would at a cursive glance of what's
available. My only real reservation is what would be the driving
force of me buying this model when I could go to Dell and spend an
equivalent amount of money and get a whole lot more.
Kindly,
Thomas Adam
[1] http://www.trustedreviews.com/pcs/review/2007/05/30/Shuttle-SD39P2-Barebone/p1
[ Thread continues here (8 messages/9.57kB) ]
Ben Okopnik [ben at linuxgazette.net]
[ If you're not a programmer or a mathematician, you might want to hit
the 'delete' key right about now. Either that, or risk being bored to
tears. Remember, I warned you!
]
As I've just mentioned in my previous post, I've been fiddling with a "max-spread" algorithm - i.e., if I have two lists, and I want the items in the first list to be spread as widely as possible (using the items in the second list as the "padding"), how do I interpolate them?
This can also be stated as follows: given a barbecue, a bunch of pork cubes, and a number of cherry tomatoes, how would you arrange the skewers in such a way that a) there's a pork chunk at the beginning and the end of every skewer, b) each skewer is arranged in as even a manner as possible, and c) you use up all the pork and all the tomatoes?
I got most of the way to a solution - essentially reinventing the Bresenham line algorithm [1] (and the wheel... and fire... sheesh. I'm a very poor mathematician, and a worse statistician), but got scooped by a fellow Perl monk from the Monastery (perlmonks.org) - really nice work on his part. I rewrote his script to actually sort arrays rather than strings and added some guard conditions. Sample output looks like this:
ben@Tyr:~/devel/0$ ./skewer 2 2 pork1|tmt1|tmt2|pork2 ---#00#--- ben@Tyr:~/devel/0$ ./skewer 3 3 pork1|tmt1|tmt2|pork2|tmt3|pork3 ---#00#0#--- ben@Tyr:~/devel/0$ ./skewer 4 4 pork1|tmt1|tmt2|pork2|tmt3|pork3|tmt4|pork4 ---#00#0#0#--- ben@Tyr:~/devel/0$ ./skewer 5 4 pork1|tmt1|pork2|tmt2|pork3|tmt3|pork4|tmt4|pork5 ---#0#0#0#0#--- ben@Tyr:~/devel/0$ ./skewer 7 4 pork1|tmt1|pork2|tmt2|pork3|tmt3|pork4|tmt4|pork5|pork6|pork7 ---#0#0#0#0###---Can you reproduce this algorithm?
I found it a very interesting
exercise, myself.
[1] http://en.wikipedia.org/wiki/Special:Search?search=Bresenham%20line%20algorithm
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (11 messages/20.47kB) ]
Ben Okopnik [ben at linuxgazette.net]
All of us know - at least I hope we do - that we should all be doing regular backups; that's a given. Chances are, though, that we've all skipped one or two (or more) on the schedule ("heck, nothin's happened so far; it shouldn't make too much of a difference...") - that is, if you even have a schedule, rather than relying on some vague sense of "it's probably about time..." I have to admit that, as much as I advise my customers to have a solid backup plan, I'm less than stellar about having a polished, perfect plan myself.
In part, this is because backups are much easier with a desktop than a laptop - or even with a desktop to which you synch the laptop once in a while. Operating purely from a laptop, as I do, means that I don't have an always-connected tape drive (or whatever) - and doing a backup is always a hassle, involving digging out the external HD, hooking it up, and synchronizing. Moreover, since I do a lot of travelling, setting an alarm doesn't seem to be very useful; it usually goes off while I'm on the road, at which point I can only glare at it in frustration.
As with so many things, what I really need is a copy of "at" installed
in my brain... but lacking that, well, I decided to dump the problem on
you folks.
Can anyone here think of a sensible backup plan for the situation that I've described - laptop, external backup, arbitrary schedule - and some way to set up a schedule that work with that? Also, does anyone have a favorite WRT backup software? I really miss the ability to do incremental backups; that would be awf'lly nice (I don't mind carrying a few DVDs with me, and using the external HD for a monthly full backup.)
Good ideas in this regard - whether they competely answer the question or not - are highly welcome.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (30 messages/58.31kB) ]
Ben Okopnik [ben at linuxgazette.net]
[[[ I viciously snipped out the entirety of the original message which headed this thread, as it was horrendously replete with html garbage. - Kat ]]]
On Fri, Jul 06, 2007 at 11:33:15AM -0400, Bank Of America wrote:
> Bank of America Higher Standards > Online Banking Alert > Need additional up to Re-Update Your Online Banking > the minute account > information? Sign in Because of unusual number of invalid login > attempts on you account, we had to believe > that, their might be some security problem on > you account. So we have decided to put an extra > verification process to ensure your identity > and your account security. Please click on sign > in to Online Banking to continue to the > verification process and ensure your account > security. It is all about your security. Thank > you. and visit the customer service section.
[snip] Nice, even though completely ungrammatical. The 'sign in to Online Banking' link points to
http://www.tsv-betzigau.de/contenido/includes/hypper/repute/bankofamerica/online_bofa_banking/e-online-banking/index.htmTheir images are coming from yet another domain:
http://release35.par3.com/images/client/bankofamerica/em_logo.gifYet another example of PHP fuckmuppetry. And this isn't going to stop, since the creators of PHP refuse to fix the well-known vulnerabilities in the language. [sigh]
If someone who speaks Deutsch wants to contact the owners of the first domain and let them know, that would be a nice thing to do. I've just contacted the webmaster of the second domain; hopefully, they'll take that garbage offline and fix their leaks.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (4 messages/6.33kB) ]
Rick Moen [rick at linuxmafia.com]
This is a small excerpt from the discussion thread at Linux Weekly New, in response to LWN's news story about a "statement" posted at Microsoft Corporation's Web site, claiming they are not, and never will be, subject to the provisions of the GNU General Public License v. 3.
LWN is subscriber-supported, and well worth the minor expense.
http://lwn.net/Articles/240822/
*They're involved in the distribution*
Posted Jul 6, 2007 14:31 UTC (Fri) by guest coriordan
Microsoft arranged for Novell to give GNU/Linux to anyone with an MS voucher, and then proceeded to distribute those vouchers. Sounds like distribution to me (with a middle man which isn't legally relevant).
According to the GPLv3 lawyers, they're "procuring the distribution of" GPL'd software, and that requires permission from the copyright holder. So Microsoft are either distributing under the permissions which the GPL grants them, or they are violating copyright.
And, as I understand it, there's no time limit on those vouchers. Novell might have to declare the deal non-applicable (and thus the "protection" too) when they distribute GPLv3 software, or maybe Microsoft will have to make that declaration.
*They're involved in the distribution*
Posted Jul 6, 2007 15:09 UTC (Fri) by guest moltonel
In an eWeek article, they have a quote from "Bruce Lowry, a Novell spokesperson" saying "Customers who have already received SUSE Linux Enterprise certificates from Microsoft are not affected in any way by this, since their certificates were fully delivered and redeemed prior to the publication of the GPLv3".
So it sounds like Microsoft does not plan to be "distributing" GPL code in this manner anymore, and that what has already been distributed is protected the GPL's grandfather clause.
Well, that may not be a huge victory (Did anybody expect Microsoft to suddenly give up on its patents or start GPL'ing its code because of GPLv3 and the Novell deal ?), but it's something. It'll be interesting to watch the GPLv3 / Novell deal interpretation match in the next few weeks.
*They're involved in the distribution*
Posted Jul 8, 2007 0:47 UTC (Sun) by subscriber rickmoen
Ciaran O'Riordan wrote:
> According to the GPLv3 lawyers, they're "procuring the distribution of" > GPL'd software, and that requires permission from the copyright holder. > So Microsoft are either distributing under the permissions which the GPL > grants them, or they are violating copyright.
Quite. Moreover, this does affect preexisting software covered by the Novell-Microsoft patent-shakedown agreement, too (not just future releases under GPLv3), because a great deal of existing software in both Novell SLES10/SLED10, per upstream licensors' terms, can be received by users under GPLv2 or, at their option, _any later version_.
For that matter, Microsoft Services for Unix (nee Interix) is affected in exactly the same fashion, because it, too, includes a great deal of upstream, third-party code that users may accept under GPLv2 or any later version.
[ ... ]
[ Thread continues here (1 message/4.27kB) ]
Rick Moen [rick at linuxmafia.com]
LWN has a new story (currently subscriber-only) about SugarCRM announcing that its upcoming 5.0 release of SugarCRM Community Edition will be under GPLv3 (as opposed to the company's current badgeware licence, this having been the firm that invented the concept).
Press release: http://www.prnewswire.com/cgi-bin/stories.pl?ACCT=104&STORY=/www/story/07-25-2007/0004632607&EDATE=LWN item (brief mention only; no analysis): http://lwn.net/Articles/242968/
I've just posted this comment to LWN:
*Is this a blunder, or just too subtle for me?*
Posted Jul 26, 2007 4:18 UTC (Thu) by subscriber rickmoen
I may be missing something, here, so I'm phrasing this in the form of a question or two, and it's not rhetorical: Didn't FSF bow to pressure from sundry interest groups and remove the "ASP loophole" language[1] that had been present in some GPLv3 drafts? Therefore, what in Sam Hill is a Software as a Service (Saas) / ASP / Web 2.0 firm doing adopting a copyleft language whose copyleft language gets finessed by hosted deployment?
FYI, there are a number of genuinely open source licences, a couple of them OSI certified, that do apply copyleft obligations to the ASP industry. One of the best is Larry Rosen's OSL, and there is also Apple's ASPL, both of those being OSI-certified. Non-certified options include Affero GPL (newly reissued as a patch to GPLv3, by the way) and Honest Public License.
On the basis of recent history, it's possible that SugarCRM not only lacks any clever, non-obvious reason why it picked a non-ASP copyleft licence for ASP code, but also doesn't really have any idea what it's doing in this area, and picked GPLv3 just because it has had good press (good press that it generally deserved, IMVAO). Remember, this is the firm that created the first MPL-based ASP licence, and then acted shocked and indignant when it belatedly discovered that its licence permitted forking (when TigerCRM of Chennai forked the codebase), and overreacted by writing what became the prototype MPL + Exhibit B "badgeware" licence that impairs third-party usage through mandated logo advertising without a trademark licence.
It'd be more reassuring if I thought this firm had a master plan, but I now rather strongly suspect it's just a bunch of sales people in an office in Cupertino, staggering from one inadvertant move to the next.
Rick Moen rick@linuxmafia.com
[1] http://weblog.infoworld.com/openresource/archives/2007/03/gplv3_goes_weak.html
[ Thread continues here (2 messages/3.61kB) ]
Rick Moen [rick at linuxmafia.com]
[[[ I have included a portion of this thread for general interest, but the rest of the housekeeping has been elided. -- Kat ]]]
Quoting Ben Okopnik (ben@linuxgazette.net):
> July 2007 (#140): > > * Mailbag > * Talkback > * NewsBytes, by Howard Dyckoff
There was something I annotated at the time of my svn checkin of lg_bytes -- but just realised I should have ALSO put into the STATUS notes. (I'll bet in retrospect that nobody pays attention to svn checkin comments.)
Howard had:
Red Hat Adds Business Solutions to Open Source RHX RHX launch partners include Alfresco, CentricCRM, Compiere, EnterpriseDB, Groundwork, Jaspersoft, Jive, MySQL, Pentaho, Scalix, SugarCRM, Zenoss, Zimbra, and Zmanda.Problem: A bunch of those are JUST NOT OPEN SOURCE. Zimbra, SugarCRM, Compiere, Groundwork, and Scalix are classic "badgeware", which is under MPL-variant software with some restrictions -- while with CentricCRM, there's not even any room for controversy, since their licence doesn't even permit code redistribution. Jive Software (which I'd not heard of, before) turns out to be equally bad.
I have brought this matter, several times, to Red Hat's attention, and the presence of actively misleading wording on the Red Hat Exchange site, such as this at the top of http://rhx.redhat.com/rhx/support/article/DOC-1285:
Red Hat Exchange helps you compare, buy, and manage open source business applications. All in one place and backed by the open source leader. We've collaborated with our open source software partners to validate that RHX applications run on Red Hat Enterprise Linux and are delivered through the Red Hat Network. At RHX, Red Hat provides customers with a single point of contact for support.There has been no response and no correction of this error, but the very bottom of that page now has this "FAQ" item:
Are you only accepting open source ISVs into RHX? The initial set of participating ISVs all have an open source focus. We realize that there is debate about which companies are truly open source. To make it transparent to users, RHX includes information about each ISV's license approach. Longer term, we may introduce proprietary applications that are friendly with open source applications.That is, of course, anything but a straight answer. First, it's nonsense to speak of companies being open source or not -- and the above paragraph in general ducks the question. The issue is whether software is. Second, even if there were debate about the badgeware offerings allegedly being open source, there could be absolutely none about Jive Software's Clearspace or CentricCRM 4.1, which are unambiguously proprietary.
I'm surprised that this Red Hat's deceptive characterisation got past Howard without comment, given that the matter's been extensively covered in recent _Linux Gazette_ issues.
[ ... ]
[ Thread continues here (2 messages/5.40kB) ]
Rick Moen [rick at linuxmafia.com]
----- Forwarded message from Rick Moen <rick@linuxmafia.com> -----
Date: Wed, 27 Jun 2007 14:45:53 -0700 From: Rick Moen <rick@linuxmafia.com> To: Ashlee Vance <ashlee.vance@theregister.co.uk> Cc: Karsten Self <karsten@linuxmafia.com> Subject: Re: (forw) Re: when is an open source license open source?Quoting Ashlee Vance (ashlee.vance@theregister.co.uk):
> Rick, your explanation helped a great. Who are the main culprits of > consequence besides Sugar?
SugarCRM started the trend, and the other dozen-odd firms (Socialtext, Alfresco, Zimbra, Qlusters, Jitterbit, Scalix, MuleSource, Dimdim, Agnitas AG, Openbravo, Emu Software, Terracotta, Cognizo Technologies, ValueCard, KnowledgeTree, OpenCountry, 1BizCom, MedSphere, vTiger) literally copied their so-called "MPL-style" licence, with minor variations. MuleSource was for a long time a vocal backer of SugarCRM's position (but see below).
Alfresco used to be a major backer of that position, but then suddenly decided to shift to GPLv2, which is what they use now. (They are no longer a badgeware firm.) Company spokesman (and OSI Board member, and attorney) Matt Asay says he tried all along to convince them to do that, and I do believe him.
SocialText (and especially CEO Ross Mayfield) has taken a lead online role in trying to resolve the impasse -- though I personally find most of what he says to be almost purely rationalising, and for him to be mostly unresponsive to (or evasive of) substantive criticism.
MuleSource and Medsphere have, within the last few months, improved their respective MPL + Exhibit B licences (http://www.mulesource.com/MSPL/ http://medsphere.org/license/MSPL.html) very dramatically, in direct response to criticism on OSI's license-discuss mailing list. This work seems to be that of attorney Mitch Radcliffe, and encouraged by MuleSource and Medsphere Board member Larry Augustin (formerly of VA Linux Systems). I have great respect for this work, though I am still trying to properly assess and analyse it.
(Disclaimer: Larry is a friend of mine, though I see him only rarely, and I once was employed at one of his firms.)
You should be made aware of the role of vTiger (of Chennai) in all of this: In August 2004, it forked and since then has offered independently, under its own name and brand, an early version of the SugarCRM codebase, plus various changes of their own devising. It was in response to that forking event, to which SugarCRM CEO John Roberts responded very angrily at the time, that SugarCRM adopted the "Exhibit B" restrictive licensing addendum that then became the hallmark of badgeware licences generally. See second post on http://www.vtiger.com/forums/viewtopic.php?p=22 , and the matching apologia at http://www.vtiger.com/forums/viewtopic.php?p=22 by Christiaan Erasmus of badgeware firm ValueCard (South Africa).
----- End forwarded message -----
[ Thread continues here (5 messages/13.37kB) ]
Martin J Hooper [martinjh at blueyonder.co.uk]
http://www.theregister.co.uk/2007/07/25/rhx_change_redhat/
Rick you might be interested in this article as you had been commenting on the topic recently...
[ Thread continues here (2 messages/1.60kB) ]
Rick Moen [rick at linuxmafia.com]
[Forwarding Ben's private mail, with commentary, at his invitation.]
As a reminder, Centric CRM, Inc. has recently been one of the most problematic of the ASP/Web firms abusing the term "open source" for their products, in part because their flagship product (Centric CRM) has been notorious during most of this past year as the most clearly and unambiguously proprietary software to be offered with the ongoing public claim of being "open source".
I'd call this (below-cited) PR campaign blitz -- apparently, they're intensively hitting reporters known to be following this matter -- really good news, though it has to be read attentively:
o Former OSI General Counsel Larry Rosen's "OSL 3.0" licence is a really good, excellently designed, genuine copyleft licence that is especially well suited for ASP use, because it's one of the very few that have a clause enforcing copyleft concepts within the otherwise problematic ASP market. (In ASP deployments, there is ordinarily no distribution of the code, so the copyleft provisions of most copyleft licences such as GPLv2 have no traction, and are toothless.) Also, as Centric CRM, Inc. is keen to point out, OSL 3.0 is an OSI-certified open source licence. o At the same time, the careful observer will note that this announcement concerns the product "Centric Team Elements v. 0.9", which is not (yet?) the firm's flagship product. That flagship product remains the entirely separate -- and very, very clearly proprietary, product "Centric CRM v. 4.1", which one wryly notices has been carefully omitted completely from this communique. Just in case there is any doubt about Centric CRM 4.1's proprietary status, here's one key quotation from the product brochure, about the applicable licence, "Centric Public Licence (CRM)": "The major restriction is that users may not redistribute the the Centric CRM source code."Now, it may be that the Centric CRM product is on the way out, and that Centric Team Elements (with genuine open source licence) will be taking its place. Or maybe not. Either way:
The bad news, but perhaps not too bad, is that Centric CRM, Inc. has spent this past year to date falsely and misleadingly claiming that its product line is open source -- and deflecting critics by claiming that the term "open source" is (paraphrasing) subject to redefinition and needn't be limited to what OSI (inventer of that term in the software context, and standard body) defines it to be. That misleading and deceptive language is still very much a prominent part of the company's pronouncements to this day, remains on the Web site, and doesn't seem to be disappearing.
The good news is that the firm appears to be sensitive to the public relations problem it created for itself, and may be taking steps to fix it.
----- Forwarded message from Ben Okopnik <ben@linuxgazette.net> -----
[ ... ]
[ Thread continues here (1 message/16.71kB) ]
Rick Moen [rick at linuxmafia.com]
My reply, just posted, is reproduced below the forwarded posting from "khim".
----- Forwarded message from LWN notifications <lwn@lwn.net> -----
Date: 26 Jul 2007 16:01:24 -0000 To: rick@linuxmafia.com From: LWN notifications <lwn@lwn.net> Subject: LWN Comment response notification
The following comment (http://lwn.net/Articles/243195/) has been posted in response to http://lwn.net/Articles/243075/.
As you requested, the text of the response is being sent to you.
*Is this a blunder, or just too subtle for me?* [Announcements] Posted Jul 26, 2007 16:00 UTC (Thu) by khim FYI, there are a number of genuinely open source licences, a couple of them OSI certified, that do apply copyleft obligations to the ASP industry. Yup. And they are mostly unsuccessful ones. It's quite hard to distinguish two cases:To stop receiving these notifications, please go to http://lwn.net/MyAccount/rickmoen/. Thank you for supporting LWN.net.1) where your package is used for SaaS (like Google) 2) where your package is used for some private endeavour (like LWN)Licenses like AGPL/APSL punish equally - that's why I'll probably never use AGPL/APSL-licensed software. And if I'll be forced to use such software I'll do everything possible to not ever fix or change it. Even badgeware is better from practical viewpoint. If you'll think about it it's only logical. Yes, usurpation of the code by SaaS vendors is a problem but AGPL is worse medicine then disease itself...
----- End forwarded message -----
*Is this a blunder, or just too subtle for me?*
Posted Jul 26, 2007 21:38 UTC (Thu) by subscriber rickmoen
"khim" wrote:
> Yup. And they are mostly unsuccessful ones.
Your "unsuccessful". My "underappreciated so far".
> It's quite hard to distinguish two cases:
And, in my personal view, pointless. (My opinion, yours for a small fee and agreement to post my logo on your forehead. And by the way, I also deny the premise that LWN is a "private endeavour" in any sense meaningful to this context. Of course, Jon and co. happen to use their own code, IIRC.)
Rick Moen rick@linuxmafia.com
Rick Moen [rick at linuxmafia.com]
Ever have one of those days, where you fear that your sarcasm might have become so caustic that it might need hazardous-substance labels?
----- Forwarded message from Simon Phipps <Simon.Phipps@Sun.COM> -----
Date: Fri, 06 Jul 2007 18:21:01 +0100 From: Simon Phipps <Simon.Phipps@Sun.COM> To: Rick Moen <rick@linuxmafia.com> Cc: license-discuss@opensource.orgX-Mailer: Apple Mail (2.752.3)
Subject: Re: For Approval: Open Source Hardware License
On Jul 6, 2007, at 02:12, Rick Moen wrote:
>Quoting Jamey Hicks (jamey.hicks@nokia.com): > >>There are no OSI-approved licenses for open source hardware, so I am >>proposing this license. > >My understanding is that OSI's licence approval process >(http://www.opensource.org/docs/certification_mark.html) is specifically >for software licences. That scope limitation came up previously when >people proposed documentation licences for certification; I suspect the >same logic applies here.
I'm afraid the distinction between "software" and "hardware" is getting harder and harder to make. The Verilog that's used to make the UltraSPARC T1 is definitely software, and the GPL (or any other Free software license approved for open source community use by OSI) seems 100% applicable to me.
If we allow special "hardware" licenses because the copyrighted work is used for that purpose, we are on a slippery slope towards many other specialist (an in my view redundant) sub-categories.
S.
----- End forwarded message -----
----- Forwarded message from Rick Moen <rick@linuxmafia.com> -----
Date: Fri, 6 Jul 2007 11:43:36 -0700 From: Rick Moen <rick@linuxmafia.com> To: license-discuss@opensource.org Subject: Re: For Approval: Open Source Hardware LicenseQuoting Simon Phipps (Simon.Phipps@Sun.COM):
> I'm afraid the distinction between "software" and "hardware" is > getting harder and harder to make.
You know, there are circumstances in which I'd raise that point, too. However, I'd feel a bit silly raising it in circumstances where something is described very unambiguously aas a licence specifically for hardware _and used_ (or at least planned to be used) only for that purpose, to a groups that certifies licences specifically for software.
(I do doubt that OSI would refuse to certify a licence actually used for software, on no better grounds than it having the word "hardware" in it.)
Nonetheless, your ability to discern shades of grey is admirable. ;->
-- Cheers, English is essentially a text parser's way of getting Rick Moen faster processors built. rick@linuxmafia.com -- John M. Ford, http://ccil.org/~cowan/essential.html
Rick Moen [rick at linuxmafia.com]
Trying to figure out how little they can do?
----- Forwarded message from Matt Mattox <mmattox@redhat.com> -----
Date: Thu, 05 Jul 2007 13:20:56 -0400 From: Matt Mattox <mmattox@redhat.com> To: rick@linuxmafia.com Subject: RHX and License ClarityHi Rick,
Just a quick note responding to your comment in the "More About RHX" section of RHX. We're working on a solution that will make the license approach used by each RHX software vendor very clear to users, including whether or not they are OSI-approved. I'd love to get your feedback on our approach if you have the time and interest. Let me know....
Thanks, Matt Product Manager, RHX
----- End forwarded message -----
----- Forwarded message from Rick Moen <rick@linuxmafia.com> -----
Date: Thu, 5 Jul 2007 11:02:52 -0700 From: Rick Moen <rick@linuxmafia.com> To: Matt Mattox <mmattox@redhat.com> Subject: Re: RHX and License ClarityQuoting Matt Mattox (mmattox@redhat.com):
> Just a quick note responding to your comment in the "More About RHX" > section of RHX. We're working on a solution that will make the license > approach used by each RHX software vendor very clear to users, including > whether or not they are OSI-approved. I'd love to get your feedback on > our approach if you have the time and interest. Let me know....
Hi, Matt. Thank you for your note.
The main problem is actually the statements on the RHX main Web pages that serve as entry points to RHX (and, in the recent past, by all RHX press releases). For example:
Starts out with "Trusted open source software" -- without saying that some offerings are open source and some proprietary -- and goes on for the entire page talking how RHX has helped you select open source applications, etc.http://rhx.redhat.com/rhx/support/article/DOC-1285 ("More about RHX" page)
Starts out with "Red Hat Exchange helps you compare, buy, and manage open source business applications. All in one place and backed by the open source leader. We've collaborated with our open source software partners to validate that RHX applications run on Red Hat Enterprise Linux and are delivered through the Red Hat Network."Letting people _dig down_ to licensing specifics would be nice but wouldn't fix the problem of false and misleading general statements everyone encounters on the way in. The latter should be replaced without delay.
And future RHX press releases should mention that it includes both proprietary and open source applications.
The longer the delay in fixing this problem, the more Red Hat's reputation for integrity is suffering. Please make no mistake: Your firm is being damaged by this.
----- End forwarded message -----
[ Thread continues here (3 messages/5.47kB) ]
Rick Moen [rick at linuxmafia.com]
----- Forwarded message from rick -----
Date: Tue, 26 Jun 2007 21:21:42 -0700 To: ashlee.vance@theregister.co.uk Cc: Karsten Self <karsten> Subject: Red Hat Exchange has a serious flawDear Ashlee:
I note with interest your recent articles in ElReg: "Red Hat's Exchange roars like a muted lamb" and "Red Hat RHXes out to open source partners". However, I'd like to point out one problem you haven't yet covered:
Many of Red Hat Exchange's offerings, although all are implied to be open source, are in fact nothing of the kind. For example, the offered products from Zimbra, SugarCRM, Compiere, CentricCRM, and GroundWork are very clearly under proprietary licences of various descriptions.
When I attended Red Hat's RHEL5 product launch in San Francisco on March 14, I heard RHX described for the first time, immediately noticed the problem, and quietly called it to the attention of Red Hat CTO Brian Stevens. Stevens acknowledged the point, and said (loosely paraphrased) that their Web pages should to be adjusted to make clear that not all RTX offerings are open source -- which is indeed a sensible remedy, but it hasn't yet happened.
I also attempted to call Red Hat's attention to the problem via the designated RHX feedback forum, at http://rhx.redhat.com/rhx/feedback/feedback.jspa . (You'll note my comment near the bottom.)
I'm sure it's an honest slip-up, but, accidentally or not, Red Hat has mislead its customers for the past several months on this matter, and is continuing to do so.
Best Regards, Rick Moen rick@linuxmafia.com
----- End forwarded message -----
----- Forwarded message from Rick Moen <rick@linuxmafia.com> -----
Date: Wed, 27 Jun 2007 11:54:04 -0700 From: Rick Moen <rick@linuxmafia.com> To: Ashlee Vance <ashlee.vance@theregister.co.uk> Cc: Karsten Self <karsten> Subject: Re: Red Hat Exchange has a serious flawQuoting Ashlee Vance (ashlee.vance@theregister.co.uk):
> Thanks so much for this, mate. Will investigate.
Sure. In case it will help:
Most if not all of those codebases are ASP (Web app) code, which poses a thorny problem: Suppose you are, say, Google, and wish to behave benignly towards open source with your Web apps. You deploy a Web 2.0 hosted application, and release its source code to the community under a proper, forkable licence such as BSD / MIT X11 (simple permissive type) or GPLv2 (copyleft), that fully satisfies the Open Source Definition. For the sake of illustration, let's assume GPLv2.
Google's competitor EvilCo swoops by, grabs the source tarball, modifies it extensively behind closed doors, and deploys it under a completely different name as a hosted Web app (product/service) of its own, bearing very little resemblance to Google's original application. Let's say that EvilCo nowhere mentions its borrowing from Google, and that EvilCo doesn't provide anyone outside its employees access to the modified source code.
[ ... ]
[ Thread continues here (1 message/6.71kB) ]
Rick Moen [rick at linuxmafia.com]
Red Hat, Inc. seems to have taken quick and effective action to correct some misleading statements about licensing that had previously been on the firm's Web pages for the "Red Hat Exchange" (RHX) partner-software sales program:
http://www.redhat.com/rhx/ https://rhx.redhat.com (and sub-pages)
Their corrections have been quite thorough and accurate! The firm should be commended for this very responsive action. E.g., the main description pages for RHX say things like:
RHX helps you compare, buy, and manage business applications -- all available from the open source leader. All in one place. We've done the work for you. You'll find profiles, ratings, priceseven free trials -- for every application. Working in collaboration with our partners, applications are validated to run on Red Hat Enterprise Linux, delivered through Red Hat Network, and backed by Red Hat as the single point of contact for support.All of the former claims and implications of RHX's offerings being uniformly open source have been corrected, top to bottom. I've sent a specific thanks to the manager in question.
--
Cheers, "Learning Java has been a slow and tortuous process for me. Every
Rick Moen few minutes, I start screaming 'No, you fools!' and have to go
rick@linuxmafia.com read something from _Structure and Interpretation of
Computer Programs_ to de-stress." -- The Cube, www.forum3000.org
[ In reference to "Build a Six-headed, Six-user Linux System" in LG#124 ]
Dave Wiebe [dawiebe at gmail.com]
Hello,
In response to Bobs "Build a six headed, six user linux system"
I am curious to know if this would work on my laptop, using the laptop display screen and a monitor attached through the monitor connection at the back. Would my standard laptop ATI video card be able to support that (as I read somewhere that Dual Head video cards are preferred).
Thanks for your response.
--David Wiebe.
Laptop: Dell Inspiron 1501
[ Thread continues here (2 messages/2.20kB) ]
[ In reference to "/tag/9.html" in LG#68 ]
Mike Steele [mike_steele_2000 at yahoo.com]
In response to
Users are caught in the middle of a debate over whether reverse records should be used for identification. The pro argument is that it helps identify spammers and abusers. The con argument (which I believe) is that the purpose of domain names is convenience: so you don't have to remember a number, and so that a site can maintain a "permanent" identifier even if they move to another server or a different ISP. You shouldn't /have/ to have a domain name, much less have it set to any particular value. And to identify scRipT kIddyZ, just do a simple traceroute. The second-last hop is their ISP (or part of their own network), and ISPs always have their own domain name showing. And what if a computer has several domain names, each hosted at a different organization? There can be only one reverse record, so all the other names will be left out in the cold.
at http://linuxgazette.net/issue68/tag/9.html
I always assumed the cost to be for the liability. Otherwise they would just automate it and have you do it online. This seems to thwart spam; email administrators put an additional reverse record lookup to make sure it is not a "rogue" mail server put online by just anyone. They have to contact their ISP and get a reverse record. It's like adding locks to your door. It isn't a guarantee - just a deterrent. That one reverse record is for the mail server. Otherwise RR's are not necessary and so it doesn't matter if there are multiple domains. You can CNAME the domains MX records to the actual server name.
Dunno for sure but thats my 2 cents.
Mike
[ In reference to "Away Mission: Sem-Tech 07 Conference, May 2007, San Jose, CA" in LG#140 ]
Neil Youngman [ny at youngman.org.uk]
We seem to have a broken link in this article, just below the screenshot it says "To view a demonstration of Cognition's technology, please visit www.CognitionSearch.com" and links to http://linuxgazette.net/current/'http://cognitionsearch.com
There's probably also a small typo "Hogkin's disease" should probably be "Hodgkin's disease"
Neil
[ Thread continues here (2 messages/1.85kB) ]
Peter Knaggs [peter.knaggs at gmail.com]
I've been gathering together all the hardware setup info needed to get Ubuntu working (surprisingly well) with the Intel Apple iMac
http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoAppleiMac24
There's not much original work on that page, but at least having all the hardware setup info one place is handy, so I thought I'd post it as a 2 cent tip.
Ben Okopnik [ben at linuxgazette.net]
I just got an iPod Shuffle, and am about to load it up with my favorite tunes; however, I didn't want to dink around with multiple reloads of the song list if it was too big. Since flash devices only have so many write cycles before they start losing their little brains, minimizing writes is a Good Thing. So, I needed to figure out the total size of the files in my M3U playlist - and given the kind of questions that often come up in my shell scripting classes and on LG's Answer Gang lists, I thought that our readers would find some of these techniques (as well as the script itself) useful. Herewith, the "m3u_size" script. Enjoy!
#!/bin/bash
# Created by Ben Okopnik on Thu Jul 12 15:27:45 EDT 2007
# Exit with usage message unless specified file exists and is readable
[ -r "$1" ] || { printf "Usage: ${0##*/} <file.m3u>\n"; exit; }
# For the purposes of the loop, ignore spaces in filenames
old=$IFS
IFS='
'
# Get the file size and sum it up
for n in `cat "$1"`; do s=`ls -l "$n" | cut -d ' ' -f 5`; ((total+=$s)); done
# Restore the IFS
IFS=$old
# Define G, M, and k
Gb=$((1024**3)); Mb=$((1024**2)); kb=1024
# Calculate the number of G+M+k+bytes in file list
G=$(($total/$Gb))
M=$((($total-$G*$Gb)/$Mb))
k=$((($total-$G*$Gb-$M*$Mb)/$kb))
b=$((($total-$G*$Gb-$M*$Mb-$k*$kb)))
echo "Total: $total (${G}G ${M}M ${k}k ${b}b)"
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
[ Thread continues here (13 messages/20.54kB) ]
By Howard Dyckoff and Samuel Kotel Bisbee-vonKaufmann
Please submit your News Bytes items in plain text; other formats may be rejected. A one- or two-paragraph summary plus a URL has a much higher chance of being published than an entire press release. Submit items to bytes@linuxgazette.net.
Ian Murdock, Sun, Unveil Project IndianaIn effort to grow its open source Solaris community, Sun launched an effort to make the Solaris OS more like Linux distros. Ian Murdock, founder of the Debian distro and Linux company Progeny, explained the details to Sun partners and the press in July, and in the process revealed more about his role at Sun since being hired there.
Murdock had spoken to a packed session at JavaOne, last May, and talked in general terms of improving the packaging and content of Solaris to make it friendlier to the Open Source community. Project Indiana is that effort, and adds a road map for Solaris developers.
Murdock spoke about the similarities and differences of Linux and Solaris, noting the "distro" model as a Linux "innovation" for users and developers. Both Solaris and Linux support GNOME and the X Window System, office and Web apps, he noted. "Right now, it's confusing. If you want to compile Open Solaris, you need to use Solaris Express Community Edition first," according to Murdock. "Originally, Linux didn't have a binary deliverable, so I and others stepped up."
Project Indiana aims to combine the best of both the Solaris and Linux worlds. With Murdock on-board, Sun has been looking at the distro and package model that is now intrinsic to Linux. Open Solaris will have a developer community, while still having enterprise-grade support from Sun and its partners. Sun hopes users of Open Solaris will eventually convert to full enterprise support licenses.
"We will provide Open Solaris as a binary distro, with a strong focus on unique Solaris features and the famous Solaris compatibility." The main features of Indiana will include an easier install, ZFS as default file system, and Net-based package management.
"We are competing in the same sense that RH competes with Debian, or Ubuntu competes with Debian. We are growing the Open Source environment," Murdock explained. "We can bridge the gap for developers, but we have to give them some compelling reasons to cross over. We have an opportunity here to provide the same level of choice that Linux has provided, but without the fracture..." Murdock added.
Project Indiana will be for developers and early adopters, with short 6-month release cycles, while Enterprise Solaris will have long release cycles. It will be a 2-tier model, with a dev tier more like the Linux model. The first Indiana release is planned for the Spring of 2008, with an earlier test release to selected users in the Fall of 2007.
Murdock was more closed when discussing the issue of open source licenses. First, he said, that was under consideration, and would be decided by others at Sun. He did note that the criteria would include what was best for Sun, its partners, and the Solaris community.
"We are very focused on the technology parts of this. I don't tend to find licensing discussions very interesting. To me, licenses are a necessary evil. The real question is... is the fact that Solaris is not under GPL going to matter? My view on the license changes is that if it benefits Sun and the OS community, we should do it. Another way of looking at this is... we could take the device driver code in Linux, and help make the driver support in Solaris much better than it is today. So, that to me is a reason to GPL Solaris. The ability to borrow code could be an advantage, but then our code can also be used." Murdock added that the decision process would have to include the growing developer community for Open Solaris. In May and June, Sun CEO Jonathon Schwartz expressed a strong interest in the new GPL v3, but seems to be backing away from that position more recently.
$100 Laptop for 3rd World Kids Delayed, but Intel Joins the PartyAt the Usenix '07 Technical Conference in June, Mary Lou Jepson, CIO of One Laptop Per Child (OLPC), detailed progress on the hardware and software development of this new portable computing platform, and explained that the first mass shipments to Third World countries was planned for the end of summer. That has now been pushed back to October, to accommodate fixes and new features and to wait for the required 3 million-order threshold. (The first generation units will cost $150-175, but will approach the $100 goal over the next year.)
Intel, whose executives had strongly criticized the non-standard technology and novel approach of OLPC, buried the conflict with OLPC in July and joined its board in July. Intel has what it sees as a competing effort with its "Classmate" mini-laptop design, based on Windows and Intel chipsets. (There is also an option to use Mandriva.) The target price for the "Classmate" is about $300, but includes newly developed educational software. A fuller description of this PC is here: http://www.classmatepc.com
In contrast, OLPC uses the open source development model, and is trying to develop a system that Third World kids and their teachers can support and fix themselves. The OS is a reduced version of Red Hat Linux, and many design changes have been incorporated from Third World pilot testers, to support tropical environments, erratic power, the likelihood of laptops falling on stone or concrete floors, etc. The keyboard is sealed to allow use in rainy environments. New designs in the LCD design and graphics controller allow the laptop screen to be scrolled without CPU involvement, and used in direct sunlight with only .1 watt per hour power consumption. That allows an OLPC unit with a charged battery to run all day and all night. There are also hand-powered generators and solar charging stations for classroom use. (Who wouldn't want one of these for camping or car trips?) The XO is also the greenest PC, in terms of manufacturing and recycling.
The OLPC "XO" units employs an efficient dual antenna, and automatically creates an inter-meshed peer-peer network across a village, with line of sight distances of up to half a kilometer between units. There is also learning software for kids called "Sugar" that is still in development. Linux kernel developers and software engineers are encouraged to join in different parts of this community project. Here is the link to sign up: http://wiki.laptop.org.
The OLPC keynote is now available on the Usenix conference archive (http://www.usenix.org/events/usenix07/tech/slides/jepsen.pdf). Photos from the presentation are available here: picasaweb.google.com/howarddy/Usenix07OLPC. OLPC is based on learning theories pioneered by Seymour Papert and Alan Kay.
Intel Hosts Moblin.org
Site for Linux Mobility DevelopersMoblin.org is the site that hosts the Mobile & Internet Linux Project open source community. The site allows developers to prototype new ideas, and build community around them. Intel has also garnered support from vendors Canonical and Red Flag Linux.
Currently, moblin.org hosts a number of projects, including an Image Creator, Browser, UI framework, power policy manager, and various non-PC-oriented applications and software components.
"Linux on mobile devices has gotten a lot of traction in the last few years," says Dirk Hohndel, Intel's chief Linux and open source technologist. "Moblin.org will help to improve the integration of many of the existing components targeted at such devices, and should help foster development of new use models and new features. In particular, both power management and UI need to be fine-tuned for these new form factors, and that is an area where development at moblin.org has already shown good results."
Python Database Tool
First Open Source Component of LaunchpadCanonical has released Storm, a generic open source object relational mapper (ORM) for Python. Storm is designed to support communication with multiple databases simultaneously. Canonical is known for the popular Ubuntu operating system and Launchpad, a Web-based collaboration platform for open source developers.
"Storm is an ORM that simplifies the development of database-backed applications in Python, especially for projects that use very large databases or multiple databases with a seamless Web front-end", said Gustavo Niemeyer, lead developer of Storm at Canonical. "Storm is particularly designed to feel very natural to Python programmers, and exposes multiple databases as /stores/ in a clean and easy-to-use fashion."
The project has been in development for more than a year, and is now publicly available under the LGPL license. This is the first complete Launchpad component to be released as open source software. Launchpad currently includes developer data for several thousand projects, and is used by tens of thousands of developers and other free software contributors.
The Storm project welcomes participation, and has a new Web site at http://storm.canonical.com. That site includes a tutorial, and links to allow developers to download, report bugs, and join the mailing list.
Personal Package Archive
Service, Free Space for Ubuntu DevelopersCanonical also announced the beta release of the Launchpad Personal Package Archive (PPA) service, a new way for developers to build and publish packages of their code, documentation, and other contributions to free software.
Individuals and teams can each have a PPA, allowing groups to collaborate on sets of packages, and solo developers to publish their own versions of popular free software. Developers upload packages to a PPA, and have it built for multiple architectures against the current version of Ubuntu. Each user gets up to one gigabyte of Personal Package Archive space, which works as a standard Ubuntu software package repository. Free PPAs are available only for free ("libre") software packages.
Mark Shuttleworth, founder of Ubuntu, explained the significance of Launchpad Personal Package Archives for the Ubuntu community: "Many developers want to modify existing packages, or create new packages of their software. The PPA service allows anyone to publish a package, without having to ask permission or join the Ubuntu project as a developer. This is a tremendous innovation in the free software community."
The Launchpad PPA service is currently in beta. To participate in the beta program, send an e-mail to ppa-beta@launchpad.net.
Launchpad PPA Service will be released for general use on August 22, 2007, and will be available at https://launchpad.net/ubuntu/+ppas
SIGGRAPH officials will hold the international FJORG! competition - an "iron animator" event - where 15 competing teams from around the world have 32 hours to create the world's best character-driven animation in front of a live, "Gladiator-style" audience and judging panel, at the San Diego Convention Center.
To earn the title of "Viking Animator" and several other prizes, each team will be tasked with creating a 15-second (or longer) animation, based on a theme to be provided during the FJORG! kickoff on Monday, 6 August 2007. In the spirit of true competition, FJORG! will test contestants' skill, talent, creativity, teamwork, and physical endurance - all throughout multiple staged distractions such as live music, belly dancing, acrobatics, and martial arts performances.
FJORG! contestants will be required to complete the animations using their own talents and skills, along with technology assets supplied at the event. (Outside resources are not permitted.) Competitors will have access to the following applications:
With support provided by AMD, DreamWorks Animation, and HP, FJORG! is being held in conjunction with SIGGRAPH 2007, the 34th International Conference and Exhibition on computer graphics and interactive techniques at the San Diego Convention Center, August 5-9, 2007. For video of the competition and the winning animations, visit http://www.workstations.tv, throughout SIGGRAPH. For more information about the competition in general, visit http://www.siggraph.org/s2007/presenters/fjorg/.
Mozilla Firefox use up in EuropeFrances XiTi Monitor has reported solid gains for Mozilla-based Web browsers. Overall share of the European market grew from 24.1% to 27.8%. This growth includes Firefox's gain of nearly 7 points in the last year.
Slovenia has the highest Firefox use in Europe, with a rate that is now over 45%. Finland is close behind. For more details see: http://www.xitimonitor.com/en-us/browsers-barometer/firefox-july-2007/index-1-2-3-102.html.
The Commonwealth of
Massachusetts Adds Open XML Document FormatThe great state of Massachusetts had come out of the wilderness like a latter-day Solomon, and decided to support both Microsoft's Office Open XML format and the OASIS Open Document Format that it has previously supported. The decision to adopt the ECMA version of Open XML was made in early July, and is part of the Massachusetts Enterprise Technical Reference Model (ETRM) 4.0, a specification for the state's IT operations. The draft listed ECMA-376 as one of its major revisions. Earlier, the ETRM specified only ODF as a standard, open format.
Since its original adoption of ODF, two of the state's CIOs have been forced to resign.
Microsoft has been lining up Linux distros to be part of the Open XML Translator project, which is hosted on SourceForge. Currently, these include Linspire, Novell, and Xandros. Sun has also released its own Plugin ODF translator for Office. The state IT group took these efforts into account during its deliberations.
The Linux Foundation has challenged the decision, saying "... it is wrong for the ITD to conclude that a specification that helps to perpetuate the dominance of a single product can be properly called a true open standard", and it encouraged concerned members of the open source community to send their comments to the Massachusetts ITD at standards@state.ma.us.
Linux Foundation board member Andrew Updegrove wrote to the Massachusetts IT Department, asking them to consider the public and historical impacts, "It is also important to the future of open document formats in the wider world, as well. The impact of Massachusetts in rectifying the historical situation has already been profound. But it has not been sufficient. Earlier this decade, Microsoft properly looked out for its stockholders' best interests by declining to participate in the OASIS working group that created ODF, thereby increasing the likelihood that ODF would die, and increasing the likelihood that its dominance would continue. That decision was not, of course, the best decision for end-users, including government purchasers, because it perpetuated a situation where long-term access to important documents was in the control of a single vendor.
"But ODF did not die. Instead, it was completed, although it received little attention, either publicly or among potential implementers. Only with the announcement of the ITD's decision and the realization that a market for ODF-compliant products might develop did interest broaden and deepen. Microsoft is hardly to be blamed for lending no support to the success of ODF. But neither should it be rewarded for launching a competing, self-serving standard as a next-best defense against erosion of its dominant position."
This issue is important in itself for the future of open standards, but the main battle is the September ballot in ISO on supporting OOXML. That could derail ODF and a wider range of open standards.
Here is a link to articles discussing the position of the Linux Foundation: http://lxer.com/module/newswire/byuser.php?user=Andy_Updegrove.
FiXs West Coast Conference
July 31 - August 1; Monterey,
California; http://www.fixs.org/events.htm
Black Hat Security Conference
July 31 - August 2; Las Vegas, NV; http://www.blackhat.com/html/bh-link/briefings.html
Security '07 / HotSec '07
August 6-10; Boston, MA; http://www.usenix.org/events/hotsec07/
MetriCon 2.0, Workshop on Security Metrics
August 7; Boston, MA; http://www.securitymetrics.org/content/Wiki.jsp?page=Metricon2.0
SIGgraph 2007
August 5 - 9; San Diego, CA; http://www.siggraph.org/s2007/attendees/schedule/
Linux World - 2007
August 6 - 9; San Francisco, CA; Linux World - 2007
Real-World Java Seminar
August 13; Roosevelt Hotel, New York City; http://realworldjava.com/
Linux Kernel '07 Developers Summit
September 4 - 6; Cambridge, UK; http://www.usenix.org/events/kernel07/
1st International LDAPv3 Conference
September 6 - 7; Cologne, Germany; http://www.guug.de/veranstaltungen/ldapcon2007/
Rich Web Experience Conference
September 6 - 8; Fairmont Hotel, San Jose, CA; http://www.therichwebexperience.com/
BEAWorld 2007 - San Francisco
September 10 - 12; Moscone Convention Center, San Francisco, CA; http://www.bea.com/beaworld/us/
RailsConf Europe 2007
September 17 - 19; Berlin, Germany; http://www.railsconfeurope.com/
Gartner Open Source and Web Innovation Summits
September 17 - 21; Las Vegas, NV; https://www.gartner.com/EvReg/evRegister?EvCd=OS3
Intel Developer Forum - 2007
September 18 - 20; Moscone Center West, San Francisco, CA; http://developer.intel.com/IDF/
Software Development Best Practices 2007 and Embedded Systems Conference
September 18 - 21; Boston, MA; http://www.sdexpo.com/2007/sdbp/
RFID World Boston
September 19 - 20; Boston, MA; http://www.shorecliffcommunications.com/boston/
AJAXWorld Conference West
September 24 - 26; Santa Clara, CA; http://www.ajaxworld.com/
Semantic Web Strategies Conference 2007
September 30 - October 1; San Jose Marriott, San Jose, CA; http://www.semanticwebstrategies.com/
Ethernet Expo 2007
October 15 - 17, 2007; Hilton, New York, NY; http://www.lightreading.com/live/event_information.asp?survey_id=306
ISPCON FALL 2007
October 16 - 18; San Jose, CA; http://www.ispcon.com/
Interop New York
October 22 - 26; http://www.interop.com/
CSI 2007
November 3 - 9; Hyatt Regency Crystal City, Washington, DC; http://www.csiannual.com/
Interop Berlin
November 6 - 8; http://www.interop.eu/
Oracle OpenWorld San Francisco
November 11 - 15; San Francisco CA; http://www.oracle.com/openworld/
Supercomputing 2007
November 9 - 12; Tampa, FL; http://sc07.supercomputing.org/
The latest stable version of the Linux kernel is 2.6.22.1
Linspire 6.0, Open XML Translator ReleasedIn late July, Linspire released the updated version of its distro, including the Microsoft media codecs and file filters. Version 6.0, based on the Ubuntu 7.04 distro, includes KDE 3.5, SMP (Dual Core) kernel support, improved boot times, and support for the current Windows Media 10 audio and video codecs. Linspire 6 will have Microsoft TrueType fonts, including Arial, Georgia, Times New Roman, and Verdana.
The Open XML Translator enables bi-directional compatibility, so that files saved in Open XML can be opened by OpenOffice.org users, and files created by OpenOffice.org can be saved in Open XML format. As a result, end users of Microsoft Office and OpenOffice.org will now be able to more easily share files, as documents will better maintain consistent formats, formulas, and style templates across the two office productivity suites.
[ Except... not really. Once you get past the hype of the Linspire press release, please see "The Commonwealth of Massachusetts adds Open XML Document Format" on this very NewsBytes page. -- Ben ]
The open source Open XML/ODF Translator project can be viewed here: http://sourceforge.net/projects/odf-converter/.
Sun Donates High Availability Cluster CodeSun Microsystems has announced it will release the Solaris Cluster source code through the HA (High Availability) Clusters community on the OpenSolaris site. Sun's first contributions are application modules, or agents, which enable open source or commercially available applications to become highly available in a cluster environment.
The Open HA Cluster code will be made available in three phases, beginning at the end of June and continuing over the next 18 months. In the first phase of Open HA Cluster, Sun will deliver code for most of the high-availability agents offered with the Solaris Cluster product. Solaris Cluster's high-availability agents allow developers to cluster-enable applications to run as either scalable or failover services. Sun is also making available the source code for the Solaris Cluster Automated Test Environment (SCATE), along with agent-related documentation, to assist in testing new agents. The test framework and first test suite will be contributed at the end of June 2007. Among these agents are the Solaris Containers agent, the BEA Weblogic agent, and PostgreSQL.
Agents written using Open HA Cluster will also run on Solaris Cluster version 3.2 on the Solaris 10 OS. Subsequent phases of Open HA Cluster will include delivery of the code for the recently released Solaris Cluster Geographic Edition - software that enables multi-site disaster recovery by managing the availability of application services and data across geographically dispersed clusters. Later, Sun will release the code for the core Solaris Cluster infrastructure, again with SCATE infrastructure tests and documentation. Sun is using the Common Distribution and Development Licence (CDDL) for the code, as it currently does for Solaris.
To learn more about Open High Availability Cluster and the HA Clusters community on OpenSolaris, and to review a complete list of the high-availability agents offered with the Solaris Cluster product, please visit: http://www.opensolaris.org/os/community/ha-clusters/
Samba Switches to GPL v3Samba.org has announced that future distros will be released under the new GPL v3. Prior versions of Samba will remain under the GPL v2.
In the July announcement, Samba.org specified that all versions of Samba numbered 3.2 and later will be under the GPLv3, whereas all versions of Samba numbered 3.0.x and before will remain under the GPLv2. But there is a caveat, as noted in the FAQ about the licensing change:
"The Samba Team releases libraries under two licenses: the GPLv3 and the LGPLv3. If your code is released under a "GPLv2 or later" license, it is compatible with both the GPLv3 and the LGPLv3 licensed Samba code.
"If your code is released under a 'GPLv2 only' license, it is not compatible with the Samba libraries released under the GPLv3 or LGPLv3, as the wording of the 'GPLv2 only' license prevents mixing with other licenses. If you wish to use libraries released under the LGPLv3 with your 'GPLv2 only' code, then you will need to modify the license on your code."
Zenoss Releases Enterprise EditionZenoss, known for its existing free IT monitoring product Zenos Core 2 (released in June under GPL2, with all sub-projects under GPL or compatible licenses), has released Zenoss Enterprise Edition 2.0 on top of its Core 2 platform. Enterprise Edition 2.0 will provide all the same features as its free, open source relative, but will provide "end-user experience monitoring" for Web, e-mail, and database applications. This allows IT managers to receive integrated user reports along with the standard network and equipment statuses, while providing more depth to the IT person's understanding of users' habits. Zenoss is also releasing custom ZenPacks - a plug-in framework that allows community members to write their own features, skins, etc. - that will be published only under their Enterprise Subscription. For more information on Zenoss's products, subscriptions, and how they all relate to one another, visit http://www.zenoss.com/product/overview.
Zenoss runs on Linux (GNU build environment required; Red Hat Enterprise, Fedora Core, Ubuntu, and SUSE are known to work), FreeBSD, and Mac OS X. VMplayer and Zenoss Virtual Appliance are required to run Zenoss products on Windows.
Zenoss's homepage: http://www.zenoss.com
The Everex IMPACT GC3502 Features OpenOffice.org on Windows VistaOn July 28th, Everex announced that its IMPACT GC3502 PC will feature the open-source office suite OpenOffice.org. Aimed at back-to-school students, Everex is hoping to offer potentially low-budget consumers a powerful, fully featured package. Most PC producers offer either proprietary, high-cost office suites, which sharply increases the cost of the PC, or pre-installed trial software, which dissatisfies customers and does not look good for the producer. Everex believes that by keeping its prices low and its offers large it will get a jump start on its competitors, this quickly approaching school year.
Everex IMPACT GC3502 specifications: http://www.everex.com/gc3502/
OpenOffice.org applications included: Writer, Calc, Impress, Draw, Base, Math
OpenOffice.org's homepage: http://www.openoffice.org
Everex's homepage: http://www.everex.com
[Editor's note: While I think it is wonderful that OpenOffice.org is receiving more attention and more companies are seeing open source as more than a server side solution, I am not entirely sure that generations of Windows Office-trained users are ready for the switch. Having used OpenOffice.org on Windows and Linux platforms in two separate educational environments, now - both times as a student - I remember experiencing some formatting issues when exporting .doc files, which all my professors wanted, and printing. While I was easily able to overcome them, this just added another level of frustration that may prove too much for the average computer user. Also, most school's IT departments that I have experienced will not support non-standard Mac and Windows software. While OpenOffice.org has come leaps and bounds in solving these transitional issues, I would not want to deploy a solution in an office - or my grandparent's house - unless the basic functionality translated seamlessly. -- S. Bisbee]
Network Engines Integrates Appliance-Optimized Linux DistributionNetwork Engines, Inc., a provider of storage and security appliance products and services, announced two software initiatives to help software developers deliver applications as appliances. First, Network Engines announced Appliance Certified Edition Linux (ACE Linux), the first Linux distribution to deliver integrated lifecycle management for server appliances. Second, the company also announced that Network Engines Web-based Services - NEWS - its hardware and image management system for Windows-based application appliances, is now available for ACE Linux.
Hardware and image management integration with an appliance-proven Linux release should lower costs and speed time to market for Linux-based appliances. "As the appliance market grows, ISVs recognize that they need to focus on adding value to their application, not the underlying components like the OS and management plane," said Hugh Kelly, Vice-President of Marketing for Network Engines. "We developed our Network Engines Web-based Services to provide these functions for Windows applications, and now we are making them available for Linux."
ACE Linux is a Conary-based Linux distribution that will be customized for each customer's platform. Network Engines will provide full platform support including drivers, which are commonly a drain on development resources if ISVs attempt to implement these tools themselves. In addition, NEI will provide performance qualification for all of its hardware platforms. This combination of reduced footprint and technical support will enable ISVs to deliver more secure appliances with much lower development cost.
Kelly said that integrating NEWS with the company's own distribution of Linux enables ISVs to save time, money, and engineering resources, because Network Engines eliminates the burden of qualifying new OS releases and the associated expense of update and patch distribution. The NEWS infrastructure will enable all of the software on an appliance, including the OS, applications, and management plane, to be managed by a robust update management system.
Network Engines is the only company with a full suite of appliance-related services for both Linux and Windows environments, Kelly said. "While ISVs focus on their core competencies, we provide all the services they need to deliver their solutions as true appliances in much less time," Kelly said.
XenSource Surpasses 500 Virtualization CustomersThere are now over 500 commercial customers for XenEnterprise and XenServer - a doubling of their customer base in the past quarter. New customers include AmerisourceBergen, Cimex Media UK, Harvard University, Intuit, Investcorp, KBC Clearing, the Miami Herald, Moen, NASDAQ, Palm, Rollins, Inc., and Sankyo. Additionally, their free product, XenExpress has had more than 100,000 downloads, illustrating intense interest in virtualization solutions.
"Enterprises are realizing that they have a choice in virtualization and XenSource offers great products that are easy to use, offer high performance for Windows and Linux, and are very innovative and open," said John Bara, VP of marketing for XenSource.
XenSource will introduce the newest release of its XenEnterprise product, version 4.0, in late August 2007.
Borland, VMware Advance Testing of Virtual Lab EnvironmentsBorland Software Corporation announced an integration with VMware software, to enable enterprise software development organizations to more cost-effectively perform multi-configuration and cross-platform software application testing, by maximizing the use of virtualization for test environments.
Borland will deliver native support for virtual lab environments, by integrating its SilkCentral Test Manager, a core component of Borland's Lifecycle Quality Management (LQM) solution, with VMware Lab Manager version 2.5. SilkCentral Test Manager 2007 will extend test management with seamless access to virtualized test environments in VMware Lab Manager, addressing a critical challenge to fully test applications across multiple configurations and platforms.
With the ability to call VMware Lab Manager environments directly from SilkCentral Test Manager, users can create and assign individual tests to run on many different configurations or platforms, without the high costs of hardware or time needed to administer physical systems.
Expected availability for Borland SilkCentral Test Manager 2007 is the third calendar quarter of 2007.
For more information on Borland SilkCentral Test Manager and related technologies, please visit: http://www.borland.com/us/products/silk/silkcentral_test/.
Talkback: Discuss this article with The Answer Gang
Howard Dyckoff is a long term IT professional with primary experience at
Fortune 100 and 200 firms. Before his IT career, he worked for Aviation
Week and Space Technology magazine and before that used to edit SkyCom, a
newsletter for astronomers and rocketeers. He hails from the Republic of
Brooklyn [and Polytechnic Institute] and now, after several trips to
Himalayan mountain tops, resides in the SF Bay Area with a large book
collection and several pet rocks.
Sam was born ('87) and raised in the Boston, MA area. His interest in all things electronic was established early by his electrician father and database designer mother. Teaching himself HTML and basic web design at the age of 10, Sam has spiraled deeper into the confusion that is computer science and the FOSS community. His first Linux install was Red Hat, which he installed on a Pentium 233GHz i686 when he was about 13. He found his way into the computer club in high school at Northfield Mount Hermon, a New England boarding school, which was lovingly named GEECS for Electronics, Engineering, Computers, and Science. This venue allowed him to share in and teach the Linux experience to fellow students and teachers alike. Late in high school Sam was abducted into the Open and Free Technology Community, had his first article published, and became more involved in the FOSS community as a whole. After a year at Boston University he decided the experience was not for him, striking out on his own as a software developer and contractor.
By Anonymous
Start your search engine and search for the following keywords both on the Web and in the newsgroups:
GRUB SATA confused
You will get reports galore of GRUB failing with SATA, most certainly failing when facing a mix of old IDE (PATA) and new SATA disks. I'm submitting this as evidence, but I personally don't need any, since GRUB cost me some 10 hours of toiling in exactly this context.
You will find less evidence for Lilo, but Lilo will also fail. Xandros 4.0, which relies on Lilo, gave me a bad time. Further, Lilo is on its way out; the major distros rely on GRUB.
So what is to be done, if you have a mix of PATA and SATA, and want to have a few GNU/Linux distros ready to boot, and need to have Windows anyway? Repeat after me: do not install GRUB to the Master Boot Record on the disk carrying the Windows C partition.
It is assumed the problem does not stem from the hardware, because there are indeed mobos with both SATA and PATA, and are able to handle them together.
If we write a GRUB boot record to a partition, how do we activate it? Not from GRUB's Master Boot Record (MBR); we don't have one, given our earlier decision. The options are:
(i) from Windows's MBR
(ii) from a real floppy, from a (DOS floppy emulation) CD, or from a (DOS floppy-emulation) USB stick.
Although frequently recommended, (i) is not a solution. You will fail if you install GRUB to a boot sector, extract that boot sector to a file, and append an entry for that file in boot.ini: It will not work with a mix of PATA and SATA. Something else is needed.
Maybe you belong to the lucky ones who never had problems with GRUB. Otherwise, here follow solutions A and B, for your attention. They will work in most cases, but still there might be hardware constellations where they will fail. There are too many variations to test, and I certainly do not have access to the hardware.
The instructions given here target Windows XP. They can probably be adjusted for Vista.
Some terminology first. Under Windows, the boot drive is the
one that carries boot.ini and the loader, ntldr. The system
drive is the one that carries the Windows directory. They
can be different, although often they're not. We say
"boot directory" to indicate the directory containing
boot.ini. For Windows XP, the boot partition has to be the
first one seen by the operating system - with the drive
letter C slapped on it. Apparently, Vista accepts any
partition, and just re-arranges the drive letters.
When installing or restoring or updating your Linux distro, make sure that the Master Boot Record for the Windows boot drive is not touched. If it is, you will have to go through some rescue operations. That MBR is reserved for Windows - and GRUB should keep its GRUBby fingers off it. Let it install a boot record to the boot sector in the partitions - e.g., to /dev/hda4 - but never to /dev/hda.
Be aware that the installation routine may seem set to comply with your instructions, but then it may go ahead and modify the MBR anyway. It's difficult to say whether the blame is with GRUB directly or with the install routines, but it happens. Be ready for a fight, be ready for emergencies. You might even consider trying the following trick: let the boot record be installed to a floppy, then do everything else by hand. The trick works even if there is no physical floppy.
The trouble stems from one simple fact: when GRUB starts
from the Master Boot Record and is showing its menu, it sees
the available devices in an order which may differ from
the order it sees after launching initrd and then the
kernel. In other words, its device map changes on you
without any warnings or compliments. After activating
the required entry from the menu, all hell breaks loose because
essential files are not found. I.e., kernel panic.
Ubuntu is trying to handle the problem using UUIDs for the hard disks. UUID means Universally Unique IDentifier, and is intended to be the immovable rock in the sea storm of boot loader, initrd, and kernel. So you will see Ubuntu's GRUB configuration showing lines like:
kernel /vmlinuz root=UUID=f0bfe866-2449-4d75-8222-b444ff564876
Long story short - it does not help. This is my empirical finding. Some theory from Linus Torvalds himself:
http://lwn.net/Articles/65209/
Method A uses the 'hide/unhide' feature in GRUB, to hide away all boot partitions that are contributing confusion - in the extreme case, all boot partitions but the one that has a specific operating system. At that moment, there can be no confusion in the device map, since only one entry is left.
This approach is explained here:
http://www.justlinux.com/forum/showthread.php?t=143973
It is based on a GRUB floppy, either as a real floppy or as a floppy image burnt to a CD. It is not quick to set up, since it requires extensive trial and error but - to be fair - the other method is not much quicker.
Note that with this method, when you are running a distro, Windows may be hidden away. If you want to transfer files from the distros to Windows, you will have to have a FAT partition accessible at all times - or have access to Linux file systems from Windows (available only for ext2/ext3, as far as I know).
Go and download a modified version of GRUB, including grldr
(mnemonics: 'grub loader'). Put grldr in c:\ and add the
following line to boot.ini:
c:\grldr = "sundry distros"
You also need GRUB's menu.lst in the same directory. Edit it
as appropriate for each of your distros, and you are done.
Fine - but what is grldr, and where do you get it from? grldr
is a GRUB console that gets along with Windows booting, and
weighs less than 190K. It is part of a free software project
with a puzzling name:
http://grub4dos.sourceforge.net/
You really only need that one file, grldr; the adventurous
can play around with the rest.
As stated above, GRUB's problem with a mix of PATA and SATA
is that its device map shifts while the boot is in process. So,
if you opt for method B, what device map are you going to
throw at it? None: you do not need a device.map file for
method B. But you still need to edit menu.lst, and thus you
need to know what to call your available disks according to
both GRUB and kernel conventions.
Start with a menu.lst file that might be right. When the
GRUB menu pops up, go to the GRUB's command line and type
root (
pressing 'Tab' to get a list of all possible completions, as seen by GRUB here and now. This is the list of the available devices. For each one of them repeat the trick, e.g.,
root (hd0,
plus a 'Tab' will list all partitions in hd0. This way, you get
a list of all partitions on all disks with the correct GRUB
denomination and the partition type. Partitions from the
Unix world will be recognized; so will FAT partitions. NTFS will
not be seen in pure GRUB, but grub4dos can manage. That should be
sufficient for you to identify the hardware.
The hard part of the exercise is giving the devices correct
names according to kernel conventions. Would hd0 be /dev/hda,
or what? The shift in the device map occurs here, and you may
have to rely on trial and error. When you have the mapping
of the devices right, the mapping of the partitions is
trivial.
All this looks like a royal hassle - and it is. Installing an operating system should not affect operating systems already installed. Windows has bad manners in this respect, but does that mean that GRUB should also have bad manners? It should not; actually, it's supposed to be friendly and co-operative.
Well, if you go to the GRUB Web site (http://www.gnu.org/software/grub/), you'll learn that there is a discontinued GRUB version (0.97) and a new GRUB version (1.95, as of the time of writing.) The former is called legacy GRUB; the latter is called GRUB-2 and has been in the works for 4-5 years. The FAQ for the new GRUB asks straight away why there is a need for a fresh rewrite of GRUB. Excerpt from the answer:
Because GRUB Legacy has become unmaintainable,
due to messy code and design failures.
It also says that the new version is "usable". Obviously, it is not, since the major distros rely on legacy GRUB (customized for their own purposes) and ignore the new one - I was unable to find even one single distro that uses it.
Let's hope GRUB-2 will come up to speed very soon, and that it is not going to turn into a repeat of the Hurd saga. The situation is unbearable. While a Windows install takes over the MBR and impedes booting other operating systems, Windows still manages to pull itself up by its boot straps. With a mix of PATA and SATA, installing SUSE or Ubuntu destroys the Windows MBR, and then fails to boot ANY operating system at all!
Talkback: Discuss this article with The Answer Gang
A. N. Onymous has been writing for LG since the early days - generally by
sneaking in at night and leaving a variety of articles on the Editor's
desk. A man (woman?) of mystery, claiming no credit and hiding in
darkness... probably something to do with large amounts of treasure in an
ancient Mayan temple and a beautiful dark-eyed woman with a snake tattoo
winding down from her left hip. Or maybe he just treasures his privacy. In
any case, we're grateful for his contribution.
-- Editor, Linux Gazette
By Silas Brown
LG #138 contained an article, "Debian on a Slug", in which Kapil Hari Paranjape described how to install Debian on an NSLU2 device, so that it can be made into a general-purpose server (a firewall, backup server, Web server, etc.) He also added a sound device so that it can be used to play music.
Another application for such a device is as an alarms and reminders system. This is more than a simple alarm clock or PDA, because the Slug is much more programmable: once you have installed a lightweight speech synthesizer, the Slug can be made not only to generate verbal reminders (which few PDAs can do), but also to check for information on the Internet and adjust its announcements, accordingly. It is a useful alternative to leaving a PC switched on for long periods just to do that job (or possibly forgetting something because the computer was switched off). If you are attempting to learn a foreign language, the Slug reminders system can help with that, also.
The eSpeak speech synthesizer is lightweight enough to run on the Slug, and is also available as a Debian package, although if you are running Debian stable then you will likely find that installing from source will get you a significantly improved version. (Be sure to completely remove the Debian package and its libraries, before compiling from source.) eSpeak produces very clear English speech in several accents, and also supports quite a few other languages (some better than others). Installation is straightforward, except you might find that the audio output doesn't work; if this is the case, then simply write audio to a file or pipe and play using aplay in the alsa-utils package. (Note, however, that some old versions of eSpeak won't write to a pipe when asked. If it's just a short reminder, you can write to a file in /dev/shm and delete it after playing.)
Personally I use eSpeak with my language-practice program Gradint, which I have adapted to run on the Slug. Besides generating vocabulary-practice sessions using "graduated-interval recall", Gradint can also be made to produce other speech-reminder "patterns" such as:
For languages that eSpeak cannot yet produce well, if all the possible utterances are known in advance, then Gradint allows you to generate them on another system and transfer them across (or simply use recorded sounds instead).
It appears that some USB sound adapters will fail, from time to time, especially if they are plugged into an unpowered hub. This is probably due to their highly variable power consumption. The symptoms are that the sound stops, and the system behaves as though the sound adapter has disappeared from the USB bus. To restore sound functionality, the adapter may need to be unplugged and re-inserted, or perhaps even the hub it has been connected to may need to be unplugged and re-inserted. For this reason, never put the sound adapter on the same hub as the storage device(s). (Some kernel versions won't be able to use certain sound adapters, if they are attached to USB 2 hubs, anyway; they need to be attached to USB 1.1 hubs or directly to the NSLU2, unless you update your kernel.) It is also advisable to minimise the number of devices the sound adapter shares an unpowered hub with, or even connect it directly to the NSLU2, if you don't have many other USB devices to connect. (You could connect it to a powered hub, but I am trying to avoid the use of powered hubs in an attempt to minimise extra power consumption and reduce the amount of wiring.)
In order to avoid missing your reminders due to the sound adapter having failed, it is advisable to periodically run a script that ensures the sound device is still present, and alerts you if it is not. The alert can be by means of a console beep. (Unfortunately, there does not yet appear to be an NSLU2 equivalent of the PC-speaker kernel patches that allow the speaker to generate more than a simple beep.) The following script will do this:
#!/bin/bash if ! amixer scontents >/dev/null; then # sound adapter has someho