Bug 23703

Summary: switching console from X on i915 results in blank screen
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: kernel-image-std-defAssignee: Vitaly Chikunov <vt>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: dd1email, kernelbot, vt
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 25003, 25006    
Attachments:
Description Flags
(lspci crashed, but otherwise a sysreport) none

Description Ivan Zakharyaschev 2010-07-01 03:56:36 MSD
Created attachment 4442 [details]
(lspci crashed, but otherwise a sysreport)

kernel-image-std-def-2.6.32-alt15
kernel-modules-drm-std-def-2.6.32-alt15
xorg-dri-intel-7.0.4-alt9.M41.1
xorg-drv-intel-2.4.3-alt0.M41.1
xorg-server-1.4.2-alt10.M41.1

The system boots in some framebuffer mode on the text linux consoles, then X (and KDE) starts, and after that switching to any linux console makes the screen blank. Switching back to the console with X (no. 7) doesn't help. If I start another X, it is shown correctly on the screen, but switching from the second X (even to the first X) doesn't work correctly: the screen is again blank.

I have just upgraded the kernel from kernel-image-std-def-2.6.30-alt14 ; on that kernel this X worked well (= with no crashes or other big problems).

Workaround: never switch to other linux consoles from X.

More info about the system is attached, and:

# lspci 
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
07:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
07:04.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
# lsmod | fgrep i9
i915                  296328  1 
drm_kms_helper         26900  1 i915
drm                   153273  2 i915,drm_kms_helper
i2c_algo_bit            4748  1 i915
button                  4546  1 i915
video                  16050  1 i915
i2c_core               20148  5 videodev,i915,drm,i2c_algo_bit,i2c_i801
#
Comment 1 Michail Yakushin 2010-07-02 18:16:53 MSD
Ошибка присутствует на un-def например?
Comment 2 Ivan Zakharyaschev 2010-07-03 00:09:21 MSD
(un-def я ещё не попробовал.)

В https://bugzilla.altlinux.org/show_bug.cgi?id=23352 тоже пишут про "умирание консоли" (хотя и не при переключении консоли), и там решают проблему подбором версии xorg-drv-intel. Я же сообщил это как ошибку ядра, потому что xorg-drv-intel я не трогал, поменял только ядро, а на более старом ядре проблем с X-ами не было никаких с установленным X-овым драйвером (чем я был очень доволен, потому что редко такое бывает).
Comment 3 Michail Yakushin 2010-07-06 10:43:45 MSD
проверьте на un-def и на std-ng второе даже предпочтительнее.
Comment 4 Michail Yakushin 2010-07-08 12:25:04 MSD
проверьте ещё на alt16
Comment 5 Ivan Zakharyaschev 2010-07-09 11:55:52 MSD
(In reply to comment #4)
> проверьте ещё на alt16

На kernel-image-std-def-2.6.32-alt16 то же самое,

(In reply to comment #3)
> проверьте на un-def и на std-ng второе даже предпочтительнее.

а на kernel-image-std-ng-2.6.32-alt16 то же самое + всё вообще зависло после запуска kdm (хотя переключение консолей
Comment 6 Ivan Zakharyaschev 2010-07-09 12:03:35 MSD
(In reply to comment #5)
> а на kernel-image-std-ng-2.6.32-alt16 то же самое + всё вообще зависло после
> запуска kdm (хотя переключение консолей

...работало, в результате него экран становился тёмным и пустым. Что-то ввести не получалось (залогиниться на консоли вслепую). Ctrl+Alt+SysRq+... действовало.

Попробую ещё un-def-2.6.32-alt{5,16}, и всё же буду обновлять xorg-drv-intel, а то плохо всё равно: https://bugzilla.altlinux.org/show_bug.cgi?id=23740 стала часто проявляться и на моём привычном старом ядре.
Comment 7 Ivan Zakharyaschev 2010-07-09 12:31:37 MSD
(In reply to comment #5)

> а на kernel-image-std-ng-2.6.32-alt16 то же самое + всё вообще зависло после
> запуска kdm (хотя переключение консолей

https://bugzilla.altlinux.org/show_bug.cgi?id=23744
Comment 8 Ivan Zakharyaschev 2010-07-09 12:53:42 MSD
(In reply to comment #3)
> проверьте на un-def и на std-ng второе даже предпочтительнее.

На kernel-image-un-def-2.6.32-alt16 то же самое, а вот на kernel-image-un-def-2.6.32-alt5 этой проблемы нет.
Comment 9 Ivan Zakharyaschev 2010-07-09 13:13:55 MSD
(In reply to comment #8)

> На kernel-image-un-def-2.6.32-alt16 то же самое, а вот на
> kernel-image-un-def-2.6.32-alt5 этой проблемы нет.

Ну что же, может быть, вывод должен быть такой: со старым xorg-drv-intel работают старые ядра, а то что новые ядра не работают со старым драйвером для X-ов -- это может и не быть ошибкой.
Comment 10 Ivan Zakharyaschev 2011-01-31 23:59:32 MSK
The same happens with kernel-image-el-smp-2.6.32-alt10 --
https://bugzilla.altlinux.org/show_bug.cgi?id=25003 .
Comment 11 Ivan Zakharyaschev 2011-02-01 00:51:40 MSK
The same happens with kernel-image-std-def-2.6.32-alt20.M50P.1 --
https://bugzilla.altlinux.org/show_bug.cgi?id=25006 .
Comment 12 aspsk 2011-04-06 12:35:29 MSK
(В ответ на комментарий №11)
> The same happens with kernel-image-std-def-2.6.32-alt20.M50P.1 --
> https://bugzilla.altlinux.org/show_bug.cgi?id=25006

Проверьте, пожалуйста, на std-def-2.6.38
Comment 13 Michael Shigorin 2014-11-05 13:03:58 MSK
С тех пор много воды утекло, подобное исчезало и появлялось, сейчас опять нету.