Rasperry Pi WUs getting stuck

Questions and Answers : Unix/Linux : Rasperry Pi WUs getting stuck
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Eddie Cottongim Project Donor
Volunteer tester

Send message
Joined: 15 Sep 01
Posts: 26
Credit: 6,149,499
RAC: 6
United States
Message 1786909 - Posted: 12 May 2016, 4:39:27 UTC

I have a Pi B+ v1.2. I'm running seti@home, and the workunits seem to get stuck after a few hours. The "setiathome_8.02" tasks no longer appears. If I do a suspend/resume via manager, then it starts again and runs for a few more hours. When it has died, I find the attached stack trace. It was doing this on a workunit, and I got tired of suspend/resume, so I aborted and got another, which is also doing the same thing.

The system ran the s@h Beta without this happening. I also have a Pi 2 running without problems.

Other info: BOINC 7.0.27

May 11 06:02:48 raspberrypi kernel: [1056977.544250] Modules linked in: xt_multiport iptable_filter ip_tables x_tables snd_bcm2835 snd_pcm snd_seq snd_seq_device snd_timer snd bcm2835_gpiomem bcm2835_rng uio_pdrv_genirq uio
May 11 06:02:48 raspberrypi kernel: [1056977.560776] CPU: 0 PID: 7762 Comm: setiathome_8.02 Tainted: G      D         4.1.19+ #858
May 11 06:02:48 raspberrypi kernel: [1056977.569117] Hardware name: BCM2708
May 11 06:02:48 raspberrypi kernel: [1056977.572696] task: cd838da0 ti: daf18000 task.ti: daf18000
May 11 06:02:48 raspberrypi kernel: [1056977.578279] PC is at vfp_save_state+0x0/0x28
May 11 06:02:48 raspberrypi kernel: [1056977.582724] LR is at vfp_sync_hwstate+0x3c/0x48
May 11 06:02:48 raspberrypi kernel: [1056977.587428] pc : [<c000a948>]    lr : [<c000a58c>]    psr: 60000113
May 11 06:02:48 raspberrypi kernel: [1056977.587428] sp : daf19e78  ip : daf19e90  fp : daf19e8c
May 11 06:02:48 raspberrypi kernel: [1056977.599240] r10: 002efe08  r9 : daf18000  r8 : be863368
May 11 06:02:48 raspberrypi kernel: [1056977.604635] r7 : be863458  r6 : daf180f8  r5 : be863560  r4 : c0000788
May 11 06:02:48 raspberrypi kernel: [1056977.611329] r3 : daf180f8  r2 : c0842364  r1 : c0000788  r0 : daf180f8
May 11 06:02:48 raspberrypi kernel: [1056977.618025] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
May 11 06:02:48 raspberrypi kernel: [1056977.625327] Control: 00c5387d  Table: 1adc8008  DAC: 00000015
May 11 06:02:48 raspberrypi kernel: [1056977.751325] [<c000a948>] (vfp_save_state) from [<c000a6f0>] (vfp_preserve_user_clear_hwstate+0x34/0xc0)
May 11 06:02:48 raspberrypi kernel: [1056977.760912] [<c000a6f0>] (vfp_preserve_user_clear_hwstate) from [<c0012d20>] (setup_sigframe+0x180/0x190)
May 11 06:02:48 raspberrypi kernel: [1056977.770662] [<c0012d20>] (setup_sigframe) from [<c0013150>] (do_signal+0x2d0/0x3e0)
May 11 06:02:48 raspberrypi kernel: [1056977.778501] [<c0013150>] (do_signal) from [<c0013458>] (do_work_pending+0xc8/0xd8)
May 11 06:02:48 raspberrypi kernel: [1056977.786253] [<c0013458>] (do_work_pending) from [<c000f7e4>] (work_pending+0xc/0x20)
May 11 06:02:48 raspberrypi kernel: [1056977.800442] ---[ end trace 6f0fb1a122aca842 ]---

ID: 1786909 · Report as offensive
Profile The Jedi Alliance - ^WarHawk^

Send message
Joined: 25 Jun 99
Posts: 29
Credit: 33,205,318
RAC: 77
United States
Message 1796983 - Posted: 18 Jun 2016, 2:00:53 UTC
Last modified: 18 Jun 2016, 2:08:49 UTC

