Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-22-2012, 01:13 PM
|
#1
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224
Rep:
|
Upgrade Kernel; or What?
I've been using Linux as a Home Desktop for a few years now; primarily because I prefer FOSS philosophy and I don't like MS "for profit" practices and procedures.
Same time, I have to concede Linux takes more of my time; i.e., has a steeper and longer learning curve than either Windows or Mac. When I upgraded from Etch to Squeeze, I ended up with problems I didn't, and couldn't have, anticipated and which I am still trying to sort out when I can make the time. What I want to say here is that for the last couple of years, I spend far more time maintaining/upgrading/fixing the 'System' than I do 'End Using' it.
I still haven't got 6.0 (Squeeze) to stop freezing 3-4-5 + times a session and now Wheezy is breathing over my shoulder.
I would appreciate some insight into what is meant by some recommendations I'm seeing that say 'we' should be upgrading to Linux Kernel 2.6.39? AFAICT, I'm running 2.6.32-5-686 and I've been doing the updates and upgrades as soon as the notifications appear.
So, what up with upgrading the kernel?
rooster
Last edited by r00ster; 07-22-2012 at 01:16 PM.
Reason: spelling
|
|
|
07-22-2012, 01:26 PM
|
#2
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
Hi r00ster, "freezing 2-4-5 + times a session" is NOT normal behavior for Debian Stable! Debian is renowned for its stability, however, it is possible that certain combinations of hardware and software might cause problems. I am stunned that you stuck with it for as long as you did if it is freezing up that often.
What I would do is burn a few Live CD/USB's and find a distro that works well on your hardware. The vast majority of Linux users have zero freezes, and Linux is the OS of choice on servers that must have 100% uptime. You deserve a 100% stable and bug-free experience with Linux, keep searching until you find it!
To answer your specific question: It can't hurt to install a newer kernel in your Squeeze to see if it solves the problem. How could it be any worse than what you have now, right? The easiest way to do this is using backports, and the current backports kernel is 3.2. Another suggestion is that Wheezy is in "freeze" and is considered "stable enough" for most users. You can try a Live CD of Wheezy and if it solves your freezing problems, abandon Squeeze and go for a fresh reinstall of Wheezy. Other distros that are known to be very stable include CentOS and Slackware.
If you want to stick with Squeeze and troubleshoot the problem (I wouldn't, personally--I would just do a fresh reinstall of something that works hassle-free) then a good place to start is by telling us about your hardware.
|
|
|
07-22-2012, 03:45 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,264
|
Almost no machine is tested at the factory with linux. So the freezing may or may not be cured. I agree that you may need to try some distro's or even start with bios settings to slow it down, check or get best drive cables, run memtest and or hard drive diags for a day or so, watch temps and voltages too.
Testing a different kernel can't hurt but you don't see errata in kernel these days for that issue.
I agree that live cd's are a great way to see if some disto could work. Might try Gentoo. Dunno what they did but it usually works.
You are right is the steep learning curve and taking time.
|
|
|
07-23-2012, 08:36 AM
|
#4
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224
Original Poster
Rep:
|
First, thanks y'all for your understanding and informative and supportive replies.
snowpine & jefro;
In an ideal world (mine, that is) I would appreciate learning how to diagnose this specific problem. I upgraded from Etch (which worked like a charm) to Lenny. But freezes and other errata made me deep-six Lennhy before activating my local providers email accounts or loading my documents & settings from backup media.
Here's my unit's profile.
Quote:
CPU: Intel Celeron D Processor 330 (2.66GHz, 533MHz FSB, 256KB L2 cache)
Operating Systems
Master HDD
Debian GNU/Linux 4.0, Etch: Kernel: linux-image-2.6.18-4-686
Debian GNU/Linux 6.0, Squeeze: Kernel: linux image 2.6.32-5-686
Chainloaded Slave HD
Genuine Microsoft Windows XP Home
Chipset: Intel 845GV chipset
Memory: 512MB DDR (PC2700); expandable to 2GB
HDD (Master): Maxtor DiamondMax Plus 9 EIDE 160GB ATA-133
HDD (Slave): WD Caviar WD800 BB-JHAD 80GB (OEM XP-Home)
Optical Drive: CD-RW/DVD Combo Drive
ODD (Slave): Samsung SH-S182 DVD+RW
Media Reader: 8-in-1 digital media manager (Secure Digital (SD), Smart Media,
Compact Flash, Micro Drive, Memory Stick, Memory Stick PRO,
Multimedia Card, USB 2.0
Video: Intel Extreme Graphics 3D 64MB DDR Shared memory
Sound: AC '97 audio
Network: Intel PRO 10/100Mbps integrated Ethernet LAN
Modem: 56K ITU v.92-ready fax/modem
Peripherals:
Standard emachines multi-media keyboard
Logitech Fast RF Cordless Mouse (LX5- S'Ware: Logitech Setpoint 2.4a)
Monitor: Dell CRT 16 in.
Labtec amplified stereo speakers and subwoofer
Interfaces: 5 USB 2.0 ports (1 in media manager, 4 in back),
VGA external connector, 1 Serial, 1 Parallel, 2
DRIVER(S)
rooster@royrogers:~$ cat /var/log/Xorg.0.log | grep -i driver
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
<snip>
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
ABI class: X.Org Video Driver, version 6.0 <snip>
# apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
Installed: 2:2.13.0-6
Candidate: 2:2.13.0-6
Version table:
2:2.15.0-3~bpo60+2 0
100 http://backports.debian.org/debian-backports/ squeeze-backports/m86
|
I've done occasional forum and literature reviews on this freezing problem for more than a year. There seems to be a handful of desktoppers across the spice rack of 'flavours' with this persistent problem. So far I haven't been fortunate enough to find a diagnosis or sol'n that is clear-cut; ...just tentative references to myriad possibilities, some of which y'all have noted above.
For the benefit of my understanding, what is the significant difference between a 'kernel version' and a 'kernel upgrade'? I read Linus's release notes and I see what he purposed to change. But I am pretty limp-headed as to why these aren't part-and-parcel of the 'update/upgrade' prompted regime available from my repo's. It's naive I know, but it seems to me that if you 'upgrade' the kernel, you'd be running a different version; albeit the same Distribution. Semantics can be a ....
Can/should a 'kernel upgrade' be accomplished from terminal? Or is it necessary to d/l it from a web site? (I know to back up files beforehand) I do have backports in my 'sources.list'.
Code:
<snip> # to update iceweasel for gmail browser requirements - per:http://mozilla.debian.net/
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release <snip>
WRT the freeze issue, before tinkering with the kernel, might posting the results of some log or other provide a clue? I don't want to exploit forum bandwidth if the P/Os are not relevant. I'm not savvy enough to interpret them. E.g.,
Code:
# tail -f /var/log/messages
# less /var/log/messages
# more -f /var/log/messages
# vi /var/log/messages
rod
|
|
|
07-23-2012, 09:06 AM
|
#5
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
Quote:
Chipset: Intel 845GV chipset
|
It's likely to be a problem with the intel driver.
Etch and Lenny used the i810 driver for the 8xx chips, whereas squeeze (and later) uses the i915 driver.
You should first upgrade the kernel, the xorg driver and drm stacks from backports and hope that resolves it. If you search both here and at forums.debian.net, you'll find plenty of threads relating to this.
Try:
Code:
$ grep i915 /var/log/messages
And see if there are any useful errors which may confirm this...
|
|
|
07-23-2012, 10:08 AM
|
#6
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224
Original Poster
Rep:
|
By your command:
Code:
# grep i915 /var/log/messages
Jul 22 02:35:47 royrogers kernel: [ 9.393705] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 02:35:47 royrogers kernel: [ 9.680560] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 22 03:51:12 royrogers kernel: [ 8.349625] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 03:51:12 royrogers kernel: [ 8.638618] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 22 04:23:47 royrogers kernel: [ 8.395288] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 04:23:47 royrogers kernel: [ 8.685769] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 22 04:41:55 royrogers kernel: [ 8.696931] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 04:41:55 royrogers kernel: [ 9.392941] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 22 04:59:56 royrogers kernel: [ 7.799598] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 04:59:56 royrogers kernel: [ 8.085189] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 22 05:59:11 royrogers kernel: [ 10.489568] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 05:59:11 royrogers kernel: [ 10.756177] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 22 07:26:58 royrogers kernel: [ 8.519133] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 22 07:26:58 royrogers kernel: [ 8.769469] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
I don't think that P/O goes back to the last freeze. It's just my current session.
rod
Last edited by r00ster; 07-23-2012 at 10:14 AM.
|
|
|
07-25-2012, 06:34 AM
|
#7
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
grep dmesg.0 instead.
|
|
|
07-26-2012, 10:53 AM
|
#8
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224
Original Poster
Rep:
|
Quote:
Originally Posted by caravel
grep dmesg.0 instead.
|
No output for:
Code:
root@royrogers:/home/rooster# grep dmesg.0
Was I supposed to assume you intended ?:
Code:
root@royrogers:/home/rooster# grep i915 /var/log/dmesg.0
[ 5.672458] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 5.672468] i915 0000:00:02.0: setting latency timer to 64
[ 5.941122] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
rod
|
|
|
All times are GMT -5. The time now is 08:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|