Slacker’s Update

It’s been a while since I’ve updated the information I provided in my previous post, and for that, I can only offer my humblest apologies. For one reason or another, I’ve not gotten around to making another entry in my blog regarding my journey through Slackware.

Since making that post, several events have happened which I should make note of. First of all, I discovered what made the Slackware 14 release kernel bug out on me when I rebooted after installation. Apparently, a firmware update needed to be installed which tended to the idiosyncrasies inherent to the latest iteration of AMD’s A-series of mobile processors. Without this firmware, the vanilla kernel could not handle the hardware setup, hence the panic. Understandable from a technical point of view, although I’ve not encountered such a problem when I installed Slackware in the past.

Second, I discovered what made the Brother printer driver (lpd and cupswrapper), which where packaged for RH, Debian, and their derivatives, crap out on Slackware. There are options that needed to be passed onto the rpm2txz script which converted the rpm package to a Slackware package. The description file, slack-desc, was converted from its rpm equivalent, and the post-install script, which sets up the Brother driver for proper operation, had to be carried over. In my ignorance, I did not include these command-line options. Thankfully the Slackware Documentation Project, which was spearheaded by Eric Hameleers (aka Alien BOB) who, as I understand, is just now getting over a nasty bout of the flu, had an article discussing the conversion of a sample printer, the Brother MFC-J825DW. Using the information contained in the article as a baseline, I was able to adapt it to my HL-2240, and — lo and behold! — my printer worked as advertised, without a bunch of gobbledygook coming out endlessly, wasting toner needlessly.  As an aside, I needed the printer to work with LibreOffice Writer. Okular would print without a problem, but –alas!– it would not with LO. After a short search, I discovered the problem: LO, for some unknown reason, treated the HL-2240 as a PDF printer, not as Postscript. Thankfully, the solution was near at hand. I was able to create a blank template and use it as default in Writer, wherein the only changes that were made was that my printer was set to Postscript Level 2, and paragraphs were double-spaced (a requirement for MLA-style papers). I don’t have to use Windows at all now to print my essays! Hurray!

Finally, I purchased another laptop, and this one will be the last one for awhile (I’m talking several years here). I had to go to my local Sam’s Club to get it, since Wal-Mart has only the cheap models available. The laptop I have not (and what I’m using to make this post!) is an HP Pavilion dv7-7227cl. It started life as a Windows 8 machine. Thankfully, HP provides a solution for Secure Boot; just turn it off in the BIOS. They call it Legacy Boot. There’s nothing legacy about Linux; rather, Windows uses several legacy components (such as drive letters, dating from CP/M days) that should have been consigned to its grave decades ago. But, that’s just me.

So, I’m pretty pleased right now with my new laptop, and anticipate fuss-free computing for as long as I own it. Speaking of fuss-free, my new laptop’s hardware was similar enough to the g7-2069wm (wifi, graphics) that I was able to swap hard drives, and Linux just booted up as if it were still on the old laptop! Windows upgrades should be as fuss-free. That’s not likely to happen anytime soon, though. Sadly.

 

Posted in Uncategorized | Leave a comment

Thinking outside the box

Recently, I installed Slackware on a laptop, which I purchased from a local Wal-Mart. That would not be noteworthy of itself to my fellow Slackers, except for the fact that my finished setup wasn’t exactly what I had in mind when I started out. Let me explain.

The laptop in question, an HP Pavilion g7-2069wm, is intended to be used while I attend college, and was purchased as inexpensively as possible, the usual route a poor college student takes.  The only problem with that is that the exact hardware used is not specified exactly, and getting Linux to work properly on such hardware is a crapshoot at best. I remember another laptop that gave me trouble in that way, but that’s another story for another time.

The laptop came with the usual OS, and my plan was to install Slackware via a USB flash drive. The installation went flawlessly, as usual. The trouble began when I rebooted. The installation kernel would not boot; the kernel would panic on me, every time. I could not figure out what I did wrong. I re-did the installation several times, all to no avail. It would not work at all. I became discouraged, and set it aside until I could figure out what to do with this laptop. I had to purchase a printer for my English essays, so I needed a Windows installation to accomodate the driver (The Linux version did not work; maybe it was me, but I could not make it work).

After awhile, I came back to the problem (I’m kind of stubborn that way; I’ve always been like that. I cannot just let a problem go). This time, I thought to use a former release (I was trying to install -current). 13.37 installed without incident and ran flawlessly. The only issue with this is that this release is 18 months old. The security issues alone are enough to cause alarm, but what I was most concerned with at the time was that the software did not have the features that I had grown used to, and this was a major issue for me.

Without going into detail (which is long and boring), I finally figured out that I had to use a 2.6.x kernel release, but the one that came with 13.37 would not do because it did not support the wifi card that came with my laptop. For that, I had to compile my own kernel, which was 2.6.39.4 at the time. I figured why not kill two birds with one stone. I was also wanting to figure out how to create Slackware packages of the kernel. I didn’t think -huge and -generic would pose too much of a problem; -source and -modules proved to be a bit more challenging. To make a long story short, after looking at the SlackBuilds for the packages, and making appropriate changes (I had to search on the Web for some of those SlackBuild files) I had a working installation.

Most people would not even think of using a previous generation of kernels for Slackware 14; what would be the point? However, my computer does not know the difference; it runs happily on the 2.6 series.

Sound and graphics proved to be trouble spots as well; however, I’ll save that story for another time.

Regards,

Matt M.

 

Posted in Uncategorized | Leave a comment