Re: Waking up the AHCI device

2021-02-07 Thread Samuel Thibault
Paul Dufresne, le dim. 07 févr. 2021 13:02:58 -0500, a ecrit: > I suspect current implementation of AHCI in Mach does not it. Possibly, patches welcome! Samuel

Re : Waking up the AHCI device

2021-02-07 Thread Paul Dufresne
Le dim., 07 févr. 2021 13:02:58 -0500 Paul Dufresne écrit > I suspect CAP.SAM was 0 in previous versions... did not check. > But that most computers now have CAP.SAM to 1, so that GHC.AE should be > written, even if already to 1, to "wake up" the device. > I suspect current impl

Waking up the AHCI device

2021-02-07 Thread Paul Dufresne
I am interested by the fact that when booting Mach on most real hardware I see an error: from: printk("ahci: %02x:%02x.%x: Port %u phy offline?!\n", bus, dev, fun, i); line 919 of https://git.savannah.gnu.org/cgit/hurd/gnumach.git/tree/linux/dev/drivers/block/ahci.c line 35 of https://git.savan

Re: Making an ISO that boot in UEFI

2021-02-07 Thread Andrea G. Monaco
> Something that could be done is to add code to kdinit to reinitialize > the VGA card to text mode, then we can add the video flag in the > multiboot header (even if it'll actually just ignore it). Ok, I'll try that. As for upgrading to a multiboot2 header: maybe it's a good idea, but w

Re: make gnumach.gz: relocatable linking with relocations from format elf64-x86-64 to format elf32-i386 is not supported

2021-02-07 Thread Almudena Garcia
Ok. Copy this file in /boot directory inside the Hurd machine which you wants to boot. And update-grub to detect the new image. El dom, 7 feb 2021 a las 16:52, Paul Dufresne () escribió: > Le dim., 07 févr. 2021 10:41:25 -0500 Samuel Thibault < > samuel.thiba...@gnu.org> écrit > > > Al

Re: make gnumach.gz: relocatable linking with relocations from format elf64-x86-64 to format elf32-i386 is not supported

2021-02-07 Thread Paul Dufresne
Le dim., 07 févr. 2021 10:41:25 -0500 Samuel Thibault écrit > Also, make sure to run > > make clean > > to clean up any leftover from previous bogus attempts. > > Samuel > hum...hum... Applied that tip and now I have a gnumach.gz file.

Re: make gnumach.gz: relocatable linking with relocations from format elf64-x86-64 to format elf32-i386 is not supported

2021-02-07 Thread Samuel Thibault
Also, make sure to run make clean to clean up any leftover from previous bogus attempts. Samuel

Re: make gnumach.gz: relocatable linking with relocations from format elf64-x86-64 to format elf32-i386 is not supported

2021-02-07 Thread Samuel Thibault
Paul Dufresne, le dim. 07 févr. 2021 10:22:59 -0500, a ecrit: > I had a problem: > From: https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html Better read the wiki version which is more up to date: http://darnassus.sceen.net/~hurd-web/microkernel/mach/gnumach/building/ ../conf

Re: make gnumach.gz: relocatable linking with relocations from format elf64-x86-64 to format elf32-i386 is not supported

2021-02-07 Thread Almudena Garcia
You must to configure applying some 32-bits flags in ./configure step Here you can see the flags $ [...]/configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386' http://git.savannah.gnu.org/cgit/hurd/gnumach.git/tree/README El dom, 7 feb 2021 a las 16:23, Paul Dufresne () escribió: > Trying

make gnumach.gz: relocatable linking with relocations from format elf64-x86-64 to format elf32-i386 is not supported

2021-02-07 Thread Paul Dufresne
Trying to build Mach on Ubuntu 20.10. I had a problem: From: https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html I was doing: CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' ../configure --prefix= --host=i686-unknown-linux-gnu configure: error: in `/home/

Re: Making an ISO that boot in UEFI

2021-02-07 Thread Samuel Thibault
Samuel Thibault, le dim. 07 févr. 2021 11:05:44 +0100, a ecrit: > Paul Dufresne, le sam. 06 févr. 2021 20:32:28 -0500, a ecrit: > > Did read: > > https://lists.gnu.org/archive/html/grub-devel/2021-02/msg00023.html > > > > Line 20 of > > http://git.savannah.gnu.org/cgit/hurd/gnumach.git/tree/i386

Re: Making an ISO that boot in UEFI

2021-02-07 Thread Samuel Thibault
Paul Dufresne, le sam. 06 févr. 2021 20:32:28 -0500, a ecrit: > Did read: https://lists.gnu.org/archive/html/grub-devel/2021-02/msg00023.html > > Line 20 of > http://git.savannah.gnu.org/cgit/hurd/gnumach.git/tree/i386/i386at/boothdr.S > #define MULTIBOOT_FLAGS 0x0003 > > Since

Re: Re : Making an ISO that boot in UEFI

2021-02-07 Thread Thomas Schmitt
Hi, Paul Dufresne wrote: > It seems possible (to boot from a CDROM in UEFI) with SysLinux: > https://wiki.syslinux.org/wiki/index.php?title=Isohybrid#UEFI SYSLINUX is the bootloader which cannot boot via UEFI from optical media. Its EFI code works from USB stick or hard disk, but not from DVD.