Gray Flannel Dwarf

6/19/2008

Spacewalk: One (more) giant leap for mankind

Viva La Spacewalk!

It’s been some time in the coming — and in all honestly, I’ve only been on the periphery these days — but the great news today is the announcement of Spacewalk, the re-branded, open source community release of Red Hat Network Satellite.

Spacewalk will not replace Satellite — think of it kind of like Fedora and RHEL. The Satellite product itself will remain supported by Red Hat, and development will continue, drawing from the (eventual) upstream Spacewalk codebase. Well, tell you what. I’ll just let dgoodwin tell you more.

In any case, hearty congratulations to the Satellite team concerning all the hard work that took place to get this done!


Tags: , , , — cswiii @ 12:27 pm

1/2/2008

Lo def, mos’def

One of my wife’s Christmas gifts was, admittedly, partially a toy for me. More accurately, i purchased it because I appears/appeared to fulfill a need of hers, while at the same time, hoping I could have some fun and learn a bit about it too.

The item in question is the Pinnacle PCTV HD Pro Stick… or more specifically, the Woot.com-branded one that I purchased at a price significantly lower than list.

Now, everything I’d read said it was a good product, but that you should use a different software — something like the nifty (and GPLed) app, MediaPortal — because the proprietary app was dog-slow. Sure enough, when I got everything installed, the HD channels appeared reasonably well, albeit occasionally choppy, but amazingly clear. However, it wasn’t long before the app UI would be nearly downright unresponsive, except for the actual video display itself.

I then installed MediaPortal, and the UI worked better — but video seemed to suffer a slight bit more. Hmmph.

Perhaps I should, at this point, indicate that my wife’s system is about a three-year old Dell Inspiron. Not a workhorse by any means, but not quite ready to be put out to pasture yet, especially due to fine grooming and upkeep, resulting in a virus/spyware free system. Also, too many horse metaphors there.

Anyway, while it seemed to me that her system was certainly suitable for this usage, the thought also passed through my mind that I needed to try things on a more high-calibre system.

Half a day later, after poring through Em28xx docs and associated module compilations, figuring out which apps could handle DVB (since Media Portal is a Windows app), and then learning how to scan for said HD channels, I started picking up high-def channels on my Fedora box.

However, I am saddened to report that on my desktop — a dual AMD 3800+ with a slightly dated, but seemingly reasonable video card (NVIDIA GeForce 6600), video was still choppy — perhaps even more so than on my wife’s laptop.

And yet still haven’t found a lot of people complaining about the quality (or lack thereof) in this product.

Nonetheless, I’ve come to some conclusions.

  • You need a reasonably powerful and recent CPU/video card to do this newfangled HD stuff,
  • Even though it’s readily known that the Linux Em28xx work is still not ready for primetime, my experiences may well may be further evidence to such notions,
  • There is still a reasonable chance that there’s something I could do to improve/streamline my own user experience with this device

In any case, I am somewhat disappointed in my first forays into the world of HD — and computing in HD at that — but I’ve not yet given up the ghost that this stuff could work.


Tags: , , , , , , , — cswiii @ 12:15 am

11/17/2007

fedora 8, compiz-fusion and x86_64

Well, I never used desktop effects a whole lot in Fedora 7, but when I did, they worked nearly flawlessly. I decided to check ‘em out again in F8, though, and, well, they were bustificated again.

Well, to be more accurate — if i run compiz-manager, everything comes up just roses. However, if I try to use gnome-compiz-preferences to enable them, i get no desktop decorations.

Running the gnome prefs app in a window, I started noticing messages akin to

[corey@ramen compiz]$ gnome-compiz-preferences
** (gnome-compiz-preferences:12673): WARNING **: plugin decoration isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin place isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin scale isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin switcher isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin water isn't installed

** (gnome-compiz-preferences:12673): CRITICAL **: gcm_gl_plugin_get_option: assertion `self != NULL' failed

** (gnome-compiz-preferences:12673): CRITICAL **: gcm_gl_option_set_string: assertion `self != NULL' failed

** (gnome-compiz-preferences:12673): WARNING **: plugin decoration isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin png isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin svg isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin annotate isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin scale isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin cube isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin decoration isn't installed

I thought that was interesting. Looking for the location of, say, crashhandler, I found it:

/usr/lib64/compiz/libcrashhandler.so

I found this even more interesting. Testing a theory, I created a directory (noting it didn’t exist), /usr/lib/compiz. From within this directory, I ran the following command:

