So, I know this may be the wrong mailing list, well, it is, but I'm a
first time user and I don't think I have enough information to open a
bug report.

I am trying openbsd 5.5 (current) on an smp amd64 machine.

after some late-night experimentations with systrace, I decided that,
for untrusted applications, it would be better to have a separate user
(let's say temp1).

I added, on /etc/rc.local
mount_tmpfs -u temp1 -g temp1 -s 8G tmpfs /home/temp1

to recreate the home directory of the user at every startup. I could
have done it via fstab, I know.


The machine has 16G of ram installed.

I was watching a long (1h+) video with "minitube", so data may have
been written to /home/temp1, and I had a kernel panic.

trace:
panic() at panic+0xee
amap_wipeout() at amap_wipeout+0xf0
uvm_unmap_detach() at uvm_unmap_detach+0x90
sys_munmap() at sys_munmap+0x120
syscall() at syscall+0x24f

end trace frame: 0xffff8000032e23dc0, count: 0


show map:
MAP 0xffffffff81345da5: [0x71880c70a74->0x1c2834800000000]
brk() allocate range: 0xc3c9df7540fa8348-0x9066666690666666
stack allocate range: 0x53e5894855906666-0x48b486508ec8348
sz=1216454588, ref=838853055, version=2685829333, flags=0x48b48d2

show page:
PAGE 0xffffffff81345da5:
flags=40fa8348<CLEAN,FAKE,ZERO,FREE,ACTIVE,ENCRYPT,PMAP0>,
vers=-1010180235, wire_count=-1872337306, pa=0x53e5894855906666

uobject=0x71880c70a74, uanon=0xc0854881a01680d5,
offset=0xc2834800000000 loan_count=-1872337306
[page ownership tracking disabled] wm_page_md 0xffffffff81345e0d

I also had show mount, show vnode and registers, but apparently output
is truncated...


I'm not sure about the cause, but after the panic, every time I ran
firefox X froze, I couldn't switch back to a tty and had to perform a
hard reset.

now I unmounted the tmpfs over /home/temp1 and so far, I had no trouble.

I did run tmpfs without problems for some time, without specifiying -s
8G and -u temp1 -g temp1.

Reply via email to