[Bug 36072] New: celestia causes kernel oops when allocation a lot of memory (for textures)

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=36072

           Summary: celestia causes kernel oops when allocation a lot of
                    memory (for textures)
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.38
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri@xxxxxxxxxxxxxxxxxxxx
        ReportedBy: acelists@xxxxxxxx
        Regression: Yes


The celestia program often allocates a lot of memory (like 1.5GB on my 2GB
machine with 3GB swap) for its textures. I don't know where it stores them
(probably not Video memory), but it seems in system RAM, because swap is used
much. Sometimes when this happens the kernel crashes. After that I can only
sync and reboot the machine with alt-sysrq commands. I have only noticed this
with kernel 2.6.38.x, not before. I was using the OSS ati driver 6.14.1, with
mesa 7.10.2. All including the kernel seft compiled (for AMD fam10h CPU). I do
not understand the first line of the log. Where can I increase the vmalloc
size. Is the on the kernel command line? But it should not crash the kernel in
any case, just the program.

Here is the kernel log:
May 19 21:26:52 coolbox kernel: vmap allocation for size 178982912 failed: use
vmalloc=<size> to increase size.
May 19 21:26:52 coolbox kernel: BUG: unable to handle kernel paging request at
b892a45d
May 19 21:26:52 coolbox kernel: IP: [<f9696a50>] ttm_mem_io_lock+0x0/0x20 [ttm]
May 19 21:26:52 coolbox kernel: *pde = 00000000 
May 19 21:26:52 coolbox kernel: Oops: 0000 [#1] PREEMPT SMP 
May 19 21:26:52 coolbox kernel: last sysfs file:
/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/ATK0110:00/hwmon/hwmon0/fan3_input
May 19 21:26:52 coolbox kernel: Modules linked in: fbcon font bitblit
softcursor radeon ttm drm_kms_helper drm agpgart fb fbdev autofs4 cfbcopyarea
cfbimgblt cfbfillrect nf_conntrack_ftp xt_tcpudp xt_owner xt_multiport
nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT ipt_LOG
iptable_filter ip_tables x_tables asus_atk0110 snd_seq_oss snd_seq_midi_event
snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss cpufreq_conservative
cpufreq_ondemand psmouse pcspkr cx88_blackbird firmware_class cx2341x cx8802
tuner_simple tuner_types tda9887 tda8290 tea5767 tuner cx8800 cx88xx rc_core
i2c_algo_bit tveeprom v4l2_common videodev btcx_risc videobuf_dma_sg
videobuf_core forcedeth snd_hda_codec_via snd_hda_intel snd_hda_codec snd_pcm
snd_timer snd soundcore snd_page_alloc i2c_nforce2 i2c_core ext4 mbcache jbd2
crc16 usbhid powernow_k8 processor mperf ohci_hcd ehci_hcd usbcore fuse
May 19 21:26:52 coolbox kernel: 
May 19 21:26:52 coolbox kernel: Pid: 25014, comm: celestia Not tainted 2.6.38.6
#57 System manufacturer System Product Name/M2N68
May 19 21:26:52 coolbox kernel: EIP: 0060:[<f9696a50>] EFLAGS: 00010246 CPU: 3
May 19 21:26:52 coolbox kernel: EIP is at ttm_mem_io_lock+0x0/0x20 [ttm]
May 19 21:26:52 coolbox kernel: EAX: b892a420 EBX: d03cfc28 ECX: 00000000 EDX:
00000000
May 19 21:26:52 coolbox kernel: ESI: f519a40c EDI: b892a420 EBP: d03cfd48 ESP:
d03cfbf0
May 19 21:26:52 coolbox kernel:  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
May 19 21:26:52 coolbox kernel: Process celestia (pid: 25014, ti=d03ce000
task=f06fb830 task.ti=d03ce000)
May 19 21:26:52 coolbox kernel: Stack:
May 19 21:26:52 coolbox kernel:  f9696f25 d03cfc28 d03cfd80 d03cfc98 f96970e2
f29e2c2c fffffff4 00040002
May 19 21:26:52 coolbox kernel:  f519a40c f9695c16 f29e2c64 f50135c0 00040001
00000002 00000002 d03cfcd0
May 19 21:26:52 coolbox kernel:  f519a45c f519a40c 00000000 af3e5000 d03cfc48
d03cfc9c f519a40c d03cfc98
May 19 21:26:52 coolbox kernel: Call Trace:
May 19 21:26:52 coolbox kernel:  [<f9696f25>] ? ttm_mem_reg_iounmap+0x35/0x70
[ttm]
May 19 21:26:52 coolbox kernel:  [<f96970e2>] ? ttm_bo_move_memcpy+0x182/0x310
[ttm]
May 19 21:26:52 coolbox kernel:  [<f9695c16>] ? ttm_bo_mem_space+0x306/0x3a0
[ttm]
May 19 21:26:52 coolbox kernel:  [<f97f4fb0>] ? radeon_bo_move+0xe0/0x330
[radeon]
May 19 21:26:52 coolbox kernel:  [<f96944d5>] ?
ttm_bo_reserve_locked+0xa5/0x120 [ttm]
May 19 21:26:52 coolbox kernel:  [<f97f4ed0>] ? radeon_bo_move+0x0/0x330
[radeon]
May 19 21:26:52 coolbox kernel:  [<f9694e15>] ?
ttm_bo_handle_move_mem+0x135/0x330 [ttm]
May 19 21:26:52 coolbox kernel:  [<f9695ddc>] ? ttm_bo_move_buffer+0x12c/0x140
[ttm]
May 19 21:26:52 coolbox kernel:  [<f9695e86>] ? ttm_bo_validate+0x96/0x120
[ttm]
May 19 21:26:52 coolbox kernel:  [<f97f5f5a>] ?
radeon_bo_list_validate+0x5a/0xe0 [radeon]
May 19 21:26:52 coolbox kernel:  [<f980d14c>] ? radeon_cs_ioctl+0x7c/0x1a0
[radeon]
May 19 21:26:52 coolbox kernel:  [<c0206466>] ?
prepare_for_delete_or_cut+0x3c6/0x650
May 19 21:26:52 coolbox kernel:  [<f96b3b51>] ? drm_ioctl+0x191/0x380 [drm]
May 19 21:26:52 coolbox kernel:  [<c0206466>] ?
prepare_for_delete_or_cut+0x3c6/0x650
May 19 21:26:52 coolbox kernel:  [<f980d0d0>] ? radeon_cs_ioctl+0x0/0x1a0
[radeon]
May 19 21:26:52 coolbox kernel:  [<c018ccf8>] ? handle_pte_fault+0x88/0x630
May 19 21:26:52 coolbox kernel:  [<c026006f>] ? prio_tree_insert+0x12f/0x250
May 19 21:26:52 coolbox kernel:  [<f96b39c0>] ? drm_ioctl+0x0/0x380 [drm]
May 19 21:26:52 coolbox kernel:  [<c01b1edf>] ? do_vfs_ioctl+0x7f/0x590
May 19 21:26:52 coolbox kernel:  [<c011df35>] ? do_page_fault+0x185/0x3a0
May 19 21:26:52 coolbox kernel:  [<c0190bae>] ? mmap_region+0x16e/0x440
May 19 21:26:52 coolbox kernel:  [<c01351d5>] ? irq_exit+0x35/0x70
May 19 21:26:52 coolbox kernel:  [<c01b242d>] ? sys_ioctl+0x3d/0x70
May 19 21:26:52 coolbox kernel:  [<c0206466>] ?
prepare_for_delete_or_cut+0x3c6/0x650
May 19 21:26:52 coolbox kernel:  [<c03979a1>] ? syscall_call+0x7/0xb
May 19 21:26:52 coolbox kernel:  [<c0206466>] ?
prepare_for_delete_or_cut+0x3c6/0x650
May 19 21:26:52 coolbox kernel:  [<c0206466>] ?
prepare_for_delete_or_cut+0x3c6/0x650
May 19 21:26:52 coolbox kernel: Code: 00 00 00 66 31 c0 83 c8 01 89 47 50 eb 9f
90 8d 74 26 00 89 da 89 f0 e8 0f cb ff ff 85 c0 74 a4 89 c5 eb b2 8d b4 26 00
00 00 00 <80> 78 3d 00 74 03 31 c0 c3 84 d2 75 0a 83 c0 28 e8 db f5 cf c6 
May 19 21:26:52 coolbox kernel: EIP: [<f9696a50>] ttm_mem_io_lock+0x0/0x20
[ttm] SS:ESP 0068:d03cfbf0
May 19 21:26:52 coolbox kernel: CR2: 00000000b892a45d
May 19 21:26:52 coolbox kernel: ---[ end trace 70c887d309b00b2d ]---
May 19 21:27:18 coolbox kernel: Emergency Sync complete
May 19 21:27:21 coolbox kernel: Emergency Sync complete

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
--
_______________________________________________
Dri-devel mailing list
Dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux