Automated report: NetBSD-current/i386 build failure

2018-05-29 Thread NetBSD Test Fixture
This is an automatically generated notice of a NetBSD-current/i386
build failure.

The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host,
using sources from CVS date 2018.05.29.11.18.50.

An extract from the build.sh output follows:

--- dependall-makefs ---
/tmp/bracket/build/2018.05.29.11.18.50-i386/src/sbin/newfs_udf 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/sbin/fsck -D_KERNTYPES 
/tmp/bracket/build/2018.05.29.11.18.50-i386/src/sbin/fsck/progress.c &&  mv 
progress.d.tmp progress.d
--- dependall-external ---

CC=/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/i486--netbsdelf-gcc 
/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/nbmkdep -f 
output-file.d.tmp  --   -std=gnu99   
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/arch/i386
 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/../../dist/gas
 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/../../dist/gas/config
 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/../../dist
 --sysroot=/tmp/bracket/build/2018.05.29.11.18.50-i386/destdir -DHAVE_CONFIG_H 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/../../lib/libbfd/arch/i386
 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/../../dist/include
 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/external/gpl3/binutils.old/usr.bin/gas/../../dist
 /bfd -I/tmp/bracket/build/2018--- dependall-tests ---
--- t_lwp_ctl.d ---
#create  sys/t_lwp_ctl.d

CC=/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/i486--netbsdelf-gcc 
/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/nbmkdep -f 
t_lwp_ctl.d.tmp  --   -std=gnu99   
--sysroot=/tmp/bracket/build/2018.05.29.11.18.50-i386/destdir 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/tests/lib/libc/sys/../../..   
  
/tmp/bracket/build/2018.05.29.11.18.50-i386/src/tests/lib/libc/sys/t_lwp_ctl.c 
&&  mv t_lwp_ctl.d.tmp t_lwp_ctl.d
--- t_mincore.d ---
#create  sys/t_mincore.d

CC=/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/i486--netbsdelf-gcc 
/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/nbmkdep -f 
t_mincore.d.tmp  --   -std=gnu99   
--sysroot=/tmp/bracket/build/2018.05.29.11.18.50-i386/destdir 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/tests/lib/libc/sys/../../..   
  
/tmp/bracket/build/2018.05.29.11.18.50-i386/src/tests/lib/libc/sys/t_mincore.c 
&&  mv t_mincore.d.tmp t_mincore.d
--- t_minherit.d ---
#create  sys/t_minherit.d
--- dependall-usr.sbin ---
--- dependall-lpr ---

CC=/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/i486--netbsdelf-gcc 
/tmp/bracket/build/2018.05.29.11.18.50-i386/tools/bin/nbmkdep -f lpr.d.tmp  --  
 -std=gnu99   --sysroot=/tmp/bracket/build/2018.05.29.11.18.50-i386/destdir 
-I/tmp/bracket/build/2018.05.29.11.18.50-i386/src/usr.sbin/lpr/lpr/../common_source
 -D_KERNTYPES 
/tmp/bracket/build/2018.05.29.11.18.50-i386/src/usr.sbin/lpr/lpr/lpr.c &&  mv 
lpr.d.tmp lpr.d
--- dependall-makefs ---
--- spec.d ---
#create  makefs/spec.d
--- dependall-usr.bin ---
--- dependall-kdump ---
*** [kdump-ioctl.o] Error code 1
nbmake[7]: stopped in 
/tmp/bracket/build/2018.05.29.11.18.50-i386/src/usr.bin/kdump
1 error

The following commits were made between the last successful build and
the failed build:

2018.05.29.10.40.54 kamil src/tests/lib/libc/sys/t_ptrace_wait.c,v 1.59
2018.05.29.11.18.50 martin src/usr.bin/kdump/mkioctls,v 1.48

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.05.html#2018.05.29.11.18.50


Automated report: NetBSD-current/i386 build success

2018-05-29 Thread NetBSD Test Fixture
The NetBSD-current/i386 build is working again.