for i in `ls /usr/lib64/compiz/*`; do ln -s $i `basename $i`; done

At this point, I re-ran gnome-compiz-preferences, and voila, I had window decorations.

Note that some things still seem busted – for example, I know I have wobbly windows enabled, and I am not seeing those. However, other indications let me know that compiz is indeed running, not least of all, ps:

13143 pts/1 S 0:00 /usr/bin/compiz-tray-icon
13190 ? S 0:03 /usr/bin/python /usr/bin/ccsm
13290 pts/1 S 0:00 /usr/bin/gtk-window-decorator --replace
13322 pts/1 S 0:03 /usr/bin/compiz --indirect-rendering --replace gconf

Basically, however, what we now know is that there’s a bug in gnome-compiz-preferences that isn’t taking into account the /lib vs. /lib64 differentiation on x86_64/multilib systems. I’ll bug it if it hasn’t been done already.

Also note that the full bash command above isn’t necessary — one can just as easily symlink /usr/lib64/compiz to /usr/lib/compiz


[root@ramen ~]# cd /usr/lib
[root@ramen lib]# ln -s /usr/lib64/compiz compiz


Update:
bz #388511. Also, I realised although I did have the wobbly windows plugin loaded, I missed it in the most obvious place — in the gnome-compiz-preferences UI itself. Seems just fine now.


Tags: , , , , , , — cswiii @ 11:29 am

11/10/2007

Tempting the F8s

I’m usually kind of hesitant to upgrade Fedora releases immediately after the come out… I like to make sure most of the bugs are ironed out so that I don’t hose something. However, I simply couldn’t resist this time, and over a span of 24 hours, I upgraded both my home-built desktop and T43 laptop from F7 to F8.

Now, being an Xfce user (for the time being anyway), I don’t get to experience a lot of the bells and whistles arriving in F8, such as pulseaudio and the neato changing background stuff that Máirín worked on. However, I was interested in doing the install from a pure usability standpoint. A linux user since 1996, a jack of all trades but master of none, I am always interested to see how thing improve/regress from the perspective of someone who’s neither n00b nor r00t..

As always, there is good, bad and ugly. Generally speaking, the upgrade went quite well — albeit i took a path slightly less traveled, opting to take a stab at it with smart, versus yum. But anyway, I did run into the same --noscripts (resolvable) issue as dgoodwin, as well as some other packages — so that’s something that definitely should be added to the FedoraFaq wiki. Also, it seems that the f8 kernel gets installed, but never makes its way into grub.conf — odd, and I now know I’m not the only one to have seen this. Anyway uninstalling it and reinstalling seems to be the easiest fix.

Generally speaking though, it didn’t seem like I had a lot of problems… home system upgraded like a champ… then hit the laptop… rebooted…

… and then I was stymied and still am. After rebooting, my monitor begins to display a message about the frequencies being out of range. WTF? Worse still, it seems that to get any working resolutions at all on my laptop display that are above 1024×768, i have no options other than widescreen-esque ratios. Attempting to fix these issues with system-config-display was a futile effort for two reasons — one, because every time I tried to change the monitor setting, it would say it was saved, but actually wouldn’t… and then when I jerry-rigged the xorg.conf to give me the resolution i wanted, X still wouldn’t cooperate — either causing my monitor to display the frequency error again, or popping up in the right resolution — say, 1280×1024 — for a brief moment before resetting to something odd like 1280×768.

I still don’t know what is/was causing it, but later on I noticed that I didn’t get it in GNOME, or KDE… only in Xfce — but I don’t know WTF the window manager would have to do with changing the resolution.

Anyway, after seeing that, I went kamikaze on my dot-setting directories, figuring I could just wipe everything out and get it to work — and that did indeed do the trick, albeit at the expense of some of my desktop settings. That said, I’m still not at all convinced that things are quite right with my Xserver.

Oh, and due in part to all of this — and in part to all the cool new GNOME stuff — i considered switching back to GNOME, if only for a time, as an alternative to a busted resolution. However, trying to make my first changes or two and getting segfaults all over the place with gnome-appearance-properties, i changed my mind pretty quickly. Maybe this will get cleared up (out there|on my box) eventually and I can reevaluate.

Generally speaking, though, I was pretty happy with the install experience — I just for the life of me can’t figure out what the hell is/was going wrong on the X end of things.

