Re: Developer environment setup problem

2025-06-24 Thread Samuel Thibault
Samuel Thibault, le dim. 22 juin 2025 17:14:41 +0200, a ecrit: > Almudena Garcia, le dim. 22 juin 2025 17:10:22 +0200, a ecrit: > > Do you will publish amd64 version? > > There are already quite recent versions for amd64. But I had forgotten about the mig transition... I have rebuilt the amd64 im

Re: Developer environment setup problem

2025-06-22 Thread Milos Nikic
Hello folks, Ok i have pulled the latest code to my host machine. It contains all the fixes. I was able to run the test now and it ran successfully. Thanks Samuel. I also renamed hd0 to wd0 in my Debian-Hurd fstab and was able to make the cross compiled kernel boot up and work. Thanks Almudena, f

Re: Developer environment setup problem

2025-06-22 Thread Samuel Thibault
Milos Nikic, le dim. 22 juin 2025 08:55:16 -0700, a ecrit: > I did post the configs already (but I guess they just got lost in the emails) Apparently indeed. > here they are again: > > [1]https://justpaste.it/gg2af is config log from Debian Hurd  Thanks. I have added some configure snippet to t

Re: Developer environment setup problem

2025-06-22 Thread Almudena Garcia
Hi: I read your explaination. The script https://github.com/AlmuHS/gnumach_dev_scripts/blob/main/compile_scratch.sh is mine, and it's designed to compile a gnumach-smp kernel, with APIC and rumpdisk enabled, from Linux. So, if you try to boot the gnumach compiled with this script, you have to be s

Re: Developer environment setup problem

2025-06-22 Thread Milos Nikic
Thank you Samuel, I did post the configs already (but I guess they just got lost in the emails) here they are again: https://justpaste.it/gg2af is config log from Debian Hurd In the meantime I got development from Qemu working thanks to your guys suggestions. (I already submitted a few small pat

Re: Developer environment setup problem

2025-06-22 Thread Almudena Garcia
True. I've just noticed it Thanks for your work El dom, 22 jun 2025 a las 17:14, Samuel Thibault () escribió: > Almudena Garcia, le dim. 22 juin 2025 17:10:22 +0200, a ecrit: > > Do you will publish amd64 version? > > There are already quite recent versions for amd64. > > Samuel >

Re: Developer environment setup problem

2025-06-22 Thread Samuel Thibault
Almudena Garcia, le dim. 22 juin 2025 17:10:22 +0200, a ecrit: > Do you will publish amd64 version? There are already quite recent versions for amd64. Samuel

Re: Developer environment setup problem

2025-06-22 Thread Almudena Garcia
Do you will publish amd64 version? El dom, 22 jun 2025 a las 16:58, Samuel Thibault () escribió: > Samuel Thibault, le dim. 22 juin 2025 16:41:14 +0200, a ecrit: > > Samuel Thibault, le dim. 22 juin 2025 16:27:26 +0200, a ecrit: > > > Milos Nikic, le dim. 15 juin 2025 17:16:54 -0700, a ecrit: > >

Re: Developer environment setup problem

2025-06-22 Thread Samuel Thibault
Samuel Thibault, le dim. 22 juin 2025 16:41:14 +0200, a ecrit: > Samuel Thibault, le dim. 22 juin 2025 16:27:26 +0200, a ecrit: > > Milos Nikic, le dim. 15 juin 2025 17:16:54 -0700, a ecrit: > > > I am developing inside qemu (on Arch linux) with debian > > > image debian-hurd-20230608.img. > > > >

Re: Developer environment setup problem

2025-06-22 Thread Samuel Thibault
Samuel Thibault, le dim. 22 juin 2025 16:27:26 +0200, a ecrit: > Milos Nikic, le dim. 15 juin 2025 17:16:54 -0700, a ecrit: > > I am developing inside qemu (on Arch linux) with debian > > image debian-hurd-20230608.img. > > That image is quite old actually. Perhaps better use a more up-to-date > i

Re: Developer environment setup problem

2025-06-22 Thread Samuel Thibault
Hello, Milos Nikic, le dim. 15 juin 2025 17:16:54 -0700, a ecrit: > I am developing inside qemu (on Arch linux) with debian > image debian-hurd-20230608.img. That image is quite old actually. Perhaps better use a more up-to-date image, I have now uploaded 20250622. > When i ".configure" and then

Re: Developer environment setup problem

2025-06-18 Thread Milos Nikic
Oh wow. Thank you all folks. And especially Diego. Yes the mig thing was off somehow. I followed your clean installation with your steps and managed not only to run the tests, but also to successfully boot with the freshly built gnumech kernel. Thanks so much. Expect some (trivial at first) patc

Re: Developer environment setup problem

