LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2009, 03:49 PM   #1
tkokkinos
LQ Newbie
 
Registered: Nov 2009
Location: Cleveland, OH
Distribution: Mandrake 10.2
Posts: 12

Rep: Reputation: 0
Mandrake 10.2 Kernel execution problem


Gentlemen/Ladies;

I am a new forum user so please be patient with me. I searched the forum for my question but am afraid that I'm not sure of the correct terminology to describe my problem. I did some research on the web, so here I go.

I am running Mandrake 10.2 and installed it with no problems; my hardware runs fine on my Athlon processor and I even was able to delete old version 1 of OpenOffice and install version 3.1 with no problems. The other Mandrake software utilities and applications seem to run fine and are very useful. I like the system a lot.

I also have a Win2K PC and have a KVM switch for both, which runs OK with Linux. The Win2K display image is centered on the monitor but the Mandrake graphical image was off center. I noticed in the Mandrake hardware setup that I had an old monitor selected, so I selected a generic monitor for the correct resolution and frequency.

The system told me to reboot and therein lies the problem. It told me to login again and I fear that I may have entered or done something wrong; I told it to restart and now the kernel script (?) doesn't execute completely.

I get the following message while it executes:
Starting postfix: /usr/sbin/psotconf: warning: My hostname localhost is not fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

The message appears twice and then the screen clears and a new message appears:
Mandrakelinux release 10.2 (Limited Edition 2005) for i586
Kernel 2.6.11-6mdk on an i686 / tty1
localhost login:

Well, hello! It seems to want me to login, so I do (as user) and I get the following response:
Last login: Wed Nov 18 01:24:15 on tty1
[ted@localhost ~]$

I am now in Limboland. And everything was working so well .........

I realize that it wouldn't tell me to fix something without a good reason BUT I am unclear how to proceed. I can navigate between directories and all of that but this really has me in a fix.

I would really appreciate some guidance on how to fix this so I can get my Linux back up and running.

Thanks.
 
Old 11-18-2009, 04:06 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I would disregard the postfix error message for now, as it doesn't appear to have anything to do with the problem.

What I suspect happened (and I'm not really familiar with Mandrake) is that by changing the setting you selected for your monitor, your video configuration file was edited (this is probably why it told you to reboot) but the edited file now contains something that your video card or monitor do not like, and so X (the graphical environment) is not starting. Instead, since it cannot start the graphical environment, it is putting you at the login prompt.

First thing I would do is look in the folder /etc/X11 and see if there is a backup of your xorg.conf file, from before you changed the monitor setting. If there is, then backup the CURRENT xorg.conf (rename it something that you'll know what it is) and replace the xorg.conf file with the original, from before this problem. Now log out and reboot (there are other ways, but...) and see if the situation is back the way it used to be.

NOTE: You will need to be logged in as ROOT to edit xorg.conf or to rename and move the file(s).

If this process brings you back to the way things were, then we can revisit the image centering problem a different way.
If this does NOT solve the trouble, or there is no backup of the xorg.conf file that you can find, then post the entire xorg.conf file for us, so we can see what's going on in there.

Also, just for brevity, please tell us, if you know, what make+model of video card you are using, and which driver you are using for that?

Kind regards,
Sasha
 
Old 11-19-2009, 08:55 AM   #3
tkokkinos
LQ Newbie
 
Registered: Nov 2009
Location: Cleveland, OH
Distribution: Mandrake 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
Mandrake 10.2 kernel problems

Sasha,

Thanks for the information and quick response. I logged in as root and will check out this proposed solution.

Regarding the video card, I see the following when the PC boots up:
SIS 6326 PCI
8 MByte Video memory BIOS 1.26
Supports VESA Bios Ext V2.0

I am not sure of the video driver I selected for X-Windows. I'm pretty sure that I selected a driver for SIS6326. I can poke around in the directories and perhaps find the information.

Regards,
Ted
 
Old 11-19-2009, 09:00 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
@ Ted,

cool, let us know how it goes; you shouldn't need to 'poke around' to find which video driver you're using, that would prolly get frustrating -- instead, once you locate the xorg.conf file, you can read the "Driver" line in the file; there should be only one line beginning with "Driver".

For the record, you may have as good success with a Vesa driver, as you do with an SIS driver (because it looks like an older card, and it's SiS), but let's not concern ourselves with this now; first you must figure out what happened

Best regards.

Sasha
 
Old 11-19-2009, 09:12 AM   #5
tkokkinos
LQ Newbie
 
Registered: Nov 2009
Location: Cleveland, OH
Distribution: Mandrake 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
Sasha,

Your solution worked like a charm. Thanks so much for the help.

I took a UNIX course in college and never thought that I would use it. I has proven very useful, for obvious reasons.

Regards,
Ted
 
Old 11-19-2009, 09:20 AM   #6
tkokkinos
LQ Newbie
 
Registered: Nov 2009
Location: Cleveland, OH
Distribution: Mandrake 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
Mandrake 10.2 kernel problems

Sasha,

Your solution worked like a charm. Thanks for helping me. I appreciate a forum like this for help and am glad I joined.

I think that I will stick with the setup I currently have ... no more "experimenting". It's easier for me to move the little knob at the bottom of the monitor to center the screen. Maybe later, I will get brave enough to try something else.

I took a UNIX course in college and never thought that I would use it. It has proven useful, for obvious reasons.

Regards,
Ted
 
Old 11-19-2009, 09:25 AM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hey that's great

For the record, I remember way back when I switched from Win to Linux; my screen image was never centered in both OS's at any given time; when I booted the other OS, I had to fiddle with the monitor buttons, or adjust the scan frequencies in my xorg.conf file. Also, the display varied from one driver to the next-- the open source nvidia driver made the screen image waaay off, but the driver from nvidia.com made the image near perfect.

There are likely several other ways you could deal with this; if/when you want to fiddle with it some more, let us know what you're up to and we'll help out where we can.

Have a great day!
Sasha
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache path/execution problem Seventh Linux - Software 5 12-15-2009 06:31 AM
kernel Oops message has stack trace that does not correspond to the execution exactly schoi21c Linux - Kernel 2 10-02-2009 11:02 AM
how to measure execution time in kernel space? didio Linux - Kernel 1 10-08-2007 10:01 PM
Kernel Thread Execution Context and PID ratwings Linux - Newbie 0 02-11-2005 04:06 AM
php command execution problem avswamy Programming 3 01-31-2005 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration