amd64 DRMKMS results, 28 Jun 2014

2014-06-28 Thread Piotr Meyer
Today I got working console and X (stable, as I assume - Firefox works
without troubles) on 6.99.44. I noticed problems with glxinfo, although
working X was most important target.

Graphics card: HD Graphics 2500 embedded into Pentium G2030 (Ivy Bridge).

Full log (uname, dmesg, Xorg.0.log, xorg.conf, error from glxgears) is
available from http://smutek.pl/netbsd/drmkms-ok-report.txt - short
excerpt below:

cpu0 at mainbus0 apid 0: Intel(R) Pentium(R) CPU G2030 @ 3.00GHz, id 0x306a9

i915drmkms0 at pci0 dev 2 function 0WARNING: module error: vfs load failed for 
`pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 0x8086 product 0x0152 (rev. 0x09)
drmkms0 at i915drmkms0
drm: Memory usable by graphics device = 2048M
drm: MTRR allocation failed.  Graphics performance may suffer.
drm: Supports vblank timestamp caching Rev 1 (10.10.2010).
drm: Driver supports precise vblank timestamp query.
drmkms0: interrupting at ioapic0 pin 16 (i915)
i915drmkms0: framebuffer at 0x8000453d5000, size 1920x1080, depth 32, 
stride 7680
wsdisplay0 at i915drmkms0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
drmkms0: info: registered panic notifier

Message from glxinfo, glxgears:

name of display: :0
Unrecognized deviceID 152
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  21
  Current serial number in output stream:  24


And finally: may thanks for Your work Taylor, also - many thanks 
for all contributors. I'm really happy because of that - finally 
I got working NetBSD workstation!

-- 
Piotr 'aniou' Meyer


i386 DRMKMS results, 28 Jun 2014

2014-06-28 Thread David H. Gutteridge
Hi all,

Following an earlier report today of success with DRMKMS on amd64,
I've just tested on i386 and can confirm it works for me. I haven't
tried anything too demanding, but I'm able to boot, the console
works, I'm able to switch VTs, and have run various applications in
a Blackbox WM session without issue. dmesg excerpt is below. (The
graphics chipset is an Intel 945GM.)

Regards,

Dave

agp0 at pchb0: i915-family chipset
agp0: detected 7932k stolen memory
agp0: aperture at 0xc000, size 0x1000
i915drmkms0 at pci0 dev 2 function 0
: vendor 0x8086 product 0x27ae (rev. 0x03)
drmkms0 at i915drmkms0
drm: Memory usable by graphics device = 256M
drm: MTRR allocation failed.  Graphics performance may suffer.
drm: Supports vblank timestamp caching Rev 1 (10.10.2010).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: unable to map ROM
drm: failed to find VBIOS tables
drm kern warning: composite sync not supported
drm: initialized overlay support
drmkms0: interrupting at ioapic0 pin 16 (i915)
drm kern warning: composite sync not supported
i915drmkms0: framebuffer at 0xd9ecd000, size 1024x600, depth 32, stride 4096
wsdisplay0 at i915drmkms0 kbdmux 1: console (default, vt100 emulation), using 
wskbd0
wsmux1: connecting to wsdisplay0
fixme: max PWM is zero
drmkms0: info: registered panic notifier



dhcpd build failure since last update

2014-06-28 Thread Greg A. Woods
I'm getting the following error with today's -current (2014-06-27T21:16:06Z).

I haven't seen anything similar in recent automated build reports though
so I'm wondering if it's due to something specific to my build or not
(.e.g the -fstack-protector options?)

$ cd external/bsd/dhcpcd/sbin/dhcpcd
$ mynbmake MAKEVERBOSE=2 dependall
#   compile  dhcpcd/dhcpcd.o
/build/woods/more/current-i386-i386-tools/bin/i486--netbsdelf-gcc -O2 -g -pipe 
-fstack-protector -Wstack-protector   --param ssp-buffer-size=1  -g   
-std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type 
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2  
-Wno-format-zero-length  -Werror  -march=i586 -mtune=pentiumpro  
--sysroot=/build/woods/more/current-i386-ppro-destdir -DINET 
-I/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist  
-D_FORTIFY_SOURCE=2 -c
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c
In file included from 
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c:63:0:
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c: In 
function 'dhcpcd_startinterface':
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcp6.h:244:33: 
error: statement with no effect [-Werror=unused-value]
 #define dhcp6_find_delegates(a) (0)
 ^
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c:636:5: 
note: in expansion of macro 'dhcp6_find_delegates'
 dhcp6_find_delegates(ifp);
 ^
cc1: all warnings being treated as errors

*** Failed target:  dhcpcd.o

-- 
Greg A. Woods
Planix, Inc.

wo...@planix.com   +1 250 762-7675http://www.planix.com/


pgpDBUYBThCw_.pgp
Description: PGP signature


Re: dhcpd build failure since last update

2014-06-28 Thread Roy Marples

Hi Greg

On 29/06/2014 2:53, Greg A. Woods wrote:
I'm getting the following error with today's -current 
(2014-06-27T21:16:06Z).


In function 'dhcpcd_startinterface':
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcp6.h:244:33:
error: statement with no effect [-Werror=unused-value]
 #define dhcp6_find_delegates(a) (0)


Looks like an error with gcc and INET6 disabled.
I'll fix this in the next dhcpcd update, or you can locally apply this 
patch:

http://roy.marples.name/projects/dhcpcd/fdiff?v1=d2e58b393a5916bbc4f33f7e01655d6d0d312452v2=919fda2874accf87e6864db21e942227cce7ffcesbs=0

Thanks

Roy


daily CVS update output

2014-06-28 Thread NetBSD source update

Updating src tree:
P src/bin/ps/ps.c
P src/common/lib/libc/arch/arm/atomic/atomic_swap.S
P src/common/lib/libc/arch/arm/atomic/atomic_swap_16.S
P src/common/lib/libc/arch/arm/atomic/atomic_swap_64.S
P src/common/lib/libc/arch/m68k/atomic/atomic_swap.S
P src/common/lib/libc/atomic/atomic_swap_16_cas.c
P src/common/lib/libc/atomic/atomic_swap_32_cas.c
P src/common/lib/libc/atomic/atomic_swap_64_cas.c
P src/common/lib/libc/atomic/atomic_swap_8_cas.c
U src/distrib/sparc64/bootfs/boot.cfg
P src/doc/TODO.clang
P src/external/bsd/ipf/dist/ip_dstlist.c
P src/lib/libquota/quota_kernel.c
P src/sys/arch/i386/stand/boot/boot2.c
P src/sys/arch/i386/stand/lib/bootmenu.c
P src/sys/arch/i386/stand/lib/bootmenu.h
P src/sys/arch/i386/stand/pxeboot/main.c
P src/sys/arch/mips/adm5120/dev/admpci.c
P src/sys/arch/mips/adm5120/dev/uart.c
P src/sys/arch/sparc/stand/ofwboot/boot.c
P src/sys/arch/x86/x86/sys_machdep.c
P src/sys/arch/zaurus/stand/zboot/boot.c
P src/sys/arch/zaurus/stand/zboot/boot.h
P src/sys/arch/zaurus/stand/zboot/bootmenu.c
P src/sys/arch/zaurus/stand/zboot/bootmenu.h
P src/sys/arch/zaurus/stand/zboot/pathnames.h
P src/sys/compat/freebsd/freebsd_sched.c
P src/sys/compat/netbsd32/netbsd32.h
P src/sys/compat/netbsd32/netbsd32_netbsd.c
P src/sys/external/bsd/dwc2/dwc2.c
P src/sys/external/bsd/ipf/netinet/ip_dstlist.c
P src/sys/external/bsd/ipf/netinet/ip_nat.c
P src/sys/kern/vfs_quotactl.c
P src/sys/kern/vfs_syscalls.c
P src/sys/lib/libsa/Makefile
U src/sys/lib/libsa/bootcfg.c
U src/sys/lib/libsa/bootcfg.h
P src/sys/lib/libunwind/Makefile.inc
P src/sys/net/npf/npf.h
P src/sys/net/npf/npf_bpf.c
P src/sys/sys/mount.h
P src/sys/sys/quotactl.h
P src/sys/ufs/lfs/ulfs_quota.c
P src/sys/ufs/lfs/ulfs_quota.h
P src/sys/ufs/lfs/ulfs_quota2.c
P src/sys/ufs/ufs/ufs_quota.c
P src/sys/ufs/ufs/ufs_quota.h
P src/sys/ufs/ufs/ufs_quota2.c
P src/sys/uvm/uvm_swap.c
P src/usr.sbin/npf/npfctl/npf_bpf_comp.c

Updating xsrc tree:


Killing core files:

Running the SUP scanner:
SUP Scan for current starting at Sun Jun 29 03:07:30 2014
SUP Scan for current completed at Sun Jun 29 03:08:13 2014
SUP Scan for mirror starting at Sun Jun 29 03:08:13 2014
SUP Scan for mirror completed at Sun Jun 29 03:10:53 2014




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  41759146 Jun 29 03:20 ls-lRA.gz