daily CVS update output

2023-11-05 Thread NetBSD source update


Updating src tree:
P src/doc/CHANGES
P src/etc/MAKEDEV.tmpl
P src/share/man/man4/cdce.4
P src/share/man/man4/gpioirq.4
P src/sys/arch/playstation2/dev/if_smap.c
P src/sys/arch/playstation2/ee/sif.c
P src/sys/arch/playstation2/playstation2/clock.c
P src/sys/arch/playstation2/playstation2/interrupt.c
P src/sys/conf/majors
P src/sys/dev/gpio/gpio.c
P src/sys/dev/gpio/gpioirq.c
P src/sys/dev/gpio/gpiovar.h
P src/sys/dev/pci/if_ena.c
P src/sys/dev/pci/if_enavar.h
P src/sys/external/bsd/ena-com/ena_com.c
P src/sys/external/bsd/ena-com/ena_com.h
P src/sys/external/bsd/ena-com/ena_plat.h
P src/tests/lib/libm/t_fenv.c

Updating xsrc tree:
P xsrc/external/mit/xf86-video-pnozz/dist/src/pnozz_exa.c


Killing core files:



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

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



Updating release-9 src tree (netbsd-9):
U doc/CHANGES-9.4
P share/examples/npf/host-npf.conf
P share/examples/npf/soho_gw-npf.conf
P sys/arch/newsmips/conf/DEJIKO
P sys/arch/newsmips/conf/GENERIC
P sys/arch/newsmips/conf/INSTALL
P sys/arch/newsmips/conf/WAPIKO
P sys/arch/newsmips/dev/fb.c
P sys/arch/newsmips/dev/zs_hb.c

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



Updating release-10 src tree (netbsd-10):
P distrib/notes/common/main
U doc/CHANGES-10.0
P external/gpl2/groff/tmac/mdoc.local
P share/examples/npf/host-npf.conf
P share/examples/npf/soho_gw-npf.conf
P sys/arch/newsmips/conf/DEJIKO
P sys/arch/newsmips/conf/GENERIC
P sys/arch/newsmips/conf/INSTALL
P sys/arch/newsmips/conf/WAPIKO
P sys/arch/newsmips/dev/fb.c
P sys/arch/newsmips/dev/zs_hb.c
P sys/sys/param.h

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




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  42893833 Nov  6 03:13 ls-lRA.gz


Automated report: NetBSD-current/i386 test failure

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

The newly failing test cases are:

lib/libm/t_fenv:fegetround
lib/libm/t_fenv:fesetround

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

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

2023.11.05.15.27.40 riastradh src/tests/lib/libm/t_fenv.c 1.7
2023.11.05.15.28.17 riastradh src/tests/lib/libm/t_fenv.c 1.8
2023.11.05.16.06.27 riastradh src/tests/lib/libm/t_fenv.c 1.9
2023.11.05.16.28.05 riastradh src/tests/lib/libm/t_fenv.c 1.10

Logs can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2023.11.html#2023.11.05.16.28.05


ure(4) or xhci(4) error?

2023-11-05 Thread Thomas Klausner
Hi!

After about 1.5 days of uptime I saw

xhci2: xhci_set_dequeue: endpoint 0x0: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: TIMEOUT
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out

Is this an xhci issue or an ure one?
Has anyone else seen this?
 Thomas


Re: Static IPv6, dhcpcd, and defaultroute6 issue

2023-11-05 Thread joelp


> This feels like a slightly odd way to do things.  If you want a static
> ip6, why don't you create ifconfig.awge and put in
>
>   inet6 2001:x:x:x/64
>

Agree, that was an odd way for me to do both DHCP IPv4 and static IPv6.

This is simplicity winning again: An ifconfig.awge0 with static inet6
address and defaultroute6 in rc.conf works on boot. Thanks.

I did put ipv4only in dhcpcd.conf as well.





Re: Static IPv6, dhcpcd, and defaultroute6 issue

2023-11-05 Thread Greg Troxel
jo...@sdf.org writes:

> I want to configure a static IPv6 along with a DHCP IPv4 on my Rock64
> running NetBSD10_beta. However, I'm not able to get the default route for
> IPv6 set on boot.
>
> Here are my interface specific dhcpcd.conf entries:
> interface awge0
> noipv6rs
> static ip6_address=2001:x:x:x/64
>
> Entries in rc.conf:
> dhcpcd=YES
> ip6mode=host
> defaultroute6="fe80::x:x:x%awge0"
>
> After reboot no default is listed under Internet6 output for route show.
> Explicitly doing route add -inet6 default fe80::x:x:x%awge0 fixes this,
> and my static IPv6 works perfectly.
>
> What makes me dig deeper is I can instead do a service network restart,
> and the defaultroute6 in rc.conf is applied correctly.
>
> Is there a potential race condition in the network rc script with dhcpcd?

This feels like a slightly odd way to do things.  If you want a static
ip6, why don't you create ifconfig.awge and put in

  inet6 2001:x:x:x/64

Also, why don't you want RS?  but that's your call.

I wonder if defaultroute6 doest't work because the interface is not yet
up.   You are, I think, relying on dhcpcd enumerating interfaces,
bringing them up, and trying to configure them.   And that I bet runs
after networking

  /etc/rc.d $ rcorder  *|egrep 'network|dhcp'
  network
  dhcpcd
  dhcpd
  dhcpd6

You should also be able to put in an ifconfig.awge0 that has (not
tested!):

  !/sbin/route add -inet6 default fe80::foo

after "up" and "inet6".


Re: Static IPv6, dhcpcd, and defaultroute6 issue

2023-11-05 Thread RVP

On Sun, 5 Nov 2023, jo...@sdf.org wrote:


Here are my interface specific dhcpcd.conf entries:
noipv6rs



Try instead:
ipv4only

-RVP


Static IPv6, dhcpcd, and defaultroute6 issue

2023-11-05 Thread joelp


I want to configure a static IPv6 along with a DHCP IPv4 on my Rock64
running NetBSD10_beta. However, I'm not able to get the default route for
IPv6 set on boot.

Here are my interface specific dhcpcd.conf entries:
interface awge0
noipv6rs
static ip6_address=2001:x:x:x/64

Entries in rc.conf:
dhcpcd=YES
ip6mode=host
defaultroute6="fe80::x:x:x%awge0"

After reboot no default is listed under Internet6 output for route show.
Explicitly doing route add -inet6 default fe80::x:x:x%awge0 fixes this,
and my static IPv6 works perfectly.

What makes me dig deeper is I can instead do a service network restart,
and the defaultroute6 in rc.conf is applied correctly.

Is there a potential race condition in the network rc script with dhcpcd?

Thanks -- joel




Re: updating kernel AND modules

2023-11-05 Thread Benny Siegert
> The NetBSD guide does not talk about kernel modules at all in the
> updating section
> (https://www.netbsd.org/docs/guide/en/chap-kernel.html,
> http://netbsd.org/docs/guide/en/chap-updating.html)
> 
> What is the current best-practice method for that?

I do upgrades using sysupgrade. „sysupgrade auto“ does the right thing w.r.t. 
modules. Otherwise, if you want to reboot with the new kernel, you should run 
„sysupgrade modules“ before.

Building from source, I do 

./build.sh kernel=GENERIC modules
# install kernel
sudo ./build.sh installmodules=/

like the others in the thread suggested.

— 
Benny