Update: Well, I noticed that livna once again (and most conveniently) has fglrx drivers. I know there had been issues in the past few months, and I am not sure when they finally fixed that — but in any case, i installed them, and my issue seems to have resolved itself. The plot thickens…


Tags: , , , , , , , — cswiii @ 1:36 am

9/12/2007

Goodbye KDE, hello Xfce

Well, the love affair with KDE was torrid, full of passion, but it was short-lived, and in the end, wasn’t meant to be.

I liked it… and still kind of do… but it was like, I dunno… too much whipped cream on your pumpkin pie? Too rich an environment, Too many menu items, even when I slimmed stuff down, just… “Too.

Also, I got annoyed at how often I would end up inadvertently closing an applet by right-clicking too fast or something, and having KDE think I wanted to close it. Little thing I guess, but it started to rub at me.

So anyway, I decided to check out Xfce, and I think I really have found what I’m looking for (cue Bono). Zippy as hell and has the right balance of customisation without all the confusion. After the initial hiccups of trying to get functional menus — although I still haven’t found a way to make them autopopulate and I don’t think such a feature yet exists — I was up and running.

There are still a few glitches. I run several Gnome applets and the occasional KDE applet still, and the KDE applets will, on occasion, end up in the corner of my screen versus the system tray when I restart the a session. Oh, and I had to build xfce4-smartpm-plugin from scratch since it doesn’t (yet?) seem to be available in Fedora. Also, the menu editor won’t allow me to move a launcher outside its current grouping to another. For example, I’ve got a few things that are, to me anyway, miscategorized. I can’t move something from, say, “Accessories” to “System”. without just rewriting an entry from scratch.

Overall, however, I think Xfce is the way to go, especially if you want something that’s lightweight. My system isn’t particularly slow at all, but Xfce feels a lot more responsive; I can only imagine the improvement on a slower system. In fact, I know it’s better — my first stab at Xfce was on a vmware image, now that I think about it, a decision which was specifically made due to the nature of the beast.


Tags: , , , , , — cswiii @ 9:29 pm

7/7/2007

Almost a KDE convert.

A few weeks back, I installed Amarok on my home desktop, and thought it was a pretty nifty program — this, despite being a “dreaded KDE application”. Maybe it planted a seed in my head.

So today, something — I can’t remember what — made me decide to check out KDE again. Last time I used it was about 3 years ago, when I ran it on a lab machine because Gnome was too CPU-intensive for this hunk o’ junk. I really couldn’t stand it too much, but at that point KDE was the easiest to configure and was better than nothing at all.

In any case, I’ve configured my laptop to use KDE, and after a little bit of growing pain, I think… I really like it! It’s fast, slick, intuitive and stuff seems to work (so far).

A few holdovers I’m thus far maintaining:

  • Thunderbird and Firefox, because I’m not a KDE zealot, and I like those apps. Of course, doing so means one should install gtk-qt-engine so that the fonts and stuff used by these (and other) GTK apps match your font selections in KDE reasonably well.
  • add a shell script for nm-applet to the ~/.kde/Autostart directory because I also like the Gnome NetworkManager applet.
  • … maybe more things later, I’ll continue to update this entry.

Tags: , , — cswiii @ 11:43 am

3/3/2007

tilda

I can’t remember where I ran across this in the first place — maybe I just saw it in yumex yesterday — but tilda is pretty cool. I never use(d) the console too much in FPS games, but it’s nonetheless handy in X to be able to pop that little term window down when needed.

I ran into a few little bugs, but so far no show-stoppers. The one thing it needs to be really useful is to execute upon window manager startup. I manually configured this, but having it do so upon install would be better, if possible.


Tags: , , — cswiii @ 11:25 pm

12/13/2006

Xen hurts my monkey mind.

So I’ve been spending parts of the last two evenings trying to get a xen guest installed. First thing that annoyed me right off is the necessity to use an http, ftp or nfs point as the source tree, versus a standard directory. Why, oh why?

Anyway, so I sez to myself, “ok, well, I’m running a webserver on this machine, I will just mount an iso over loop, within my webspace, and bingo!”

Right? WRONG… SELinux — which I have been trying to rationalise as that pile of veggies on your plate as a kid that you hate but have been told are good for you — won’t allow arbitrary directories to be accessed from within httpd. No, you need to run restorecon… and you can’t do so to a read-only volume!

