Debian This forum is for the discussion of Debian Linux.
|
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.
|
 |
08-01-2004, 09:36 AM
|
#1
|
Member
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41
Rep: 
|
change tty => system crashes (ati driver/tty resolution)
Hi,
When I am in X and try to change tty, my system hangs really bad and I am forced to reboot using the power button. I am running debian, kernel 2.6.4 with ati drivers (installed using the guide at http://xoomer.virgilio.it/flavio.sta...installer.html). I believe it is some problem with the drivers in combination with the fact that I use a 1280x1024 resolution at my tty's. The ati drivers are working very good otherwise. I can't give much specific detail what I changed causing the crash. I rarely change tty, I found the problem when I rebooted (which I do once a month or so).
I can't find where I set the resolution at the tty's. Maybe changing it back to the default (is it 640x480?) might help....
Thanks in advance.
PS. This is not really debian related, but I didn't know a better place to post it. If anyone have a better suggestion, please let me know.
|
|
|
08-02-2004, 02:57 AM
|
#2
|
LQ Newbie
Registered: Nov 2003
Location: Germany
Distribution: Debian
Posts: 26
Rep:
|
Could you give more info about your hardware? I'm using Debian Sarge with kernel 2.6.6, XFree 4.3.0, and ATI's fglrx 3.9.0 driver (I have an ATI 9200 SE I think) and I can change to a tty and back to X without problems. I'm using a framebuffer at 1280x1024 for the ttys.
Do you use a framebuffer for the tty's, or do you use SVGAtextmode?
For framebuffer, you can configure it via the kernel command line (in lilo.conf if you use LILO). It might help if you post your curren kernel command line here.
Oliver
|
|
|
08-02-2004, 04:29 PM
|
#3
|
Member
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41
Original Poster
Rep: 
|
Thank you for your answer.
Like you, I am using deb sarge, XFree version 4.3.0.1 and fglrx 3.9.0, but I've got a 9800 pro and the 2.6.4 kernel. I've seen that one can specify the resolution using a vga line in lilo, but this is not how I've done it. Iirc, I think I enabled an obvious flag when compiling the kernel (called sth like enable_framebuffer) and then a configuration program was run where I was able to set the resolution. If I just could remember which one.... I could upgrade the kernel if you think that would help, but I feel like the problem is elsewhere (but I don't have a clue, really).
I'm a bit careful when modifying lilo, 'cause this comp doesn't have a floppy (yeah, yeah, got a 9800 pro but no floppy - good priority :-) )
Any suggestions welcome!
|
|
|
08-03-2004, 03:14 AM
|
#4
|
LQ Newbie
Registered: Nov 2003
Location: Germany
Distribution: Debian
Posts: 26
Rep:
|
If you have a framebuffer, the resolution is (afaik) always stored in /etc/lilo.conf. Could you look there for a line starting with "append" or "literal" and post it here? Maybe that gives a clue about your framebuffer config (eg. whether you are using the standard VESA framebuffer driver or the atyfb driver).
If your PC doesn't have a floppy drive anymore, you can use a bootable linux cdrom instead; personally I use Knoppix ( http://www.knopper.net/knoppix/index-en.html), but there are many other Linux-Live-CDs.
Btw. what do you mean exactly by "system hangs really bad"? Probably it's "only"  the X server that crashed; then you might be able to log in from another computer via network (with SSH or telnet) and kill the X server...
Also, in this case your problem might be the same as posted in this thread as issue #2: http://www.rage3d.com/board/showthre...eadid=33733550 (ATI Linux Issues Thread)
Oliver
|
|
|
08-03-2004, 05:00 PM
|
#5
|
Member
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41
Original Poster
Rep: 
|
Thanks again Oliver, but I'm pretty sure there is nothing in lilo which has do to with the framebuffer... but it doesn't cost anything to post it anyway:
boot=/dev/hda
install=/boot/boot.b
map=/boot/map
prompt
timeout=600
image=/vmlinuz-2.6
label=Linux-2.6.4
initrd=/initrd.img-2.6.4
root=/dev/hda1
image=/vmlinuz-2.4
label=Linux-2.4
initrd=/initrd.img
root=/dev/hda1
Regarding the boot cd, I've got a bootable debian net-install cd. That'd probably work, don't you think?
I thought (hoped) too that it was only X that crashed, but unfortunately not. The screen goes black and white, all distorted. Hence the result is similar to #2 in your rage3d-link. However, I am running fluxbox, not KDE (although KDE is installed on the system). But it is easy to give Gnome a try.
brb!
|
|
|
08-03-2004, 05:02 PM
|
#6
|
Member
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41
Original Poster
Rep: 
|
Testing Gnome:
1. Logging out of fluxbox => system freeze (I am using GDM graphical login screen)
2. Rebooting, and this time into Gnome
3. Resets Gnome with ctrl-alt-backspc => system freeze again.
4. Rebooting into Gnome again, selecting GDM non-graphical login screen.
5. Exit Gnome properly (logout from the menu) => system freeze BUT with no signal to the monitor (i.e. the little lamp changed from green=on to orange=off).
Hum hum... What does this imply??
Edit:
The boot message when changing the resolution reads "Console: Switching to colour frame buffer device 160x64"
Last edited by mosca; 08-03-2004 at 05:13 PM.
|
|
|
08-05-2004, 07:37 AM
|
#7
|
LQ Newbie
Registered: Nov 2003
Location: Germany
Distribution: Debian
Posts: 26
Rep:
|
Actually I don't know any other reason about what might cause this problem  (
Generally you could try:
-fiddling with the "Device"-Section in your /etx/X11/XF86Config-4 (try disabling acceleration, or change the chipid - see http://www.rage3d.com/content/articles/atilinuxhowto/, #14.2)
-disabling the framebuffer in the kernel (see http://www.tldp.org/HOWTO/Framebuffer-HOWTO-5.html for more info about framebuffers)
-installing an older driver (3.7.6 was the one before 3.9.0 I think)
-do you use the internal or the external agpgart module? For me, only the external module + nvidia_agp (for AGP support on nForce2 boards) worked. Again, the Howto at rage3d.com has more info about that.
Maybe these hints are solving your problem, but they're just "random shots".
About the boot cd: yes, the Debian installer disc should work; but anyway I'd recommend using a "real" Live-Linux on CD, which comes with more tools.
Oliver
|
|
|
All times are GMT -5. The time now is 12:21 PM.
|
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
|
|