[Comm] asus ux50v и altlinux ковчег

Павел Скрылёв 3ahyga на gmail.com
Пн Дек 7 12:37:13 UTC 2009


> Можно в любом режиме, для проверки, какой модуль используется для
> конкретного оборудования, нужно под рутом ввести команду:
> # lspci -v -k
>
Проблема обрисовалась более пристально: теперь различия в загрузке
обнаружены между ядрами 2.6.30 и 2.9.29-rt-smp, последнее грузится
нормально в отличие от первого. Различие в дампе lspci -k -v суть
такия:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series
Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA
controller])
        Subsystem: ASUSTeK Computer Inc. Device 1ab2
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at f9c00000 (64-bit, non-prefetchable) [size=4M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at bc00 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Mask- 64bit- Count=1/1 Enable-
        Capabilities: [d0] Power Management version 3
        Kernel modules: i915

Как раз сей модуль i915 во 30-м ядре загрузившись не работает как
надо, а именно, после загрузки его modprobe-ом он не определяется как
модуль сего устройства. Модуль nvidia оказался не причём.

Вообщем, похоже, что косяк в драйвере. Так что буду пробовать сизиф.

Кому интересно ниже кусок лога ядра, на котором падает i915:

Dec  7 18:22:54 psittacella kernel: [  268.498933] events/0 invoked
oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
Dec  7 18:22:54 psittacella kernel: [  268.498958] events/0 cpuset=/
mems_allowed=0
Dec  7 18:22:54 psittacella kernel: [  268.498963] Pid: 9, comm:
events/0 Not tainted 2.6.30-std-def-alt14 #1
Dec  7 18:22:54 psittacella kernel: [  268.498983] Call Trace:
Dec  7 18:22:54 psittacella kernel: [  268.498995]  [<c02924cd>]
oom_kill_process+0x9d/0x250
Dec  7 18:22:54 psittacella kernel: [  268.499018]  [<c0292bd3>] ?
select_bad_process+0xc3/0x100
Dec  7 18:22:54 psittacella kernel: [  268.499024]  [<c0292c5e>]
__out_of_memory+0x4e/0xb0
Dec  7 18:22:54 psittacella kernel: [  268.499047]  [<c0292d12>]
out_of_memory+0x52/0xa0
Dec  7 18:22:54 psittacella kernel: [  268.499053]  [<c0294e90>]
__alloc_pages_internal+0x430/0x470
Dec  7 18:22:54 psittacella kernel: [  268.499077]  [<c02b7084>]
cache_alloc_refill+0x2f4/0x560
Dec  7 18:22:54 psittacella kernel: [  268.499082]  [<c02b740a>]
__kmalloc+0x11a/0x130
Dec  7 18:22:54 psittacella kernel: [  268.499107]  [<c042f0ca>]
__alloc_skb+0x4a/0x130
Dec  7 18:22:54 psittacella kernel: [  268.499112]  [<c035a04f>] ?
add_uevent_var+0x3f/0xd0
Dec  7 18:22:54 psittacella kernel: [  268.499134]  [<c035a371>]
kobject_uevent_env+0x291/0x3f0
Dec  7 18:22:54 psittacella kernel: [  268.499159]  [<f911ec66>]
drm_sysfs_hotplug_event+0x36/0x60 [drm]
Dec  7 18:22:54 psittacella kernel: [  268.499194]  [<f917a06e>]
i915_hotplug_work_func+0xe/0x10 [i915]
Dec  7 18:22:54 psittacella kernel: [  268.499250]  [<c024379c>]
worker_thread+0x13c/0x200
Dec  7 18:22:54 psittacella kernel: [  268.499256]  [<c0221310>] ?
__wake_up_common+0x40/0x70
Dec  7 18:22:54 psittacella kernel: [  268.499287]  [<f917a060>] ?
i915_hotplug_work_func+0x0/0x10 [i915]
Dec  7 18:22:54 psittacella kernel: [  268.499311]  [<c02475e0>] ?
autoremove_wake_function+0x0/0x50
Dec  7 18:22:54 psittacella kernel: [  268.499316]  [<c0243660>] ?
worker_thread+0x0/0x200
Dec  7 18:22:54 psittacella kernel: [  268.499338]  [<c0247236>]
kthread+0x46/0x80
Dec  7 18:22:54 psittacella kernel: [  268.499344]  [<c02471f0>] ?
kthread+0x0/0x80
Dec  7 18:22:54 psittacella kernel: [  268.499366]  [<c0203b27>]
kernel_thread_helper+0x7/0x10
Dec  7 18:22:54 psittacella kernel: [  268.499369] Mem-Info:
Dec  7 18:22:54 psittacella kernel: [  268.499372] DMA per-cpu:
Dec  7 18:22:54 psittacella kernel: [  268.499393] CPU    0: hi:    0,
btch:   1 usd:   0
Dec  7 18:22:54 psittacella kernel: [  268.499397] CPU    1: hi:    0,
btch:   1 usd:   0
Dec  7 18:22:54 psittacella kernel: [  268.499400] Normal per-cpu:
Dec  7 18:22:54 psittacella kernel: [  268.499403] CPU    0: hi:  186,
btch:  31 usd: 183
Dec  7 18:22:54 psittacella kernel: [  268.499424] CPU    1: hi:  186,
btch:  31 usd: 165
Dec  7 18:22:54 psittacella kernel: [  268.499427] HighMem per-cpu:
Dec  7 18:22:54 psittacella kernel: [  268.499430] CPU    0: hi:  186,
btch:  31 usd: 101
Dec  7 18:22:54 psittacella kernel: [  268.499450] CPU    1: hi:  186,
btch:  31 usd:  42
Dec  7 18:22:54 psittacella kernel: [  268.499457] Active_anon:36929
active_file:1837 inactive_anon:7325
Dec  7 18:22:54 psittacella kernel: [  268.499459]
inactive_file:11748 unevictable:0 dirty:40 writeback:0 unstable:0
Dec  7 18:22:54 psittacella kernel: [  268.499461]  free:492308
slab:212570 mapped:6071 pagetables:391 bounce:0
Dec  7 18:22:54 psittacella kernel: [  268.499485] DMA free:3512kB
min:64kB low:80kB high:96kB active_anon:0kB inactive_anon:0kB
active_file:12kB inactive_file:0kB unevictable:0kB present:15776kB
pages_scanned:0 all_unreclaimable? no
Dec  7 18:22:54 psittacella kernel: [  268.499507] lowmem_reserve[]: 0
865 2997 2997
Dec  7 18:22:54 psittacella kernel: [  268.499517] Normal free:3664kB
min:3728kB low:4660kB high:5592kB active_anon:0kB inactive_anon:0kB
active_file:24kB inactive_file:92kB unevictable:0kB present:885944kB
pages_scanned:117 all_unreclaimable? no
Dec  7 18:22:54 psittacella kernel: [  268.499538] lowmem_reserve[]: 0
0 17061 17061
Dec  7 18:22:54 psittacella kernel: [  268.499548] HighMem
free:1962056kB min:512kB low:2808kB high:5108kB active_anon:147716kB
inactive_anon:29300kB active_file:7312kB inactive_file:46900kB
unevictable:0kB present:2183836kB pages_scanned:416 all_unreclaimable?
no
Dec  7 18:22:54 psittacella kernel: [  268.499570] lowmem_reserve[]: 0 0 0 0
Dec  7 18:22:54 psittacella kernel: [  268.499576] DMA: 0*4kB 2*8kB
1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB
0*4096kB = 3520kB
Dec  7 18:22:54 psittacella kernel: [  268.499625] Normal: 31*4kB
1*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB
0*4096kB = 3636kB
Dec  7 18:22:54 psittacella kernel: [  268.499657] HighMem: 96*4kB
41*8kB 434*16kB 493*32kB 192*64kB 57*128kB 14*256kB 15*512kB 5*1024kB
5*2048kB 462*4096kB = 1961992kB
Dec  7 18:22:54 psittacella kernel: [  268.499691] 16299 total pagecache pages
Dec  7 18:22:54 psittacella kernel: [  268.499711] 0 pages in swap cache
Dec  7 18:22:54 psittacella kernel: [  268.499714] Swap cache stats:
add 0, delete 0, find 0/0
Dec  7 18:22:54 psittacella kernel: [  268.499717] Free swap  = 0kB
Dec  7 18:22:54 psittacella kernel: [  268.499720] Total swap = 0kB
Dec  7 18:22:54 psittacella kernel: [  268.526769] 777568 pages RAM
Dec  7 18:22:54 psittacella kernel: [  268.526772] 550258 pages HighMem
Dec  7 18:22:54 psittacella kernel: [  268.526791] 11463 pages reserved
Dec  7 18:22:54 psittacella kernel: [  268.526793] 32403 pages shared
Dec  7 18:22:54 psittacella kernel: [  268.526796] 257920 pages non-shared
Dec  7 18:22:54 psittacella kernel: [  268.526801] Out of memory: kill
process 7185 (clamd) score 22306 or a child
Dec  7 18:22:54 psittacella kernel: [  268.526880] Killed process 7185 (clamd)


Подробная информация о списке рассылки community