2025-06-18 Thread Diego Nieto Cid
Hi again :) On Thu, Jun 19, 2025 at 01:16:20AM +0100, Diego Nieto Cid wrote: > > You can also test by installing mig from the Debian repository instead of > building it from source. > If you go that route you would need: sudo apt install mig-i686-gnu Or maybe the test makefiles need some

Re: Developer environment setup problem

2025-06-18 Thread Diego Nieto Cid
Hello, On Tue, Jun 17, 2025 at 05:18:30PM -0700, Milos Nikic wrote: > > As far as that "n", I have no idea where that is coming from. It's not > happening when I try on the Host, only inside Hurd. > I see in the Makefile there is a line such as: > MIGCOM = $(MIG) -n -cc cat - /dev/null > It's U

Re: Developer environment setup problem

2025-06-18 Thread jbranso
June 17, 2025 at 8:18 PM, "Milos Nikic" mailto:nikic.mi...@gmail.com?to=%22Milos%20Nikic%22%20%3Cnikic.milos%40gmail.com%3E > wrote: > > Hello folks, > > Thanks for all the emails. I've never really gotten the hang of "hacking" on the Hurd / GNU Mach / MiG, etc. Sergey wrote these two guid

Re: Developer environment setup problem

2025-06-17 Thread Milos Nikic
Hello folks, Thanks for all the emails. The flavor I'm running is hurd-i386 which came with the pre-installed debian-hurd-20230608.img. I am just cloning the repo. Trying to rebuild it for 32 bit, and stick it inside the /boot folder, and then change grub.cfg minimally to take my (just built and

Re: Developer environment setup problem

2025-06-17 Thread jbranso
June 17, 2025 at 12:25 AM, "Milos Nikic" mailto:nikic.mi...@gmail.com?to=%22Milos%20Nikic%22%20%3Cnikic.milos%40gmail.com%3E > wrote: > > Hello > > Thanks folks, I appreciate any help you guys can provide. > > Yes I used the pristine gnumach and mig. Just cloned and pulled again today. If y

Re: Developer environment setup problem

2025-06-17 Thread Samuel Thibault
Hello, Milos Nikic, le lun. 16 juin 2025 21:25:21 -0700, a ecrit: > $ make tests/test-task.iso (from my build directory). > The thing didn't even compile correctly: > > /usr/bin/ld: /tmp/ccYq0CRM.o: in function `test_task': > /home/user/Projects/hurd/gnumach/build/../tests/test-task.c:57:(.text+0

Re: Developer environment setup problem

2025-06-17 Thread Diego Nieto Cid
Hi, On Mon, Jun 16, 2025 at 09:25:21PM -0700, Milos Nikic wrote: > Hello > > And inside hurd it looked like this: > > > $ cd gnumach > $ git fetch origin > $ git reset --hard origin/master > $ autoreconf -i > $ mkdir build > $ cd build > $ ../configure --host=i686-gnu CC='gcc -m32' I usually c

Re: Developer environment setup problem

2025-06-16 Thread Milos Nikic
Hello Thanks folks, I appreciate any help you guys can provide. Yes I used the pristine gnumach and mig. Just cloned and pulled again today. I compiled gnumach on my Linux Arch (cross compiled?). With a script from compile-scratch.sh

Re: Developer environment setup problem

2025-06-16 Thread Diego Nieto Cid
Hello, On Mon, Jun 16, 2025 at 08:10:13AM -0700, Milos Nikic wrote: > Hello, > > Thanks for the email. > The thing is I am not cross compiling. I am instead compiling from inside > Hurd (in Qemu). > Yet cannot seem to get it quite right (even though it compiles > successfully inside Hurd, when I

Re: Developer environment setup problem

2025-06-16 Thread jbranso
June 16, 2025 at 11:10 AM, "Milos Nikic" mailto:nikic.mi...@gmail.com?to=%22Milos%20Nikic%22%20%3Cnikic.milos%40gmail.com%3E > wrote: > > Hello,  > > Thanks for the email. > The thing is I am not cross compiling. I am instead compiling from inside > Hurd (in Qemu). > Yet cannot seem to get i

Re: Developer environment setup problem

2025-06-16 Thread Milos Nikic
Hello, Thanks for the email. The thing is I am not cross compiling. I am instead compiling from inside Hurd (in Qemu). Yet cannot seem to get it quite right (even though it compiles successfully inside Hurd, when I copy it to /boot it panics on the next reboot). Is a cross compiling route recomme

Re: Developer environment setup problem

2025-06-16 Thread Almudena Garcia
Hi: To cross-compile gnumach from Linux you have to specify some flags in configure, to indicate the hurd architecture. You can find the flag list here: https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html Read the instructions for non-Debian systems and 64-bit, and try agai