redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2023-06-13T04:42:51Zhttps://gitlab.redox-os.org/redox-os/redox/-/issues/1020It should be possible to .join() a thread from a thread other than the one th...2023-06-13T04:42:51ZJeremy SollerIt should be possible to .join() a thread from a thread other than the one that created it*Created by: ids1024*
This code works on Linux, but never terminates on Redox; the `waitpid` call never terminates because it is not the parent of the thread it is waiting on.
I originally saw this issue running rustc on Redox.
```rus...*Created by: ids1024*
This code works on Linux, but never terminates on Redox; the `waitpid` call never terminates because it is not the parent of the thread it is waiting on.
I originally saw this issue running rustc on Redox.
```rust
use std::thread;
use std::time;
fn main() {
let child1 = thread::spawn(|| {
thread::sleep(time::Duration::from_secs(5));
});
thread::spawn(|| {
child1.join().unwrap();
println!("joined");
}).join().unwrap();
}
```
I don't know how this should be solved; only one copy of the `JoinHandle` is possible (`pthread_join` says it has undefined behavior when called from several threads, and Rust of course doesn't allow that) but it could be in a different thread than the parent.
Normally I would just send a PR for something like this, but I'm not really sure how it should be handled... I guess the logic of `waitpid` should be changed so it isn't tied to the parent process? But I think that behavior is standard, for waitpid but not pthread_join...https://gitlab.redox-os.org/redox-os/redox/-/issues/1019Redox doesn't start on real hardware2023-06-13T04:42:47ZJeremy SollerRedox doesn't start on real hardware*Created by: pharaone*
**Reproduction**: [burn the redox's iso into an USB drive and boot it from a pc.]
**Expected behavior**: [the OS starts.]
**Actual behavior**: [all crashes during the boot, so the pc restarts and restarts endle...*Created by: pharaone*
**Reproduction**: [burn the redox's iso into an USB drive and boot it from a pc.]
**Expected behavior**: [the OS starts.]
**Actual behavior**: [all crashes during the boot, so the pc restarts and restarts endlessy.
**Build information**: [Acer aspire one d225,Intel atom n450, 2,00GB of ram.]
**Redox release**: [0.3.0]https://gitlab.redox-os.org/redox-os/redox/-/issues/1015failed to run redox (ubuntu 17.04)2018-06-15T11:40:00ZJeremy Sollerfailed to run redox (ubuntu 17.04)*Created by: sinkarharshad*
Reproduction: make qemu
Expected behavior: Redox should run
Actual behavior:
```
$ make qemu
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 20...*Created by: sinkarharshad*
Reproduction: make qemu
Expected behavior: Redox should run
Actual behavior:
```
$ make qemu
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 2048 -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -net dump,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.qcow2
audio: Could not init `oss' audio driver
VNC server running on 127.0.0.1:5900
```
Can anyone help with this issue?
Thank you in advance.
https://gitlab.redox-os.org/redox-os/redox/-/issues/1009error: build failed (ubuntu 16.04)2018-06-15T11:40:00ZJeremy Sollererror: build failed (ubuntu 16.04)*Created by: sinkarharshad*
Trying to compile redox:
```
$ make all
cd kernel && xargo clean
rm -rf build/initfs
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook initfs.toml
Finished dev [unoptimized + deb...*Created by: sinkarharshad*
Trying to compile redox:
```
$ make all
cd kernel && xargo clean
rm -rf build/initfs
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook initfs.toml
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running `installer/target/debug/redox_installer --cookbook=cookbook initfs.toml`
Install Config {
general: GeneralConfig {
prompt: false,
sysroot: Some(
"build/initfs"
)
},
packages: {
"drivers": PackageConfig {
version: None,
git: None,
path: None
},
"init": PackageConfig {
version: None,
git: None,
path: None
},
"redoxfs": PackageConfig {
version: None,
git: None,
path: None
}
},
files: [
FileConfig {
path: "/etc/init.rc",
data: "export PATH /bin\nexport TMPDIR /tmp\nvesad T T G\nstdio display:1\nps2d\npcid /etc/pcid/initfs.toml\nredoxfs disk:0 file\ncd file:\nrun.d /etc/init.d\n"
}
],
users: {}
}
Create directory /home/shk4abt/devel/redoxos/redox/build/initfs/
repo - building drivers
cook - drivers build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling libc v0.2.28
Compiling gcc v0.3.51
Compiling core v0.0.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/libcore)
Compiling libc v0.0.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/rustc/libc_shim)
Compiling unwind v0.0.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/libunwind)
Compiling filetime v0.1.10
Compiling build_helper v0.1.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/build_helper)
Compiling std v0.0.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/libstd)
Compiling compiler_builtins v0.0.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/rustc/compiler_builtins_shim)
error: failed to run custom build command for `compiler_builtins v0.0.0 (file:///home/shk4abt/devel/redoxos/redox/rust/src/rustc/compiler_builtins_shim)`
process didn't exit successfully: `/tmp/xargo.7rD1i8oBkdDo/target/release/build/compiler_builtins-cc32b6c2dcaf272c/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/absvdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/absvsi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/absvti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/addvdi3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/addvsi3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/addvti3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/apple_versioning.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/clzdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/clzsi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/clzti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/cmpdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/cmpti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/comparedf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/comparesf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ctzdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ctzsi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ctzti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/divdc3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/divdf3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/divsc3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/divsf3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/divxc3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/extendhfsf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/extendsfdf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ffsdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ffsti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/x86_64/floatdisf.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/x86_64/floatdixf.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/x86_64/floatundidf.S
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/x86_64/floatundisf.S
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/x86_64/floatundixf.S
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/int_util.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/muldc3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/muldf3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/mulsc3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/mulsf3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/mulvdi3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/mulvsi3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/mulvti3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/mulxc3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negdf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negsf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negvdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negvsi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/negvti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/paritydi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/paritysi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/parityti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/popcountdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/popcountsi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/popcountti2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/powixf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/subvdi3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/subvsi3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/subvti3.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/truncdfhf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/truncdfsf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/truncsfhf2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ucmpdi2.c
cargo:rerun-if-changed=../../libcompiler_builtins/compiler-rt/lib/builtins/ucmpti2.c
TARGET = Some("x86_64-unknown-redox")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-redox")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-redox")
TARGET = Some("x86_64-unknown-redox")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-redox = None
CC_x86_64_unknown_redox = None
TARGET_CC = None
CC = Some("x86_64-elf-redox-gcc")
TARGET = Some("x86_64-unknown-redox")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-redox = None
CFLAGS_x86_64_unknown_redox = None
TARGET_CFLAGS = None
CFLAGS = None
PROFILE = Some("release")
running: "x86_64-elf-redox-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-fno-builtin" "-fvisibility=hidden" "-fomit-frame-pointer" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/tmp/xargo.7rD1i8oBkdDo/target/x86_64-unknown-redox/release/build/compiler_builtins-904aec1d2da80a31/out/../../libcompiler_builtins/compiler-rt/lib/builtins/absvdi2.o" "-c" "../../libcompiler_builtins/compiler-rt/lib/builtins/absvdi2.c"
failed to execute command: No such file or directory (os error 2)
Is `x86_64-elf-redox-gcc` not installed?
--- stderr
thread 'main' panicked at 'explicit panic', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.51/src/lib.rs:1239:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.7rD1i8oBkdDo/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "std"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
./repo.sh failed.mk/initfs.mk:2: recipe for target 'build/initfs.tag' failed
make: *** [build/initfs.tag] Error 1
```
Can anyone please help me to resolve this issue?
(referred #977 already, but did not help)
Thank you in advance. https://gitlab.redox-os.org/redox-os/redox/-/issues/1011Clean up repo2023-06-13T04:42:45ZJeremy SollerClean up repo*Created by: ticki**Created by: ticki*https://gitlab.redox-os.org/redox-os/redox/-/issues/1012Not able to open redox-terminal (qemu)2018-06-15T11:40:01ZJeremy SollerNot able to open redox-terminal (qemu)*Created by: sinkarharshad*
Reproduction: Trying to open the terminal in redox (Ubuntu 16.04 -> Using qemu + I can access another applications e.g. calculator, File Manager etc)
Expected behavior: Terminal should get open
Actual b...*Created by: sinkarharshad*
Reproduction: Trying to open the terminal in redox (Ubuntu 16.04 -> Using qemu + I can access another applications e.g. calculator, File Manager etc)
Expected behavior: Terminal should get open
Actual behavior: Even after several clicks, not able to open terminal
Build information:
```
root@shk4abt-ThinkPad-T530:/home/shk4abt/devel/redoxos/redox# make qemu
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 2048 -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -net dump,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.qcow2
audio: Could not init `oss' audio driver
Kernel: 100000:546E00
Stack: FFFFFF0000080000:FFFFFF000009F000
MemoryArea { base_addr: 0, length: 654336, _type: 1, acpi: 0 }
MemoryArea { base_addr: 654336, length: 1024, _type: 2, acpi: 0 }
MemoryArea { base_addr: 983040, length: 65536, _type: 2, acpi: 0 }
MemoryArea { base_addr: 1048576, length: 2146295808, _type: 1, acpi: 0 }
MemoryArea { base_addr: 2147344384, length: 139264, _type: 2, acpi: 0 }
MemoryArea { base_addr: 2952790016, length: 268435456, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4275159040, length: 16384, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4278173696, length: 16384, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4294705152, length: 262144, _type: 2, acpi: 0 }
RSDT:
FACP: 7FFE0040
DSDT: Parsed
APIC: FEE00000: 1
X2APIC 0
HPET: 0
MCFG: Unknown
HPET mapped
BSP: Ok(ContextId(1)) 1
Invalid opcode fault at 23:0000000000402336
TRACE: FFFFFF40000D42B8
FFFFFF40000D42B8: FFFFFF00001A3759
FFFFFF00001A36C0+0099
FFFFFF40000D4328: FFFFFF00001A36B1
00000180000FFD80: 000000000040BE9C
00000180000FFD90: 000000000040BCD9
00000180000FFE50: 00000000004001F5
0000008000000030: 0000000000000021
0000000000000000: GUARD PAGE
SIGNAL 4, CPU 0, PID C
```
I checked the boot-window ("F1") and it says: (When I click terminal icon)
```
"terminal: failed to execute '/bin/ion': Error: { repr: 0s { code: 22, message: "Invalid argument" } }"
```
How to resolve this one?https://gitlab.redox-os.org/redox-os/redox/-/issues/997bootstrap.sh on Fedora does not progress past PKGS if all are present2023-06-13T04:42:50ZJeremy Sollerbootstrap.sh on Fedora does not progress past PKGS if all are present*Created by: skierpage*
**Reproduction**: I ran boostrap.sh, it installed all the Fedora dependencies but then rustup ran out of space. I got rustup working and re-ran `bash -e bootstrap.sh` but all it prints is
```
Detected Fedora
QEM...*Created by: skierpage*
**Reproduction**: I ran boostrap.sh, it installed all the Fedora dependencies but then rustup ran out of space. I got rustup working and re-ran `bash -e bootstrap.sh` but all it prints is
```
Detected Fedora
QEMU already installed!
```
**Expected behavior**: bootstrap.sh should continue on to invoke `boot`
**Actual behavior**: I ran `bash -evx bootstrap.sh` and it just stops after
```
...
++ for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel
++ rpm -q fuse-devel
++ '[' 0 -ne 0 ']'
+ PKGS=
```
It should continue on to COUNT PKGS and then go on to invoke its `boot` function, but simply stops. The `PKGS=` line is some complex bash fu:
``` bash
PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel; do rpm -q $pkg > /dev/null; [ $? -ne 0 ] && echo $pkg; done)
```
somehow when all are installed it exits the script. My workaround was to remove one package (`sudo dnf remove fuse-devel`) and that made the script continue to install.
**Build information** :Linux fedlaptop 4.11.7-200.fc25.x86_64 #1 SMP Mon Jun 26 15:58:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
**Blocking/related**: [issues or PRs blocking or being related to this issue.]
**Misc**: My default shell is zsh, but this invokes bash, Fedora has bash 4.3.43(1).
FWIW boostrap.sh goes on to fail in "Cloning github repo..." with `fatal: destination path 'redox' already exists and is not an empty directory`, so it's not re-entrant. I'll get there 😃https://gitlab.redox-os.org/redox-os/redox/-/issues/985ion-shell fails to compile on docker2023-06-13T04:42:50ZJeremy Sollerion-shell fails to compile on docker*Created by: Olivered*
```
docker run --cap-add MKNOD --cap-add SYS_ADMIN --device /dev/fuse -e LOCAL_USER_ID="$(id -u)" -v "$(pwd):/src" --rm redox make all
Starting with UID : 502
CARGO_HOME is /cargo
RUSTUP_HOME is /rustup...*Created by: Olivered*
```
docker run --cap-add MKNOD --cap-add SYS_ADMIN --device /dev/fuse -e LOCAL_USER_ID="$(id -u)" -v "$(pwd):/src" --rm redox make all
Starting with UID : 502
CARGO_HOME is /cargo
RUSTUP_HOME is /rustup
fusermount -u build/filesystem/ || true
fusermount: entry for /src/build/filesystem not found in /etc/mtab
rm -rf build/filesystem.bin build/filesystem.bin.partial build/filesystem/
dd if=/dev/zero of=build/filesystem.bin.partial bs=1048576 count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB, 512 MiB) copied, 3.7667 s, 143 MB/s
cargo run --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs-mkfs build/filesystem.bin.partial
redoxfs-mkfs: created filesystem on build/filesystem.bin.partial, size 512 MB
mkdir -p build/filesystem/
cargo build --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs
cargo run --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs -- build/filesystem.bin.partial build/filesystem/
redoxfs: opened filesystem build/filesystem.bin.partial
sleep 2
pgrep redoxfs
48
cp build/kernel build/filesystem/kernel
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook filesystem.toml
Updating git repository `https://github.com/redox-os/userutils.git`
Updating git repository `https://github.com/redox-os/pkgutils.git`
Updating git repository `https://github.com/libOctavo/octavo.git`
Updating git repository `https://github.com/ids1024/pb`
Updating git repository `https://github.com/redox-os/tar-rs`
Downloading liner v0.1.5
Downloading termion v1.4.0
Downloading serde_derive v0.8.23
Downloading argon2rs v0.2.5
Downloading unicode-width v0.1.4
Downloading scoped_threadpool v0.1.7
Downloading blake2-rfc v0.2.17
Downloading constant_time_eq v0.1.2
Downloading serde v1.0.9
Downloading hyper v0.10.12
Downloading version-compare v0.0.4
Downloading libflate v0.1.9
Downloading clap v2.25.0
Downloading serde_derive v1.0.9
Downloading hyper-rustls v0.6.1
Downloading toml v0.4.2
Downloading winapi v0.2.8
Downloading kernel32-sys v0.2.2
Downloading winapi-build v0.1.1
Downloading language-tags v0.2.2
Downloading mime v0.2.6
Downloading typeable v0.1.2
Downloading unicase v1.4.2
Downloading traitobject v0.1.0
Downloading num_cpus v1.6.2
Downloading httparse v1.2.3
Downloading url v1.5.1
Downloading base64 v0.5.2
Downloading version_check v0.1.2
Downloading idna v0.1.2
Downloading matches v0.1.6
Downloading percent-encoding v1.0.0
Downloading unicode-normalization v0.1.5
Downloading unicode-bidi v0.3.3
Downloading byteorder v1.0.0
Downloading vec_map v0.8.0
Downloading unicode-segmentation v1.1.0
Downloading textwrap v0.6.0
Downloading bitflags v0.9.1
Downloading term_size v0.3.0
Downloading generic-array v0.2.1
Downloading static-buffer v0.2.0
Downloading typenum v1.9.0
Downloading byteorder v0.5.3
Downloading serde_derive_internals v0.15.1
Downloading syn v0.11.11
Downloading quote v0.3.15
Downloading synom v0.11.3
Downloading unicode-xid v0.0.4
Downloading rustls v0.9.0
Downloading webpki-roots v0.11.0
Downloading base64 v0.6.0
Downloading untrusted v0.5.0
Downloading ring v0.11.0
Downloading webpki v0.14.0
Downloading safemem v0.2.0
Downloading rayon v0.7.1
Downloading rayon-core v1.2.1
Downloading coco v0.1.1
Downloading futures v0.1.14
Downloading lazy_static v0.2.8
Downloading scopeguard v0.3.2
Downloading either v1.1.0
Downloading serde_codegen v0.8.23
Downloading serde_codegen_internals v0.11.3
Downloading syn v0.10.8
Downloading xattr v0.1.11
Finished dev [unoptimized + debuginfo] target(s) in 0.11 secs
Running `installer/target/debug/redox_installer --cookbook=cookbook filesystem.toml`
Install Config {
general: GeneralConfig {
prompt: false,
sysroot: Some(
"build/filesystem"
)
},
packages: {
"contain": PackageConfig {
version: None,
git: None,
path: None
},
"coreutils": PackageConfig {
version: None,
git: None,
path: None
},
"extrautils": PackageConfig {
version: None,
git: None,
path: None
},
"installer": PackageConfig {
version: None,
git: None,
path: None
},
"ion": PackageConfig {
version: None,
git: None,
path: None
},
"netstack": PackageConfig {
version: None,
git: None,
path: None
},
"netutils": PackageConfig {
version: None,
git: None,
path: None
},
"orbdata": PackageConfig {
version: None,
git: None,
path: None
},
"orbital": PackageConfig {
version: None,
git: None,
path: None
},
"orbterm": PackageConfig {
version: None,
git: None,
path: None
},
"orbutils": PackageConfig {
version: None,
git: None,
path: None
},
"pkgutils": PackageConfig {
version: None,
git: None,
path: None
},
"ptyd": PackageConfig {
version: None,
git: None,
path: None
},
"randd": PackageConfig {
version: None,
git: None,
path: None
},
"redoxfs": PackageConfig {
version: None,
git: None,
path: None
},
"smith": PackageConfig {
version: None,
git: None,
path: None
},
"userutils": PackageConfig {
version: None,
git: None,
path: None
}
},
files: [
FileConfig {
path: "/etc/init.d/00_base",
data: "randd\nptyd\n"
},
FileConfig {
path: "/etc/init.d/10_net",
data: "ethernetd\nipd\nicmpd\ntcpd\nudpd\ndhcpd -b\n"
},
FileConfig {
path: "/etc/init.d/20_orbital",
data: "orbital display:3/activate /ui/bin/orblogin /ui/bin/launcher\n"
},
FileConfig {
path: "/etc/init.d/30_console",
data: "getty display:2\ngetty debug: -J\n"
},
FileConfig {
path: "/etc/net/dns",
data: "208.67.222.222"
},
FileConfig {
path: "/etc/net/ip",
data: "10.0.2.15"
},
FileConfig {
path: "/etc/net/ip_router",
data: "10.0.2.2"
},
FileConfig {
path: "/etc/net/ip_subnet",
data: "255.255.255.0"
},
FileConfig {
path: "/etc/net/mac",
data: "54-52-00-ab-cd-ef"
},
FileConfig {
path: "/etc/pkg.d/50_redox",
data: "https://static.redox-os.org/pkg"
},
FileConfig {
path: "/etc/group",
data: "sudo;1;user"
},
FileConfig {
path: "/etc/hostname",
data: "redox"
},
FileConfig {
path: "/etc/issue",
data: "########## Redox OS ##########\n# Login with the following: #\n# `user` #\n# `root`:`password` #\n##############################\n\n"
},
FileConfig {
path: "/etc/motd",
data: "Welcome to Redox OS!\n\n"
},
FileConfig {
path: "/home/user/.ionrc",
data: ""
},
FileConfig {
path: "/root/.ionrc",
data: ""
}
],
users: {
"root": UserConfig {
password: Some(
"$argon2i$m=4096,t=10,p=1$Tnc4UVV0N00$ML9LIOujd3nmAfkAwEcSTMPqakWUF0OUiLWrIy0nGLk"
),
uid: Some(
0
),
gid: Some(
0
),
name: Some(
"root"
),
home: Some(
"/root"
),
shell: None
},
"user": UserConfig {
password: Some(
""
),
uid: None,
gid: None,
name: None,
home: None,
shell: None
}
}
}
Create directory /src/build/filesystem/
repo - contain up to date
repo - coreutils up to date
repo - extrautils up to date
repo - installer up to date
repo - building ion
cook - ion update
Updating registry `https://github.com/rust-lang/crates.io-index`
cook - ion build
Downloading liner v0.3.1
Downloading glob v0.2.11
Downloading smallvec v0.4.1
Downloading unicode-segmentation v1.2.0
Downloading fnv v1.0.5
Downloading permutate v0.3.2
Downloading smallstring v0.1.2
Downloading smallvec v0.3.3
Downloading ansi_term v0.9.0
Downloading peg v0.5.4
Compiling ion-shell v1.0.3 (file:///src/cookbook/recipes/ion/build)
error[E0433]: failed to resolve. Use of undeclared type or module `signal`
--> src/builtins/job_control.rs:30:29
|
30 | let _ = signal::kill(job.pid as pid_t, Some(Signal::SIGTSTP));
| ^^^^^^^^^^^^ Use of undeclared type or module `signal`
error[E0412]: cannot find type `pid_t` in this scope
--> src/builtins/job_control.rs:30:53
|
30 | let _ = signal::kill(job.pid as pid_t, Some(Signal::SIGTSTP));
| ^^^^^ not found in this scope
error[E0433]: failed to resolve. Use of undeclared type or module `Signal`
--> src/builtins/job_control.rs:30:65
|
30 | let _ = signal::kill(job.pid as pid_t, Some(Signal::SIGTSTP));
| ^^^^^^^^^^^^^^^ Use of undeclared type or module `Signal`
error[E0433]: failed to resolve. Use of undeclared type or module `signal`
--> src/builtins/job_control.rs:38:29
|
38 | let _ = signal::kill(job.pid as pid_t, Some(Signal::SIGINT));
| ^^^^^^^^^^^^ Use of undeclared type or module `signal`
error[E0412]: cannot find type `pid_t` in this scope
--> src/builtins/job_control.rs:38:53
|
38 | let _ = signal::kill(job.pid as pid_t, Some(Signal::SIGINT));
| ^^^^^ not found in this scope
error[E0433]: failed to resolve. Use of undeclared type or module `Signal`
--> src/builtins/job_control.rs:38:65
|
38 | let _ = signal::kill(job.pid as pid_t, Some(Signal::SIGINT));
| ^^^^^^^^^^^^^^ Use of undeclared type or module `Signal`
error: aborting due to previous error(s)
error: Could not compile `ion-shell`.
To learn more, run the command again with --verbose.
./repo.sh failed.make: *** [build/filesystem.bin] Error 1
mk/filesystem.mk:2: recipe for target 'build/filesystem.bin' failed
```https://gitlab.redox-os.org/redox-os/redox/-/issues/980fusermount -u build/filesystem/ || true fusermount: bad mount point build/fil...2023-06-13T04:42:50ZJeremy Sollerfusermount -u build/filesystem/ || true fusermount: bad mount point build/filesystem/: No such file or directory*Created by: aspera-non-spernit*
**Reproduction**: [describe how you are able to reproduce ("trigger") this bug/issue.]
During the docker installation routine and the 'make pull'.
**Expected behavior**: [describe the behavior you ...*Created by: aspera-non-spernit*
**Reproduction**: [describe how you are able to reproduce ("trigger") this bug/issue.]
During the docker installation routine and the 'make pull'.
**Expected behavior**: [describe the behavior you would expect the repro to yield.]
No errors during process. Doens't actually stop with an error, but the installation doesn't install fuse (command not found), and if installed the 'bad mount point' occurs.
**Actual behavior**: [describe the actual behavior, which is presented through the repro.].
fusermount -u build/filesystem/ || true
fusermount: bad mount point build/filesystem/: No such file or directory
rm -rf build
make[1]: Leaving directory `/root/redox'
make update
**Misc**: [optional: for other relevant information that should be known or cannot be described in the other fields.]
Tried on Arch and CentOs 7. The command 'docker build -t redox docker/' runs despite the error message above. Not sure if it is a quiet error causing problems later.
------
_If the above does not fit the nature of the issue feel free to modify it._https://gitlab.redox-os.org/redox-os/redox/-/issues/989Livedisk.iso stuck on bootloading on bare metal test2023-06-13T04:42:50ZJeremy SollerLivedisk.iso stuck on bootloading on bare metal test*Created by: thotheolh*
Livedisk.iso for version 0.2.0 was burnt into a DVD and attempted to boot on 'bare metal' and it initially booted to a question with '(s)ave, (y)es, (n)o' options to be choosen from which seems like screen size t...*Created by: thotheolh*
Livedisk.iso for version 0.2.0 was burnt into a DVD and attempted to boot on 'bare metal' and it initially booted to a question with '(s)ave, (y)es, (n)o' options to be choosen from which seems like screen size to me.
After the selection of '(y)es' option, it shows the following messsage:
> Init FPU
> Init SSE
> Init PIT
> Startup Arch
It just continues to hang there with no way to input anything.https://gitlab.redox-os.org/redox-os/redox/-/issues/983can't build redux using docker2018-06-15T11:40:01ZJeremy Sollercan't build redux using docker*Created by: jinnzest*
**Reproduction**:
Following instructions described here https://github.com/redox-os/redox/blob/master/docker/README.md
**Expected behavior**: running redux in qemu
**Actual behavior**:
Step 3 of the inst...*Created by: jinnzest*
**Reproduction**:
Following instructions described here https://github.com/redox-os/redox/blob/master/docker/README.md
**Expected behavior**: running redux in qemu
**Actual behavior**:
Step 3 of the instruction is completed successfully.
But step 4 is failed:
`docker run --cap-add MKNOD --cap-add SYS_ADMIN --device /dev/fuse -e LOCAL_USER_ID="$(id -u)" -v "$(pwd):/src" --rm redox make all`
returned:
`Starting with UID : 502 `
`CARGO_HOME is /cargo`
`RUSTUP_HOME is /rustup`
`make: *** No rule to make target 'all'. Stop.`
**Redox release**: last master commit
**Misc**: I tried to run it on macos sierra
https://gitlab.redox-os.org/redox-os/redox/-/issues/984error: Could not compile `untrusted'2018-06-15T11:40:01ZJeremy Sollererror: Could not compile `untrusted'*Created by: gnfrazier*
**Reproduction**: [describe how you are able to reproduce ("trigger") this bug/issue.]
Ubuntu 17.10
$ curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e boo...*Created by: gnfrazier*
**Reproduction**: [describe how you are able to reproduce ("trigger") this bug/issue.]
Ubuntu 17.10
$ curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
Completes
cd redox
make all
begins to compile
fails on untrusted
error: Could not compile `untrusted'
Terminal output: https://gist.github.com/gnfrazier/e377e2bfec85b83cc49c495a1cdf654d
**Expected behavior**: [describe the behavior you would expect the repro to yield.]
Completed compile
**Actual behavior**: [describe the actual behavior, which is presented through the repro.].
Failed complile
https://gist.github.com/gnfrazier/e377e2bfec85b83cc49c495a1cdf654d
**Build information**: [only when using a self build version: output of `rustc -V`, `git rev-parse HEAD` `qemu-i386 -version`, `uname -a`, etc.]
rustc 1.16.0
cargo-0.17.0 (built 2017-03-24)
**Redox release**: [only when using a prebuild version: redox version]
Command not found
**Blocking/related**: [issues or PRs blocking or being related to this issue.]
**Misc**: [optional: for other relevant information that should be known or cannot be described in the other fields.]
------
_If the above does not fit the nature of the issue feel free to modify it._
https://gitlab.redox-os.org/redox-os/redox/-/issues/976Build fails, alloc::vec unresolved import2018-06-15T11:40:01ZJeremy SollerBuild fails, alloc::vec unresolved import*Created by: gjsman*
**Expected behavior**:
Expect the thing to build, obviously.
**Actual behavior**:
Despite making sure to put all dependencies in (and use nightly), I get:
```
Compiling orbclient v0.3.8
Compiling bgad v0....*Created by: gjsman*
**Expected behavior**:
Expect the thing to build, obviously.
**Actual behavior**:
Despite making sure to put all dependencies in (and use nightly), I get:
```
Compiling orbclient v0.3.8
Compiling bgad v0.1.0 (file:///home/gabriel/redox/cookbook/recipes/drivers/build/bgad)
error[E0432]: unresolved import `alloc::Vec`
--> /home/gabriel/.cargo/registry/src/github.com-1ecc6299db9ec823/orbclient-0.3.8/src/graphicspath.rs:1:5
|
1 | use alloc::Vec;
| ^^^^^^^^^^ no `Vec` in the root
error: aborting due to previous error(s)
error: Could not compile `orbclient`.
warning: build failed, waiting for other jobs to finish...
error: build failed
./repo.sh failed.mk/initfs.mk:2: recipe for target 'build/initfs.tag' failed
make: *** [build/initfs.tag] Error 1
```
**Build information**:
rustc 1.20.0-nightly (ab5bec255 2017-06-22)
Linux ubuntu 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
**Redox release**: master
------
_If the above does not fit the nature of the issue feel free to modify it._
https://gitlab.redox-os.org/redox-os/redox/-/issues/975dockerfile misses README how to use it2018-06-15T11:40:01ZJeremy Sollerdockerfile misses README how to use it*Created by: jinnzest*
Dockerfile and entrypoint.sh is added but there is no README file how to use it.
@batonius could You add README?*Created by: jinnzest*
Dockerfile and entrypoint.sh is added but there is no README file how to use it.
@batonius could You add README?https://gitlab.redox-os.org/redox-os/redox/-/issues/1000It seem like can not Startup Arch2023-06-13T04:42:50ZJeremy SollerIt seem like can not Startup Arch*Created by: 3442853561*
I waited about ten minutes
Just stay in "Startup Arch"*Created by: 3442853561*
I waited about ten minutes
Just stay in "Startup Arch"https://gitlab.redox-os.org/redox-os/redox/-/issues/982user: pkg failed to unpack message2018-06-15T11:40:01ZJeremy Solleruser: pkg failed to unpack message*Created by: aspera-non-spernit*
**Reproduction**:
# pkg install <PACKAGE>
**Actual behavior**:
Redox lets user download pkg to /tmp but message doesn't quiet tell that user isn't allowed to install.
* Requesting...*Created by: aspera-non-spernit*
**Reproduction**:
# pkg install <PACKAGE>
**Actual behavior**:
Redox lets user download pkg to /tmp but message doesn't quiet tell that user isn't allowed to install.
* Requesting https://static.redox-os.org/pkg/x86_64-unknown-redox/games.sig
124 B / 124 B [===========================================] 100.00 % 5.38 KB/s
* Already downloaded games
pkg: install: games: failed: failed to unpack `/pkg/games.toml`
**Expected Behaviour**
A message that user cannot install packages, before download of package. Refer to fetchhttps://gitlab.redox-os.org/redox-os/redox/-/issues/1001gawk does not build with the newest commit2018-06-15T11:40:01ZJeremy Sollergawk does not build with the newest commit*Created by: Csega*
**Reproduction**: use the latest bootstrap.sh, then cd redox, then make all
**Expected behavior**: build redox correctly
**Actual behavior**: gawk does not build
**Build information**: `rustc -V`: rustc 1.20...*Created by: Csega*
**Reproduction**: use the latest bootstrap.sh, then cd redox, then make all
**Expected behavior**: build redox correctly
**Actual behavior**: gawk does not build
**Build information**: `rustc -V`: rustc 1.20.0-nightly (ae98ebfcb 2017-07-20)
`git rev-parse HEAD`: c8d7b6d773a70170c312da7d21f2a506b578305b
`qemu-i386 -version`: qemu-i386 version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.14), Copyright (c) 2003-2008 Fabrice Bellard
`uname -a`: Linux csega-eos-loki 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
**Misc**: the exact output:
make[3]: Entering directory '/home/csega/redox/cookbook/recipes/gawk/build'
x86_64-elf-redox-gcc -g -O2 -DNDEBUG -o gawk array.o awkgram.o builtin.o cint_array.o command.o debug.o eval.o ext.o field.o floatcomp.o gawkapi.o gawkmisc.o int_array.o io.o main.o mpfr.o msg.o node.o profile.o re.o replace.o str_array.o symbol.o version.o support/libsupport.a -lm
main.o: In function `load_procinfo':
/home/csega/redox/cookbook/recipes/gawk/build/main.c:1003: undefined reference to `getppid'
collect2: error: ld returned 1 exit status
Makefile:648: recipe for target 'gawk' failed
make[3]: *** [gawk] Error 1
make[3]: Leaving directory '/home/csega/redox/cookbook/recipes/gawk/build'
Makefile:727: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/csega/redox/cookbook/recipes/gawk/build'
Makefile:552: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/csega/redox/cookbook/recipes/gawk/build'
./repo.sh failed.mk/filesystem.mk:2: recipe for target 'build/filesystem.bin' failed
make: *** [build/filesystem.bin] Error 1
------https://gitlab.redox-os.org/redox-os/redox/-/issues/979error: failed switching to "user:user": unable to find user user: no matching...2023-06-13T04:42:50ZJeremy Sollererror: failed switching to "user:user": unable to find user user: no matching entries in passwd file*Created by: aspera-non-spernit*
**Reproduction**: [describe how you are able to reproduce ("trigger") this bug/issue.]
Using the docker way of the redox installation as introduced in week 23, by invoking the following command:
do...*Created by: aspera-non-spernit*
**Reproduction**: [describe how you are able to reproduce ("trigger") this bug/issue.]
Using the docker way of the redox installation as introduced in week 23, by invoking the following command:
docker run --cap-add MKNOD --cap-add SYS_ADMIN --device /dev/fuse -e LOCAL_USER_ID='id -u' -v 'pwd':/src --rm redox make all
**Expected behavior**: [describe the behavior you would expect the repro to yield.]
positive docker results
**Actual behavior**: [describe the actual behavior, which is presented through the repro.].
Starting with UID : id -u
CARGO_HOME is /cargo
RUSTUP_HOME is /rustup
useradd: invalid user ID 'id'
chown: invalid user: 'user:user'
chown: invalid user: 'user:user'
error: failed switching to "user:user": unable to find user user: no matching entries in passwd file
**Redox release**: [only when using a prebuild version: redox version]
25 June 17 srcs latest on github
**Misc**: [optional: for other relevant information that should be known or cannot be described in the other fields.]
I tried also to change id to user or to a local (host) user name.
I changed the ` ` to ' ' in the command because the ones given in the wiki lead to another error:
docker: Error response from daemon: create `pwd`: "`pwd`" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.
------
_If the above does not fit the nature of the issue feel free to modify it._https://gitlab.redox-os.org/redox-os/redox/-/issues/999It still can't run in VMware(Windows 10)2023-06-13T04:42:50ZJeremy SollerIt still can't run in VMware(Windows 10)*Created by: 3442853561*
like https://github.com/redox-os/redox/issues/821*Created by: 3442853561*
like https://github.com/redox-os/redox/issues/821https://gitlab.redox-os.org/redox-os/redox/-/issues/977Is `x86_64-elf-redox-gcc` not installed?2018-06-15T11:40:01ZJeremy SollerIs `x86_64-elf-redox-gcc` not installed?*Created by: Olivered*
**Reproduction**:
make all
**Expected behavior**:
build succeeds
**Actual behavior**:
running: "x86_64-elf-redox-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffreestanding" "-m64" "-fno-bui...*Created by: Olivered*
**Reproduction**:
make all
**Expected behavior**:
build succeeds
**Actual behavior**:
running: "x86_64-elf-redox-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffreestanding" "-m64" "-fno-builtin" "-fvisibility=hidden" "-fomit-frame-pointer" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/var/folders/w2/4xzz78pd24sb2mmssx4_d3tw0000gp/T/xargo.xTq7FE6PUvQ7/target/x86_64-unknown-redox/release/build/compiler_builtins-5e8895d281cea536/out/compiler-rt/../compiler-rt/lib/builtins/absvdi2.o" "-c" "../compiler-rt/lib/builtins/absvdi2.c"
failed to execute command: No such file or directory (os error 2)
Is `x86_64-elf-redox-gcc` not installed?
**Build information**:
rustc 1.20.0-nightly (229d0d326 2017-06-23)
git rev 12f419e6d26a3444a5b0de3fa9566e305003372e
Darwin Macbook-Pro 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 i386 MacBookPro12,1 Darwin
xcode, redox-os/x86_64-elf packages installed