Re: CVS commit: src/sys/arch/amd64

2020-01-08 Thread Emmanuel Dreyfus
Ryo ONODERA wrote: > However I need multiboot support for amd64. > I am waiting well-tested implementation. At this point the problems are more about code style and cleaning, as we have a fix for the boot bugs that has been reported. -- Emmanuel Dreyfus http://hcpnet.free.fr/

Re: CVS commit: src/sys/arch/amd64

2020-01-05 Thread Emmanuel Dreyfus
/01/02/msg025911.html I hit this bug 100% reliabily with qemu/EFI, even with the multiboot stuff removed, and it seems to match what Masanobu Saitoh reported. I suspect the multiboot changes just undercovered it. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/arch/amd64

2020-01-04 Thread Emmanuel Dreyfus
s my latest change set, including the locore cleanup you asked for. -- Emmanuel Dreyfus m...@netbsd.org Index: sys/arch/amd64/amd64/locore.S === RCS file: /cvsroot/src/sys/arch/amd64/amd64/locore.S,v retrieving revision 1.195 diff

Re: CVS commit: src/sys/arch/amd64

2020-01-03 Thread Emmanuel Dreyfus
proach. I tested at mine and it seems fine. I am especially interested by feedback from msaitoh@ who reported the crash at cpu attacch that I suspect to be the (probably unrelated) problem describred here: http://mail-index.netbsd.org/tech-kern/2020/01/02/msg025911.html -- Emmanuel Dreyfus m...@n

Re: CVS commit: src/sys/arch/amd64

2020-01-02 Thread Emmanuel Dreyfus
7868) 108 If you can add a #define DEBUG_MEMMAP 1 at the beginning of src/sys/arch/x86/x86/efi.c and x86_machdep.c you will also have the memory map provided by UEFI. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys/arch/amd64

2019-12-30 Thread Emmanuel Dreyfus
On Sat, Dec 28, 2019 at 02:22:21AM +, Emmanuel Dreyfus wrote: > > Regardless of whether it is needed in this specific case, cutting the 2MBs > > of zero in the binary is wanted. Unfortunately last I looked at this (two > > years ago) there were some non-obvious conseque

Re: CVS commit: src/sys/arch/amd64

2019-12-27 Thread Emmanuel Dreyfus
other significant multiboot stuff has been there for 13 years. It is copied from bootloader's startprog.S. How do you suggest to improve it? -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/arch/amd64

2019-12-27 Thread Emmanuel Dreyfus
user ? > Also, my previous remarks haven't been addressed entirely, and still stand. Sure, it's just next in the todo list. -- Emmanuel Dreyfus m...@netbsd.org ? sys/arch/amd64/compile/obj ? sys/arch/amd64/stand/prekern/obj Index: sys/arch/amd64/amd64/locore.S ==

Re: CVS commit: src/sys/arch/amd64

2019-12-27 Thread Emmanuel Dreyfus
can be done, since ld really want to push notes at the end of the file. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/arch/amd64

2019-12-26 Thread Emmanuel Dreyfus
inks of 2 MB, because there is not an alignement hole between ELF headers and the .text section anymore. My patch also enable the MULTIBOOT option so that we can check nothing gets broken with it. You can also try with the option disabled, of course. -- Emmanuel Dreyfus m...@netbsd.org ? sys/arch/am

Re: CVS commit: src/sys/arch/amd64

2019-12-26 Thread Emmanuel Dreyfus
On Wed, Dec 25, 2019 at 05:05:11PM +0900, Masanobu SAITOH wrote: > - It hangs after attaching ioapic0, cpu0 or acpi0 (or something else). >The possibility is about 65% What is the backtace? Does it goes through svs_init? -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/arch/amd64

2019-12-25 Thread Emmanuel Dreyfus
h. Did it really fix the problem? Your next message about reverted kern.ldscript confuses me. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/arch/amd64

2019-12-24 Thread Emmanuel Dreyfus
On Tue, Dec 24, 2019 at 05:50:00PM +0900, Ryo ONODERA wrote: > After this change, amd64 kernel does not boot on my HP Spectre x360 > 13-inch ae019TU laptop with pure UEFI boot mode. Hello Does the attached patch (crafted for port-amd64/54775) fix the problem? -- Emmanuel Dre

Re: CVS commit: src/sys/arch (multiboot2 support)

2019-12-10 Thread Emmanuel Dreyfus
crash. I rolled back the change to sys/arch/amd64/conf/kern.ldscript, this should fix BIOS boot. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys/arch (multiboot2 support)

2019-12-10 Thread Emmanuel Dreyfus
h. > > Seems like non-efi booting is borked. This is caused by sys/arch/amd64/conf/kern.ldscript 1.27-1.28 I will fix that within a few hours. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

CVS commit: src/sys/arch

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:38:28 UTC 2019 Modified Files: src/sys/arch/i386/conf: files.i386 src/sys/arch/i386/i386: locore.S machdep.c multiboot.c src/sys/arch/i386/include: multiboot.h Added Files: src/sys/arch/x86/x86:

CVS commit: src/sys/arch

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:38:28 UTC 2019 Modified Files: src/sys/arch/i386/conf: files.i386 src/sys/arch/i386/i386: locore.S machdep.c multiboot.c src/sys/arch/i386/include: multiboot.h Added Files: src/sys/arch/x86/x86:

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:24:51 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: libi386.h Log Message: Remove prototype added twice by mistake To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:24:51 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: libi386.h Log Message: Remove prototype added twice by mistake To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/arch/i386/i386

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:19:00 UTC 2019 Modified Files: src/sys/arch/i386/i386: multiboot.c Log Message: Fix multiboot1 kernel symbol load ELF_Shdr's sh_type field is a value, not a flag field To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/i386/i386

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:19:00 UTC 2019 Modified Files: src/sys/arch/i386/i386: multiboot.c Log Message: Fix multiboot1 kernel symbol load ELF_Shdr's sh_type field is a value, not a flag field To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:15:54 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot2.c Log Message: Fix kernel symbols for multiboot2 Previous version just provided the ELF section table, which is correct as far as the

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:15:54 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot2.c Log Message: Fix kernel symbols for multiboot2 Previous version just provided the ELF section table, which is correct as far as the

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:09:47 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot1.c libi386.h Log Message: Add kernel symbols for multiboot1 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:09:47 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot1.c libi386.h Log Message: Add kernel symbols for multiboot1 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:04:24 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot1.c Log Message: Fix multiboot1 header detection Specification states it must be must be longword (32-bit) aligned To generate a diff of

CVS commit: src/sys/arch/i386/stand/lib

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:04:24 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot1.c Log Message: Fix multiboot1 header detection Specification states it must be must be longword (32-bit) aligned To generate a diff of

CVS commit: src/sys/arch/i386

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:00:25 UTC 2019 Modified Files: src/sys/arch/i386/i386: machdep.c src/sys/arch/i386/pci: piixpcib.c Log Message: Make sure no bioscall is issued when booting off UEFI system To generate a diff of this commit:

CVS commit: src/sys/arch/i386

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 01:00:25 UTC 2019 Modified Files: src/sys/arch/i386/i386: machdep.c src/sys/arch/i386/pci: piixpcib.c Log Message: Make sure no bioscall is issued when booting off UEFI system To generate a diff of this commit:

CVS commit: src/sys/arch/x86/x86

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 00:56:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Fix EFI system table mapping in virtual space Previous version was annoted as untested, and indeed it did not work. New version uses the same

CVS commit: src/sys/arch/x86/x86

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 00:56:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Fix EFI system table mapping in virtual space Previous version was annoted as untested, and indeed it did not work. New version uses the same

CVS commit: src/sys/arch/x86/include

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 00:54:48 UTC 2019 Modified Files: src/sys/arch/x86/include: efi.h Log Message: Add UEFI boot services and I/O method protoypes To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/include/efi.h

CVS commit: src/sys/arch/x86/include

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 00:54:48 UTC 2019 Modified Files: src/sys/arch/x86/include: efi.h Log Message: Add UEFI boot services and I/O method protoypes To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/include/efi.h

CVS commit: src/sys/arch/i386/stand/efiboot/bootia32

2019-09-23 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Sep 24 00:47:46 UTC 2019 Modified Files: src/sys/arch/i386/stand/efiboot/bootia32: multiboot32.S Log Message: Fix multiboot32 argument usage To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \

CVS commit: src/sys/arch/i386/stand/efiboot/bootia32

2019-09-23 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Sep 24 00:47:46 UTC 2019 Modified Files: src/sys/arch/i386/stand/efiboot/bootia32: multiboot32.S Log Message: Fix multiboot32 argument usage To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \

CVS commit: src/share/man/man8/man8.x86

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 16 01:57:58 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot To generate a diff of this commit: cvs rdiff -u -r1.19

CVS commit: src/share/man/man8/man8.x86

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 16 01:57:58 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot To generate a diff of this commit: cvs rdiff -u -r1.19

CVS commit: src/sys/kern

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 16 00:01:17 UTC 2019 Modified Files: src/sys/kern: kern_subr.c Log Message: Accept root device specification as NAME=label To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/kern/kern_subr.c Please

CVS commit: src/sys/kern

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 16 00:01:17 UTC 2019 Modified Files: src/sys/kern: kern_subr.c Log Message: Accept root device specification as NAME=label To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/kern/kern_subr.c Please

CVS commit: src/sys/kern

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Sep 15 23:59:33 UTC 2019 Modified Files: src/sys/kern: kern_subr.c Log Message: Rollback change to accept NAME=label root device specification As suggested by Michael van Elst, the operation should be done int getwedgename()

CVS commit: src/sys/kern

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Sep 15 23:59:33 UTC 2019 Modified Files: src/sys/kern: kern_subr.c Log Message: Rollback change to accept NAME=label root device specification As suggested by Michael van Elst, the operation should be done int getwedgename()

CVS commit: src/sys/arch/i386/stand/lib

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Sep 15 23:55:26 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot2.c Log Message: Remove debug define. It remained there unseen because it was misspelled! To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/i386/stand/lib

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Sep 15 23:55:26 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: exec_multiboot2.c Log Message: Remove debug define. It remained there unseen because it was misspelled! To generate a diff of this commit: cvs rdiff -u

CVS commit: src/doc

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 02:23:31 UTC 2019 Modified Files: src/doc: CHANGES Log Message: boot(8): multiboot 2 support, Xen can now boot from EFI To generate a diff of this commit: cvs rdiff -u -r1.2580 -r1.2581 src/doc/CHANGES Please note

CVS commit: src/doc

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 02:23:31 UTC 2019 Modified Files: src/doc: CHANGES Log Message: boot(8): multiboot 2 support, Xen can now boot from EFI To generate a diff of this commit: cvs rdiff -u -r1.2580 -r1.2581 src/doc/CHANGES Please note

CVS commit: src/sys/arch/i386

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 02:19:46 UTC 2019 Modified Files: src/sys/arch/i386/include: Makefile src/sys/arch/i386/stand/boot: Makefile.boot src/sys/arch/i386/stand/dosboot: Makefile src/sys/arch/i386/stand/efiboot:

CVS commit: src/sys/arch/i386

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 02:19:46 UTC 2019 Modified Files: src/sys/arch/i386/include: Makefile src/sys/arch/i386/stand/boot: Makefile.boot src/sys/arch/i386/stand/dosboot: Makefile src/sys/arch/i386/stand/efiboot:

CVS commit: src/share/man/man8/man8.x86

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 01:34:19 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: Document that bootdev option accepts device specification as NAME=label To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/share/man/man8/man8.x86

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 01:34:19 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: Document that bootdev option accepts device specification as NAME=label To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/kern

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 01:33:20 UTC 2019 Modified Files: src/sys/kern: kern_subr.c Log Message: Accept root device specification as NAME=label To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225 src/sys/kern/kern_subr.c Please

CVS commit: src/sys/kern

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 13 01:33:20 UTC 2019 Modified Files: src/sys/kern: kern_subr.c Log Message: Accept root device specification as NAME=label To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225 src/sys/kern/kern_subr.c Please

CVS commit: src/sys/arch/x86/acpi

2019-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 12 00:52:22 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Attempt to obtain ACPI RSDP from the hypervisor for Xen PV There are three possible way of obtaining the ACPI RSDP - From Extended

CVS commit: src/sys/arch/x86/acpi

2019-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 12 00:52:22 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Attempt to obtain ACPI RSDP from the hypervisor for Xen PV There are three possible way of obtaining the ACPI RSDP - From Extended

CVS commit: src/sys/arch/i386/stand

2019-09-02 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 2 06:10:24 UTC 2019 Modified Files: src/sys/arch/i386/stand/boot: boot2.c src/sys/arch/i386/stand/efiboot: boot.c devopen.c Log Message: Make sure devices names are copied including last byte Fix from M. Levinson.

CVS commit: src/sys/arch/i386/stand

2019-09-02 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 2 06:10:24 UTC 2019 Modified Files: src/sys/arch/i386/stand/boot: boot2.c src/sys/arch/i386/stand/efiboot: boot.c devopen.c Log Message: Make sure devices names are copied including last byte Fix from M. Levinson.

CVS commit: src/doc

2019-08-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Aug 20 01:48:48 UTC 2019 Modified Files: src/doc: CHANGES Log Message: boot(8): GPT and RAIDframe support for x86 bootstrap [manu 20180818] To generate a diff of this commit: cvs rdiff -u -r1.2570 -r1.2571 src/doc/CHANGES

CVS commit: src/doc

2019-08-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Aug 20 01:48:48 UTC 2019 Modified Files: src/doc: CHANGES Log Message: boot(8): GPT and RAIDframe support for x86 bootstrap [manu 20180818] To generate a diff of this commit: cvs rdiff -u -r1.2570 -r1.2571 src/doc/CHANGES

CVS commit: src/share/man/man8/man8.x86

2019-08-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 18 02:23:48 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: Document new GPT and RAIDframe capacity of bootstrap code While there, also document EFI setup and some bugs To generate a diff of

CVS commit: src/share/man/man8/man8.x86

2019-08-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 18 02:23:48 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: Document new GPT and RAIDframe capacity of bootstrap code While there, also document EFI setup and some bugs To generate a diff of

CVS commit: src/sys/arch/i386/stand

2019-08-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 18 02:18:25 UTC 2019 Modified Files: src/sys/arch/i386/stand/boot: boot2.c devopen.c devopen.h src/sys/arch/i386/stand/efiboot: boot.c devopen.c devopen.h efidisk.c src/sys/arch/i386/stand/lib: Makefile

CVS commit: src/sys/arch/i386/stand

2019-08-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 18 02:18:25 UTC 2019 Modified Files: src/sys/arch/i386/stand/boot: boot2.c devopen.c devopen.h src/sys/arch/i386/stand/efiboot: boot.c devopen.c devopen.h efidisk.c src/sys/arch/i386/stand/lib: Makefile

CVS commit: src/lib/libperfuse

2019-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 10 07:08:12 UTC 2019 Modified Files: src/lib/libperfuse: ops.c Log Message: Rollback directory filehandle screening for FUSE lock operations libfuse has a different usage of filehandles for files and directories. A

CVS commit: src/lib/libperfuse

2019-08-10 Thread Emmanuel Dreyfus
Sat Feb 9 02:22:45 2019 +++ src/lib/libperfuse/ops.c Sat Aug 10 07:08:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.86 2019/02/09 02:22:45 manu Exp $ */ +/* $NetBSD: ops.c,v 1.87 2019/08/10 07:08:11 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved

CVS commit: src/sys/arch/i386/stand/lib

2019-08-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Aug 1 13:11:03 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: bootinfo_biosgeom.c Log Message: Fix buffer overflow in BIOS disk geometry collect for bootinfo This spares a boot-time panic on iMac with fusion drive,

CVS commit: src/sys/arch/i386/stand/lib

2019-08-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Aug 1 13:11:03 UTC 2019 Modified Files: src/sys/arch/i386/stand/lib: bootinfo_biosgeom.c Log Message: Fix buffer overflow in BIOS disk geometry collect for bootinfo This spares a boot-time panic on iMac with fusion drive,

Re: CVS commit: src/sys/dev/usb

2018-11-15 Thread Emmanuel Dreyfus
David H. Gutteridge wrote: > There's just a stray cast missing: I committed the fix. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys/dev/usb

2018-11-08 Thread Emmanuel Dreyfus
about 31 bytes, right? -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/kern

2018-10-04 Thread Emmanuel Dreyfus
On Thu, Oct 04, 2018 at 01:32:33PM +0200, Manuel Bouyer wrote: > borneo:/home/bouyer#umount /mnt > umount: /mnt: Resource temporarily unavailable Oh right, you should have said earlier that you actually observed a problem. I will back that out. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/kern

2018-10-03 Thread Emmanuel Dreyfus
= fmi->fmi_state = FSTRANS_NORMAL; break; } } cv_broadcast(_state_cv); mutex_exit(_lock); -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys/kern

2018-10-01 Thread Emmanuel Dreyfus
a file suspension? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys/kern

2018-10-01 Thread Emmanuel Dreyfus
machine I need to loop on xl create; sleep 60; xl shutdown -w to get it, while other systems I have it 100% reproductible. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/kern

2018-10-01 Thread Emmanuel Dreyfus
ert my workaround and replace it by a more approriate fix. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Ryo ONODERA <ryo...@yk.rim.or.jp> wrote: > This commit breaks my kernel build. > It seems that this commit does not fit with -current's format. > Could you regenerate these files again? I was running a build to reproduce the problem, when I noticed martin@ fixed it. -- Emmanu

Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Ryo ONODERA <ryo...@yk.rim.or.jp> wrote: > This commit breaks my kernel build. > It seems that this commit does not fit with -current's format. > Could you regenerate these files again? What error do you get? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src

2016-10-19 Thread Emmanuel Dreyfus
On Wed, Oct 19, 2016 at 04:19:43AM +1100, matthew green wrote: > i assume this is the cause of the build break: Yes, that passed on netbsd-6 but breaks with netbsd-7 toolchain. But Christos fixed it in the meantime. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src

2015-07-24 Thread Emmanuel Dreyfus
On Fri, Jul 24, 2015 at 03:51:44PM -0300, Jared McNeill wrote: I'm seeing this error on arm now with today's autobuild: http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201507241030Z/evbarm-earmv7hf/ I am confused: how can it be caused by our pthread change from two months ago? -- Emmanuel

Re: CVS commit: src

2015-06-02 Thread Emmanuel Dreyfus
Martin Husemann mar...@duskware.de wrote: Right, the situation is considered sane now? Yes, works reliable on faster hardware - need to fix the test case someday. Good. I will still wait a bit more before sending the pullup request. Just in case... -- Emmanuel Dreyfus http://hcpnet.free.fr

Re: CVS commit: src

2015-06-01 Thread Emmanuel Dreyfus
.html -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src

2015-05-29 Thread Emmanuel Dreyfus
? -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/lib/libperfuse

2014-09-08 Thread Emmanuel Dreyfus
And I just posted pullup-7 #86 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/lib/libperfuse

2014-09-05 Thread Emmanuel Dreyfus
On Date: Wed, 3 Sep 2014 18:43:34 +, David Holland wrote: On Wed, Sep 03, 2014 at 04:01:45PM +, Emmanuel Dreyfus wrote: Modified Files: src/lib/libperfuse: ops.c perfuse.c Log Message: Improve POSIX compliance of FUSE filesystems through PERUSE - access denied

Re: CVS commit: src/sys

2014-02-03 Thread Emmanuel Dreyfus
translate struct swapent for COMPAT_NETBSD32 with these changes, I'm getting Sorry, missing commit. Please update sys/compat/netbsd32/netbsd32.h to 1.99 -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/lib

2013-03-22 Thread Emmanuel Dreyfus
pop up again in pcsc-lite a few days ago. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/lib

2013-03-22 Thread Emmanuel Dreyfus
is it false? Do you have a case where current code fails to support a DSO with -lpthread while it does not use threads? -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src

2012-11-29 Thread Emmanuel Dreyfus
Nick Hudson nick.hud...@gmx.co.uk wrote: Shouldn't this be #if (_POSIX_C_SOURCE - 0) = 200809L || (_XOPEN_SOURCE - 0 = 700) || \ defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE) I suspect you are right. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src

2012-11-29 Thread Emmanuel Dreyfus
Matthias Drochner m.droch...@fz-juelich.de wrote: I've added (locally) #if defined(_NETBSD_SOURCE) #define _INCOMPLETE_XOPEN_C063 #endif Thank you fox the fix. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src

2012-11-18 Thread Emmanuel Dreyfus
with them. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src

2012-09-12 Thread Emmanuel Dreyfus
it add add #ifdef in libpthread and tests I chose the second alternative, an unused #ifdef for a simplier code -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src

2012-09-12 Thread Emmanuel Dreyfus
it unconditionally bloats things. For instance, if _UC_TLSBASE isn't defined, pthread_setcontext doesn't need to do anything except call setcontext. That's a win. But do we have any port that are in this situation? I understand they all change the TLS pointer with setcontext. -- Emmanuel Dreyfus m

Re: CVS commit: src (_UC_TLSBASE)

2012-09-12 Thread Emmanuel Dreyfus
; } lwp_setprivate(l, tlsbase); tf-tf_sp += sizeof(tlsbase); } src/sys/arch/m68k/m68k/sig_machdep.c: if ((flags _UC_TLSBASE) != 0) lwp_setprivate(l, (void *)(uintptr_t)mcp-_mc_tlsbase); -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/fs/puffs

2012-07-23 Thread Emmanuel Dreyfus
David Holland dholland-sourcechan...@netbsd.org wrote: Di not call cache_enter with path components bigger than NCHNAMLEN, as it panics the kernel. This is wrong; you're reverting rmind's cleanup. I backed out the change. Will someone pullup the change to netbsd-6? -- Emmanuel Dreyfus

Re: CVS commit: src/sys/fs/puffs

2012-07-23 Thread Emmanuel Dreyfus
David Holland dholland-sourcechan...@netbsd.org wrote: OTOH for netbsd-6 maybe a better patch would be to change cache_enter to return instead of asserting for long filenames. If nobody opposes, I can do that. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/lib/libperfuse

2011-10-23 Thread Emmanuel Dreyfus
. additionally, why does it have to have so much memory? surely most of it is a cache? can't it manage the size? Indeed it is cache. You cannot expect filesystems to let you control that. Speaking of FUSE it seems they will not let you do it since Linux data size is unlimited by default. -- Emmanuel

Re: CVS commit: src/sys/fs/puffs

2011-10-18 Thread Emmanuel Dreyfus
Jukka Ruohonen jruoho...@iki.fi wrote: +#ifdef DIAGNOSTIC + KASSERT(curlwp != uvm.pagedaemon_lwp); +#endif Why pollute code with redundant #ifdefs? Right, I missed the point that KASSERT contains #ifdef DIAGNOSTIC. I will fix that tomorrow morning. -- Emmanuel Dreyfus http

Re: CVS commit: src/sys/fs/puffs

2011-10-12 Thread Emmanuel Dreyfus
that, I will clean it up and post it. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/fs/puffs

2011-10-11 Thread Emmanuel Dreyfus
threads. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys/fs/puffs

2011-09-26 Thread Emmanuel Dreyfus
/putter_fop_write) -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/fs/puffs

2011-09-23 Thread Emmanuel Dreyfus
pages to the backend storage. If ioflush calls VOP_FSYNC on a memory-starved userland filesystem, it will get stuck until the filesystem gets memory again, and while it is stuck, it does not help freeing memory. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/sys

2011-09-23 Thread Emmanuel Dreyfus
or not. -- Emmanuel Dreyfus m...@netbsd.org

Re: CVS commit: src/sys/fs/puffs

2011-09-23 Thread Emmanuel Dreyfus
cannot know what the userland filesystem will do. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

  1   2   >