Hullo.
I am having issues with the DM648 under linux.
After installing the grsecurity patches on my kernel dsplinkk is causing crashes.
For example:
[ 1000.858797] PAX: suspicious general protection fault: 0000 [#1] PREEMPT
[ 1000.859007] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
[ 1000.859007] Modules linked in: uio_pdrv uio g5rack_uio g5rack_serial g5rack_fb dsplinkk aufs
[ 1000.859007]
[ 1000.859007] Pid: 3290, comm: streammgr Not tainted 2.6.33-gentoo-r2-rt30-grsec-tieline #12 CM-
iAM/SBC-FITPC2i/CM-iAM/SBC-FITPC2i
[ 1000.859007] EIP: 0060:[<00552f4a>] EFLAGS: 00010246 CPU: 0
[ 1000.859007] EAX: 00010080 EBX: f8077af0 ECX: 00000000 EDX: 00000000
[ 1000.859007] ESI: 5e49f668 EDI: 00000000 EBP: 5e49f000 ESP: f6b15e38
[ 1000.859007] DS: 0068 ES: 0068 FS: 0000 GS: 00e0 SS: 0068 preempt:00000000
[ 1000.859007] Process streammgr (pid: 3290, ti=f6b14000 task=f60a17f0 task.ti=f6b14000)
[ 1000.859007] Stack:
[ 1000.859007] 00010080 00007353 5e49f620 5e49f637 5e49f000 00542c41 f70027d0 f6b15e84
[ 1000.859007] <0> c142bc84 00000000 5e49f620 00000000 00000001 fffffffe f6b15e84 c142bc64
[ 1000.859007] <0> f6b15e84 f6b15eac 002bd61f f627589c 00000000 00000000 00000000 f6b15e9c
[ 1000.859007] Call Trace:
[ 1000.859007] [<00010080>] ?
[ 1000.859007] [<00007353>] ?
[ 1000.859007] [<00542c41>] ?
[ 1000.859007] [<002bd61f>] ?
[ 1000.859007] [<00008000>] ?
[ 1000.859007] [<00010080>] ?
[ 1000.859007] [<000f6717>] ?
[ 1000.859007] [<00007353>] ?
[ 1000.859007] [<000f6fe8>] ?
[ 1000.859007] [<0006e178>] ?
[ 1000.859007] [<0025445f>] ?
[ 1000.859007] [<00257467>] ?
[ 1000.859007] [<000e8c42>] ?
[ 1000.859007] [<000f775f>] ?
[ 1000.859007] [<00507819>] ?
[ 1000.859007] [<00007353>] ?
[ 1000.859007] Code: 04 24 b8 0b 80 00 80 0f 84 89 00 00 00 bb f0 7a 07 f8 31 ff 31 d2 b0 28 eb
72 31 d2 81 3b ff 00 00 00 75 64 8b 04 24 31 c9 89 03 <66> 8b 06 66 89 43 04 66 8b
[ 1000.859007] EIP: [<00552f4a>] SS:ESP 0068:f6b15e38
[ 1001.038737] ---[ end trace a0a35e1577191322 ]---
(Note this error message has been altered by PaX and would normally just read "general protection fault". The following code snippet is from my kernel.)
#if defined(CONFIG_X86_32) && defined(CONFIG_PAX_KERNEXEC)
if ((regs->cs & 0xFFFF) == __KERNEL_CS || (regs->cs & 0xFFFF) == __KERNEXEC_KERNEL_CS)
die("PAX: suspicious general protection fault", regs, error_code);
else
#endif
die("general protection fault", regs, error_code);
This occurs the first time I call the PROC_setup
function defined in gpp/src/api/proc.c
and subsequent calls to the function block indefinitely unless I unplug the dsplinkk module from the kernel and re-insert it. I am using dsplink 1.64 on a 2.6.33 gentoo realtime kernel.
Has anyone seen this before or have any idea what might be causing it?
The grsecurity patches make a variety of changes to the kernel summarized here. I would like to keep them installed if its at all possible as this is for use in a product that will sit on the open internet.