Commit Graph

8772 Commits

Author SHA1 Message Date
Josef Söntgen
1daf179db9 nvme_drv: adapt run script to block_tester config
Issue #3369.
2019-06-13 12:17:31 +02:00
Josef Söntgen
6b48a08697 libc: silence noncritical dummy implementations
* isatty

  For the moment it is not possible to determine if the fd belongs to a
  tty. For whatever reasons, the check is done multiple times, e.g.
  'tclsh', which will spam the LOG.

* sysctl(HW_FLOATINGPT)

  FPU is enabled on all our platforms, so return true.

Fixes #3389.
2019-06-13 12:17:31 +02:00
dc8a2ec523 Remove libc_terminal
Fix #3378
2019-06-13 12:13:40 +02:00
Christian Prochaska
46f89d143b libports: ncurses: disable relative cursor movement
Fixes #3380
2019-06-13 12:13:40 +02:00
8a4adceaf0 Add note on PCAP dump to run/fetchurl.inc
Ref #3388
2019-06-13 12:13:40 +02:00
bbf7a6230e VFS lwIP: restart DHCP with link-state changes
Start and stop the DHCP state machine as the Nic link-state changes.
Invoke the link state handler during configuration rather than assume
that in the case of a downed link lwIP will defer DHCP until the link
comes up.

Additionally, support static DNS configuration via the "nameserver"
configuration attribute.

Fix #3388
2019-06-13 12:13:39 +02:00
cbfb4f55b4 Merge branch 'nixos' into staging 2019-06-12 16:38:38 +02:00
5b5f66674b Adjustments for NixOS 2019-06-12 16:18:41 +02:00
c99cc6763f Remove rust from depot_autopilot 2019-06-12 16:18:40 +02:00
dd3d1059a6 Adjustments for NixOS 2019-06-12 13:03:57 +02:00
24845a650c Libc: wrap VFS sync's in VFS_THREAD_SAFE
Move the _vfs_sync implementation from vfs_plugin.h to vfs_plugin.cc and
wrap all VFS access in the VFS_THREAD_SAFE macro.

Syncing must be made thread safe because it often happens when closing
files and may require suspending the current thread for I/O signal
dispatching.

Ref #3409
2019-06-06 12:30:02 +02:00
51fb95ab8e Merge branch 'staging' of github.com:genodelabs/genode into staging 2019-06-06 11:56:47 +02:00
882799bb93 hashes 2019-06-06 11:44:36 +02:00
3b296e8914 VFS destruction 2019-06-06 11:39:44 +02:00
Alexander Boettcher
2f59fa1491 vbox5*.run: enable VM tests for Fiasco.OC
Issue #3111
2019-06-05 16:58:01 +02:00
Alexander Boettcher
92ae8103ca vbox5: adjust to run with Fiasco.OC
- use priorities solely with nova
- handle exceptions during vCPU creation
- avoid assertion in vga_vbda
- silence compiler warnings about outdated register keyword

Issue #3111
2019-06-05 16:56:33 +02:00
Alexander Boettcher
3430185792 foc: extend vm_session impl. for vbox5
- transfer more guest registers
- print warning once for unsupported guest registers
- improve synchronization of vm state transfer

Issue #3111
2019-06-05 16:55:55 +02:00
a4d3046cbd Construct Terminal_session within with_libc
The "pipe" procedure can only be safely called within with_libc.

Fix #3408
2019-06-05 16:49:04 +02:00
b085e3e03d Construct Terminal_session within with_libc
The "pipe" procedure can only be safely called within with_libc.

Fix #3408
2019-06-05 16:00:52 +02:00
Josef Söntgen
f7e7dc4fc3 sculpt: document version string constraint
Issue #3403.
2019-06-05 15:18:34 +02:00
Tomasz Gajewski
6675776f0d sculpt doc: be more precise about the use of GPT
Information about GPT being required for permanent sculpt
customizations

Fixes #3381
2019-06-05 14:50:12 +02:00
Christian Helmuth
6e771d4dcc terminal: modernize color palette
The terminal now got a configurable palette for 16 colors (8 normal, 8
bright/bold).

  <config>
    <palette>
      <color index="0" value="#000000"/> <!-- black is real black -->
      <color index="8" value="#101010"/> <!-- bright black stands out a bit -->
    </palette>
  </config>

Note, the old (undocumented) <color index="..." bg="..."> configuration
scheme is no longer supported.

Also, this commit adds a pleasing default palette that ensures
readability of ViM's standard hightlighting.

Fixes #3406
2019-06-05 14:47:13 +02:00
118b320647 hashes 2019-06-05 14:10:44 +02:00
4e71bb3821 hashes 2019-06-05 13:34:16 +02:00
4d10226087 fixup! Add write completion loop to VFS server and libc (lxIP)
Add handles to _io_progress_waiters queue after partial write.

Ref #2971
2019-06-05 13:34:16 +02:00
12c8f8177e fixup! Add write completion loop to VFS server and libc (lwIP)
Remove use of "wait_and_dispatch_one_io_signal" during write. Use the
TCP ACK callback to wake blocked writers instead.

Ref #2971
2019-06-05 13:34:16 +02:00
94af2fc5d1 fixup! New VFS plugin for emulating POSIX pipes (recipe, README)
Ref #2303
2019-06-05 13:34:08 +02:00
7e1708a1b1 hashes 2019-06-05 12:01:19 +02:00
4890393cd6 Remove rust from depot_autopilot
Never have I seen a successful rust compile.
2019-06-05 12:00:25 +02:00
3757fa0c7d New VFS plugin for emulating POSIX pipes
Add a new plugin for creating pipes between pairs of VFS handles. It is
intended to replace the libc_pipe plugin, one of the last remaining libc
plugins.

In contrast to the libc_pipe plugin, this plugin defers cross-handle
notification until I/O signal handling rather than block and unblock
readers using a semaphore. This is a performance regression in the case
of multiple threads blocking on a pipe, but shall be an intermediate
mechanism pending renovations within the libc VFS and threading layers.
As a side effect, threads blocked on a pipe might not be resumed until
the main thread suspends and dispatches I/O signals.

The "test-libc_pipe" test has been adjusted to use the VFS pipe plugin
and tests both local pipes and pipes hosted remotely in the VFS server.

Fix #2303
2019-06-04 19:09:45 +02:00
efe39ab077 Add write completion loop to VFS server and libc
Loop at the VFS server and libc VFS plugin on partial writes. This
implies that the VFS server will not process successive packets for an
open node until a write packet has been processed completely. The libc
will now supspend and reissue write requests to the VFS until the write
has been submitted completely.

Ref #2303
Fix #2971
2019-06-04 18:22:48 +02:00
f6d22088f2 hashes 2019-06-04 18:18:20 +02:00
Josef Söntgen
98b0cb6aeb fixup 'libc: silence noncritical dummy implementations' (sigaction)
Issue #3389.
2019-06-04 17:56:15 +02:00
Christian Helmuth
f01065ad09 nova: provide missing Rpc_entrypoint::is_myself()
The symbol is implemented by the common implementation but was missing
from the nova-specific fork of rpc_entrypoint.cc.
2019-06-04 17:11:18 +02:00
Stefan Kalkowski
18c8b2c59b foc: update to current github version (fix #3402)
Instead of hosting our outdated own fork, this commit now uses kernkonzept's
nowadays available github source repositories. This hopefully simplifies
updates, or cherry-picking single fixes.
2019-06-04 16:21:41 +02:00
Christian Helmuth
975762971f Warn about questionable call of wait_and_dispatch_one_io_signal
Issue #2399
2019-06-04 15:59:08 +02:00
Christian Helmuth
aefeb8a099 run: improve error message on missing recipe 2019-06-04 15:48:10 +02:00
Christian Helmuth
8f48d8209a qt5: handle keypad-enter key 2019-06-04 15:13:42 +02:00
Norman Feske
088c3500c7 ttf_font: prevent out-of-bounds access
Thanks Alexander Böttcher for investigating.

Fixes #3393
2019-06-04 14:27:02 +02:00
7f7ff98e15 depot: move ehmry depot URL
Fix #3400
2019-06-04 14:09:25 +02:00
Christian Helmuth
8fbf31c641 fixup "qt5: enable capslock/numlock in test run scripts" 2019-06-04 13:46:50 +02:00
500524fb05 Move ehmry depot URL 2019-06-04 13:31:25 +02:00
Christian Helmuth
57c778d791 qt5: enable capslock/numlock in test run scripts 2019-06-04 12:07:05 +02:00
Christian Helmuth
09ff20df6b vbox5: rewrite (truncate) nitpicker session label
The shape-report label matching depends on the truncated label, i.e.,
Nitpicker label "wm -> vm" matches, while "wm -> vm -> vbox" does not.
2019-06-04 10:56:31 +02:00
Alexander Boettcher
72a6066548 driver_manager: fix vesa_fb_drv binary usage
Fixes #3394
2019-06-03 15:42:45 +02:00
Alexander Boettcher
57567bf9b4 sculpt: add VM service
Fixes #3396
2019-06-03 15:31:07 +02:00
Alexander Boettcher
c9c6285a0c foc: add core threads as trace source
Fixes #3390
2019-06-03 15:29:57 +02:00
Alexander Boettcher
9933d531e5 foc: add idle times as trace source
Issue #3390
2019-06-03 15:29:40 +02:00
Christian Prochaska
8cc1b92810 gdb_monitor: disable pagination earlier
Fixes #3397
2019-06-03 15:27:48 +02:00
Christian Prochaska
31e97c3a6e libusb: show "device is plugged" message only when plugged
Fixes #3399
2019-06-03 15:26:24 +02:00