The following commits were made between the last failed build and the
successful build:

2018.05.29.13.10.28 martin src/usr.bin/kdump/mkioctls,v 1.49
2018.05.29.14.29.53 martin src/usr.bin/kdump/mkioctls,v 1.50

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.05.html#2018.05.29.14.29.53


Automated report: NetBSD-current/i386 test failure

2018-05-29 Thread NetBSD Test Fixture
This is an automatically generated notice of new failures of the
NetBSD test suite.

The newly failing test cases are:

fs/nfs/t_rquotad:get_nfs_be_1_both
fs/nfs/t_rquotad:get_nfs_be_1_group
fs/nfs/t_rquotad:get_nfs_be_1_user
fs/nfs/t_rquotad:get_nfs_le_1_both
fs/nfs/t_rquotad:get_nfs_le_1_group
fs/nfs/t_rquotad:get_nfs_le_1_user
fs/vfs/t_io:rumpfs_extendfile
fs/vfs/t_io:rumpfs_extendfile_append
fs/vfs/t_io:rumpfs_holywrite
fs/vfs/t_io:rumpfs_overwrite512
fs/vfs/t_io:rumpfs_overwrite64k
fs/vfs/t_io:rumpfs_overwrite_trunc
fs/vfs/t_io:rumpfs_read_after_unlink
fs/vfs/t_io:rumpfs_read_fault
fs/vfs/t_io:rumpfs_wrrd_after_unlink
fs/vfs/t_mtime_write:rumpfs_mtime_update_on_write
fs/vfs/t_union:rumpfs_basic

The above tests failed in each of the last 3 test runs, and passed in
at least 27 consecutive runs before that.

Between the last successful test and the failed test, a total of 556
revisions were committed, by the following developers:

chs
kre
pgoyette

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.05.html#2018.05.29.01.09.49


daily CVS update output

2018-05-29 Thread NetBSD source update


Updating src tree:
P src/share/wscons/keymaps/pckbd.br.abnt2
P src/sys/arch/usermode/dev/cpu.c
P src/sys/arch/usermode/include/types.h
P src/sys/dev/isa/isadma.c
P src/sys/dev/isa/isadmareg.h
P src/sys/dev/isa/isareg.h
P src/sys/dev/pckbport/synaptics.c
P src/sys/kern/sys_ptrace_common.c
P src/sys/modules/examples/Makefile
P src/sys/modules/examples/README
U src/sys/modules/examples/panic_string/Makefile
U src/sys/modules/examples/panic_string/panic_string.c
P src/sys/net/if_ethersubr.c
P src/sys/net/if_ipsec.c
P src/sys/netatalk/aarp.c
P src/sys/netatalk/at_extern.h
P src/sys/netinet/ip_output.c
P src/sys/netinet6/in6.c
P src/sys/netinet6/in6_var.h
P src/sys/netinet6/ip6_output.c
P src/sys/netinet6/mld6.c
P src/sys/netinet6/nd6.c
P src/sys/netipsec/xform_ah.c
P src/tests/lib/libc/sys/t_ptrace_wait.c
P src/usr.bin/cal/cal.1
P src/usr.bin/kdump/mkioctls

Updating xsrc tree:


Killing core files:



Updating release-6 src tree (netbsd-6):

Updating release-6 xsrc tree (netbsd-6):



Updating release-7 src tree (netbsd-7):

Updating release-7 xsrc tree (netbsd-7):



Updating release-8 src tree (netbsd-8):

Updating release-8 xsrc tree (netbsd-8):




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  57052318 May 30 03:11 ls-lRA.gz


How to boot in UEFI mode: practically no documentation

2018-05-29 Thread Thomas Mueller
Where do I find documentation on how to boot NetBSD amd64 or possibly i386 in 
UEFI mode?

I couldn't find any man page and couldn't find anything useful in the online 
NetBSD wiki.

I don't want to be limited to NetBSD, would also want to be able to boot 
FreeBSD and Linux in UEFI mode.

