Dell E521 and PCLinuxOS 2007 Final

It’s been a process of elimination to get my Dell E521 working. Previous workarounds with boot options didn’t work…so I had to use a combination of boot options to get things working nice and stable.

I powered up the PCLinuxOS 2007 Final LiveCD and began the installation to disk. During the bootloader configuration I appended the following text to the end of my linux, failsafe, and framebuffer entry:

noacpi irqpoll pci=routeirq

From there, I saved, closed all programs and rebooted. Upon first boot I opened Synaptic and installed the PCLinuxOS .a64 Kernel which is optimized for 64 bit processors. I then opened up the PCLinuxOS Control Center yet again, went to the boot section and altered my grub bootloader again with the same information in the code above. I rebooted to make sure my changes worked.

When logging in this time, I opened Synaptic and installed the Nvidia 97xx drivers for my graphics card (Fata1ity 7600GT). After this installs you’re prompted to restart X and upon login…you should be presented with quite a stable and quick desktop.

Hopefully this works well for those of you out there that are using E521’s or E520’s as I believe they have the same mainboard (not sure though).

PCLinuxOS 2007, USR5411 MaxG Wireless Primer

So you’ve just installed PCLinuxOS 2007 TR4 on your laptop and your wireless card is detected! Finally, a distro gets it right! However, you’re not too sure how to proceed next…do you manage the device through the PCLinuxOS Control Center? Do you start another program and work that way? Do you use KDE’s built in applet to monitor things? What’s next?

This is something that is often expressed in the forums at pclinuxos.com and something anyone associated with this fine distribution is glad to see…that is working wireless. However, as noted above, people often wonder how to control their wireless device and how to move in and out of various different environments. I’d like to share how I do wireless on my Thinkpad a22m.

I have a US Robotics 5411 MaxG PCMCIA card for my laptop. PCLinuxOS 2007 detects it out of the box but doesn’t install it by default. The reason for this is that PCLinuxOS doesn’t assume to know how you want to install it…either using the built into the kernel support for the broadcom wireless chip or ndiswrapper…which is a program that allows Windows drivers for wireless to be used in Linux. I elected to go with Ndiswrapper since I had some problems with the broadcom driver in PCLinuxOS. Ndiswrapper is installed by default in PCLinuxOS which makes this process even easier…but the process still requires some forethought and I’ll share with you what I did to make this process go smoothly and easily.

Continue reading “PCLinuxOS 2007, USR5411 MaxG Wireless Primer”

Speed Tweaking PCLinuxOS 2007 TR3

Using PCLinuxOS 2007 TR3 for the last few weeks, I’ve noticed VAST improvements over the .93a release. The most noticable of these is boot times. My boot time is absolutely amazing on this Dell E521n…it averages 30-40 seconds. That’s right. 30-40 SECONDS. I was floored the first time I booted after install. I thought I had done something wrong. I quickly rebooted and got out the stopwatch and recorded 32 seconds as my official time. I rebooted another 5-6 times and averaged in between 30-40 seconds each time and was closer to 30 on 8 out of 10 boots. Absolutely amazing.

Linux, with projects like upstart which is being considered for the next release of Ubuntu, are getting to the point now where boot times will drop considerably. This is welcome as far as I’m concerned…it allows you to get going right away with your business be it personal or other.

Once you’re logged in though…many people don’t touch the OS itself and instead leave it at the default settings. For most people this is ok…as not having something set to be optimized is ok and most distro rollers setup their distros so that they cause the least amount of problems for the most variety of hardware. For me, I like to mess around. I like to play. “I like the night life…I like to boogie

So without further silliness and introductional nonsense, I proudly present a bunch of data that I gathered from various sources (cited where possible) and a few tricks of my own that will allow most rpm based distros to tweak their way into improved performance. Since I did this specifically for the PCLinuxOS community though, I’ve titled the article accordingly. As it is, the article should work for most Fedora’s and Mandriva’s and possibly even OpenSuse.

Continue reading “Speed Tweaking PCLinuxOS 2007 TR3”

Dealing with Runaway Processes

Have you ever been using your Linux distro and suddenly found a program won’t close? It’s frustrating when an application hangs. In Windows, one could right click on the taskbar and choose “Task Manager” and kill the hanging process (which doesn’t always work BTW). In Linux, you can also kill these hanging processes.

First, if you’re using KDE press Control-Escape. This will give all processes in a handy window called the KDE System Guard. Clicking the column heading for “System %” so the arrow on it appears facing up will sort the processes from highest system percentage to lowest. Find the process that seems to be hogging up all the resources (or if you know the name of the process, highlight that) and then hit the kill button. Your process should end it’s routines and exit.

You can also check out which program is hogging up your virtual memory with its process which can also slow things up. Clicking on the column “VmSize” and sorting largest to smallest will allow you to see this and select which process to kill. I often elect to select only user processes using the drop down menu at the top right hand corner of the KDE System Guard. Doing this filters out all system files and shows any hanging applications that are initiated by the user (which is often what is hanging for me).