With that, I temporarily set SELinux to Permissive, rebooted, and started trying to install my Xen guest.

Once again, no luck. Regardless of what tool I use — virt-manager or virt-install, I kept getting ‘Invalid Argument’ errors thrown back at me.

So after searching google for various, convoluted references to spammy errors, I simplified my search to ‘fedora xen “invalid argument’, which took me to something I wish I had seen all along, the Fedora Xen Quickstart FC6 page. SURELY this would save me!

Alas, my hopes were dashed and turned to petty rage when I read this:

    Q. When creating a guest the message “Invalid argument” is displayed.
    A. This usually indicates that the kernel image you are trying to boot is incompatible with the hypervisor. This will be seen if trying to run a FC5 (non-PAE) kernel on FC6 (which is PAE only), or if trying to run a bare metal kernel.

      Ahem.

      [root@ramen ~]# uname -r
      2.6.18-1.2849.fc6xen

      I re-read the page again. I grepped all the /proc info. I am cool there — not that I would expect otherwise, running a dual core AMD. Everything else matches, so I dunno what this Wiki is implying.

      As a last gasp, I then decided that maybe I should try running against a real anaconda-friendly distribution tree, so I chose the mirror at Duke. Kicked off my install… it didn’t kick back an error right away… are we set this time?

      No. :( As it turns out, I got the same error as before — it just took longer because I was accessing a site over the internet.

      So, long story short, I am utterly out of ideas. Xen should be easy to configure — and it seems darn well like it’s been designed as such. Nonetheless, I’m a bit at the end of my rope with this thing.


      Tags: , , , , , — cswiii @ 11:11 pm

      7/16/2006

      I CUP

      Last night I spent three hours of my life trying to figure something out. Three hours that I’ll never get back. Three hours on something that should’ve only taken five minutes.

      Simply put: I tried to get network printing to work via CUPS. I did finally figure the finicky thing out… and hopefully people who are having the same problems that I did will see this and it’ll help em.
      The Background: A few months ago, I took the printer connected to my wife’s old desktop and connected it to my Fedora Core 5 linux box. No problems there — printing worked just fine. I was unable to share it, however…. trying to connect to the printer across the network failed. I tried for a little while, to no avail. Meanwhile, I knew that years ago, at the old company, I had set up CUPS to access our network printers, and never had any problems… So last night, with new resolve, I tried again.

      So tracing back, I thought of everything I had done. I made my changes to /etc/cups/cupsd.conf to allow remote connections… everything seemed kosher there. First thing I thought of doing that I know I didn’t do before was to open up a port on my local firewall. Specifically, port 631. To do this in FC5, I went to “System | Administration | Security Level and Firewall” in the user menu. At the UI, I went to “Other ports” dropdown and added “631″ TCP and UDP.

      Such a simple issue — I surely thought I had resolved my problem. Trying to print returned nothing however — no jobs appearing in the queue. Looking at my error log, I found something akin to the following appearing everytime I tried to print from the remote computer:

      Hint: Do you have the raw file printing rules enabled?

      I no longer have the full error message readily available (it seems my CUPS log has already been truncated), but that’s the gist of it. So I looked up the message above on Google and found this page posted by an equally-frustrated person. I took his suggestions and made them on my own system. So, (Hint #1) make the following changes:

      In /etc/cups/mime.convs, Uncomment…

      application/octet-stream     application/vnd.cups-raw        0       -

      In /etc/cups/mime.types, Uncomment…

      mime.types:application/octet-stream

      Fix them, and restart cups:

      /etc/rc.d/init.d/cups restart

      I actually made a mistake in here, but for continuity’s sake, I will indicate it at the end. You probably won’t make the same mistake and following the above steps may resolve your issue. But read on, regardless — there’s some other stuff you will want to know…

      In any case, so I made the changes… still got the same error. So I start fiddling with the settings in CUPS. Running out of options, I decide to check out the Gnome printer configuration tool… and there’s what we will call Mistake #1: As I read elsewhere, find a tool and stick with it. If you use CUPS, don’t use the UI tool. They conflict with each other. Seriously – don’t mix this stuff at all. Before I knew it, my local sample print page output was nothing but one big black inky box, and everytime i tried to print anything, I got the same thing. Also, my print driver would never stay correct. So, in fact — I will recommend using yum (or yumex — it’s easier) to (Hint #2) completely remove the package system-config-printer. That is, remove that if you’re going to use CUPS all the time. If you use something else, you’re on your own. Also, if you’ve been promiscuous with your printer tools, you may find some of those uncommented lines recommented again. Fix them and restart CUPS.

      Now — if you’ve gone and made the same dumb mistakes that I have, you’ll probably find that your print setup is in an overall pretty confused state. I resolved this by also (Hint #3) removing the foomatic package and reinstalling it. I was going to remove CUPS and reinstall it if I had to, but I didn’t — and thank God — CUPS is tied to way too much stuff in FC5 to easily remove it, although I guess you could manually rpm –force it. Regardless, uninstalling and reinstalling foomatic did the trick. Once again, you may check those files above to make sure they are uncommented, because while I don’t think foomatic messed with those, I can’t be sure right now. Anyway, you know the drill.

      So at this point I am pretty damned sure I have things fixed. I go to the other computer, send a test page and… same error.

      I was stymied and a bit frustrated. I began looking at all my stuff again, and then found the biggest idiocy of the whole issue. I had made Mistake #2: When you uncomment, be sure you actually uncomment. What I mean is — when I removed the ‘#’ I had somehow slipped a single leading space character amidst the newly fixed line in mime.convs.

      One. Single. Space. I removed the space, restarted CUPS, and three hours later down the road, had out the issue resolved.

      So there you have it. What should’ve been a simple configuration took several hours due to both mistakes on my part and idiosyncracies in Linux printing. I should also note, as a postscript, that while retracing my steps, somewhere along the way, the lines where I opened up in my firewall for printing got changed from referencing the port number (“631″) to the actual service itself (“ipp” – internet printing protocol). I am guessing this occurred during the foomatic fix..?


      Tags: , , , , , , , — cswiii @ 12:52 pm

      2/13/2005

      A little mistake.

      Last time I created the linux partitions on my computer, I made the /boot partition a little too small. It wasn’t that big a deal except that it meant I often times had to delete old kernels before putting new ones on.

      And then this happened, while in /boot:

      rm -rf vmlinuz-2.4 *

      That’s right, there’s an extra space in there. Goodbye System.map, boot.b and map. lilo sure didn’t like that little development. And yes, I know, I should be using grub.

      Oh well, it was about time to install Fedora Core 3 anyway…


      Tags: , — cswiii @ 5:33 pm

      1/27/2004

      Another Turd in the Stall Part 2

      Another SCO Group parody, to complement Lady Caldera. This is, if it’s not obvious, a parody of “Another Brick in the Wall Part 2″

      I actually wrote this a while back (9-Dec), but I wanted to keep a copy of it before it was too hard to find on Slashdot.

      (With apologies to Pink Floyd)

      We don’t need no litigation
      We don’t need no spin control
      No Darl McBride praise in the chatroom
      Pumpers, leave this stock alone!
      Hey! Pumpers! Leave this stock alone!
      All in all it’s just another turd in the stall
      All in all you’re just another turd in the stall

      We don’t need no litigation
      We don’t need no spin control
      No Darl McBride praise in the chatroom
      Pumpers, leave this stock alone!
      Hey! Pumpers! Leave this stock alone!
      All in all it’s just another turd in the stall
      All in all you’re just another turd in the stall

      “Wrong! Dump it again!”
      “If you can’t beat the street, how can you have any earnings…
      How can you have any earnings, if you can’t beat the street?”
      “You! Yes, you behind the bodyguards, stand still laddy!”


      Tags: , , , — cswiii @ 11:14 am

      5/28/2003

      Lady Caldera

      (to the tune of the Beatles’ “Lady Madonna”)

      Lady Caldera, stock price at your feet.
      Wonder how you’ll manage to make ends meet.
      Who has the money? How you pay the rent?
      Did you think that UNIX trademark was heaven sent?

      Wednesday morning news just like a bombshell.
      We all watch their stock drop like a rock.
      Caldera has learned kiss its arsecheeks goodbye.
      See how they run.

      Lady Caldera, IP fakes confess!
      Wonder how you’ll manage to keep up this jest.

      See how they run.
      Lady Caldera, lying in the press,
      Blackmailing the righteous ones, in your duress.

      Wednesday afternoon is never ending.
      Thursday morning news will be as bad.
      Thursday night your stocks, they will need mending.
      See how they run.

      Lady Caldera, stock price at your feet.
      Wonder how you’ll manage to make ends meet.


      Tags: , , , — cswiii @ 4:04 pm