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

2025-04-29 Thread Paul Goyette
I've just committed a better, and more well-tested, version. Should work correctly now. Thanks for your patience, and sorry for the breakage. On Tue, 29 Apr 2025, Paul Goyette wrote: Thanks for the link to the log. I am investigating. On Tue, 29 Apr 2025, Thomas Klausner wrote: On Tue, A

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

2025-04-29 Thread Paul Goyette
Thanks for the link to the log. I am investigating. On Tue, 29 Apr 2025, Thomas Klausner wrote: On Tue, Apr 29, 2025 at 09:08:38AM +, Martin Husemann wrote: Module Name:src Committed By: martin Date: Tue Apr 29 09:08:38 UTC 2025 Modified Files: src/sys/arch/i386/s

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

2025-04-29 Thread Thomas Klausner
On Tue, Apr 29, 2025 at 09:08:38AM +, Martin Husemann wrote: > Module Name: src > Committed By: martin > Date: Tue Apr 29 09:08:38 UTC 2025 > > Modified Files: > src/sys/arch/i386/stand/boot: boot2.c > src/sys/arch/i386/stand/efiboot: boot.c > > Log Message: > Backout /fi

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

2024-09-18 Thread Rin Okuyama
Hi, On 2024/09/19 3:33, Andrius V wrote: On Wed, Sep 18, 2024 at 3:44 AM Rin Okuyama wrote: Module Name:src Committed By: rin Date: Wed Sep 18 00:44:03 UTC 2024 Modified Files: src/sys/arch/i386/stand/lib: libi386.h Log Message: i386/stand: Remove XMS leftover from

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

2024-09-18 Thread Andrius V
On Wed, Sep 18, 2024 at 3:44 AM Rin Okuyama wrote: > > Module Name:src > Committed By: rin > Date: Wed Sep 18 00:44:03 UTC 2024 > > Modified Files: > src/sys/arch/i386/stand/lib: libi386.h > > Log Message: > i386/stand: Remove XMS leftover from libi386.h, NFC > > PR port-i3

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

2023-07-24 Thread Rin Okuyama
On 2023/07/24 16:14, matthew green wrote: "Rin Okuyama" writes: Module Name:src Committed By: rin Date: Mon Jul 24 01:56:59 UTC 2023 Modified Files: src/sys/arch/i386/stand/efiboot: Makefile.efiboot eficons.c Added Files: src/sys/arch/i386/stand/efiboot: eficpufu

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

2023-07-24 Thread matthew green
"Rin Okuyama" writes: > Module Name: src > Committed By: rin > Date: Mon Jul 24 01:56:59 UTC 2023 > > Modified Files: > src/sys/arch/i386/stand/efiboot: Makefile.efiboot eficons.c > Added Files: > src/sys/arch/i386/stand/efiboot: eficpufunc.c eficpufunc.h > > Log Message: > efi

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

2023-06-29 Thread Greg Troxel
Emmanuel Dreyfus writes: > On Thu, Jun 29, 2023 at 08:43:36PM -0400, Greg Troxel wrote: >> > Primary bootstrap is now able to read a GPT inside RAIDframe. >> did you also update documentation? > > We do not have any documentation specific to primary bootstrap. > x86/boot(8) domuent the behavior

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

2023-06-29 Thread Emmanuel Dreyfus
On Thu, Jun 29, 2023 at 08:43:36PM -0400, Greg Troxel wrote: > > Primary bootstrap is now able to read a GPT inside RAIDframe. > did you also update documentation? We do not have any documentation specific to primary bootstrap. x86/boot(8) domuent the behavior with no detail about primary and sec

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

2023-06-29 Thread Greg Troxel
"Emmanuel Dreyfus" writes: > Log Message: > Primary bootstrap is now able to read a GPT inside RAIDframe. did you also update documentation?

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