Don’t worry if you see the same process more than once (for example, Apache or php may have multiple entries if you run a webserver…this is normal). If you’re using Gnome, you’ll either have to use the console method I explain below or launch the Gnome System Manager to get things rolling. Since I don’t use Gnome, I won’t cover the Gnome System Manager here.

Another way you can do things…especially if all Xwindows (KDE, Gnome, Fluxbox, etc) have frozen or are sluggish is to drop to a console. You can do this by killing the Xserver or by dropping to a console. You can press Alt-F2 or Alt-F3 and get directly to a console. Login as root. Now let’s take a look and see what processes are hogging up resources. Kill the Xserver and drop to a console by hitting Control-Alt-Backspace. For our purposes, I’ll assume you’ve made it to the console now.

There’s a quick console way of finding exactly what is consuming the most of your PC as far as processes are concerned. Using the the ‘top’ command will display those processes that are beasts and allow you to take note of them. Look for the process taking up the most CPU% (which should appear at the ‘top’ of your ‘top’ output). Pay specific attention to the PID column of that high CPU% item and make a note of it. This is the process ID number and every program running on a Linux box is assigned one by the Kernel. We’ve found the one making problems for us and have recorded the PID so let’s slay it. Hit Control-C to stop the top command and then type:

kill PID

Where PID is the process ID number you made a note of before. You may not get confirmation that the task has been immediately killed so let’s see if it is still running. We may not get the information we need by using top again since it is mainly for finding the higher consuming processes aka runaways. Instead, let’s use the ps command.

ps aux | more

This command outputs all processes in a nice way…using the | and ‘more’ command allows you to paginate the output so that if there are a TON of processes, you can use the spacebar or arrow keys to page down (you can do that with any command too BTW). Now look for that PID that we just killed in the second column and see if it is there. You could also get creative and use:

 ps aux | grep PID

Where PID is once again the PID you killed. The grep command will search through the results and echo back to you any matching entries it finds. If you didn’t find anything and couldn’t match your PID to that of any displayed in your ps aux command, you just successfully killed that beastly process. As always, for more information, please see the man pages (e.g. man ps or man top).

Hopefully, this allows you to more efficiently manage your processes…runaway or normal. If I’ve printed an error, please let me know via the comments below or if there is a more efficient way of doing things let me know there as well…I’m always open to improvement.

UPDATE: Please checkout the comments section for a few more tips on killing processes!

UPDATE2:  Reader Scott M writes in the comments below “You don’t have to use the PID. You can use the -f option.  e.g. if there are multiple instance of SomeProgram, you can kill them all with one command:

pkill -9 -f SomeProgram”  Thanks Scott!

Dell E521, Linux, Freezing USB Mouse Problem Resolved

I hit a snag this past week while testing a few beta releases with the latest kernels. I bought an AMD X2 3800 Dell E521 with a Gig of RAM for US $409 and free shipping during a dealnews.com dealfest…I feel I got a good deal. So I’ve been waiting to put my favorite distro, PCLinuxOS on it…waiting for the release of .94 due out sometime this month. In the meantime, Windows XP has been on that computer and I’ve been dual booting distros I’d like to try.

The snag I hit came when booting into just about any 2.6.X environment in Linux…the mouse would be fine one minute, and then a few minutes into things the mouse would freeze. This is a USB Logitech mouse…and I found it odd that it would freeze up but the printer (HP PSC 1210v) would work just fine.

After a bit of research when pointed in the right direction of the kernel developer for PCLinuxOS, I came to realize that I wasn’t alone. Many on Ubuntu’s forums and also Linuxquestions, and Linuxforums had reported the same problems…most without any resolution. The good news is that I found a resolution to my problems 😀

Update the BIOS! I did a major forehead smack when it was the last thing I thought of when it should have been the first. After updating the BIOS to the latest and greatest version from dell.com, I was back in business with no freezes of my USB Mouse. Hopefully, if you also run a Dell E521, you won’t bash your head repeatedly against the wall like I did.

PCLinuxOS .93 xorg.conf problem quick fix

If you’re like me, you change things constantly in your linux desktop. I’m always entering in and tweaking .conf files to see what I can do and where the limits of things might be. In my attempt yesterday to get my EXACT monitor supported in PCLinuxOS, I hosed my xorg.conf file which is where all the Xsession settings (or Xwindows session) are stored (like mouse, keyboard, monitor, and graphics driver settings). Since I hosed this up, my graphical user interface and window manager would not start. So I was dropped to login via the shell. This might be daunting for some new users in Linux so I figured I’d write up this little how-to that would get them back on their feet.

First, don’t be intimidated by the shell. It’s more powerful than a cmd line in windows and you’ll have complete control of your computer from the confines of this awesome tool. Plus, you’re about 15-20 seconds away from having your desktop back up and running by executing only a few commands.

In order to fix your xorg.conf file, it’s important that we become root…so login as root and let’s fix your xorg.conf file in 4 commands.

Continue reading “PCLinuxOS .93 xorg.conf problem quick fix”

Creative Commons License
Except where otherwise noted, the content on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.