[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Unable to switch to tty after killing X (sysRq+k)



Hello ,


I noticed that i can't switch to tty after X dies (or go up).

If i kill X and i get the session (after the restart) when ever i try to
go to tty1-6 i get a blank screen.
If logd in to tty7 (X) and switched to tty1-6 when i try to go back to
tty7 i got a blank screen.

I believe that it is heavily X related (Non exist when i try 
xserver-xorg 7.3+19 )

no vga to kernel in grub.
Debian testing Amd64.

getty is running :
ps aux | grep getty

root      4107  0.0  0.0   5852   476 tty2     Ss+  17:52   0:00
/sbin/getty 38400 tty2
root      4108  0.0  0.0   5852   476 tty3     Ss+  17:52   0:00
/sbin/getty 38400 tty3
root      4109  0.0  0.0   5852   476 tty4     Ss+  17:52   0:00
/sbin/getty 38400 tty4
root      4110  0.0  0.0   5852   476 tty5     Ss+  17:52   0:00
/sbin/getty 38400 tty5
root      4111  0.0  0.0   5852   476 tty6     Ss+  17:52   0:00
/sbin/getty 38400 tty6


I found this in the log :

[   68.968005] SysRq :
SAK                                                                            

[   68.968148] SAK: killed process 4376 (bash):
task_session(p)==tty->session                         
[   68.968165] SAK: killed process 4106 (login):
task_session(p)==tty->session                        
[   68.968261] SAK: killed process 2768 (rsyslogd): fd#1 opened to the
tty                            
[   68.968283] SAK: killed process 2769 (rsyslogd): fd#1 opened to the
tty                            
[   68.968290] SAK: killed process 2770 (rsyslogd): fd#1 opened to the
tty                            
[   68.968296] SAK: killed process 2771 (rsyslogd): fd#1 opened to the
tty                            
[   68.968385] SAK: killed process 3550 (console-kit-dae): fd#12 opened
to the tty                    
...
[   68.968961] SAK: killed process 4145 (console-kit-dae): fd#12 opened
to the tty                    
[   68.968968] SAK: killed process 4705 (console-kit-dae): fd#12 opened
to the tty                    
[   68.969067] SAK: killed process 4106 (login):
task_session(p)==tty->session                        
[   68.969090] SAK: killed process 4376 (bash):
task_session(p)==tty->session                         
[   92.225666] [drm] Num pipes: 1
[   95.327710] SysRq : SAK
[   95.327767] SAK: killed process 4640 (Xorg):
task_session(p)==tty->session
[   95.328000] SAK: killed process 4640 (Xorg):
task_session(p)==tty->session
[   95.356176] [drm] Num pipes: 1
[   96.159565] [drm] Setting GART location based on new memory map
[   96.160338] [drm] Loading R300 Microcode
[   96.160344] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin

Also there is the next suspicos lines :  (syslog)
Aug 30 17:52:35 babayega console-kit-daemon[3550]: WARNING: Unable to
activate console: No such device or address

This happenes after the X kill.

last lines from ConsoleKit :

1251643941.782 type=SEAT_SESSION_ADDED : seat-id='Seat1'
session-id='Session1' session-type='' session-x11-display=':0'
session-x11-display-device='/dev/tty7' session-display-device=''
session-remote-host-name='' session-is-local=TRUE session-unix-user=1000
session-creation-time='2009-08-30T14:52:21.743219Z'
1251643941.802 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id='Session1'
1251643946.512 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id=''
1251643949.984 type=SEAT_SESSION_ADDED : seat-id='Seat1'
session-id='Session2' session-type='' session-x11-display=''
session-x11-display-device='' session-display-device='/dev/tty1'
session-remote-host-name='' session-is-local=TRUE session-unix-user=0
session-creation-time='2009-08-30T14:52:29.975111Z'
1251643950.010 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id='Session2'
1251643954.651 type=SEAT_SESSION_REMOVED : seat-id='Seat1'
session-id='Session1' session-type='' session-x11-display=':0'
session-x11-display-device='/dev/tty7' session-display-device=''
session-remote-host-name='' session-is-local=TRUE session-unix-user=1000
session-creation-time='2009-08-30T14:52:21.743219Z'
1251643955.811 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id=''
1251643961.669 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id='Session2'
1251643970.490 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1251643970.545 type=SEAT_SESSION_ADDED : seat-id='Seat1'
session-id='Session1' session-type='' session-x11-display=''
session-x11-display-device='' session-display-device='/dev/tty1'
session-remote-host-name='' session-is-local=TRUE session-unix-user=0
session-creation-time='2009-08-30T14:52:50.526805Z'
1251643970.563 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id='Session1'
1251643987.695 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id=''
1251644005.267 type=SEAT_SESSION_ADDED : seat-id='Seat1'
session-id='Session2' session-type='' session-x11-display=':0'
session-x11-display-device='/dev/tty7' session-display-device=''
session-remote-host-name='' session-is-local=TRUE session-unix-user=1000
session-creation-time='2009-08-30T14:53:25.248517Z'
1251644005.313 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1'
session-id='Session2'

No errors in Xorg , the warning are :
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) RADEON(0): LVDS Info:
(WW) RADEON(0): LCD DDC Info Table found!
(WW) RADEON(0): Unknown vendor-specific block f
(WW) RADEON(0): Unknown vendor-specific block f
(WW) RADEON(0): Unknown vendor-specific block f
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0x3fff3800 is: 0x3fff3800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0x41ff4000
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(WW) RADEON(0): Unknown vendor-specific block f
(WW) RADEON(0): Unknown vendor-specific block f

X config :

Section "ServerLayout"                        
        Identifier     "X.org Configured"     
        Screen      0  "Screen0" 0 0          
        InputDevice    "Mouse0" "CorePointer" 
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection                                      

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"          
        FontPath     "/usr/share/fonts/X11/100dpi"         
        FontPath     "/usr/share/fonts/X11/75dpi"          
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection                                                            

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "dri2"
        Load  "record"
        Load  "extmod"
EndSection           

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"     
EndSection                    

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "synaptics"
        Option "SendCoreEvents" "true"
         Option "Device" "/dev/input/mouse0"
         Option "Protocol" "auto-dev"      

 Option "VertScrollDelta" "50"
 Option "HorizScrollDelta" "50"
 Option "UpDownScrolling" "1" #left side scrolling
 Option "TouchpadOff" "0" # don't turn off the touchpad
 Option "SHMConfig" "true"                            
        Option          "TapButton1"            "1"   
        Option "TapButton2" "2"                       
        Option "TapButton3" "3"                       

EndSection

Section "Monitor"
        Identifier   "Monitor0"            
        VendorName   "QDS"                 
        ModelName    "41"                  
EndSection                                 

Section "Device"
        Identifier  "Card0"                                         
        Driver      "radeon"                                        
        VendorName  "ATI Technologies Inc"                          
        BoardName   "RS482 [Radeon Xpress 200M]"                    
        BusID       "PCI:1:5:0"                                     
EndSection                                                          

Section "Screen"
        Identifier "Screen0"
        Device     "Card0" 
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1  
        EndSubSection        
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


Reply to: