Skip to content
Permalink
Tree: 2e0e3130f9
Commits on Jul 10, 2018
  1. pkg/build: update initrd name

    dvyukov committed Jul 10, 2018
    Seems to have been renamed.
  2. pkg/build: always do clean build for fuchsia

    dvyukov committed Jul 10, 2018
    We frequently see boot errors like:
    
    [00010.201] 02991.03067> pkgsvr: 2018/06/30 23:39:41 system: failed to set system root from blob "ccbadb3901372b1e0fc5275f627f708bf3e5f3acfb0d4268638db0ff75fc7fd4": file does not exist
    
    or:
    
    [00003.691] 01126.01153> devmgr: launchpad /fs/blob/e66739acdd3d8efa3b7c9021e2107cf8431765c0b8eb0a1ec7f7dc7fd305f2f7 (pkgfs) failed: launchpad_vmo_from_file failure: -40
    
    Presumably clean build may help.
  3. syz-ci: don't put dynamic data into boot/test errors

    dvyukov committed Jul 10, 2018
    We append underlying error to the title of boot/test errors.
    The error can come from anywhere and can contain dynamic data,
    which can cause duplication of bugs.
    
    Put the underlying error into report body instead.
Commits on Jul 9, 2018
  1. sys/linux: use fmt in filesystem options

    dvyukov committed Jul 9, 2018
    We currently generate poor formatted intergers,
    generate proper integers using the new fmt type.
  2. pkg/compiler: support negative integers

    dvyukov committed Jul 9, 2018
    Currently we have to use 0xffffffffffffffff to represent -1,
    and we can't express e.g. -20:20 int range.
    Support negative consts to fix both problems.
Commits on Jul 8, 2018
  1. sys/linux: refine 9p descriptions

    dvyukov committed Jul 8, 2018
    RVERSION needs to use 0xffff tag, otherwise parsing fails.
    Use only tags 1 and 2. They are densely allocated,
    so most of the time it's 1. And it needs to be correct in
    multiple replies for mount to succeed. So limit tag space.
  2. executor: tweaks for better 9p testing

    dvyukov committed Jul 8, 2018
    See the added comments.
  3. prog: fix pointer validation

    dvyukov committed Jul 8, 2018
    Query size after validating the object itself,
    otherwise size can panic on corrupted object.
  4. sys/linux: extend 9p descriptions

    dvyukov committed Jul 8, 2018
    Add actual protocol messages.
  5. prog: don't generate filenames that escape sandbox

    dvyukov committed Jul 8, 2018
    All files that fuzzer works with must be in the working dir.
    Using "/" is known to cause problems when fuzzer
    removes files there or mounts something.
  6. prog, pkg/compiler: support fmt type

    dvyukov committed Jul 7, 2018
    fmt type allows to convert intergers and resources
    to string representation.
  7. syz-manager/mgrconfig: default kernel_src to kernel_obj

    dvyukov committed Jul 8, 2018
    ... which in turn defaults to vmlinux.
    This makes it possible to only specify vmlinux or only kernel_obj.
  8. vm: fix "no output" detection

    dvyukov committed Jul 8, 2018
    We obviously need ticker instead of timer in MonitorExecution.
  9. syz-manager: don't print loop state on info requests

    dvyukov committed Jul 8, 2018
    Printing loop state on info requests (e.g. due to http requests)
    is somewhat confusing as no state change actually happens.
Commits on Jul 7, 2018
  1. executor: executor fix fuchsia build

    dvyukov committed Jul 7, 2018
  2. sys/fuchsia: Update Fuchsia syscalls.

    flowerhack authored and dvyukov committed Jul 4, 2018
    Updates cover
    * zx_vmo_create
    * zx_clock_get_monotonic
    * hypervisor- and vCPU-related syscalls
    * system_get_features
    * some DDK syscalls
Commits on Jul 6, 2018
  1. sys/linux: add 9p descriptions

    dvyukov committed Jul 6, 2018
    Only mount for now.
  2. pkg/report: detect partial result errors

    dvyukov committed Jul 6, 2018
  3. sys/linux: update autogenerated files

    dvyukov committed Jul 6, 2018
    "sys/linux: add mount$bpf" commit did not include these changes.
  4. sys/akaros: add all syscalls

    dvyukov committed Jul 6, 2018
  5. pkg/host: disable for akaros

    dvyukov committed Jul 6, 2018
    akaros can't have own host version
    because fuzzer does not run on akaros,
    so just disable it all.
  6. sys/linux: add mount$bpf

    dvyukov committed Jul 6, 2018
    Plus some minor assorted fixes.
  7. pkg/instance: pass -os to execprog/fuzzer only for akaros

    dvyukov committed Jul 6, 2018
    Only akaros needs OS, because the rest assume host OS.
    But speciying OS for all OSes breaks patch testing on syzbot
    because old execprog does not have os flag.
  8. vm/vmimpl: factor out common code for ssh args and waiting for ssh

    dvyukov committed Jul 6, 2018
    Move common code from 4 vm implementations to vmimpl.
  9. syz-fuzzer: fix revision checking in case executor is wrapped with ssh

    dvyukov committed Jul 6, 2018
    Some ssh close connection on stdin eof. So give it a pipe.
  10. syz-fuzzer: show executor output on failure

    dvyukov committed Jul 6, 2018
  11. Update syzbot.md

    dvyukov committed Jul 6, 2018
    explicitly specify KMSAN branch for testing
Commits on Jul 5, 2018
  1. dashboard/config: tune kernel timeouts

    dvyukov committed Jul 5, 2018
    See #516 for description of the problem.
    
    The new scheme is:
    
    1. RCU stalls the highest priority.
    CONFIG_RCU_CPU_STALL_TIMEOUT=100
    which results in stalls detected after 100-101 secs.
    
    2. Then softlockup detector.
    kernel.watchdog_thresh = 55 (sysctl)
    which surprisingly detects stalls after 110-132 secs.
    
    3. Then hung tasks and workqueue stalls.
    Unfortunately we can't separate them because that would
    require setting "no output" timeout to 10+ minutes.
    workqueue.watchdog_thresh=140 (cmdline)
    CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=140
    Both are detected after 140-280 secs.
    
    4. Finally, "no output" crashes.
    Detected by vm.MonitorExecution after 300 secs.
    
    Fixes #516
  2. dashboard/config: update kernel configs

    dvyukov committed Jul 5, 2018
    Update to latest kernel.
Older
You can’t perform that action at this time.