I noticed /usr/mdec/bootx64.efi and bootia32.efi (on an amd64 installation) but 
don't really know where these would lead to.

I also saw /usr/src/sys/arch/i386/stand/efiboot .


Tom



Re: How to boot in UEFI mode: practically no documentation

2018-05-29 Thread Paul Goyette

I bookmarked this Email a while ago - it might help...

https://mail-index.netbsd.org/current-users/2017/02/28/msg031220.html

On Tue, 29 May 2018, Thomas Mueller wrote:

Where do I find documentation on how to boot NetBSD amd64 or possibly 
i386 in UEFI mode?


I couldn't find any man page and couldn't find anything useful in the 
online NetBSD wiki.


I don't want to be limited to NetBSD, would also want to be able to 
boot FreeBSD and Linux in UEFI mode.


I noticed /usr/mdec/bootx64.efi and bootia32.efi (on an amd64 
installation) but don't really know where these would lead to.


I also saw /usr/src/sys/arch/i386/stand/efiboot .


Tom


!DSPAM:5b0d0c85242761302317190!




+--+--++
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:  |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+--+--++


Re: How to boot in UEFI mode: practically no documentation

2018-05-29 Thread Patrick Welche
On Tue, May 29, 2018 at 08:15:43AM +, Thomas Mueller wrote:
> Where do I find documentation on how to boot NetBSD amd64 or possibly i386 in 
> UEFI mode?
> 
> I couldn't find any man page and couldn't find anything useful in the online 
> NetBSD wiki.
> 
> I don't want to be limited to NetBSD, would also want to be able to boot 
> FreeBSD and Linux in UEFI mode.
> 
> I noticed /usr/mdec/bootx64.efi and bootia32.efi (on an amd64 installation) 
> but don't really know where these would lead to.
> 
> I also saw /usr/src/sys/arch/i386/stand/efiboot .

Did you see Petra's excellent page:

  https://wiki.netbsd.org/users/spz/moderndisk/

?

Cheers,

Patrick


Re: How to boot in UEFI mode: practically no documentation

2018-05-29 Thread Martin Husemann
On Tue, May 29, 2018 at 08:15:43AM +, Thomas Mueller wrote:
> Where do I find documentation on how to boot NetBSD amd64 or possibly i386 in 
> UEFI mode?

I'm working on a wiki page (and will change the NetBSD 8.0 install docs
to point to that).

I can't answer how to boot into alternative operating systems (haven't tried
that yet). But the basic installation goes like this:

 - You want to boot from the uefi usb install image. This requires "secure
   boot" to be disabled. Some firmwares require you to set a firmware
   password before allowing to disable that

Assuming you have a scratch disk (called wd0) you want to fully use for NetBSD 
you
do something like:

 gpt destroy wd0
 gpt create wd0
 gpt add -a 2m -l "EFI system" -t efi -s 128m wd0
 gpt add -a 2m -l NetBSD -t ffs -s 118g wd0 # replace 118g as needed
 gpt add -a 2m -l swap -t swap wd0  # this will use all remaining space
 dkctl wd0 listwedges

Now note which dk* is the EFI one and newfs it (also note the ffs one
for later, see below):

 newfs_msdos /dev/rdk3  # replace dk3 with proper device