2021-12-27 Thread Simon Burge
Emmanuel Dreyfus wrote: > In src/sys/arch/i386/stand/lib/biosdisk.c > int > biosdisk_findpartition(int biosdev, daddr_t sector, >int *partition, const char **part_name) > { > (...) > /* default ot first partition */ > *partition = 0; > *part_name = N

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

2021-12-27 Thread Emmanuel Dreyfus
On Mon, Dec 27, 2021 at 10:54:13PM +1100, Simon Burge wrote: > If you have a way of preproducing this, I'm happy to have a look. I recall it now. In src/sys/arch/i386/stand/efiboot/devopen.c bios2dev(boot_biosdev, boot_biossector, &devname, &unit, &partition, NUL

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

2021-12-27 Thread Simon Burge
Emmanuel Dreyfus wrote: > On Mon, Dec 27, 2021 at 01:08:15PM +1100, Simon Burge wrote: > > What crash did this fix? All the use of part_name by the > > called functions should check if it is NULL before trying > > to assign anything to *part_name. > > I do not recall the details now, but I had a

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

2021-12-26 Thread Emmanuel Dreyfus
On Mon, Dec 27, 2021 at 01:08:15PM +1100, Simon Burge wrote: > What crash did this fix? All the use of part_name by the > called functions should check if it is NULL before trying > to assign anything to *part_name. I do not recall the details now, but I had a crash because of this. Please revert

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

2021-12-26 Thread Simon Burge
Hi Emmanuel, "Emmanuel Dreyfus" wrote: > Module Name: src > Committed By: manu > Date: Thu Nov 18 16:18:13 UTC 2021 > > Modified Files: > > src/sys/arch/i386/stand/efiboot: devopen.c > > Log Message: > > Fix crash because of NULL pointer reference What crash did this fix? All the

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

2020-02-10 Thread Kimihiro Nonaka
Hi, Hyper-V Gen.2 VM has only 1024x768 GOP entry. https://twitter.com/nonakap/status/1227076603470942208 kernel will be booted in text mode. no output to the console. If execute "gop 0" command before booting a kernel, it works fine. On Sat, Feb 8, 2020 at 11:35 PM Jared D. McNeill wrote: > > M

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

2018-06-11 Thread Christos Zoulas
In article <20180612032531.ga1...@homeworld.netbsd.org>, wrote: >Hi christos! > >Could you explain what makes this necessary in the commit messages in >the future? It isn't very obvious that it fixes a build failure with >MKREPRO for future netbsd'ers, in case it isn't restructured. >Ideally in e

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

2018-06-11 Thread maya
On Tue, Jun 12, 2018 at 03:25:31AM +, m...@netbsd.org wrote: > Hi christos! > > Could you explain what makes this necessary in the commit messages in > the future? It isn't very obvious that it fixes a build failure with > MKREPRO for future netbsd'ers, in case it isn't restructured. > Ideally

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

2018-06-11 Thread maya
Hi christos! Could you explain what makes this necessary in the commit messages in the future? It isn't very obvious that it fixes a build failure with MKREPRO for future netbsd'ers, in case it isn't restructured. Ideally in every commit, so it appears in a 'cvs annotate'. Thanks. On Mon, Jun 11

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

2018-02-21 Thread Alistair Crooks
Thanks, Christos. This should also fix PR/53045 (qemu booting). On 21 February 2018 at 17:37, Christos Zoulas wrote: > Module Name:src > Committed By: christos > Date: Thu Feb 22 01:37:04 UTC 2018 > > Modified Files: > src/sys/arch/i386/stand: Makefile.inc > > Log Message

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

2017-02-06 Thread Joerg Sonnenberger
On Mon, Feb 06, 2017 at 10:32:35AM +, NONAKA Kimihiro wrote: > Module Name: src > Committed By: nonaka > Date: Mon Feb 6 10:32:35 UTC 2017 > > Modified Files: > src/sys/arch/i386/stand/efiboot: Makefile.efiboot > > Log Message: > Remove unnecessary flag. Thanks. Joerg

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

2017-02-03 Thread Joerg Sonnenberger
On Fri, Feb 03, 2017 at 05:24:43PM +, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Fri Feb 3 17:24:43 UTC 2017 > > Modified Files: > src/sys/arch/i386/stand/efiboot: Makefile.efiboot > > Log Message: > Fix build with clang. Instead of disabling the noretu

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

2017-02-03 Thread Joerg Sonnenberger
On Fri, Feb 03, 2017 at 05:24:43PM +, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Fri Feb 3 17:24:43 UTC 2017 > > Modified Files: > src/sys/arch/i386/stand/efiboot: Makefile.efiboot > > Log Message: > Fix build with clang. Nonaka-san, can you comment on

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

2016-06-05 Thread matthew green
"Maxime Villard" writes: > Module Name: src > Committed By: maxv > Date: Sun Jun 5 14:06:31 UTC 2016 > > Modified Files: > src/sys/arch/i386/stand/lib: biosdisk.c exec.c > > Log Message: > The bootinfo is refreshed each time the bootloader tries to execute a > kernel, so there's n

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

2016-01-12 Thread David Laight
On Mon, Jan 04, 2016 at 06:33:50PM +1100, matthew green wrote: > "Christos Zoulas" writes: > > Module Name:src > > Committed By: christos > > Date: Sun Jan 3 20:59:47 UTC 2016 > > > > Modified Files: > > src/sys/arch/i386/stand/bootxx: pbr.S > > > > Log Message: >

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

2016-01-04 Thread Martin Husemann
On Mon, Jan 04, 2016 at 06:33:50PM +1100, matthew green wrote: > "Christos Zoulas" writes: > > Module Name:src > > Committed By: christos > > Date: Sun Jan 3 20:59:47 UTC 2016 > > > > Modified Files: > > src/sys/arch/i386/stand/bootxx: pbr.S > > > > Log Message: >

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

2016-01-03 Thread matthew green
"Christos Zoulas" writes: > Module Name: src > Committed By: christos > Date: Sun Jan 3 20:59:47 UTC 2016 > > Modified Files: > src/sys/arch/i386/stand/bootxx: pbr.S > > Log Message: > change 60 to 70 which is the current release. Noticed by Rares Aioanei. i don't think so we sho

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

2015-02-02 Thread John Nemeth
On Jan 18, 8:18pm, "Jonathan A. Kollasch" wrote: } } This is a multi-part message in MIME format. } } --_--=_1421612287110410 } Content-Disposition: inline } Content-Transfer-Encoding: 8bit } Content-Type: text/plain; charset="US-ASCII" } } Module Name: src } Committed By: jakllsch } Da

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

2014-05-02 Thread Martin Husemann
On Fri, May 02, 2014 at 09:14:16AM +0100, David Laight wrote: > I don't think the linker has a global option to make the eh_frame > section(s) non-loadable - which ought to allow debuggers to use them > without taking up program memory (for non paged binaries). Using objcopy -R is another option (

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

2014-05-02 Thread David Laight
On Fri, May 02, 2014 at 10:22:48AM +0900, Masao Uebayashi wrote: > Stripping eh_frame using linker script, without adding unusal gcc > options, looks much simpler as a whole picture to me. Except that these programs use the default linker script. So modifing it is difficult. I don't think the lin

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

2014-05-01 Thread Masao Uebayashi
Stripping eh_frame using linker script, without adding unusal gcc options, looks much simpler as a whole picture to me. On Fri, May 2, 2014 at 3:37 AM, David Laight wrote: > Module Name:src > Committed By: dsl > Date: Thu May 1 18:37:26 UTC 2014 > > Modified Files: > src/

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

2014-04-08 Thread Christos Zoulas
In article <20140408184900.ga2...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Tue, Apr 08, 2014 at 11:34:18AM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Tue Apr 8 15:34:18 UTC 2014 >> >> Modified Files: >> src/sys/arch/i

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

2014-04-08 Thread Joerg Sonnenberger
On Tue, Apr 08, 2014 at 11:34:18AM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Tue Apr 8 15:34:18 UTC 2014 > > Modified Files: > src/sys/arch/i386/stand/lib: Makefile > > Log Message: > make this more attractive (to me). Except it is wrong. T

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

2014-04-07 Thread Christos Zoulas
In article <20140407234749.ga19...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Mon, Apr 07, 2014 at 05:09:55PM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Mon Apr 7 21:09:55 UTC 2014 >> >> Modified Files: >> src/sys/arch/

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

2014-04-07 Thread Joerg Sonnenberger
On Mon, Apr 07, 2014 at 05:09:55PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Mon Apr 7 21:09:55 UTC 2014 > > Modified Files: > src/sys/arch/i386/stand/lib: Makefile > > Log Message: > XXX: gcc-4.8 bug. Passes wrong arguments to biosdisk_read

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

2013-10-20 Thread David Laight
On Sun, Oct 20, 2013 at 07:49:55PM +0100, David Laight wrote: > On Sat, Oct 19, 2013 at 08:16:16PM -0400, Christos Zoulas wrote: > > Module Name:src > > Committed By: christos > > Date: Sun Oct 20 00:16:16 UTC 2013 > > > > Modified Files: > > src/sys/arch/i386/stand

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

2013-10-20 Thread David Laight
On Sat, Oct 19, 2013 at 08:16:16PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Oct 20 00:16:16 UTC 2013 > > Modified Files: > src/sys/arch/i386/stand/pxeboot: pxe_call.S > > Log Message: > Move an instruction above .code16 so that it produc

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

2011-08-22 Thread Paul Goyette
Module Name:src Committed By: mrg Date: Mon Aug 22 09:43:08 UTC 2011 Modified Files: src/sys/arch/i386/stand/boot: Makefile.boot Log Message: disable mmx/sse here too. hopefully fixes amd64 /boot issues. certainly changes the output in ways that gcc 4.1 doesn't. Confir

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

2011-05-21 Thread Joerg Sonnenberger
On Sat, May 21, 2011 at 01:01:52PM +0100, David Laight wrote: > On Fri, May 20, 2011 at 10:29:56PM +, Joerg Sonnenberger wrote: > > > > Log Message: > > Disable integrated assembler for files that use .code16 or .code32 for > > now > > Would it have been better to do this with a level of

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

2011-05-21 Thread David Laight
On Fri, May 20, 2011 at 10:29:56PM +, Joerg Sonnenberger wrote: > > Log Message: > Disable integrated assembler for files that use .code16 or .code32 for > now Would it have been better to do this with a level of indirection? So that it could be turned off by changing a global variable in

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

2011-02-27 Thread David Laight
On Sat, Feb 26, 2011 at 06:22:59PM +, Jonathan A. Kollasch wrote: > Module Name: src > Committed By: jakllsch > Date: Sat Feb 26 18:22:59 UTC 2011 > > Modified Files: > src/sys/arch/i386/stand/boot: Makefile.boot > > Log Message: > Enable LIBSA_PRINTF_LONGLONG_SUPPORT. > Useful

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

2010-12-24 Thread David Laight
On Sat, Dec 25, 2010 at 01:27:43AM +, Jonathan A. Kollasch wrote: > > > > > > libsa's printf(3) doesn't support %lld unless > > > -DLIBSA_PRINTF_LONGLONG_SUPPORT is specified. > > > > True, that but it's not like this code path is often compiled. > > I should probably at least add the necessa

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

2010-12-24 Thread Christos Zoulas
On Dec 25, 12:06am, jakll...@kollasch.net ("Jonathan A. Kollasch") wrote: -- Subject: Re: CVS commit: src/sys/arch/i386/stand/lib | On Fri, Dec 24, 2010 at 06:14:13PM -0500, Christos Zoulas wrote: | > On Dec 24, 11:05pm, jakll...@kollasch.net ("Jonathan A. Kollasch") wr

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

2010-12-24 Thread Jonathan A. Kollasch
On Sat, Dec 25, 2010 at 12:09:43AM +, Jonathan A. Kollasch wrote: > On Sat, Dec 25, 2010 at 08:07:50AM +0900, Izumi Tsutsui wrote: > > > >Log Message: > > > >Sprinkle daddr_t. > > > >Adjust DISK_DEBUG printf formats to match. > > : > > > >-printf("warning: no disklabel in secto

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

2010-12-24 Thread Jonathan A. Kollasch
On Sat, Dec 25, 2010 at 08:07:50AM +0900, Izumi Tsutsui wrote: > > >Log Message: > > >Sprinkle daddr_t. > > >Adjust DISK_DEBUG printf formats to match. > : > > >- printf("warning: no disklabel in sector %u\n", sector); > > >+ printf("warning: no disklabel in sector %lld\n", secto

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

2010-12-24 Thread Jonathan A. Kollasch
On Fri, Dec 24, 2010 at 06:14:13PM -0500, Christos Zoulas wrote: > On Dec 24, 11:05pm, jakll...@kollasch.net ("Jonathan A. Kollasch") wrote: > -- Subject: Re: CVS commit: src/sys/arch/i386/stand/lib > > | > Are you sure this is right? My guess is that you would need PR

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

2010-12-24 Thread Christos Zoulas
On Dec 24, 11:05pm, jakll...@kollasch.net ("Jonathan A. Kollasch") wrote: -- Subject: Re: CVS commit: src/sys/arch/i386/stand/lib | > Are you sure this is right? My guess is that you would need PRId64 | > instead of lld. | | Well, maybe. But I expect int64_t will always be l

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

2010-12-24 Thread Izumi Tsutsui
> >Log Message: > >Sprinkle daddr_t. > >Adjust DISK_DEBUG printf formats to match. : > >-printf("warning: no disklabel in sector %u\n", sector); > >+printf("warning: no disklabel in sector %lld\n", sector); > > #endif > > Are you sure this is right? My guess is that you wo

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

2010-12-24 Thread Jonathan A. Kollasch
On Fri, Dec 24, 2010 at 11:00:40PM +, Christos Zoulas wrote: > In article <20101224203651.e3c4117...@cvs.netbsd.org>, > Jonathan A. Kollasch wrote: > >-=-=-=-=-=- > > > >Module Name: src > >Committed By:jakllsch > >Date:Fri Dec 24 20:36:51 UTC 2010 > > > >Modified Files

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

2010-12-24 Thread Christos Zoulas
In article <20101224203651.e3c4117...@cvs.netbsd.org>, Jonathan A. Kollasch wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: jakllsch >Date: Fri Dec 24 20:36:51 UTC 2010 > >Modified Files: > src/sys/arch/i386/stand/lib: biosdisk.c biosdisk.h biosdisk_ll.c > >Log Message: >S

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

2010-12-24 Thread Jonathan A. Kollasch
On Fri, Dec 24, 2010 at 03:13:28PM +, David Laight wrote: > On Wed, Dec 22, 2010 at 08:46:43PM +, Jonathan A. Kollasch wrote: > > > > Log Message: > > It just so happens we don't need -Wno-attributes if we > > place __packed in the right place. > > Does that need __packed (which would for

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

2010-12-24 Thread David Laight
On Wed, Dec 22, 2010 at 08:46:43PM +, Jonathan A. Kollasch wrote: > > Log Message: > It just so happens we don't need -Wno-attributes if we > place __packed in the right place. Does that need __packed (which would force unaligned access code) be added for all accesses, or just __attribute__((

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

2010-12-19 Thread David Laight
On Sun, Dec 19, 2010 at 05:18:23PM +, Jonathan A. Kollasch wrote: > Module Name: src > Committed By: jakllsch > Date: Sun Dec 19 17:18:23 UTC 2010 > > Modified Files: > src/sys/arch/i386/stand/lib: realprot.S > > Log Message: > Compute real/protected %sp/%esp offset in 'gdt_fix

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

2009-12-14 Thread Daniel Carosone
On Mon, Dec 14, 2009 at 08:05:42PM +, David Laight wrote: > > Shut down the PXE network stack when we are done with it. > > I seem to remember some issues where certain bios locked up if/when > that was called. Which is why it was commented out. But not, apparently, commented. -- Dan. pgpMp

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

2009-12-14 Thread David Laight
On Sun, Dec 13, 2009 at 11:01:42PM +, Jonathan A. Kollasch wrote: > Module Name: src > Committed By: jakllsch > Date: Sun Dec 13 23:01:42 UTC 2009 > > Modified Files: > src/sys/arch/i386/stand/pxeboot: dev_net.c main.c pxe.c pxe_netif.h > > Log Message: > Shut down the PXE netw

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

2009-11-19 Thread Christoph Egger
David Laight wrote: > Module Name: src > Committed By: dsl > Date: Thu Nov 19 22:10:03 UTC 2009 > > Modified Files: > src/sys/arch/i386/stand/lib: message.S > src/sys/arch/i386/stand/mbr: mbr.S > > Log Message: > Move code for outputting directly to the serial port into messa

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

2009-10-24 Thread Izumi Tsutsui
> Modified Files: > src/sys/arch/i386/stand/cdboot: cdboot.S > > Log Message: > Support reading /boot > 64k. Based on the patch from Izumi Tsutsui. > Compiles but not actually tested! Fixes PR/42202 Seems working here, but it isn't a good idea to put a magic number in comment ;-p > +