It has been a while since I posted here, but I just finished a new slide show, called “Help, My Computer Is Sluggish!”. I have added it to the Slide Show section, where you can download the ODP file or just run the presentation in your Web browser.
Registration for the 2010 Ohio LinuxFest has been extended through September 8th, and the registration contest has also been extended until the 1,000th registration has been reached.
One lucky registrant will win an upgrade to the Supporter Pass, or a Professional Pass registration for Ohio LinuxFest 2011 worth $350, at the choice of the winner. Sign up today and have a chance to win!
Online registration also qualifies attendees for door prizes and giveaways the day of the conference.
As always, the main schedule takes place on Saturday. The schedule kicks off with a keynote from GNOME Foundation Executive Director Stormy Peters, followed by five tracks of talks from open source and Linux experts like Taurus Balog, Amber Graner, Catherine Devlin, Dru Lavigne, Paul Frields, and Jon ‘maddog’ Hall. This year’s OLF also features a special medical track for those interested in the use of free and open source software in medicine.
The final keynote will be a real treat for Linux and open source enthusiasts interested in free media. Christopher “Monty” Montgomery of Xiph.org will be talking about next generation open source media formats.
Once again the Ohio LinuxFest is free to all, but space is limited. for $65 that includes lunch and an OLF t-shirt. For those who want to attend Friday’s OLF University sessions, a professional pass is also available for $350.
The Ohio LinuxFest is a grassroots conference for the open source community that started in 2003 as an inter-LUG meeting and has grown steadily since to become the Midwest’s largest open source event. It’s an annual event for Linux and open source enthusiasts to gather, share information, and socialize.
I just want to make sure everyone knows that Ohio LinuxFest is not that far off. It runs 9/10-12, with some great speakers such as Jon “maddog” Hall, Stormy Peters of the Gnome Project, and “Monty” Montgomery, creater of ogg and founder of Xiph.org, plus many other great speakers.
This year the theme is “How Will Free Change the World”, and in the wake of the SCOracle lawsuit I think the idea of free software is more important than ever.
Another very timely focus this year is on the use of free software in the medical field. You may now be aware of just how much of the Health Care Reform is focused on IT, and we want to make sure that free software gets every chance to be a part of it. So there is a full track of medical-oriented talks looking at how free software is impacting the practice of medicine. You won’t want to miss it.
Did you ever find that you did not remember exactly what hardware you installed on your computer? Well, that happened to me just now. I had a situation about 6 months ago where I was trying to build a computer and things were going wrong. After buying various replacement parts and not fixing the situation, I finally took everything to a local shop and had them fix it. They did, but mostly by installing the motherboard and processor they wanted to use. I got a great computer out of it, so I am not complaining, but I had this stack of hardware left over. I thought I would see what I could use in replacing an older computer that is starting to look pretty long in the tooth. As I pulled out various boxes, I found thing like an ASUS motherboard in a Gigabyte box. But does that mean the Gigabyte motherboard was installed somewhere? And if so, where? I suppose I could start opening up cases, but the current issue (August 2010) of Linux Journal has an article entitled “What Hardware Do I Have?”, which seemed perfect. So I thought I would try it out.
The first command they recommended is lshw. This command LiSts HardWare, as you might suspect. You can run this as a normal user, but it warns you that you really ought to have root priviliges when you run it. The output is immense, but here are the first few sections:
kevin@kimball:~$ sudo lshw
[sudo] password for kevin:
description: Desktop Computer
vendor: Gigabyte Technology Co., Ltd.
width: 64 bits
capabilities: smbios-2.4 dmi-2.4 vsyscall64 vsyscall32
configuration: boot=normal chassis=desktop uuid=30303234-3144-3846-4339-4232FFFFFFFF
vendor: Gigabyte Technology Co., Ltd.
physical id: 0
vendor: Award Software International, Inc.
physical id: 0
version: F1 (07/03/2009)
So, I definitely found my Gigabyte motherboard. The next section told me my CPU:
product: AMD Athlon(tm) II X2 240 Processor
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: AMD Athlon(tm) II X2 240 Processor
slot: Socket M2
width: 64 bits
So far, so good. But suppose you wanted more information about your CPU. You could try the lscpu command:
kevin@kimball:~$ sudo lscpu
CPU op-mode(s): 64-bit
Thread(s) per core: 1
Core(s) per socket: 2
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
CPU MHz: 800.000
L1d cache: 64K
L1i cache: 64K
L2 cache: 1024K
And for the video card try lspci, which gives info on all devices plugged in to the PCI bus.
01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4200]
In this case, it is picking up the onboard video because I didn’t need anything more than that. I just play music and video podcasts downloaded from the Internet, so there was no good reason to invest in a video card.
To look at USB devices, try (what else?) lsusb:
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0d3d:0001 Tangtop Technology Co., Ltd HID Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 050d:0234 Belkin Components F5U234 USB 2.0 4-Port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
For hard drives and other block devices, use blkid:
/dev/sda1: UUID="2c395ab8-1a12-4ce1-94d6-38942a6fadc6" TYPE="ext4"
/dev/sda5: UUID="1fb964d6-6c0e-4b89-bc05-eef44ae1397a" TYPE="ext4"
/dev/sda6: UUID="5205a37e-bab5-4db8-9e75-1ce70f8059db" TYPE="ext4"
/dev/sda7: UUID="1a021347-4e03-40fb-84c6-44c306e02c0c" TYPE="swap"
/dev/sdb1: UUID="750d70ef-74bc-4fbd-8a3b-21fc8f1cb5a0" TYPE="ext4"
You can see that my first hard drive has 3 data partitions and a swap partition, and I have second drive configured as one large partition. That is pretty standard for me, so I saw what I expected to see. I usually configure my first hard drive to have a root partition (/), a /var partition, and the rest as /home. Then the second drive is set up as /data.
The last thing to look at is whether your kernel is using all of this lovely hardware. The kernel uses hardware by using kernel modules, so you can see those modules using lsmod:
kevin@kimball:~$ sudo lsmod
Module Size Used by
binfmt_misc 7960 1
ppdev 6375 0
vboxdrv 1792375 0
snd_hda_codec_atihdmi 3023 1
snd_hda_codec_realtek 279040 1
fbcon 39270 71
tileblit 2487 1 fbcon
font 8053 1 fbcon
bitblit 5811 1 fbcon
softcursor 1565 1 bitblit
snd_hda_intel 25677 5
snd_hda_codec 85759 3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6924 1 snd_hda_codec
snd_pcm_oss 41394 0
snd_mixer_oss 16299 1 snd_pcm_oss
vga16fb 12757 0
vgastate 9857 1 vga16fb
snd_seq_dummy 1782 0
snd_pcm 87882 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss 31219 0
snd_seq_midi 5829 0
snd_rawmidi 23420 1 snd_seq_midi
snd_seq_midi_event 7267 2 snd_seq_oss,snd_seq_midi
snd_seq 57481 7 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23649 2 snd_pcm,snd_seq
snd_seq_device 6888 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
radeon 740390 2
ttm 60847 1 radeon
drm_kms_helper 30742 1 radeon
snd 71106 23 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8052 1 snd
drm 199204 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 6024 1 radeon
snd_page_alloc 8500 2 snd_hda_intel,snd_pcm
i2c_piix4 9639 0
edac_core 45423 0
shpchp 33711 0
edac_mce_amd 9278 0
psmouse 64576 0
serio_raw 4918 0
lp 9336 0
parport 37160 2 ppdev,lp
usbhid 41084 0
hid 83440 1 usbhid
ohci1394 30260 0
ieee1394 94771 1 ohci1394
ahci 37838 5
pata_atiixp 4209 0
r8169 39650 0
mii 5237 1 r8169
So, there you have it. And thanks to Linux Journal for putting all of this together. If you do not have a subscription to Linux Journal, you might want to get one. They frequently have useful articles like this
This comes from Jason Perlow, a tech columnist. He says that Apple is the North Korea of technology companies. It seems to be run by a relatively unhinged leader, everything is shrouded in darkness, and very little useful information leaks past its borders. See the full blog post here.
I am not an expert on the GIMP by any means, but I always like to improve. I have a digital camera now, and I want to get started taking pictures and doing things to them. We have a local camera club, and I have some friends there who are helping me to get started. Everyone in the Camera Club seems to be using Macintosh and Adobe Photoshop, and I don’t plan to use either. So I want to learn how to do all the same things on Linux using the GIMP. As part of my research I added some links to pages that seem pretty good.
One of the things I wanted to do when I set this site up was provide some of the content I have put together over the last couple of years. As an active member (and now President) of the Washtenaw Linux Users Group, I have done various presentations for our monthly meetings. I have also done presentations at our local Penguicon convention. And I thought I wanted to make them available to anyone who can use them (like all of this site, these presentations are covered by a Creative Commons Attribution, Non-Commercial, Share Alike license). [BTW, if you can figure out a way to make money from this, let me know, we can work out a deal. I am not opposed to making money, I just want my cut.
Well, simply uploading the presentations and putting a link to them is pretty simple, and I knew how to do that. But I thought there should be a better way. After all, I see slide shows run on other web sites, so it knew it was doable. and after overcoming an obstacle or two, I have them up on my site as well. Here is how I did it.
First, I set up an account at Slideshare. This is kind of like YouTube, only for presentations. I liked that they supported OpenOffice.org as well as Microsoft Office, so they got points from me for that. The account is free, and like YouTube you can upload your presentations free of charge. So far so good. Then I discovered something even better, that you can embed the slide shows in WordPress, which is what I use for this site.
So, I installed a plugin for WordPress, called SlideShare, by Joost de Valk. With this I could drop the embed code on any page and have it run. then I created a page, went to SlideShare, and got the code. This part is easy, just open the presentation you want, click the WordPress code underneath presentation, and copy it onto your page. Save the page with the code, and you are good to go.
Well, almost. The first thing I discovered is that SlideShare actually takes your presentation and converts it to a Flash video. Which for me means I cannot watch it on my Kubuntu box right now, since I cannot seem to get any usable Flash stuff working in my browser. I had to open a browser in Windows to see how it worked. I hate when that happens.
These days many of us have home networks with multiple computers with growing collections of media files. And with that comes the idea of adding storage. Of course, you can add larger hard drives to your computers, but there are advantages to having Network-Attached Storage (NAS). One advantage is that it lets you make use of a computer that might otherwise be too underpowered for desktop use. Storing and serving files is not computationally intensive, and you can often do quite well with a computer that has a Pentium3 processor and 512MB of RAM. Another advantage is that you can configure this to stream files without interference from your other computing tasks.
One option is to use FreeNAS, a specialized OS installation based on FreeBSD. This is not too difficult to install, and comes with a lot of features. Because it is expressly designed as a storage server, it comes with support for Samba, FTP, NFS, RSYNC (for backups), software Raid (0,1,5), and disk encryption.
Another option, which trades money for time and effort, is to buy an NAS box. There are many of these on the market, and recently Maximum PC Magazine did a review of some of the better ones. Most of these options, like the FreeNAS solution, make use of something called RAID, which stands for Redundant Array of Inexpensive Disks. The idea of RAID is to built in some redundancy by making one drive a parity drive. The idea is that you can have at least three drives (you could have more), and one of those drives is devoted to keeping parity information. Suppose you have a drive keeping even parity information. On Drive 1, you have a 1 in the first position, on Drive 2 you also have a 1 in the first position. If you add those up, it becomes a zero, and that is what you would store in the first position of the parity drive. It might look like this:
|Position||Position 1||Position 2||Position 3||Position 4|
|Even Parity Drive||1||1||0||0|
Now, RAID with Parity has the advantage of letting you replace any one drive without losing your data. For example, if Drive 2 were to stop working all of a sudden, you could reconstruct the contents of that drive by looking at the remaining drives. You could look at Drive 1 and see a 0 in the first position, look at the parity drive and see a 1 in the first position, and the only way that could happen is if Drive 2 had a 1 in the first position. So you can put in new disk and rebuild Drive 2 from the information you have.
There are a couple of things that are not so good about this, though. The first is that while you have some protection with RAID, it is not supposed to be a backup solution, and you should never use it in place of backup. If two or more drives go out, you have lost all of your data, and there are lots of ways that can happen (fire, flood, lightning strike, theft, etc.). The other thing that limits RAID is that the capacity of the system is defined by the smallest drive you have. If you had a 500GB drive, a 400GB drive, and a 100GB drive in a RAID array, each drive can only contribute 100GB to the array. So one drive is used for parity, the other two for data, and you can store 200GB of data in an array that had 5 times that in available storage.
One company found a way around that. Data Robotics, Inc. created a device called the Drobo, which lets you use drives of various capacities without wasting all of that space. They must be moving parity data around on various drives in some way to do this, but I don’t know the details. I suspect they are proprietary in any case. (See what they say here.) I can say that everyone who has one loves it, as far as I can tell. But it is pricey. A four-bay chassis, with no drives installed, is at least $400.
But there is another solution. A company called Lime Tech has created a product called Unraid, that does many of the same things Drobo does, but as a software-only solution. A Basic package, which supports up to three drives, is free. Basic Plus supports up to 6 drives for $69, and Basic Pro supports up to 16 drives for $119. You provide the hardware, including drives. So this is not a free solution, but in many respects cheaper than Drobo, so it may be the right solution for you. You can see more discussion and a video of an installation from Category 5 TV.
Linux is an example of what is called Free and Open Source Software (FOSS), but the word free may require just a little unpacking to get at what is meant here. Free can mean “does not require the payment of money”, and to Linux users this is often stated as “Free as in beer.” This can lead to the obvious question “Where do you get beer for free, anyway? I always have to pay for it at the store.” Still, the intent here is clear enough, we are defining “free” in economic terms. Well, that may be good in some ways, but it ought to lead you to wonder where all of this free software is coming from. In my e-mail sig I have the acronym “TANSTAAFL”, which stands for There Ain’t No Such Thing As A Free Lunch. (An aside: When I was in graduate school in the economics department of the University of Michigan, the grad students put out their own department newsletter and called it “The Free Lunch.” I think the idea was that we could plausibly deny that it existed.) I got this acronym for Robert A. Heinlein, who used it in his book The Moon Is A Harsh Mistress, but I suspect he got it from somewhere else.
The other meaning of free is “free from restrictions”, and in the Linux community this is condensed as “Free as in speech.” In the more advanced democracies, at least, there is some legal protection for people who wish to express their own ideas, even if those ideas are critical of the government or unpopular. This is not just free, but it is freedom. In terms of the software world, this is best summed up by the Free Software Foundation’s definition of Free Software:
* The freedom to run the program, for any purpose (freedom 0).
* The freedom to study how the program works, and change it to make it do what you wish (freedom 1). Access to the source code is a precondition for this.
* The freedom to redistribute copies so you can help your neighbor (freedom 2).
* The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.
Now the thing that you may notice here is that this definition does not in any way suppose that the software needs to be free of charge. The FSF definition is completely compatible with charging money, though it removes some of the ways that companies might enforce the payment of money. The point is that FSF concern here is not economic, it is about the freedom of the individual software user to use the software in any way they wish. By this definition any software that comes with an End-User License Agreement (EULA) is not free. EULA’s exist expressly to place limitations on what you can do with your software.
I think this distinction is important in several ways. First of all, the people who write software do have to eat, they do have to pay their bills, and so on. We should never kid ourselves about this, and we do have a responsibility to support the people who write the software we depend on. Back when I first got into computers, I made it a point to pay for shareware if I ended up using it. In the FOSS world, software is offered free of charge, but many software authors do have a PayPal button for donations. Last year I hit that button for PortableApps, and got an e-mail in reply from the author which made me think that it is rare for people to make a donation. That is just wrong. If you use the software (and PortableApps is software you should be using if you want to run anything from a USB thumb drive), you should support it. Just recently I signed up to “Adopt a line of code” in Miro, the open-source video app. I use this app daily, so I have a responsibility to support it. Now there are always going to be some people who just cannot spare the money, and I don’t think anyone should stop feeding their children to pay for software, but many of us can hit the PayPal button for $5 or $10 without having our homes repossessed, and we should do so any time it is software that we will be using regularly.
With Linux distros, the situation is a little different. Most of them do not expect to get your money nor do they ask for it. I can download Ubuntu, OpenSUSE, Fedora, Debian, Mint, etc. and never see a PayPal button. That does not mean I have no responsibility to support the distro, it only means that the way I support the distro is a little different. When you are talking about a Linux distro, you should mentally replace the word “free” with the words “Community supported.” And when we use the word community, we mean you. If you are using the software, you are part of the community. There is a saying in the United States that “Freedom is never free,” and it applies in a slightly different way to Free Software. If we do not participate in the production of free software, that quantity and quality of that software will diminish over time, until we are at the mercy of EULAs for everything we do.
Most of us cannot participate by writing code (though there are never enough coders, so if you can code, by all means offer your services), so I am addressing this primarily to person is just using FOSS but has never gone beyond downloading some software and using it. Every project I know of, from major Linux distros to small utility applications, needs lots of different contributions that call upon a wide range of skills. These can include marketing, public relations and publicity, graphic design, writing documentation, managing forums, and so on. The list can get quite large really. Maybe you can help in one of these areas, and if so, they would be glad to have you. But you may think “Gosh, I don’t have any of those skills. I don’t think there is any way I can contribute.” And you would be wrong.
The one thing every FOSS user can do, and should do, is to submit bug reports. Anyone who uses software will eventually have it go pear-shaped on them, and when that happens you can file a bug report. Maybe you have a software configuration that is unusual, or combination of hardware that no one looked at before, or maybe you just did something that no one else ever thought to do. Whatever the cause, you just discovered a bug. You might even be the first to discover it, or maybe you will be added to other users and help the developers find the common factor that leads to patching the bug. The key point here is that bugs never get patched unless they are reported, and the more reports the developers get, the easier it is for them to find the solution and fix the bug.
I feel strongly about this, so my New Year’s resolution is to devote some of my time and space here to writing how-tos and promoting bug reporting. I may have more information about Ubuntu, since that is the ecosystem I live in, but I will try to get some material on other distros as well. And if anyone reading this has information about bug reporting in other distros (on in Ubuntu, I may have missed something
As the latest versions of the Ubuntu family came out at the end of October, you could hear certain grumblings, particularly as regards the KDE version, Kubuntu. This was not a new issue, really. For the last few years there has been controversy and accusations about how Canonical has supported Kubuntu. For instance, Aaron Seigo of the KDE project gave an interview to Computerworld (Feb. 1, 2008) where he seemed to slam Canonical:
Canonical did not communicate well about long-term support and therefore neglected 35 percent of their user base. A user base they routinely neglect, but at KDE we ignore a lot of this.
OK, this is not something you want to read if you are a Canonical representative, and Jono Bacon certainly did not like it. He put up a response in his blog (Feb. 1, 2008), which I will not quote here since there is no short piece that works. He basically lists all of the things that Canonical does to support Kubuntu and KDE. Now, since I have not personally met either gentleman, let me just say that they both seem like nice enough fellows, but there is definitely a difference of viewpoint here.
I know my own experience with Kubuntu upgrades has not been especially gratifying, and I have at times thought that just possibly less care went into Kubuntu releases than went into the main Gnome version. But I am only an observer. Still, I saw what looked like an increase in complaints around the time of the Karmic release. On Oct. 9, 2009, a blog post by Jonathan Thomas (Jontheechidna) titled Kubuntu, the Blue-headed Stepchild detailed what he called a pattern of neglect. His argument was that while Canonical certainly does devote resources to Kubuntu and KDE, they don’t show anything like the same care. His examples seemed to suggest that Canonical would make changes to the code base, test in the Gnome-based Ubuntu, then move it into production without caring that it might break KDE and Kubuntu. The fellow who claims to have been placed “forever in the grasps of hell” for coining the term “blue-headed stepchild”, Richard Johnson, has a blog post that mostly claims there has been no real difference in care or in result between the Gnome and KDE versions of Ubuntu. I have (barely) met Richard, but we are not exactly bosom buddies. Still, he seems like a nice enough fellow as well.
Well, I think we can now say with some justification that there was enough smoke to indicate at least some smouldering, if not a blazing fire. The Kubuntu developers have announced Project Timelord, an attempt to overhaul Kubuntu and take care of some of the problems that have occurred. Here is the introductory paragraph to the announcement:
Through intense self-reflection, it has come to the attention of several Kubuntu developers that Kubuntu is not currently reaching its full potential. Whether due to major architectural changes in the software stack, the usage of certain Ubuntu technologies or limited developer time, we have realized that deep changes must occur. In order to fix this situation will do all in our power to make sure Kubuntu stands the test of time.
OK, not exactly the most stirring call to arms, but it is a start. Unfortunately, while they welcome involvement from a wide range of people, their idea of how to do this is to publish a page that lists all of the general Kubuntu mailing lists. Now, I have not yet purchased Jono Bacon’s book on The Art of Community, but I would hope for his sake that the book has better methods of building a community than this. It looks to me like they are saying “If you are super-motivated and can figure out a way to get through to us, maybe we can find something for you to do.” I am disappointed here. I do actually know one fellow at Canonical (Jorge Castro, who not only seems like a nice enough fellow, but really is a very nice fellow and quite devoted to the Ubuntu community), and I asked him to find out more about Project Timelord, like maybe a contact person, and so far nothing. I have asked people in our Michigan Lo-Co if anyone knew about it, and no one did. There did seem to be some interest in getting involved should anyone ever figure out how. I even had one fellow from my LUG ask to be kept informed because he would like to get involved. Now, I am not a developer. for which you should all be extremely grateful. I am a Project Manager by profession, I have previously worked in politics (largely volunteer-driven) and I have successfully led several non-profit organizations that depended on volunteer activity for their survival, and I am fairly certain that this is not-how-you-do-it. Volunteers can accomplish a great deal, but they need to be motivated and led, and I don’t at this point see much evidence of either from Project Timelord. Maybe it is too early, and all of this will happen in due course. If it does, and you hear anything, would you let me know? I am still kinda interested in getting involved.