Then make it bootable:

 mount -t msdos /dev/dk3 /mnt
 mkdir -p /mnt/EFI/boot
 cp /usr/mdec/*.efi /mnt/EFI/boot
 umount /mnt

I have sysinst changes that will allow the remaining part to be handled
by sysinst in NetBSD 8.0 (hope to finsih that soon).

But for now you will have to install manually. Check the dkctl output
for which dk* is the ffs one and newfs/mount it:

 newfs -O 2 dk4 # replace dk4 by approrpiate device, see above
 mount -o async /dev/dk4 /mnt
 cd /mnt

Now extract (with tar xpzf) all sets you want, including the appropriate
kernel. Also:

 cp /usr/mdec/boot .# copy secondary bootloader (XXX is this needed for 
uefi)?
 cd dev
 sh MAKEDEV all
 vi /etc/fstab

A fstab could look like:

NAME=NetBSD /   ffs rw  1 1
NAME=swap   noneswapsw,dp   0 0
kernfs  /kern   kernfs  rw
ptyfs   /dev/pts ptyfs  rw
procfs  /proc   procfs  rw
tmpfs /var/shmtmpfs   rw,-m1777,-sram%25

Finally set rc_configured=YES in /mnt/etc/rc.conf, plus add hostname=
and whatever settings you need.

Now reboot, remove install usb medium, and watch NetBSD boot from uefi.

Martin


Re: How to boot in UEFI mode: practically no documentation

2018-05-29 Thread Chavdar Ivanov
Just to say that all this worked for me. I had some 100gb left free on a
GPT disk with a few other systems installed and finally decided to try EFI
boot, using the efi boot image from releng. I only had to create /dev
entries for dk16, dk17 and dk18, 16 were not enough. I also had to disable
nouveau, the geforce 950m apparently is still unsupported and I get 'no
console device'. I haven't been able to get X running on this laptop, but
the rest seems fine.

Chavdar

On Tue, 29 May 2018, 09:34 Martin Husemann,  wrote:

> On Tue, May 29, 2018 at 08:15:43AM +, Thomas Mueller wrote:
> > Where do I find documentation on how to boot NetBSD amd64 or possibly
> i386 in UEFI mode?
>
> I'm working on a wiki page (and will change the NetBSD 8.0 install docs
> to point to that).
>
> I can't answer how to boot into alternative operating systems (haven't
> tried
> that yet). But the basic installation goes like this:
>
>  - You want to boot from the uefi usb install image. This requires "secure
>boot" to be disabled. Some firmwares require you to set a firmware
>password before allowing to disable that
>
> Assuming you have a scratch disk (called wd0) you want to fully use for
> NetBSD you
> do something like:
>
>  gpt destroy wd0
>  gpt create wd0
>  gpt add -a 2m -l "EFI system" -t efi -s 128m wd0
>  gpt add -a 2m -l NetBSD -t ffs -s 118g wd0 # replace 118g as
> needed
>  gpt add -a 2m -l swap -t swap wd0  # this will use all remaining space
>  dkctl wd0 listwedges
>
> Now note which dk* is the EFI one and newfs it (also note the ffs one
> for later, see below):
>
>  newfs_msdos /dev/rdk3  # replace dk3 with proper device
>
> Then make it bootable:
>
>  mount -t msdos /dev/dk3 /mnt
>  mkdir -p /mnt/EFI/boot
>  cp /usr/mdec/*.efi /mnt/EFI/boot
>  umount /mnt
>
> I have sysinst changes that will allow the remaining part to be handled
> by sysinst in NetBSD 8.0 (hope to finsih that soon).
>
> But for now you will have to install manually. Check the dkctl output
> for which dk* is the ffs one and newfs/mount it:
>
>  newfs -O 2 dk4 # replace dk4 by approrpiate device, see above
>  mount -o async /dev/dk4 /mnt
>  cd /mnt
>
> Now extract (with tar xpzf) all sets you want, including the appropriate
> kernel. Also:
>
>  cp /usr/mdec/boot .# copy secondary bootloader (XXX is this needed
> for uefi)?
>  cd dev
>  sh MAKEDEV all
>  vi /etc/fstab
>
> A fstab could look like:
>
> NAME=NetBSD /   ffs rw  1 1
> NAME=swap   noneswapsw,dp   0 0
> kernfs  /kern   kernfs  rw
> ptyfs   /dev/pts ptyfs  rw
> procfs  /proc   procfs  rw
> tmpfs /var/shmtmpfs   rw,-m1777,-sram%25
>
> Finally set rc_configured=YES in /mnt/etc/rc.conf, plus add hostname=
> and whatever settings you need.
>
> Now reboot, remove install usb medium, and watch NetBSD boot from uefi.
>
> Martin
>