LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-02-2004, 05:34 AM   #1
go_sooner
Member
 
Registered: Feb 2004
Location: Norman, OK, USA.
Distribution: Mandrake 10.0
Posts: 33

Rep: Reputation: 15
Debian Linux: Kernel Question:


I am newbie to Linux.

I have installed debian linux 3.0r2 (with kernel 2.2) and running on dual boot with windows 2000. Everything was fine, and the linux boots directly to X window. And I could come back to console window by Ctrl+Alt+F1,2, or so. I can stop the gdm by /etc/init.d/gdm stop .

Recently I updated the kernel by apt-get and used bunzip to unzip the *.tar.bz2 files, and thenconfigured the kernel, etc. and got the new kernel running.

Now the problem is whenever linux boots, it goes to X session and I couldnt get back to console window even by Ctrl+Backspace, or Ctrl+Alt+F1, or /etc/init.d/gdm stop, or editing /etc/inittab default option 5 to 3. nothing works. I dont know whats wrong with the system.

I didnt remove or uninstall the old kernel. But when I issue, uname -r it shows that I am having the new kernel, 2.4.24.

I will be very glad to receive any help from you guys.

Thanks.
 
Old 02-02-2004, 06:15 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
That's quite a weird problem. Do you use a framebuffer console with high resolution in text mode? Some framebuffer drivers behave badly in some kernel versions, like the neomagic one (which is broken in the 2.6 series kernels).


Håkan
 
Old 02-02-2004, 11:14 AM   #3
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Just editing /etc/inittab doesn't immediately force a change.

Run "telinit 3" as root. Then you should be able to drop completely out of X by exiting normally.
 
Old 02-02-2004, 11:28 AM   #4
go_sooner
Member
 
Registered: Feb 2004
Location: Norman, OK, USA.
Distribution: Mandrake 10.0
Posts: 33

Original Poster
Rep: Reputation: 15
Problem restated: Kernel update problem

Hi hw_tph

I would like to restate the problem. I had an intel 845G chipset that doesnt work well with the xfree864.0 that came with the stable version of debian 3.0 r2. Initially X doesnt start, gave some error while booting.

But then after several tries I somehow figured out that it works for 8 bits color. (I use a monitor 19" Silicon Graphics, 30-82 KHz (H), 50-150 Hz (V), running 1024 x 768 pixels at 16 bits for windows 2000). Only problem working with the 8 bits was after you had quit to console window, you cannot come back, you got to reboot. Also if you use Ctrl+backspace, the screen will go black and you have to use Ctrl+Alt+F1 to comeback to console window. (you can read directly the 4th point now, if you feel i am doing right.)

After reading reviews about fixing intel related problems, I was required to update the kernel to atleast 2.4.11 or later, and xfree86 to 4.2 or later. So I updated both of them. Things I did when I updated kernel were

1) I used apt-get to update packages with sources.list containing one of the backports.

2) specified kernel-source-2.4.24-1-k7 i686, and got *.tar.bz2 in /etc/src folder, and then used bunzip to extract them , and then configured them using make menuconfig, and then make dep.

3) Then I rebooted (directly went to X window) and checked the version I am running, using uname -r, got 2.4.24 and everything was fine.

4) The usual keys Ctrl+Alt+F1 gives me a blank screen and nothing seems to come after.

5) I tried Ctrl+backspace, Ctrl+Alt+F1, Alt+F1, combinations. Also I edited the /etc/inittab default option from 5 to 3. no success.

6) Ctrl+Alt+ (+ or _) when inside the X window works good.

I need some help from you guys, to set this thing right. I want to get back to console window somehow after starting so I can follow the guidelines given by Intel to make my X window work better.

Thanks.

You want me to reduce the framebuffer resolution? I will try this evening.

The reason I posted a restated problem was to inform you exactly what I am doing.

Thanks.

Vgn
 
Old 02-02-2004, 01:54 PM   #5
go_sooner
Member
 
Registered: Feb 2004
Location: Norman, OK, USA.
Distribution: Mandrake 10.0
Posts: 33

Original Poster
Rep: Reputation: 15
Hi snacky

I tried what you said.

1) I was booted into X window (gdm).

2) I edited /etc/inittab file (made the default into 3 from 5).

3) run telinit 3

4) Ctrl+Alt+Del to reboot to only see the same X window again.

I am new to Linux and I was very much attracted to Debian from reading the reviews online and started downloading it. Had some rough time to install but I went through online help whenever I needed and I always succeeded in finding some help that pertained to the problems I faced.

Many Thanks to all those who write these reviews and tutorials. I would not have learnt this much if I had some other graphics card that wouldhave allowed me to have a nice X window.

Thanks.

Vgn
 
Old 02-02-2004, 02:02 PM   #6
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Try apt-pkg reconfigure gdm
 
Old 02-03-2004, 10:43 AM   #7
go_sooner
Member
 
Registered: Feb 2004
Location: Norman, OK, USA.
Distribution: Mandrake 10.0
Posts: 33

Original Poster
Rep: Reputation: 15
There is no apt-pkg reconfigure gdm. But there is a dpkg-reconfigure gdm but that only asks us which one we want to start default.

I got the solution. As hw-tph said, I tried to reduce the resolution, and then did the same thing, like Ctrl+Alt+F1, it worked well and I could shift to the console mode.

But to my bad luck, I could only find that the intel driver support for the 845G chipsets were provided only for specific distributions like redhat several versions and SuSe several versions. No other distribution were supported for X window.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian patched kernel vs official Linux Kernel gerald45 Debian 7 10-12-2005 05:45 AM
debian kernel question treebug Linux - Newbie 4 09-19-2005 02:20 AM
Problems with Linux kernel 2.6.1 on Debian Sid nosebleed Linux - General 3 01-29-2004 11:20 PM
Debian kernel question (probably dumb) Smerk Linux - Distributions 3 04-01-2003 11:31 PM
Compiling linux kernel in Debian solarize1966 Linux - Newbie 1 06-30-2002 06:07 AM


All times are GMT -5. The time now is 01:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration