LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-18-2011, 05:10 AM   #1
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Rep: Reputation: 0
screen is black after one move from x to virtual console, back to x, then to console


After upgrading my Debian from Lenny to Squeeze a few things don't work properly. Most disturbing is that after one switch from graphic screen (x, Gnome) to the virtual consoles this can be observed:
1) The virtual consoles show only a small font. It doesn't change when I use 'dpkg-reconfigure console-setup'. Otherwise everything seems to function properly, but then
2) I return to x (with Alt+F7), and if I again want to reach the virtual consoles (with Alt+String+F3, this is a laptop) the screens are persistently black; nothing works, except Alt+F7, which allows me to go back to the x-screen. In this graphic screen it is possible to use the consoles without problem.
3) I have some trouble shutting-down the computer. The screen disappears, everything goes black, but the computer goes on and does not shut down until I press the power-button, forcing the shut-down process. If I press the keys which would bring the computer to a halt through the virtual consoles, I can bring it to stop allthough the screen remains black throughout the whole process. I press: Alt+Strg+F3 to reach the consoles, there 'root + password', Enter, halt, Enter... Nothing at all appears on the screen, but after a while the computer stops.
 
Old 02-18-2011, 05:56 AM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
1) The virtual consoles show only a small font. It doesn't change when I use 'dpkg-reconfigure console-setup'.
I had that problem and it was because:
console-setup needs either kbd or console-tools. Check for error messages about a package missing when running `dpkg-reconfigure console-setup`
https://wiki.ubuntu.com/SaneInstallerKeyboard

The rest of your problems i would not know.
 
Old 02-18-2011, 07:42 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD
Posts: 1,106

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Sounds like a vga drver issue. Squeeze now uses kernel mode setting for video drivers by default. Do you know what graphics chipset your machine has?

Personally I've had some blank tty problems with the current squeeze kernel (2.6.32-30) and found that newer kernels work better. You should of course try all other options first but if all else fails a newer kernel just may be the quickest fix, if you don't want to go building your own from source, you may want to try a liquorix kernel. http://liquorix.net/

Also I think a 2.6.37 kernel is close to being released into unstable. There was a trunk kernel in there about a week ago which I use on both my systems but it has recently been removed.
 
Old 02-18-2011, 12:15 PM   #4
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Original Poster
Rep: Reputation: 0
screen is black; chipset

Quote:
Originally Posted by Caravel View Post
Sounds like a vga drver issue. Squeeze now uses kernel mode setting for video drivers by default. Do you know what graphics chipset your machine has?

Personally I've had some blank tty problems with the current squeeze kernel (2.6.32-30) and found that newer kernels work better. You should of course try all other options first but if all else fails a newer kernel just may be the quickest fix, if you don't want to go building your own from source, you may want to try a liquorix kernel. http://liquorix.net/

Also I think a 2.6.37 kernel is close to being released into unstable. There was a trunk kernel in there about a week ago which I use on both my systems but it has recently been removed.
Thanks. But I am not able to follow you entirely.
What I read in xorg.conf is: Identifier "ATI Technologies Inc Radeon Mobility M6 LY"

and river "ati"

VGA does not appear at all.

Raśl
 
Old 02-18-2011, 12:20 PM   #5
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Original Poster
Rep: Reputation: 0
black screen

Quote:
Originally Posted by j1alu View Post
I had that problem and it was because:
console-setup needs either kbd or console-tools. Check for error messages about a package missing when running `dpkg-reconfigure console-setup`
https://wiki.ubuntu.com/SaneInstallerKeyboard

The rest of your problems i would not know.
Thanks. But no, kbd-compat is installed, as well as console-tools. And there is no error messages appearing.

Raśl
 
Old 02-18-2011, 01:17 PM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD
Posts: 1,106

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Well you're certainly using the wrong driver. You may not need xorg.conf at all.

Run the following command as root, reboot (usually a good idea with KMS) and try again:

Code:
mv /etc/X11/xorg.conf mv /etc/X11/xorg.conf.ati
In the unlikely event that it breaks X log in as root and run this

Code:
mv /etc/X11/xorg.conf.ati mv /etc/X11/xorg.conf
Then post the output of this:

Code:
cat /etc/X11/xorg.conf
 
Old 02-19-2011, 04:05 AM   #7
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Original Poster
Rep: Reputation: 0
No xorg.conf

Quote:
Originally Posted by Caravel View Post
Well you're certainly using the wrong driver. You may not need xorg.conf at all.

Run the following command as root, reboot (usually a good idea with KMS) and try again:

Code:
mv /etc/X11/xorg.conf mv /etc/X11/xorg.conf.ati
In the unlikely event that it breaks X log in as root and run this

Code:
mv /etc/X11/xorg.conf.ati mv /etc/X11/xorg.conf
Then post the output of this:

Code:
cat /etc/X11/xorg.conf
Yes, I copied xorg.conf into xorg.conf.ati and removed the original, as you suggested. I rebooted and, as you supposed, there is no xorg.conf any more. Everything seems to work as before (so it wasn't needed?), but the problem is still there. I can get to the consoles just once; the second time a just get solid black (but somehow working commands).

Thanks for your help.


Raśl
 
Old 02-19-2011, 09:03 AM   #8
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
The font-size problem without error messages sounds strange... No further idea.

Not sure if Squeeze uses gdm3.
If so: try to replace it by gdm.
If not, remove gdm.
At minimum you will be sure the login-manger is _not_ the problem and hunt for other culprits.
I guess it is not the problem, but the check will take a few minutes only.

Have a short look at /etc/inittab.
 
Old 02-19-2011, 09:52 AM   #9
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,300

Rep: Reputation: 180Reputation: 180
adding
Quote:
video=800x600
or something similar as an option to kernel/linux line of boot loader sometimes helps
 
Old 02-20-2011, 05:53 AM   #10
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Raul Claro View Post
Yes, I copied xorg.conf into xorg.conf.ati and removed the original, as you suggested. I rebooted and, as you supposed, there is no xorg.conf any more. Everything seems to work as before (so it wasn't needed?), but the problem is still there. I can get to the consoles just once; the second time a just get solid black (but somehow working commands).

Thanks for your help.


Raśl
So, I am afraid I not much of an expert. What I didnow was to boot with the lenny-kernel 2.6.26, which was still on Grub, instead of 2.6.32. That did the trick, now everything works, but it is unsatisfactory to have to use an old kernel from Lenny instead of the new one from Squeeze (and now I have problems with wlan, so I use the cable). So if you can think of something better, please tell me.

Raśl
 
Old 02-20-2011, 05:55 AM   #11
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
adding or something similar as an option to kernel/linux line of boot loader sometimes helps
No, I am afraid I not much of an expert. What I did now was to boot with the lenny-kernel 2.6.26, which was still on Grub, instead of 2.6.32. That did the trick, now everything works, but it is unsatisfactory to have to use an old kernel from Lenny instead of the new one from Squeeze (and now I have problems with wlan, so I use the cable). So if you can think of something better, please tell me.

Raśl
 
Old 02-20-2011, 07:09 AM   #12
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,300

Rep: Reputation: 180Reputation: 180
If your now using gub2, when the grub prompt comes up move your cursor to the end of the linux line of the kernel you want to use, type in the changes and boot. If you still using grub legacy then hit the e to edit the kernel line. If it works, let us know which grub your using so the changes can be made permanent.
 
Old 02-21-2011, 02:59 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD
Posts: 1,106

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
I would advise that you install the new 2.6.37-1- kernel from unstable. I have found that newer kernels than the squeeze kernel solve most fbcon issues.

Installing the kernel won't break your system, if it doesn't help with this problem it can be removed again.

Post the output of the following

Code:
cat /etc/apt/sources.list
uname -r

Last edited by cynwulf; 02-21-2011 at 04:45 AM. Reason: typo
 
Old 02-22-2011, 09:41 AM   #14
Raul Claro
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Caravel View Post
I would advise that you install the new 2.6.37-1- kernel from unstable. I have found that newer kernels than the squeeze kernel solve most fbcon issues.

Installing the kernel won't break your system, if it doesn't help with this problem it can be removed again.

Post the output of the following

Code:
cat /etc/apt/sources.list
uname -r

Yes, that could be a good idea. Here is my actual /sources.list :

#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48]/ lenny contrib main

# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48]/ lenny contrib main

deb http://ftp.de.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.de.debian.org/debian/ lenny main non-free contrib


# SQUEEZE open
deb http://ftp.de.debian.org/debian/ squeeze main non-free contrib
# deb-src http://ftp.de.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
# deb-src http://security.debian.org/ lenny/updates main contrib non-free
# SQUEEZE close

#deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
#deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

#deb http://www.backports.org/debian lenny-backports main contrib non-free

The kernel I am now using is 2.6.26-2-686; the other one on grub is 2.6.32-5-486.

With the Lenny version the console has no problems, either regarding the font-size or the visibility. And I can stop the computer with the gnome-button (with the squeeze kernel both buttons lead to a 'reboot', so that I must go to the black consoles and stop there with 'halt', typing in the dark).

Raśl
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Black console screen issue Asido Linux - General 4 04-15-2010 04:57 AM
virtual console black screen jackmor Ubuntu 1 03-01-2008 02:24 PM
Cannot Login to Console - Ctrl+Alt+F1 gives me black screen robertpolson Linux - Software 6 05-15-2007 04:31 PM
boot into black screen/grey console zenith1107 Suse/Novell 2 06-22-2005 08:27 AM
strange screen when switch back from KDE to virtual console vu63 Linux - General 2 10-07-2003 08:10 AM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration