Commit Graph
24 Commits
Author SHA1 Message Date
Alexander von Gluck IV 342cb985e3 nfsv4: Don't trigger wire errors for non-ok protocol responses
* NFSv4 specs say all compound replies must be handled (even errors)
* Don't set fDecodeError unless something is physically wrong within
  the wire response.
* "Server said no" != "The compound reply is Garbage"

Change-Id: I8523ff04553dd3415c656d82615aa608be34f88c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11247
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Jim906 Jim906 <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-08 19:52:40 +00:00
Alexander von Gluck IV b5fd959d60 nfsv4: Correctly compare timestamps
* The flag should be set when they are different, not equal
* Memcmp returns 0 when all count bytes are equal

Change-Id: Ie0440b6159410f811e2b57dc48308a2b2d2ee4f4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11246
Reviewed-by: waddlesplash <[email protected]>
2026-07-07 14:43:15 +00:00
Alexander von Gluck IV 0a0555daeb AGENTS.md: AI-generated contributions are forbidden.
Change-Id: Ic12bfae841be4fc28f9d507da2facd8e6f2bc033
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11180
Reviewed-by: Alexander von Gluck <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-07-02 14:34:37 +00:00
Alexander von Gluck IV 79b809944b add-ons/nfs: Add improved logging / tracing
* Helps to know why nfs (our nfs v2 add-on) is failing

Change-Id: Id4728439fdc965b82151cba701912ed97dd85d5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10341
Reviewed-by: Alexander von Gluck <[email protected]>
2026-02-19 17:39:57 +00:00
Alexander von Gluck IV 771394b61c DriveSetup: Make EFI loader installation architecture aware
Change-Id: Iff1ad616d3ed241319b11328ec6031e0fb163f25
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10252
Reviewed-by: Alexander von Gluck <[email protected]>
2026-01-23 15:56:52 +00:00
Alexander von Gluck 22ec477724 Time preferences: show help harder
Change-Id: I136c27e73ba191a0380c580559e82c49cca145e4
2025-05-24 07:54:10 -05:00
Alexander von Gluck 2de2e7aec3 headers/BeBuild.h: Add gcc 15 support
Change-Id: I4572dc62159ad0abb593c48d0ff0008068815fbd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9302
Reviewed-by: waddlesplash <[email protected]>
2025-05-21 17:46:52 +00:00
Alexander von Gluck c8f38f4627 boot/loader/elf: Minor fix for printf format type on x86_64
Change-Id: I619542fa13794bd359c589672d85138c8cf251fe
2025-05-21 12:00:54 -05:00
Alexander von Gluck 07a90ea93c ldscripts/kernel: set load base of 0
* 0463b95 removed a messy workaround ensuring the load address of
  the kernel was 0 due to riscv64's PIC kernel design breaking rv64
  booting.
* This is the proper fix to set the load address of our PIC kernel
  as 0 (triggering a dynamic position)

Change-Id: I010d70bef90c84ca0243601b86d79fbb60c38728
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9301
Reviewed-by: Alexander von Gluck <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-05-20 18:29:01 +00:00
Alexander von Gluck f5ceb1e1b6 boot/loader/elf: Add better debugging for AllocateRegion failures
Change-Id: I0372f7d58c4dbe1caaaebcfaac3c8a83c93d114d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9300
Reviewed-by: Alexander von Gluck <[email protected]>
2025-05-20 16:11:15 +00:00
Alexander von Gluck 7a1b94ee07 build-packages/riscv64: Bump zstd to 1.5.7
Change-Id: Iaf198c96950541fa226dabda5c0222b033695de8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9297
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-20 13:25:56 +00:00
Alexander von Gluck f1ea2e7ad4 radeon_hd: Ensure userspace accesses the AtomBIOS rom is R/W
* We should only need R/O in theory, but AtomBIOS has issues with R/O
  for some reason that needs investigated (#19348)
* For now, we keep it R/W to userspace so radeon_hd doesn't break after
  33c3179

Change-Id: Id50c8916690e6068c94fc496bbe89e80d7ba1bf8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8817
Reviewed-by: Alexander von Gluck <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-01-10 03:38:07 +00:00
Alexander von Gluck bba724134f riscv64/uart/sifive: If we get an invalid clock, skip setting baud
* Prevents us breaking a potentially working serial uart.

Change-Id: I57bed42cfa571d3d961ee07f380c96b62c7f34d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8798
Reviewed-by: waddlesplash <[email protected]>
2025-01-09 02:50:32 +00:00
Alexander von Gluck 1a6cfd7849 boot/efi/dtb: If we can't find a clock-frequency, set a failure condition
* If we don't find a clock frequency, it can be worked around later
  in a critcal code path for uart. Flag a failure or unknown with -1

Change-Id: I34d078da7471f559aafcf8926dc646aa9a7d4867
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8797
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Alexander von Gluck <[email protected]>
2025-01-09 02:50:32 +00:00
Alexander von Gluck b2474d284f 3rdparty/cross-compiler: Various fixes and multi-host arch support
Change-Id: I57e8a0be75950c767d115131b838006036d4bc0e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8796
Reviewed-by: waddlesplash <[email protected]>
2025-01-09 02:50:32 +00:00
Alexander von Gluck 33beece770 jam/BuildSetup: Gracefully handle arm64, riscv HOST_CPU
* HOST_CPU was getting set to "" on arm64 host builds of
  Haiku which resulted in varying host tool directories
  objects/linux/x86_64/release vs objects/linux/release
* This captures the changes in buildtools abcf50c2 which
  adds proper arm 64, and riscv 32/64 OSPLAT definitions

Change-Id: Ife768fe3e4b1f90748b8f09afd632d4cd9c87d2d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8720
Reviewed-by: waddlesplash <[email protected]>
2024-12-27 15:29:12 +00:00
Alexander von Gluck 796bd00681 network/route: accept an empty network address as the destination.
* linux + BSD accept 0.0.0.0 or :: as the default route identifier
* openvpn passes 0.0.0.0 as the default route
* our own route command shows "0.0.0.0" for the default route

Lets not be special here, and do what everyone else does. default
still works for backwards compat.

This uncovered a potental bug in BNetworkAddress. See #19296

Change-Id: I3aea99cae4cf9c52142cb97e2a06b8432de294b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8592
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Fredrik Holmqvist <[email protected]>
Reviewed-by: Alexander von Gluck <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2024-12-23 09:38:36 +00:00
Alexander von Gluck 909ef790b1 system/kernel: add missing posix_memalign, fixes guarded_heap
Change-Id: Id035aa607a5a2a8545a85416d97cdd4a1b069203
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8369
Reviewed-by: waddlesplash <[email protected]>
2024-09-26 00:19:13 +00:00
Alexander von Gluck 7b1d348567 3rdparty/cloud: A few small fixes to sysprep-gcp
Change-Id: I001d824f65cf135507aac65acc586de5be7ad386
2024-09-25 16:54:00 -05:00
Alexander von Gluck 9a6a20d468 3rdparty/cloud: Update instructions for gcp
* Unfortunately, functionality of Haiku r1beta5 under
  gcp is blocked by #18962 (virtio_scsi not getting irqs
  with our now guarded heap)

Change-Id: Ibf70419762e9a222bcb86b7418282cc409e17986
2024-09-24 16:07:58 -05:00
Alexander von Gluck f5db9be04a HaikuPorts/riscv64: Update, openssl3, libssh2, nghttp2, etc
Change-Id: I8a56aa43f767a8b049ea3a6275f2265fb14b57e2
2024-08-16 19:44:09 -05:00
Alexander von Gluck 4c62171e88 usb_serial: Add missing FTDI uarts USBID's
* Witnessed at linux drivers/usb/serial/ftdi_sio_ids.h
* I have a 0403:6010 in hand, validated functional
* Looking at the linux code, there aren't any special
  cases for these alternate FTDI devices.
* There are a bunch of clones we could add per the above
  reference, but lets just support the "official" ones for now.

Change-Id: I4c1aa162b94753431d7497a65f646faec5cccfad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7902
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: Alexander von Gluck <[email protected]>
2024-07-30 13:41:47 +00:00
Alexander von Gluck dd2a1e350b 3rdparty/vagrant: drop vagrant
* Honestly, Vagrant seems pretty dead at this point.
* We didn't see many users of this.
* Hashicorp has been doing weird license things too
  with BSL.

Change-Id: I2932a28fc6316266925e434c02bdd117c874d838
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7622
Reviewed-by: waddlesplash <[email protected]>
2024-04-16 20:18:07 +00:00
Alexander von Gluck c237c4ce59 finddir: Add SYSTEM_DESKBAR_DIRECTORY
* Resolves #18883

Change-Id: Ib971272319d55b37fa06d6874f257c8080bdab8f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7611
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Alexander von Gluck <[email protected]>
Reviewed-by: Fredrik Holmqvist <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-04-13 14:03:35 +00:00