Slackware freezing alot?
I helped a friend of mine install Slackware on his computer a few weeks ago. He did a full install onto his Pentium 3 800 mhz, Intel 810 graphics and sound, and 256 RAM.
I then helped him get networking going and he started out in KDE, went to Gnome, and finally found XFCE worked best for him. He hasn't configured it too much, added a line in fstab for his ipod and installed a couple apps, one of them was amarok so he could use his ipod. Anyway he said that it is crashing alot, just freezing. I can't think of anything that would make that happen, he wasn't running any heavy processes, just using epiphany, amarok, and gaim generally. Any ideas on why this is happening and how to fix it? |
if it is crashing you should look in the syslogs, dmesg, messages and other logs in /var/log to see if you can find the cause.
|
Its probably just the window manager/GUI. I would check the logs as the previous post suggested, Run TOP, if possible to see what is using the most resources, update the video driver if possible or downgrade to the default vesa, get the latest version of KDE, Gnome or whatever is being used and try out several different managers or GUI`s, I had KDE on a 350 amd and it would crash all the time, I switched to fluxbox and it ran great. :)
|
fluxbox is prolly imho the best lightweight wm
|
Quote:
Thanks alot! |
Which WM to use is a matter of opinion. Personally, I like XFCE. There's no point in having a WM war over it, because I tried Fluxbox and I didn't like it. Presumably, you did the same for XFCE.
Linux doesn't freeze for me. I know that's not the most useful answer I can give, nor is it exactly what you were hoping/expecting to hear. The point, though, is that, as you're probably aware, Linux is generally a lot more stable than Windows, and that's got nothing to do with which distro you're using. It's because the kernel treats users and user-run applications differently than the Windows system does. You'll see the same sort of stability out of a BSD-based system, or even MacOS X to a certain extent. Yay. Tell me something you didn't already know. A few questions about his situation: 1. Has he tried recompiling the kernel to remove support for options that he doesn't need? You'll find that the distro kernel has a whole bunch of crap in it that you simply do not need. At all. You probably do not need support for a whole bunch of different types of network cards, but just one or maybe two different types. You probably don't need support for a whole bunch of different frame buffers. You probably don't need support for a whole bunch of different motherboard chipsets or IDE/SATA controllers. You're certainly not running a '486, which the distro kernel is optimized for. The first thing I'd suggest you do after an install, before you add anything, is to update the kernel and compile it optimized for your chip type and without support for hardware you don't have. 2. Is there any pattern to the crashing? Is it only when epiphany is running? Is it only when transferring files to/from the ipod? Is it only when surfing the net? Is it only when touching a walnut wrapped in tinfoil to his tongue while standing on one leg? (points if you get the reference) 3. Has he run anything like swaret to "update" the system? 4. Is it a crash crash, or only a sorta crash? Can he switch to CON (CTRL-ALT-F1) and see any debug output from X? |
I used to get alot of crashes back in the old days of Slackware 9.0 !
I was mostly because of kernel issues. After downloading a new kernel and customizing it, everything went smoothly. Another thing that may cause crashes are suggested in the previous posts: Window Manager (I prefer KDE -- USE THE LATEST) and Graphics Card Drivers. If you're using a NVidia or ATI (which is mostly the case), then make sure you download the latest driver and READ ITS MANUAL, THEN, install it ... that would save you A LOT of time, believe me ;) Ummm, you could ask him to switch to KDE or Gnome and see if those crashes presist. |
Your buddy may also want to consider whether or not his RAM is stable - i.e. properly seated in the slots, undamaged, etc.
Certainly if your friend can establish some kind of repetitious pattern to the freezing that would be helpful for diagnostic purposes. As has already been mentioned, the other thing that can result in freezing is a buggy graphix card ... again it could be defective or it could be a little loose or out of the slot a bit. Also, did your friend partition the drive for swap space and if so, was it of sufficient size? |
Quote:
I also have some hard-freezing issues when running 100% CPU under Slack 10 (with KDE(3.3.2), XFce(4.2) or Fluxbox(0.9.11)) but I know that it is hardware related because I had the same problems in SuSE 8.2, 9.1 and WinXP |
just a quick tip for a situation when X freezes and the computer wont take anymore input.. Sometimes its just the X taking down the keyboard with it.. If possible, log on from another machine via ssh, kill the X.. This usually wont help, but if you do DISPLAY=:0 and throw a startx over ssh, the new X will clean up for the frozen one, making the system usable again..
I have these freezes sometimes rarely, no idea what causes them, but now I know that they can be fixed without a hard reboot.. (: Just wanted to share this with you if it happens to be the same kinda problem.. No one likes corrupt disks from too many hard reboots.. |
Thanks alot for all your help and detailed responses! I'll try and provide more detailed info as its made available so we can solve this.
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I had him make a swap partition, 512 MB, twice the size of the RAM is pretty standard isn't it? Quote:
Quote:
|
Quote:
It's a little dated, but the basic information is sound. The bottom line is that you should go to kernel.org and download the current (2.6.10 as of this writing) kernel in its entirety. Don't bother with a patch, because you don't have an existing 2.6 tree kernel source. Unzip the kernel. It's probably a good idea to do that in /usr/src, and make a symlink from linux-2.6.10 to linux, and do all of your building out of the "linux" directory, though that's really more of form than a requirement. It's probably not necessary, but I'd do it way: go to the linux directory and type "make clean" When "make clean" has finished (shouldn't take too long), type "make xconfig". It *should* work without any problems, and has an easier-to-look-at interface than the alternative. If you get errors that prevent xconfig from working, though, type "make menuconfig" instead. Here's where it gets fuzzy, and I can't tell you exactly what to choose. What you need to do is go through every menu in the system, and enable the modules for your hardware configuration. If you don't know for sure which one to compile in a certain category, it's better to be paranoid and enable them all. You'll notice, though, that there's a lot of categories that you will know for a fact you don't need. IrDA comes to mind. You probably won't need RAID support, either. etc. When you're done with the menu-based configuration, exit, and if it asks, save the changes before quitting. Do not bother with choosing any of the options that specifically say "save", because those are to save the config with a non-standard name. The idiot-proofing will give you the option to save with the right file name if you just quit straight up. After finishing up with the config, you're ready to build the kernel. In order: (it's probably a good idea to be running as root for this) make make modules make modules_install Now, there's an option "make install" that supposedly works, but I prefer to do the last few steps manually: cp System.map /boot/System.map-2.x.x (where 2.x.x is the kernel version, such as 2.6.10) cp arch/i386/boot/bzImage /boot/vmlinuz-2.x.x (same as above) cd /boot ln -s System.map-2.x.x System.map Edit /etc/lilo.conf to add a line for your new kernel. I'd suggest you use pico for this, if you're not used to command-line interface, but any editor will work, from ed to emacs in complexity. I haven't updated my system to 2.6.10 yet, but here's the lines from my lilo.conf that reference the 2.6.9 kernel: Code:
image = /boot/vmlinuz After updating lilo.conf, run lilo and reboot. You should be able to boot into the new kernel. Quote:
Quote:
Don't get me wrong. I'm not anti-update. I'm anti-useless-update. There's a difference. Bottom line, if you aren't in a situation where you'll be affected by a fix included in an updated version of the software, then don't worry about installing the update. If you come across an update that you do want installed, then download the specific package from a mirror, and install it manually using kpackage in X or installpkg at command. Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Once again thanks for all your help! |
Quote:
If the mouse moves when frozen, try CTRL-ALT-ESC. In KDE, at least, it turns the mouse cursor to a skull and crossbones which you can use to kill an open window if it's not responding. Quote:
I'm still running Windows on both systems, though I only ever go into Win on the weekends. I'm a student, and one of the explicit reasons that I'm running Linux is that I'm too lazy to worry about getting my games to work with Wine. The desktop goes into Win on the weekends, and during the week (M-F), only into Linux. The only exception being that my printer is a piece of junk that, despite there being mfg-supplied linux drivers for it, still doesn't work in Linux. When I want to print, I have to boot into Windows. Oh, and on my laptop, for some reason, DVD playback is still a lot cleaner and less choppy in Windows than in Linux, so it's dualbooting with 2K Pro. You already know the answer to your question, though. You want to update KDE. So do it. Quote:
|
I tried the first step to updating my kernel, mounting initrd.gz in /root/imnt/ and then copying a bunch of files from a patch that the topo guy gave me. I couldn't copy all of them though because the mounted initrd file ran out of space (by 30 kb)!! Can I enlarge it somehow? Anyway after i get past this part hopefully it will go smoother.
|
All times are GMT -5. The time now is 01:10 PM. |