peper/cudaram — Issue #1: System hang up during copy to cudaram(ext2)
Author: Hakier
Created: 2012-03-04 10:20:30+00:00
State: open

Linux Gentoo 3.2.5-gentoo #1 SMP Wed Feb 8 11:43:35 CET 2012 i686 AMD Phenom(tm) II X4 840 Processor AuthenticAMD GNU/Linux

=x11-drivers/nvidia-drivers-290.10-r1
=dev-util/nvidia-cuda-toolkit-4.0

Gainward 426018336-1503 nvidia GeForce GTS450
cudaram size 256MB (/dev/cudaram1 made by cudaramd 1 256; mkfs.ext2 /dev/cudaram1)
file size: 192 MB (which has been copied from /dev/shm to /mnt/cuda)

Mar 4 11:05:53 Gentoo kernel: [ 778.043838] ------------[ cut here ]------------
Mar 4 11:05:53 Gentoo kernel: [ 778.043844] kernel BUG at mm/highmem.c:268!
Mar 4 11:05:53 Gentoo kernel: [ 778.043846] invalid opcode: 0000 [#1] SMP
Mar 4 11:05:53 Gentoo kernel: [ 778.043848] Modules linked in: cudaram(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) nvidia(P) k10temp i2c_piix4 pata_jmicron pata_atiixp
Mar 4 11:05:53 Gentoo kernel: [ 778.043854]
Mar 4 11:05:53 Gentoo kernel: [ 778.043857] Pid: 5564, comm: cudaramd Tainted: P O 3.2.5-gentoo #1 System manufacturer System Product Name/M4A87TD EVO
Mar 4 11:05:53 Gentoo kernel: [ 778.043861] EIP: 0060:[] EFLAGS: 00010246 CPU: 2
Mar 4 11:05:53 Gentoo kernel: [ 778.043866] EIP is at kunmap_high+0x99/0xa0
Mar 4 11:05:53 Gentoo kernel: [ 778.043868] EAX: 00000000 EBX: ffd79000 ECX: c1a00b80 EDX: 00000216
Mar 4 11:05:53 Gentoo kernel: [ 778.043869] ESI: f34e06c0 EDI: f2286000 EBP: f415fe8c ESP: f415fe84
Mar 4 11:05:53 Gentoo kernel: [ 778.043871] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Mar 4 11:05:53 Gentoo kernel: [ 778.043873] Process cudaramd (pid: 5564, ti=f415e000 task=f0e084e0 task.ti=f415e000)
Mar 4 11:05:53 Gentoo kernel: [ 778.043874] Stack:
Mar 4 11:05:53 Gentoo kernel: [ 778.043875] c127ed2d f149aa24 f415fe94 c1029f15 f415ff08 f841e71d 00000003 00000001
Mar 4 11:05:53 Gentoo kernel: [ 778.043879] ffffffff 00000000 ffffffff 00000000 00000000 00000001 ffd79000 00003000
Mar 4 11:05:53 Gentoo kernel: [ 778.043882] f34e06c8 00000003 ffffffff bf81ac2c 00000000 00000001 f415ff70 c1238526
Mar 4 11:05:53 Gentoo kernel: [ 778.043885] Call Trace:
Mar 4 11:05:53 Gentoo kernel: [ 778.043889] [] ? copy_to_user+0x3d/0x50
Mar 4 11:05:53 Gentoo kernel: [ 778.043893] [] kunmap+0x55/0x60
Mar 4 11:05:53 Gentoo kernel: [ 778.043896] [] cudaram_ctl_ioctl+0x2dd/0x40c [cudaram]
Mar 4 11:05:53 Gentoo kernel: [ 778.043900] [] ? file_has_perm+0xb6/0xd0
Mar 4 11:05:53 Gentoo kernel: [ 778.043902] [] ? cudaram_make_request+0x90/0x90 [cudaram]
Mar 4 11:05:53 Gentoo kernel: [ 778.043905] [] do_vfs_ioctl+0x79/0x590
Mar 4 11:05:53 Gentoo kernel: [ 778.043907] [] ? selinux_file_ioctl+0x52/0x100
Mar 4 11:05:53 Gentoo kernel: [ 778.043909] [] sys_ioctl+0x7f/0x90
Mar 4 11:05:53 Gentoo kernel: [ 778.043912] [] sysenter_do_call+0x12/0x22
Mar 4 11:05:53 Gentoo kernel: [ 778.043914] Code: 00 00 00 e8 5a 84 f5 ff 83 c4 04 5b 5d c3 8d 74 26 00 0f 0b 8d b6 00 00 00 00 31 c0 81 3d 64 94 8b c1 64 94 8b c1 0f 95 c0 eb b8 <0f> 0b 90 8d 74 26 00 55 89 e5 56 53 31 db e8 f4 b8 ff ff 85 c0
Mar 4 11:05:53 Gentoo kernel: [ 778.043932] EIP: [] kunmap_high+0x99/0xa0 SS:ESP 0068:f415fe84
Mar 4 11:05:53 Gentoo kernel: [ 778.043936] ---[ end trace 98ebdfb2f9d03ac1 ]---