I stumbled across this..not a ubuer linux guru

root@raspberrypi /var/lib/boinc-client # ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 3793
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 95
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 3793
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited



Did this



Notice only 8mb for stack size

did this

ulimit -s 65536


Now I have

root@<span class="highlight">raspberry</span><span class="highlight">pi</span> /var/log # ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 3793
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
<span class="highlight">pi</span>pe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 95
stack size              (kbytes, -s) 65536
cpu time               (seconds, -t) unlimited
max user processes              (-u) 3793
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


Maybe that will fix the stack error from the kern.log file I was seeing

I added the command to my /etc/rc.local file in the hopes if I have to reboot, it will automatically reset it back to 64M vs 8M

ulimit -s 65536

Let's hope...still so want to get this badboy working well :)
ID: 1796983 · Report as offensive
Profile The Jedi Alliance - ^WarHawk^

Send message
Joined: 25 Jun 99
Posts: 29
Credit: 33,205,318
RAC: 77
United States
Message 1797129 - Posted: 18 Jun 2016, 13:41:12 UTC

It still did it, but it look like it took much longer to do it

I notice that in top I had swap space...so I disabled it completely

sudo chmod -x /etc/init.d/dphys-swapfile

sudo swapoff -a

sudo rm /var/swap


Now my top looks like this


ID: 1797129 · Report as offensive
Profile The Jedi Alliance - ^WarHawk^

Send message
Joined: 25 Jun 99
Posts: 29
Credit: 33,205,318
RAC: 77
United States
Message 1797309 - Posted: 19 Jun 2016, 3:02:08 UTC

Nope...still conking out...seems to last a bit longer but it still bombs

This is the kernel message about the lockup/crash/whatever



Jun 18 20:02:54 raspberrypi kernel: [  849.803169] BUG: unsupported FP instruction in kernel mode
Jun 18 20:02:54 raspberrypi kernel: [  849.810285] Internal error: Oops - undefined instruction: 0 [#1] ARM
Jun 18 20:02:54 raspberrypi kernel: [  849.818148] Modules linked in: zram lz4_compress zsmalloc tun cpufreq_stats mkiss ax25 nls_utf8 cifs xt_nat iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables snd_bcm2835 snd_usb_audio snd_usbmidi_lib snd_hwdep snd_seq_midi snd_seq_midi_event snd_rawmidi snd_pcm snd_seq snd_seq_device snd_timer snd evdev bcm2835_gpiomem bcm2835_rng uio_pdrv_genirq uio
Jun 18 20:02:54 raspberrypi kernel: [  849.861594] CPU: 0 PID: 3052 Comm: setiathome_8.02 Not tainted 4.1.19+ #858
Jun 18 20:02:54 raspberrypi kernel: [  849.870109] Hardware name: BCM2708
Jun 18 20:02:54 raspberrypi kernel: [  849.875024] task: dba08da0 ti: dbb0a000 task.ti: dbb0a000
Jun 18 20:02:54 raspberrypi kernel: [  849.881957] PC is at vfp_save_state+0x0/0x28
Jun 18 20:02:54 raspberrypi kernel: [  849.887795] LR is at vfp_sync_hwstate+0x3c/0x48
Jun 18 20:02:54 raspberrypi kernel: [  849.893867] pc : [<c000a948>]    lr : [<c000a58c>]    psr: 60000113
Jun 18 20:02:54 raspberrypi kernel: [  849.893867] sp : dbb0be78  ip : dbb0be90  fp : dbb0be8c
Jun 18 20:02:54 raspberrypi kernel: [  849.908408] r10: 002efe08  r9 : dbb0a000  r8 : bea84368
Jun 18 20:02:54 raspberrypi kernel: [  849.915152] r7 : bea84458  r6 : dbb0a0f8  r5 : bea84560  r4 : c0000788
Jun 18 20:02:54 raspberrypi kernel: [  849.923178] r3 : dbb0a0f8  r2 : c0842364  r1 : c0000788  r0 : dbb0a0f8
Jun 18 20:02:54 raspberrypi kernel: [  849.931171] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Jun 18 20:02:54 raspberrypi kernel: [  849.939781] Control: 00c5387d  Table: 1bb2c008  DAC: 00000015
Jun 18 20:02:54 raspberrypi kernel: [  849.947014] Process setiathome_8.02 (pid: 3052, stack limit = 0xdbb0a188)
Jun 18 20:02:54 raspberrypi kernel: [  849.955328] Stack: (0xdbb0be78 to 0xdbb0c000)
Jun 18 20:02:54 raspberrypi kernel: [  849.961174] be60:                                                       dbb0be90 dbb0a000
Jun 18 20:02:54 raspberrypi kernel: [  849.972179] be80: dbb0beac dbb0be90 c000a6f0 c000a55c 00000000 bea84368 00000000 dba09208
Jun 18 20:02:54 raspberrypi kernel: [  849.983177] bea0: dbb0bec4 dbb0beb0 c0012d20 c000a6c8 dbb0bfb0 dbb0bec8 dbb0bf8c dbb0bec8
Jun 18 20:02:54 raspberrypi kernel: [  849.994179] bec0: c0013150 c0012bac 000d5378 14000000 0021b940 00000000 00000000 0000000e
Jun 18 20:02:54 raspberrypi kernel: [  850.005195] bee0: 00000000 00000080 00000000 00000000 dbb0bf28 c0031c8c c00b4420 dbb0bf08
Jun 18 20:02:54 raspberrypi kernel: [  850.016334] bf00: c005b474 c005d5e0 00000081 0000000e 00000011 c07d6e1c 00000001 c07d6e1c
Jun 18 20:02:54 raspberrypi kernel: [  850.027630] bf20: c081b9b8 00000000 00000000 c005dc4c dbb0bf4c dbb0bf40 c005dc4c c005a9b8
Jun 18 20:02:54 raspberrypi kernel: [  850.039040] bf40: dbb0bf5c dbb0bf50 c001ff64 c002741c dbb0bf74 dbb0bf60 c002741c 0000000e
Jun 18 20:02:54 raspberrypi kernel: [  850.050608] bf60: c005df80 00000001 dbb0a000 00000000 dbb0bfb0 00000000 dbb0a000 002efe08
Jun 18 20:02:54 raspberrypi kernel: [  850.062255] bf80: dbb0bfac dbb0bf90 c0013458 c0012e8c 0002b410 80000010 f200b200 00c5387d
Jun 18 20:02:54 raspberrypi kernel: [  850.073946] bfa0: 00000000 dbb0bfb0 c000f7e4 c001339c 00882bcc bea846cc 00000028 00882c00
Jun 18 20:02:54 raspberrypi kernel: [  850.085776] bfc0: 00882b00 0000000b 00882c08 00000040 002f1f60 002eff31 002efe08 002e8958
Jun 18 20:02:54 raspberrypi kernel: [  850.097664] bfe0: 00882ca4 bea84658 0002b3b8 0002b410 80000010 ffffffff 1effa821 1effac21
Jun 18 20:02:54 raspberrypi kernel: [  850.109570] [<c000a948>] (vfp_save_state) from [<c000a6f0>] (vfp_preserve_user_clear_hwstate+0x34/0xc0)
Jun 18 20:02:54 raspberrypi kernel: [  850.122709] [<c000a6f0>] (vfp_preserve_user_clear_hwstate) from [<c0012d20>] (setup_sigframe+0x180/0x190)
Jun 18 20:02:54 raspberrypi kernel: [  850.136024] [<c0012d20>] (setup_sigframe) from [<c0013150>] (do_signal+0x2d0/0x3e0)
Jun 18 20:02:54 raspberrypi kernel: [  850.147398] [<c0013150>] (do_signal) from [<c0013458>] (do_work_pending+0xc8/0xd8)
Jun 18 20:02:54 raspberrypi kernel: [  850.158672] [<c0013458>] (do_work_pending) from [<c000f7e4>] (work_pending+0xc/0x20)
Jun 18 20:02:54 raspberrypi kernel: [  850.170080] Code: e12fff1e e1a0200d e1a0e009 eafffebe (eca00b20)
Jun 18 20:02:54 raspberrypi kernel: [  850.178031] ---[ end trace 81eebefd37166ea4 ]---

ID: 1797309 · Report as offensive

Questions and Answers : Unix/Linux : Rasperry Pi WUs getting stuck


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.